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

delays in libICE (Bugzilla #297) (Mike A. Harris).
This commit is contained in:
Mike A. Harris
2004-03-11 19:59:18 +00:00
parent 99abcbf874
commit 26306cabbd

View File

@@ -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;
}