Incidencia #45630

configure: Require C99 return value from vsnprintf()

Abrir Fecha: 2022-09-10 07:30 Última actualización: 2022-09-21 19:10

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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 History (3/5 Histories)

2022-09-10 07:30 Updated by: cazfi
  • New Ticket "configure: Require C99 return value from vsnprintf()" created
2022-09-10 07:42 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-09-10 07:53 Updated by: cazfi
Comentario

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 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar