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:
dad3cb5
)
g_file_set_contents(): fix simple logic error
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 3 Jun 2013 21:59:29 +0000
(17:59 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 9 Jun 2013 22:15:34 +0000
(18:15 -0400)
CI FTW.
glib/gfileutils.c
patch
|
blob
|
history
diff --git
a/glib/gfileutils.c
b/glib/gfileutils.c
index
80f4be4
..
67677fb
100644
(file)
--- a/
glib/gfileutils.c
+++ b/
glib/gfileutils.c
@@
-1122,7
+1122,7
@@
write_to_temp_file (const gchar *contents,
#endif
errno = 0;
- if (g_close (fd, err))
+ if (
!
g_close (fd, err))
{
g_unlink (tmp_name);