Wykres commitów

3 Commity (master)

Autor SHA1 Wiadomość Data
tibs 32fec829b2 Amendments suggested by alexw, to whom thanks:
1. Fix some print_msg to be print_err
2. Rename the function to make error messages go to stderr to
   redirect_output_stderr, which is more sensible.
3. Make the -stdout switch always force error messages to stderr
4. Add the "-err" switch to all programs, which allows the user
   to choose whether they prefer errors to go to stdout or stderr

That last is something I meant to do as part of the stdout/stderr
changes - thanks again to alexw for causing me to get round to it.

This now allows:

  cat data/ed24p_11.ts | ts2ps -stdin -stdout | ps2ts -stdin -stdout | mplayer -

to work -- it didn't before.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40145
2009-06-16 20:27:25 +00:00
tibs 6d6349eea4 Since none of the printing calls care about a return value,
make the new printing mechanism simpler, by having functions
with void returns.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40118
2009-02-17 11:45:14 +00:00
tibs 2f658aa0a3 Write some initial code to allow for output redirection
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40116
2009-02-16 21:45:34 +00:00