This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: getpwuid
- To: Gunther Ebert <gunther dot ebert at ixos-leipzig dot de>
- Subject: Re: getpwuid
- From: David Ascher <da at maigret dot cog dot brown dot edu>
- Date: Mon, 5 May 1997 19:32:05 -0400 (EDT)
- Cc: Ken Keys <hawkeye at CommerceWave dot com>, gnu-win32 at cygnus dot com
> 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".