From 748f4fe50508fa0f8253355b62aa93873bdd6058 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Feb 2011 08:02:49 +0000 Subject: ws cleanup, changes --- ev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ev.c') diff --git a/ev.c b/ev.c index 0d71a40..4187b18 100644 --- a/ev.c +++ b/ev.c @@ -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)); } } -- cgit v1.2.3