delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/06/02:00:32

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: getpwuid
6 May 1997 02:00:32 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC5A13.FA37CA50.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'gunther DOT ebert AT ixos-leipzig DOT de'" <gunther DOT ebert AT ixos-leipzig DOT de>
Encoding: 17 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Gunther Ebert wrote:
> environment. Note that every fstat call results in a call to several pwd
> functions, and
> using native APIs instead of /etc/passwd file operations would slow down
> file operations
> dramatically.
>

Hopefully, You are not right. Fstat calls does not requires acces to user's 
database, because all neccessary information (uid and gid) is contained in 
file's security descriptor.

--
Sergey Okhapkin
Moscow, Russia
Looking for a job.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019