mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
Modified Files: glib/ChangeLog glib/glib/giounix.c
Modified Files: glib/ChangeLog glib/glib/giounix.c * glib/giounix.c: fixed an error in setting close_on_unref in g_io_channel_new_file ()
This commit is contained in:
parent
e7931debd2
commit
2da4b710cd
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-15 Ron Steinke <rsteinke@w-link.net>
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giounix.c: fixed an error in setting close_on_unref
|
||||
in g_io_channel_new_file ()
|
||||
|
||||
2001-08-16 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
|
||||
new functions g_io_channel_[set,get]_close_on_unref ()
|
||||
|
@ -514,7 +514,6 @@ g_io_channel_new_file (const gchar *filename,
|
||||
|
||||
channel = (GIOChannel *) g_new (GIOUnixChannel, 1);
|
||||
|
||||
channel->close_on_unref = TRUE;
|
||||
channel->is_seekable = S_ISREG (buffer.st_mode) || S_ISCHR (buffer.st_mode)
|
||||
|| S_ISBLK (buffer.st_mode);
|
||||
|
||||
@ -540,6 +539,7 @@ g_io_channel_new_file (const gchar *filename,
|
||||
}
|
||||
|
||||
g_io_channel_init (channel);
|
||||
channel->close_on_unref = TRUE; /* must be after g_io_channel_init () */
|
||||
channel->funcs = &unix_channel_funcs;
|
||||
|
||||
((GIOUnixChannel *) channel)->fd = fid;
|
||||
|
Loading…
Reference in New Issue
Block a user