projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8528fd
)
If seeko() is not available use long int for off_t.
author
Ben Pfaff
<blp@gnu.org>
Tue, 30 Nov 2004 16:54:03 +0000
(16:54 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Tue, 30 Nov 2004 16:54:03 +0000
(16:54 +0000)
src/ChangeLog
patch
|
blob
|
history
src/flip.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 4de5e09bd23c20d85e2b074318aa09fa67684492..fceb26f270477bfb9725f7daa77452e0842a94cb 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,9
@@
+Tue Nov 30 08:47:41 2004 Ben Pfaff <blp@gnu.org>
+
+ * flip.c: (flip_file) If fseeko() is not available, use long int
+ for off_t. Thanks to "Marshall DeBerry" <mdb@radix.net> for
+ reporting the problem.
+
Mon Nov 29 12:20:59 WST 2004 John Darrington <john@darrington.wattle.id.au>
* examine.q factor_stats.[ch] Changed stderr to se_mean to avoid
diff --git
a/src/flip.c
b/src/flip.c
index b4f908dfb7ccdaaf3c591b3321ed8cc6c101c830..2ded1ed37ba2efbe67199c2910a644df746f2b09 100644
(file)
--- a/
src/flip.c
+++ b/
src/flip.c
@@
-416,6
+416,10
@@
flip_file (struct flip_pgm *flip)
#ifndef HAVE_FSEEKO
#define fseeko fseek
+
+#ifndef off_t
+#define off_t long int
+#endif
#endif
if (fseeko (output_file,