projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3e1d5
)
*** empty log message ***
author
root
<root>
Wed, 11 Jan 2006 21:24:41 +0000
(21:24 +0000)
committer
root
<root>
Wed, 11 Jan 2006 21:24:41 +0000
(21:24 +0000)
src/iom.C
patch
|
blob
|
history
diff --git
a/src/iom.C
b/src/iom.C
index b1d2979aaffe424fb24daa3dfbc087363f3c3471..3ec1ab833d833731a2ec5379207a2a1007c00f93 100644
(file)
--- a/
src/iom.C
+++ b/
src/iom.C
@@
-221,6
+221,8
@@
sighandler (int signum)
void io_manager::reg (sig_watcher &w)
{
+ init::required ();
+
assert (0 < w.signum);
sw.reserve (w.signum);
@@
-255,7
+257,7
@@
void io_manager::reg (sig_watcher &w)
void io_manager::unreg (sig_watcher &w)
{
- if (!w.active)
+ if (!w.active
|| !iom_valid
)
return;
assert (0 < w.signum && w.signum <= sw.size ());