projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b94f2b3
)
* lib/ftell.c (ftell): Comment out cast.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 25 Jul 2011 16:21:22 +0000
(09:21 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 25 Jul 2011 16:22:20 +0000
(09:22 -0700)
ChangeLog
patch
|
blob
|
history
lib/ftell.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index b8da59a43379dbd6f6d8ff583dbcb523c5563722..f999c04552da89994d4cb55a65ccd6cb2000a2d7 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,7
@@
2011-07-25 Paul Eggert <eggert@cs.ucla.edu>
+ * lib/ftell.c (ftell): Comment out cast.
+
close: use gl_REPLACE_FCLOSE only if defined
* m4/close.m4 (gl_REPLACE_CLOSE): Use gl_REPLACE_FCLOSE only if it
is defined. The close module doesn't depend on the fclose module
diff --git
a/lib/ftell.c
b/lib/ftell.c
index ebf0bb7b58d9d965f10651247f7acf580bd3a92b..74ec986e27b1cede87d41db35db54591b3c0135b 100644
(file)
--- a/
lib/ftell.c
+++ b/
lib/ftell.c
@@
-28,7
+28,7
@@
ftell (FILE *fp)
/* Use the replacement ftello function with all its workarounds. */
off_t offset = ftello (fp);
if (LONG_MIN <= offset && offset <= LONG_MAX)
- return
(long)
offset;
+ return
/* (long) */
offset;
else
{
errno = EOVERFLOW;