[PATCH] manual/jobs.texi: remove unused var from example code

Aurélien Aptel aurelien.aptel@gmail.com
Thu Jun 4 12:18:44 GMT 2020


Great, thanks for applying the patch.

While reading and using this doc I also found a more important bug in
the example code, for which a bug was already opened 3 years ago but
not addressed:

https://sourceware.org/bugzilla/show_bug.cgi?id=22590

The sample code in the doc *cannot* work if SIGCHLD is ignored.
The quick fix would be to simply remove the `signal (SIGCHLD,
SIG_IGN);` line from Section 28.6.2 Initializing the Shell.
I've personally lost a lot of time on this... I can send a patch for
that if you'd like.

Cheers,


More information about the Libc-alpha mailing list