]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: avoid recent syntax-check issues
authorPádraig Brady <P@draigBrady.com>
Mon, 26 Jul 2021 14:42:29 +0000 (15:42 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 26 Jul 2021 14:42:29 +0000 (15:42 +0100)
* .gitignore: Cater for recently added poll module.
* src/stdbuf.c: Avoid false positive from sc_prohibit_readlink.

.gitignore
src/stdbuf.c

index e25f56db9be592daa2145c2d2a6ad28fe70ab727..d8d896b4fb5880a292785964fbda9cb16c887853 100644 (file)
@@ -80,6 +80,7 @@
 /lib/netinet/in.h
 /lib/parse-datetime-gen.h
 /lib/parse-datetime.c
+/lib/poll.h
 /lib/printf.c
 /lib/pthread.h
 /lib/ref-add.sed
index e8a0b6123f77b267ea22e73eb8829cfeee191c41..dd39bd08688107bd8b1b44bd91625f4baded4231 100644 (file)
@@ -129,7 +129,7 @@ and are thus unaffected by 'stdbuf' settings.\n\
 /* argv[0] can be anything really, but generally it contains
    the path to the executable or just a name if it was executed
    using $PATH. In the latter case to get the path we can:
-   search getenv ("PATH"), readlink ("/prof/self/exe"), getenv ("_"),
+   search getenv("PATH"), readlink("/prof/self/exe"), getenv("_"),
    dladdr(), pstat_getpathname(), etc.  */
 
 static void