This is the mail archive of the cygwin-developers 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: envcache: huh?


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.


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