maint: avoid recent syntax-check issues

* .gitignore: Cater for recently added poll module.
* src/stdbuf.c: Avoid false positive from sc_prohibit_readlink.
This commit is contained in:
Pádraig Brady 2021-07-26 15:42:29 +01:00
parent 7d44ac224c
commit e094d2e3e1
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View 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

View 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