OSDN Git Service

* cygheap.cc (init_cygheap::etc_changed): New method to signal
authorcorinna <corinna>
Sun, 9 Sep 2001 16:52:37 +0000 (16:52 +0000)
committercorinna <corinna>
Sun, 9 Sep 2001 16:52:37 +0000 (16:52 +0000)
commitf46b8489407680ab63182dc6224dcffdda1c8ef3
treea0401a494cf46ceb7a6161dae0131f2626043c3b
parentf0043ebde351d26c5cf71c939ae6df0e99b7a798
* 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'.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/grp.cc
winsup/cygwin/passwd.cc
winsup/cygwin/pwdgrp.h [new file with mode: 0644]
winsup/cygwin/winsup.h