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

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

PSPP-BUG: [bug #25711] psppire on Windows crashes if receive a file name


From: Ben Pfaff
Subject: PSPP-BUG: [bug #25711] psppire on Windows crashes if receive a file name as argument.
Date: Fri, 27 Feb 2009 04:53:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Follow-up Comment #4, bug #25711 (project pspp):

>I've always expected printf("%s", NULL) to print the string 
>"(null)" but it seems that under Mingw it just crashes....
>Does anyone know what POSIX says about null vs %s ?

The behavior of printf("%s", NULL) is formally undefined.  Many C libraries
are kind enough to print something like "(null)" or "(nil)", but they are not
obliged to.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25711>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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