From: Ben Pfaff Date: Sat, 17 Feb 2007 16:16:23 +0000 (+0000) Subject: Improve error message when temporary file cannot be created. X-Git-Tag: v0.6.0~546 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aadb06eaf7e641a1590e6296d79b06fe0f97609;p=pspp-builds.git Improve error message when temporary file cannot be created. --- diff --git a/src/language/stats/ChangeLog b/src/language/stats/ChangeLog index 2304f783..4bb21465 100644 --- a/src/language/stats/ChangeLog +++ b/src/language/stats/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 17 08:16:00 2007 Ben Pfaff + + * flip.c (flip_sink_create): Improve error message when temporary + file cannot be created. + Tue Feb 6 19:58:03 2007 Ben Pfaff * flip.c (flip_file): Give better error message on end-of-file. diff --git a/src/language/stats/flip.c b/src/language/stats/flip.c index 866ea2f7..8b7e2ffe 100644 --- a/src/language/stats/flip.c +++ b/src/language/stats/flip.c @@ -299,7 +299,8 @@ flip_sink_create (struct dataset *ds, struct flip_pgm *flip) flip->file = pool_tmpfile (flip->pool); if (flip->file == NULL) { - msg (SE, _("Could not create temporary file for FLIP.")); + msg (SE, _("Could not create temporary file for FLIP: %s."), + strerror (errno)); return NULL; }