From: Ben Pfaff Date: Sun, 3 Feb 2008 06:47:24 +0000 (+0000) Subject: In system files, fix error message when floating-point format cannot X-Git-Tag: v0.6.0~138 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf23d2592604dd676358f30b57cc3a28df18e56;p=pspp-builds.git In system files, fix error message when floating-point format cannot be identified. Patch #6347. --- diff --git a/src/data/ChangeLog b/src/data/ChangeLog index a14e6cde..c1dd098a 100644 --- a/src/data/ChangeLog +++ b/src/data/ChangeLog @@ -7,6 +7,8 @@ because PSPP does not yet support them. (read_extension_record): Ignore extension records 20 and 21, which PSPP does not yet support. + (read_header): Fix error message when floating-point format cannot + be identified. 2008-02-01 Ben Pfaff diff --git a/src/data/sys-file-reader.c b/src/data/sys-file-reader.c index 705fb015..d5b5b15f 100644 --- a/src/data/sys-file-reader.c +++ b/src/data/sys-file-reader.c @@ -425,10 +425,9 @@ read_header (struct sfm_reader *r, struct dictionary *dict, read_bytes (r, raw_bias, sizeof raw_bias); if (float_identify (100.0, raw_bias, sizeof raw_bias, &r->float_format) == 0) { - sys_warn (r, _("Compression bias (%g) is not the usual " + sys_warn (r, _("Compression bias is not the usual " "value of 100, or system file uses unrecognized " - "floating-point format."), - r->bias); + "floating-point format.")); if (r->integer_format == INTEGER_MSB_FIRST) r->float_format = FLOAT_IEEE_DOUBLE_BE; else