Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-17 08:24:28 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-17 08:24:28 +0300
commit1de6f431aafba2b5158a2f93a9f37cdcf4279352 (patch)
tree3551ef9d7fad96dfe2fad6f1e66efeb55af87f24 /winsup/cygwin/uinfo.cc
parent14ea50290a1f9f3954cc562ab877c1950ab8a2bb (diff)
* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless
debugging.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r--winsup/cygwin/uinfo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index 5eb76b100..73614f7b9 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -424,9 +424,11 @@ etc::dir_changed (int n)
path_conv pwd ("/etc");
changed_h = FindFirstChangeNotification (pwd, FALSE,
FILE_NOTIFY_CHANGE_LAST_WRITE);
+#ifdef DEBUGGING
if (changed_h == INVALID_HANDLE_VALUE)
system_printf ("Can't open /etc for checking, %E", (char *) pwd,
changed_h);
+#endif
}
if (changed_h == INVALID_HANDLE_VALUE)