This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA] Fix cygwin compilation failure due to nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing


On Dec 18 19:03, Eli Zaretskii wrote:
> > Date: Wed, 18 Dec 2013 17:07:07 +0100
> > > Are you sure that 32K capability cannot be had with ANSI file names
> > > using the \\?\ notation?
> > 
> > Yes.  The \\?\ notation only works in the UNICODE API[*].  The reason
> > is that the ANSI API is just a thin layer over the actual UNICODE
> > functionality, and the conversion from ANSI to UNICODE is done using a
> > per-thread fixed-size buffer of 520 bytes.
> 
> Does this mean that using \\?\ with ANSI-encoded file names buys us
> 520-byte file names?

260 char ANSI -> 520 bytes UTF-16


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgp5P039N0QAk.pgp
Description: PGP signature


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