thunking, the next step

Corinna Vinschen cygwin-patches@cygwin.com
Fri Nov 14 12:58:00 GMT 2003


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.



More information about the Cygwin-patches mailing list