[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #5524] Error file command line option

From: Ben Pfaff
Subject: [patch #5524] Error file command line option
Date: Sun, 05 Nov 2006 18:00:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060830 Firefox/ (Debian-1.5.dfsg+

Follow-up Comment #1, patch #5524 (project pspp):

There's something that bothers me about this.  I think it's that we're not
using the standard streams the way we're supposed to: output should go to
stdout, errors to stderr.

What if, instead of applying this patch, we just fixed the problem with the

--- msg-ui.c.~1.4.~     2006-11-04 21:24:56.000000000 -0800
+++ msg-ui.c    2006-11-05 10:00:21.000000000 -0800
@@ -142,7 +142,7 @@ handle_msg (const struct msg *m)
   ds_put_cstr (&string, m->text);
   if (get_error_routing_to_terminal ())
-    dump_message (ds_cstr (&string), get_viewwidth (), 8, stdout);
+    dump_message (ds_cstr (&string), get_viewwidth (), 8, stderr);
   ds_destroy (&string);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]