diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-09-09 16:52:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-09-09 16:52:37 +0000 |
commit | 49eef6d5f7868a67b9ae84d747fb466d3335cf78 (patch) | |
tree | 6cb9f04cdfd2aaa8db8e2e5833211e4026305d66 /winsup/cygwin/cygheap.h | |
parent | d961def403a334176adb4c79cb02385bfca230e7 (diff) | |
download | cygnal-49eef6d5f7868a67b9ae84d747fb466d3335cf78.tar.gz cygnal-49eef6d5f7868a67b9ae84d747fb466d3335cf78.tar.bz2 cygnal-49eef6d5f7868a67b9ae84d747fb466d3335cf78.zip |
* cygheap.cc (init_cygheap::etc_changed): New method to signal
a change in /etc.
* cygheap.h (struct init_cygheap): Add member `etc_changed_h'
and method `etc_changed'.
* grp.cc (enum grp_state): Eliminate.
(class grp_check): Ditto.
(group_state): Define as `class pwdgrp_check'.
(parse_grp): Remeber path and modification time of /etc/group file.
* passwd.cc (enum_pwd_state): Eliminate.
(class pwd_check): Ditto.
(passwd_state): Define as `class pwdgrp_check'.
(read_etc_passwd): Remember path and modification time of /etc/passwd
file.
* pwdgrp.h: New file.
(enum pwdgrp_state): Substitutes `pwd_state' and `grp_state'.
(class pwdgrp_check): Substitutes `pwd_check' and `grp_check'.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 1a90a94b6..8d34e671a 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -161,8 +161,11 @@ struct init_cygheap mode_t umask; HANDLE shared_h; HANDLE console_h; + HANDLE etc_changed_h; cwdstuff cwd; dtable fdtab; + + bool etc_changed (); }; #define CYGHEAPSIZE (sizeof (init_cygheap) + (4000 * sizeof (fhandler_union)) + (2 * 65536)) |