This is the mail archive of the cygwin-patches@cygwin.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]
Other format: [Raw text]

Re: [Patch]: rootdir


On Apr 10 12:48, Pierre A. Humblet wrote:
> This patch avoids a couple of long strcpy. 
> 
> Pierre
> 
> 2004-04-10  Pierre Humblet <pierre.humblet@ieee.org>
>  
> 	* fhandler.cc (rootdir): Add and use second argument.
> 	* winsup.h: (rootdir) Add second argument in declaration.
> 	* path.cc (fs_info::update): Modify call to rootdir.
> 	* syscalls.cc (check_posix_perm): Ditto.
> 	(statfs): Ditto. Move syscall_printf near top.

Applied with a few changes in rootdir() itself.  It's slightly
faster this way.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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