svn commit: trunk/uClibc/libc/unistd
aldot at uclibc.org
aldot at uclibc.org
Thu Sep 11 16:42:23 UTC 2008
Author: aldot
Date: 2008-09-11 09:42:23 -0700 (Thu, 11 Sep 2008)
New Revision: 23383
Log:
- whitespace fixes
Modified:
trunk/uClibc/libc/unistd/sleep.c
Changeset:
Modified: trunk/uClibc/libc/unistd/sleep.c
===================================================================
--- trunk/uClibc/libc/unistd/sleep.c 2008-09-11 16:27:41 UTC (rev 23382)
+++ trunk/uClibc/libc/unistd/sleep.c 2008-09-11 16:42:23 UTC (rev 23383)
@@ -145,12 +145,12 @@
act.sa_flags = 0;
act.sa_mask = oset;
if (sigaction(SIGALRM, &act, &oact) < 0)
- return seconds;
+ return seconds;
before = time(NULL);
remaining = alarm(seconds);
if (remaining && remaining > seconds) {
- /* restore user's alarm */
+ /* restore user's alarm */
(void) sigaction(SIGALRM, &oact, (struct sigaction *) NULL);
alarm(remaining); /* restore old alarm */
sigsuspend(&oset);
More information about the uClibc-cvs
mailing list