2009-11-14 Eric Blake <ebb9@byu.net>
+ fnmatch: avoid compiler warning
+ * lib/fnmatch_loop.c (NEW_PATTERN): Coerce addition to unsigned,
+ to silence compiler warning about mismatch signedness in ?:.
+ Reported by Robert Millan.
+
intprops: add double-inclusion guard
* lib/intprops.h: Allow idempotent includes.
Suggested by Bruce Korb.
-/* Copyright (C) 1991,1992,1993,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006
+/* Copyright (C) 1991,1992,1993,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
\
plen = (opt == L_('?') || opt == L_('@') \
? pattern_len \
- : p - startp + 1); \
+ : p - startp + 1UL); \
plensize = plen * sizeof (CHAR); \
newpsize = offsetof (struct patternlist, str) + plensize; \
if ((size_t) -1 / sizeof (CHAR) < plen \