projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
[gnulib.git]
/
lib
/
glob.c
diff --git
a/lib/glob.c
b/lib/glob.c
index
f46159b
..
7f0c733
100644
(file)
--- a/
lib/glob.c
+++ b/
lib/glob.c
@@
-19,6
+19,10
@@
# include <config.h>
#endif
+/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc
+ optimizes away the pattern == NULL || pglob == NULL tests below. */
+#define _GL_ARG_NONNULL(params)
+
#include <glob.h>
#include <errno.h>