* sbr/ambigsw.c: Send print_sw output to stderr. This avoids
authorEric Gillespie <epg@pretzelnet.org>
Thu, 14 Aug 2008 01:50:45 +0000 (01:50 +0000)
committerEric Gillespie <epg@pretzelnet.org>
Thu, 14 Aug 2008 01:50:45 +0000 (01:50 +0000)
commit6b7218e1ae606329bf2e45b08e2e46cb9f0fc998
treee272c6e4fbedecb409f09d07350c6b8eab33d773
parent528f017cdebf19e2868bb77891e28e628defd13c
* 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.
ChangeLog
h/prototypes.h
sbr/ambigsw.c
sbr/getans.c
sbr/print_help.c
sbr/print_sw.c
test/tests/pick/test-stderr [new file with mode: 0644]
uip/msh.c