This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: thunking, the next step
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 14 Nov 2003 13:58:10 +0100
- Subject: Re: thunking, the next step
- References: <3FB4C443.2040301@cygwin.com>
On Fri, Nov 14, 2003 at 11:02:11PM +1100, Robert Collins wrote:
> Ok, I've now integrated and generalised Ron's unicode support mini-patch.
>
> So, here tis a version that, well the changelog explains the overview,
> and io.h the detail.
>
> Overhead wise, this is reasonably low:
> 1 strlen() per IO call minimum.
I'm wondering if we couldn't get rid of that strlen call. These
functions already get a Windows path. This path is constructed by a
call to path_conv::check(). check() already scans the path so it
should be simple to add a length field to path_conv, which could
be used when calling the IOThunkState constructor.
Right? Wrong?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.