On Aug 28 22:49, Bas van Gompel wrote: > Hi, > > When RegQueryValueEx returns a string-type, the final NUL is included > in the returned size. I suggest dropping it.
I see what you're up to, but there would be two reasons not to drop the trailing \0. First, the \0 is part of the "file content" in a way. Second, it would break backward compatibility with applications using /proc/registry. This latter point concerns me a bit, though it can naturally only affect Cygwin applications. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[email protected] Red Hat, Inc.
