remove longjmp from signalhandler in getans To avoid undefined behavior use close in the signal handler.
Switch from using RETSIGTYPE via autoconf to void. POSIX says that's the type to use for a signal handler. Pulled in from nmh. Thanks to Ken Hornstein. (btw: `to pull in' describes my action better than `to merge'.)
Relayouted all switch statements: case aligns with switch. Desired style is: switch (n) { case foo: ... }
Removed the space between function names and the opening parenthesis.
Reformated comments and long lines
Rearranged whitespace (and comments) in all the code! The primary goal was to only indent with tabs and not mix them with spaces. Also, no more tabs should appear past the first printable char on each line. Now editing the sources will be much easier, no matter which editor one uses, and rearranging won't break aligned code. (Beware, the changeset is huge, but the `diff -w' changes are moderate.)
Remove RCS keywords, since they no longer work after git migration.
* sbr/ambigsw.c: Send print_sw output to stderr. This avoids strange problems with scan `pick -bogus`, not to mention being nicer anyway. * sbr/getans.c, sbr/print_help.c, uip/msh.c: Send print_sw output to stdout. * h/prototypes.h, sbr/print_sw.c (print_sw): Add FILE * argument and send output there rather than to stdout. * test/tests/pick/test-stderr: Add test that error messages don't end up going to stdout.
Suppress 'uninitialised variable' warning.
Add/update copyright notice in all source code files.
Initial revision