projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old changelogs from tree.
[pspp]
/
src
/
language
/
utilities
/
set.q
diff --git
a/src/language/utilities/set.q
b/src/language/utilities/set.q
index 14cc4be5873daa66edbd3428f8ffff24f29c11eb..50ddd9443ed8dc92d956068e8d3d3f07b2e09fc1 100644
(file)
--- a/
src/language/utilities/set.q
+++ b/
src/language/utilities/set.q
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012
, 2013, 2014
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-16,6
+16,7
@@
#include <config.h>
#include <config.h>
+#include <float.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
@@
-624,7
+625,7
@@
show_blanks (const struct dataset *ds UNUSED)
{
return (settings_get_blanks () == SYSMIS
? xstrdup ("SYSMIS")
{
return (settings_get_blanks () == SYSMIS
? xstrdup ("SYSMIS")
- : xasprintf ("%
g"
, settings_get_blanks ()));
+ : xasprintf ("%
.*g", DBL_DIG + 1
, settings_get_blanks ()));
}
static void
}
static void
@@
-876,7
+877,7
@@
static char *
show_workspace (const struct dataset *ds UNUSED)
{
size_t ws = settings_get_workspace () / 1024L;
show_workspace (const struct dataset *ds UNUSED)
{
size_t ws = settings_get_workspace () / 1024L;
- return xasprintf ("%
ld
", ws);
+ return xasprintf ("%
zu
", ws);
}
static char *
}
static char *