This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: getpwuid



> Sure, the implemention of an appropriate cache mechanism could save most
> of the time. Maybe someone will have the time to rewrite the passwd
> functions.
> 
> [...] 
> 
> I think this would not be a big problem. How often does the account
> database usually change?  Once a week? Or once a month? 
>
> [...]
>
> Gunther Ebert

Maybe a compromise solution can be reached -- how about having the pw
functions check the mtime on /etc/passwd, and if it has been modified,
automatically update it, or at the least print a warning message to stderr
to have the sysadmin run the program that does the updating? 

--david

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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