This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Internal get{pw,gr}XX calls


Hello Corinna,

Don't program when you are tired, my mom used to say.
This replaces what I sent last night. The discussion
in the message is still OK.

Pierre

2002-11-29  Pierre Humblet <pierre.humblet@ieee.org>

	* pwdgrp.h (pwdgrp_check::pwdgrp_state): Replace by 
	pwdgrp_check::isinitializing ().
	(pwdgrp_check::isinitializing): Create.
 	(pwdgrp_check::operator =): Delete.
	((pwdgrp_check::set_last_modified): Set state to loaded.
	* passwd.cc (read_etc_passwd): Replace "passwd_state <= " by 
	passwd_state::isinitializing (). Remove update of passwd_state.	
	(internal_getpwuid): Replace "passwd_state <= " by 
	passwd_state::isinitializing ().
	(internal_getpwnam): Ditto.
	(getpwent): Ditto.
	(getpass): Ditto.
	* grp.cc (read_etc_group): Replace "group_state <= " by 
	group_state::isinitializing (). Remove update of group_state.	
	(internal_getgrgid): Replace "group_state <= " by 
	group_state::isinitializing ().
	(getgrent32): Ditto.
	(internal_getgrent): Ditto.

Attachment: pwd2.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]