diff options
author | root <root> | 2011-02-16 08:02:49 +0000 |
---|---|---|
committer | root <root> | 2011-02-16 08:02:49 +0000 |
commit | 748f4fe50508fa0f8253355b62aa93873bdd6058 (patch) | |
tree | 90a30bc98913362dfc6354853cffebe02fa2b4bf /ev.c | |
parent | 0eee55b11b154595ce4856ddda9802cdbacc4e86 (diff) |
ws cleanup, changes
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,14 +6,14 @@ * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- * CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO @@ -1371,7 +1371,7 @@ pipecb (EV_P_ ev_io *iow, int revents) #if EV_SIGNAL_ENABLE if (sig_pending) - { + { sig_pending = 0; for (i = EV_NSIG - 1; i--; ) @@ -3080,7 +3080,7 @@ infy_add (EV_P_ ev_stat *w) *pend = 0; w->wd = inotify_add_watch (fs_fd, path, mask); - } + } while (w->wd < 0 && (errno == ENOENT || errno == EACCES)); } } |