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:
3ba64e7
)
Use the saved errno value
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Aug 2009 03:02:08 +0000
(23:02 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Aug 2009 03:02:08 +0000
(23:02 -0400)
Bug 591995
gio/glocalfileoutputstream.c
patch
|
blob
|
history
diff --git
a/gio/glocalfileoutputstream.c
b/gio/glocalfileoutputstream.c
index
5cc4095
..
7987211
100644
(file)
--- a/
gio/glocalfileoutputstream.c
+++ b/
gio/glocalfileoutputstream.c
@@
-210,7
+210,7
@@
_g_local_file_output_stream_really_close (GLocalFileOutputStream *file,
int errsv = errno;
g_set_error (error, G_IO_ERROR,
- g_io_error_from_errno (err
no
),
+ g_io_error_from_errno (err
sv
),
_("Error writing to file: %s"),
g_strerror (errsv));
goto err_out;