[Top][All Lists]

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

PSPP-BUG: [bug #17213] interactive output should go to terminal

From: John Darrington
Subject: PSPP-BUG: [bug #17213] interactive output should go to terminal
Date: Thu, 26 Jul 2007 07:17:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2

Follow-up Comment #2, bug #17213 (project pspp):

1. I'm not sure how safe this is:
   if (f == stdin || f == stdout || f == stderr)

Maybe it's possible for two distinct pointers to be associated with the same
stdio stream, or  perhaps it could fail after a call to freopen ?? I don't

Perhaps it would be better to  use 
  if ( fileno(f) == STDIN_FILENO || ...

2. I'll assume that the  HAVE_LIBTERMCAP vs. HAVE_LIBNCURSES change is
correct. That issue is so convoluted I always get confused.

I don't see any other problems.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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