projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1ffd7
)
Comment about the validity of errno.
author
Bruno Haible
<bruno@clisp.org>
Wed, 17 Sep 2003 12:46:33 +0000
(12:46 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Wed, 17 Sep 2003 12:46:33 +0000
(12:46 +0000)
lib/mountlist.c
patch
|
blob
|
history
diff --git
a/lib/mountlist.c
b/lib/mountlist.c
index 096593fb17e405707d4faedc3d010655c4980327..9051e817dbcfb8f1aaf6120856e0bca309e04ae3 100644
(file)
--- a/
lib/mountlist.c
+++ b/
lib/mountlist.c
@@
-612,6
+612,7
@@
read_filesystem_list (int need_fs_type)
if (ferror (fp))
{
+ /* The last fread() call must have failed. */
int saved_errno = errno;
fclose (fp);
errno = saved_errno;