On Apr 10 12:48, Pierre A. Humblet wrote:
> This patch avoids a couple of long strcpy. 
> 
> Pierre
> 
> 2004-04-10  Pierre Humblet <[EMAIL PROTECTED]>
>  
>       * 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:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to