diff --git a/.gitignore b/.gitignore index e25f56db9..d8d896b4f 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 e8a0b6123..dd39bd086 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