bug-gnu-pspp
[Top][All Lists]
Advanced

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

Re: PSPP-BUG: [bug #33234] PSPPIRE opens empty output screen on start


From: John Darrington
Subject: Re: PSPP-BUG: [bug #33234] PSPPIRE opens empty output screen on start
Date: Sun, 8 May 2011 06:16:33 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, May 07, 2011 at 09:52:30PM +0000, Ben Pfaff wrote:
     
     The reason that PSPPIRE opens an empty output window on startup is that
     psppire.c's "initialize" function does, as its last step, the following:
     
     
     execute_const_syntax_string (data_window, "");
     
     
     and running any syntax (even empty syntax) causes that syntax to be 
written to
     the output window as a side effect.
     
     John, you introduced that call (in slightly different form) without further
     explanation  in commit fe76b9c2c "Rewrote the command line parser using 
argp."
      Removing it seems to have no ill effects.  Do you know of a reason to keep
     it?
     

As I recall, it was necessary to ensure that any syntax from, say, /etc/pspp/rc 
got executed.   Maybe it is no longer required.  If all the startup options 
continue to work properly, please feel free to remove it.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

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