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:
090f874
)
gwakeup: Fix uninitialized variable from previous commit
author
Colin Walters
<walters@verbum.org>
Fri, 25 Jan 2013 17:06:04 +0000
(12:06 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 25 Jan 2013 17:06:04 +0000
(12:06 -0500)
We really don't want to infloop here...
glib/gwakeup.c
patch
|
blob
|
history
diff --git
a/glib/gwakeup.c
b/glib/gwakeup.c
index ad92d56787b4c5ab6799b8896a9283ac86ed71bb..5e03b5d1ad1e3b0124465b3692e2c747c46c5371 100644
(file)
--- a/
glib/gwakeup.c
+++ b/
glib/gwakeup.c
@@
-241,7
+241,7
@@
g_wakeup_signal (GWakeup *wakeup)
else
{
do
- write (wakeup->fds[1], &one, 1);
+
res =
write (wakeup->fds[1], &one, 1);
while (G_UNLIKELY (res == -1 && errno == EINTR));
}
}