mirror of
https://github.com/SwallowOS/xorg_lib_libxtrans
synced 2025-11-04 05:46:13 +08:00
Remove pointless calls to sleep(5) in xtrans, which cause unnecessary
delays in libICE (Bugzilla #297) (Mike A. Harris).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user