mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
* lib/quotearg.h (quotearg_n, quotearg_n_style):
First arg is int, not unsigned. * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise. (SIZE_MAX, UINT_MAX): New macros. (quotearg_n_options): Abort if N is negative. Avoid overflow check on hosts where size_t is 64 bits and int is 32 bits, as overflow is impossible there. Fix off-by-one typo that caused unnecessary reallocation.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2001-11-30 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
* lib/quotearg.h (quotearg_n, quotearg_n_style):
|
||||
First arg is int, not unsigned.
|
||||
* lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
|
||||
(SIZE_MAX, UINT_MAX): New macros.
|
||||
(quotearg_n_options): Abort if N is negative.
|
||||
Avoid overflow check on hosts where size_t is 64 bits and int
|
||||
is 32 bits, as overflow is impossible there.
|
||||
Fix off-by-one typo that caused unnecessary reallocation.
|
||||
|
||||
2001-11-30 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
Name space cleanup in generated parser.
|
||||
|
||||
Reference in New Issue
Block a user