[Patch]: rootdir

Corinna Vinschen vinschen@redhat.com
Sat Apr 10 19:25:00 GMT 2004


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.



More information about the Cygwin-patches mailing list