getpwuid

David Ascher da@maigret.cog.brown.edu
Mon May 5 16:53:00 GMT 1997


> 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".



More information about the Cygwin mailing list