From: Pádraig Brady Date: Mon, 26 Jul 2021 14:42:29 +0000 (+0100) Subject: maint: avoid recent syntax-check issues X-Git-Tag: v9.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e094d2e3e1216a9511087f4fe1fe0d0dbc10013d;p=thirdparty%2Fcoreutils.git maint: avoid recent syntax-check issues * .gitignore: Cater for recently added poll module. * src/stdbuf.c: Avoid false positive from sc_prohibit_readlink. --- diff --git a/.gitignore b/.gitignore index e25f56db9b..d8d896b4fb 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/src/stdbuf.c b/src/stdbuf.c index e8a0b6123f..dd39bd0868 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -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