Re: [PATCH 5/5] posix: Sync fnmatch with gnulib

2020-12-31 Thread Paul Eggert
On 12/30/20 12:15 PM, Adhemerval Zanella wrote: - ssize_t level; + size_t level; 'level' should be ptrdiff_t not ssize_t, for portability to (now-ancient, but still allowed by POSIX) hosts where ssize_t is 32 bits and size_t is 64 bits. -CHAR str[]; +CHAR str[FLEXIBLE_ARRAY_MEMB

[PATCH 5/5] posix: Sync fnmatch with gnulib

2020-12-30 Thread Adhemerval Zanella
It sync with gnulib commit 43ee1a6bf with following changes: --- posix/fnmatch_loop.c +++ ../../gnulib/gnulib-lib/lib/fnmatch_loop.c @@ -978,12 +978,12 @@ bool no_leading_period, int flags, size_t alloca_used) { const CHAR *startp; - ssize_t level; + size_t level; struct patternlist