projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7a705
)
If dup fails don't call close()
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 20:32:55 +0000
(16:32 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 22:51:57 +0000
(18:51 -0400)
gio/gunixfdlist.c
patch
|
blob
|
history
diff --git
a/gio/gunixfdlist.c
b/gio/gunixfdlist.c
index b92238f2ded3b2efb355baba981a85b9d97e9e83..9a888b2f61865295b171e45933025662305fb6a7 100644
(file)
--- a/
gio/gunixfdlist.c
+++ b/
gio/gunixfdlist.c
@@
-113,7
+113,6
@@
dup_close_on_exec_fd (gint fd,
g_set_error (error, G_IO_ERROR,
g_io_error_from_errno (saved_errno),
"dup: %s", g_strerror (saved_errno));
- close (new_fd);
return -1;
}