]> Savannah Git Hosting - gnulib.git/commit
mbsstr, quotearg, xstrtol: pacify IRIX 6.5 cc
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 May 2014 07:36:37 +0000 (00:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 May 2014 07:36:59 +0000 (00:36 -0700)
commit94ee038129c3b40510ef0ff6ac6ddfe85bf0f97f
treeb74262aeb5ad7b1775b1a39b469863b835a6b46f
parentc2e80b75aae4c7eceefa22281b2f5d4f3a417f06
mbsstr, quotearg, xstrtol: pacify IRIX 6.5 cc

These were found when building the latest grep snapshot on IRIX 6.5.
* lib/mbsstr.c (knuth_morris_pratt_multibyte): Break "a=b=c;" into
"b=c; a=b;", since IRIX 6.5 cc complains about the former if b is
never used later.
* lib/quotearg.c (quoting_options_from_style):
* lib/xstrtol.c (__xstrtol):
Use enum instead of 0, to pacify IRIX 6.5 cc.
ChangeLog
lib/mbsstr.c
lib/quotearg.c
lib/xstrtol.c