Ticket #45630

configure: Require C99 return value from vsnprintf()

Eröffnet am: 2022-09-10 07:30 Letztes Update: 2022-09-21 19:10

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Related to #45629 about fc_vsnprintf() return value.

Change the "working vsnprintf()" configure check not to consider C89 return value (-1) in case of truncated output acceptable, but require C99 return value (what the lenght would have been if there was no truncation)

Ticket-Verlauf (3/5 Historien)

2022-09-10 07:30 Aktualisiert von: cazfi
  • New Ticket "configure: Require C99 return value from vsnprintf()" created
2022-09-10 07:42 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2022-09-10 07:53 Aktualisiert von: cazfi
Kommentar

Actually we can do this to all branches, including even S2_6. It's not dropping support for any systems, but just causing them to use fallback vsnprintf() implementation, that should work correctly (it doesn't at the moment, but #45629 is about fixing that)

2022-09-21 19:10 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden