mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 04:09:20 +02:00
Minor comment improvement.
2005-04-19 Tor Lillqvist <tml@novell.com> * glib/gutils.h: Minor comment improvement. 2005-04-18 Tor Lillqvist <tml@novell.com> * glib/gfileutils.c: No <sys/wait.h> on Win32. Definition of save_errno was missing in one place.
This commit is contained in:
committed by
Tor Lillqvist
parent
31da378f2d
commit
2def3c144f
@@ -33,7 +33,9 @@
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef G_OS_WIN32
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1160,7 +1162,7 @@ g_file_replace (const gchar *filename,
|
||||
{
|
||||
gchar *display_filename = g_filename_display_name (filename);
|
||||
|
||||
save_errno = errno;
|
||||
int save_errno = errno;
|
||||
|
||||
g_set_error (error,
|
||||
G_FILE_ERROR,
|
||||
|
Reference in New Issue
Block a user