mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-22 18:22:11 +01:00
Warn in case of an error during the call to poll(2). Closes Bug#7564 as
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gmain.c (g_main_poll): Warn in case of an error during the call to poll(2). Closes Bug#7564 as reported by David Helder <dhelder@umich.edu>.
This commit is contained in:
parent
2c4b4788fd
commit
1266a4b88a
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-03-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gmain.c (g_main_poll): Warn in case of an error during the call
|
||||||
|
to poll(2). Closes Bug#7564 as reported by David Helder
|
||||||
|
<dhelder@umich.edu>.
|
||||||
|
|
||||||
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
* gutils.c (g_get_current_dir): Make g_get_current_dir work on
|
||||||
systems with unlimited pathname length like the HURD (It worked
|
systems with unlimited pathname length like the HURD (It worked
|
||||||
there before, but only for pathes shorter than 2048). Closes
|
there before, but only for pathes shorter than 2048). Closes
|
||||||
|
@ -1034,7 +1034,9 @@ g_main_poll (gint timeout,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
G_UNLOCK (main_loop);
|
G_UNLOCK (main_loop);
|
||||||
(*poll_func) (fd_array, npoll, timeout);
|
if ((*poll_func) (fd_array, npoll, timeout) < 0)
|
||||||
|
g_warning ("poll(2) failed due to: %s.",
|
||||||
|
g_strerror (errno));
|
||||||
G_LOCK (main_loop);
|
G_LOCK (main_loop);
|
||||||
|
|
||||||
#ifdef G_MAIN_POLL_DEBUG
|
#ifdef G_MAIN_POLL_DEBUG
|
||||||
|
4
gmain.c
4
gmain.c
@ -1034,7 +1034,9 @@ g_main_poll (gint timeout,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
G_UNLOCK (main_loop);
|
G_UNLOCK (main_loop);
|
||||||
(*poll_func) (fd_array, npoll, timeout);
|
if ((*poll_func) (fd_array, npoll, timeout) < 0)
|
||||||
|
g_warning ("poll(2) failed due to: %s.",
|
||||||
|
g_strerror (errno));
|
||||||
G_LOCK (main_loop);
|
G_LOCK (main_loop);
|
||||||
|
|
||||||
#ifdef G_MAIN_POLL_DEBUG
|
#ifdef G_MAIN_POLL_DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user