Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a29f13
)
Stupid think-o bugfix in test_io.c: Don't close data->outfile
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 5 May 2003 23:50:49 +0000
(19:50 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 5 May 2003 23:50:49 +0000
(19:50 -0400)
if it is stderr.
lib/ext2fs/test_io.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/test_io.c
b/lib/ext2fs/test_io.c
index
3d747e8
..
3510666
100644
(file)
--- a/
lib/ext2fs/test_io.c
+++ b/
lib/ext2fs/test_io.c
@@
-199,7
+199,7
@@
static errcode_t test_close(io_channel channel)
if (data->real)
retval = io_channel_close(data->real);
- if (data->outfile)
+ if (data->outfile
&& data->outfile != stderr
)
fclose(data->outfile);
ext2fs_free_mem((void **) &channel->private_data);