summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-03-15 15:37:38 +0000
committerEgbert Eich <eich@suse.de>2004-03-15 15:37:38 +0000
commit503871d35fd6446d2da57ee8616269c2594e0c53 (patch)
tree7a793476296257883b264f68cb170e2675d7f4ed
parent26306cabbd04dd0dda454e5157b2450ea834dd0e (diff)
38. Backing out patch 27 as it was inappropriate for the RELEASE branch andXPRINT_BASEXORG-TM-CYGWIN-MERGEXORG-TM-CYGWIN-LAST-MERGEXORG-RELEASE-1-TM-CLOSEDXORG-RELEASE-1-TM-BASE
bogus anyway (see bugzilla #303) (Egbert Eich). 37. backing out 30.: the sleep() exists to bring the log message to the attention of the user which points to a problem elsewhere. Therefore the problem should be fixed where it originates. To be strict we could make the function fail instead of just trying to point the user at the problem (Egbert Eich).
-rw-r--r--Xtransutil.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xtransutil.c b/Xtransutil.c
index 9ec5f13..d84b1a8 100644
--- a/Xtransutil.c
+++ b/Xtransutil.c
@@ -573,10 +573,16 @@ 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;
}