[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

More on the ICE delay thing



This patch, which I found while doing a patch merge with Red Hat's
XFree86 packages, may also help:
--- xc/lib/xtrans/Xtransutil.c.libICE-remove-stupid-delay       Tue Sep 17 21:25:02 2002
+++ xc/lib/xtrans/Xtransutil.c  Wed Oct  9 01:02:45 2002
@@ -503,16 +503,10 @@
            if (updateOwner && !updatedOwner) {
                PRMSG(1, "mkdir: Owner of %s should be set to root\n",
                      path, 0, 0);
-#if !defined(__CYGWIN__)
-               sleep(5);
-#endif
            }
            if (updateMode && !updatedMode) {
                PRMSG(1, "mkdir: Mode of %s should be set to %04o\n",
                      path, mode, 0);
-#if !defined(__CYGWIN__)
-               sleep(5);
-#endif
            }
            return 0;
        }

That would explain the 5-second delay on startup. :)

-- 
Daniel Stone                                     <dstone@trinity.unimelb.edu.au>
Developer, Trinity College, University of Melbourne

Attachment: pgpt74RpNoJsO.pgp
Description: PGP signature


Reply to: