This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch]: rootdir
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 10 Apr 2004 21:25:36 +0200
- Subject: Re: [Patch]: rootdir
- References: <3.0.5.32.20040410124817.0083fc20@incoming.verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
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.