Ticket #45630

configure: Require C99 return value from vsnprintf()

오픈 날짜: 2022-09-10 07:30 마지막 업데이트: 2022-09-21 19:10

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-09-10 07:53 Updated by: cazfi
댓글 올리기

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
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login