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: thunking, the next step


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.


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