envcache: huh?
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Aug 1 12:33:00 GMT 2005
On Jul 28 14:45, Dave Korn wrote:
> And we're storing through the 'x' member, which is a DWORD pointer, yes?
>
> And the thing we're storing into is a bool, yes?
>
> Which is one byte in size, yes?
>
> ------------------------<snip>------------------------
> .data
> _envcache:
> .byte 1
> .text
> ------------------------<snip>------------------------
>
>
> Oops?
It is fishy, I agree. Probably we had no problem so far since there's
no overlapping within 4 bytes in the DLL, AFAICS, but this could change
with another ld version. I guess your idea is worthwhile to implement.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-developers
mailing list