projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo which cause the binary not to depend upon any libraries
[pspp]
/
src
/
data
/
data-out.c
diff --git
a/src/data/data-out.c
b/src/data/data-out.c
index e7c709f678bfc1eaa49b331fabb6dfe2b278c525..38f50fafbd0ed6007058c7d722b67d95de6a0d1a 100644
(file)
--- a/
src/data/data-out.c
+++ b/
src/data/data-out.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-32,7
+31,7
@@
#include "calendar.h"
#include "format.h"
#include "settings.h"
#include "calendar.h"
#include "format.h"
#include "settings.h"
-#include "va
riabl
e.h"
+#include "va
lu
e.h"
#include <libpspp/assertion.h>
#include <libpspp/float-format.h>
#include <libpspp/assertion.h>
#include <libpspp/float-format.h>
@@
-709,8
+708,8
@@
output_scientific (double number, const struct fmt_spec *format,
p = mempset (p, ' ', ss_length (style->neg_suffix));
assert (p == buf + format->w);
p = mempset (p, ' ', ss_length (style->neg_suffix));
assert (p == buf + format->w);
+ memcpy (output, buf, format->w);
- buf_copy_str_lpad (output, format->w, buf);
return true;
}
\f
return true;
}
\f