diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-21 08:07:28 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-21 08:07:28 +0300 |
commit | d8cde3a3eeacd44ecc93ad092318ab243a423fb5 (patch) | |
tree | 6b2bb7cb27fc49a88469cb514af43b8821eb9bce /winsup/cygwin/path.h | |
parent | 14d304da97f132b411b5c581e38b2bbd177cc3ca (diff) |
* path.h (etc::change_possible): Revert the type to bool.
(etc::set_last_modified): Remove obsolete function.
* path.cc (etc::change_possible): Revert type to bool.
(etc::test_file_change): Do not test for negative values of change_possible and
do not set it to -res.
(etc::dir_changed): When the handle is NULL, call memset instead of
test_file_changed. When the handle is invalid, return true.
(etc::file_changed): Remove unneeded check for !fn[n].
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 7fab2044d..520b4907a 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -213,13 +213,12 @@ int path_prefix_p (const char *path1, const char *path2, int len1) __attribute__ class etc { static int curr_ix; - static signed char change_possible[MAX_ETC_FILES + 1]; + static bool change_possible[MAX_ETC_FILES + 1]; static const char *fn[MAX_ETC_FILES + 1]; static FILETIME last_modified[MAX_ETC_FILES + 1]; static bool dir_changed (int); static int init (int, const char *); static bool file_changed (int); - static void set_last_modified (int, FILETIME&); static bool test_file_change (int); friend class pwdgrp; }; |