Author: sparky                       Date: Mon Jan 31 19:05:10 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- reduce default sleep time to 100msec

---- Files affected:
packages/rc-scripts-user:
   run-fast-or-hide.c (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/rc-scripts-user/run-fast-or-hide.c
diff -u packages/rc-scripts-user/run-fast-or-hide.c:1.1 
packages/rc-scripts-user/run-fast-or-hide.c:1.2
--- packages/rc-scripts-user/run-fast-or-hide.c:1.1     Mon Jan 31 19:27:58 2011
+++ packages/rc-scripts-user/run-fast-or-hide.c Mon Jan 31 20:05:05 2011
@@ -22,6 +22,11 @@
 #include <stdio.h>
 #include <fcntl.h> /* O_RDWR */
 
+#ifndef SLEEP_TIME
+/* 100 msec should be more than enough */
+# define SLEEP_TIME 100000
+#endif
+
 static pid_t our_child = 0;
 
 static void
@@ -142,7 +147,7 @@
        struct passwd *pw = NULL;
        int nicelevel = 0;
        int verbose = 0;
-       long int sleep_time = 500000;
+       long int sleep_time = SLEEP_TIME;
 
        static const struct option longopts[] = {
                { "help",         0, NULL, 'h' },
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts-user/run-fast-or-hide.c?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to