get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

Warren Young warren@etr-usa.com
Wed Feb 12 02:06:00 GMT 2014


On 2/11/2014 16:25, David Stacey wrote:
> getpwent() is called in three different places.

To those of you who have investigated these code paths: do any of them 
look like they couldn't be replaced by getpwnam() or other calls that 
would let cygwin1.dll do single-record AD/SAM lookups, rather than 
whole-table/tree scans?

That is, do any of these programs really need to visit every record in 
/etc/passwd?

> problem was an assumption made in the 'checkfile' perl script: it was
> assumed that cygwin1.dll is the first DLL listed by objdump.

Details, details. :)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list