Commit 26306cab authored by Mike A. Harris's avatar Mike A. Harris
Browse files

Remove pointless calls to sleep(5) in xtrans, which cause unnecessary

    delays in libICE (Bugzilla #297) (Mike A. Harris).
parent 99abcbf8
......@@ -573,16 +573,10 @@ trans_mkdir(char *path, int mode)
if (updateOwner && !updatedOwner) {
PRMSG(1, "mkdir: Owner of %s should be set to root\n",
path, 0, 0);
#if !defined(__CYGWIN__) && !defined(__DARWIN__)
sleep(5);
#endif
}
if (updateMode && !updatedMode) {
PRMSG(1, "mkdir: Mode of %s should be set to %04o\n",
path, mode, 0);
#if !defined(__CYGWIN__) && !defined(__DARWIN__)
sleep(5);
#endif
}
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment