This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: [Fwd: Re: Problems with Cygwin-1.7.8 (or snapshot) and TeXLive 2010]
On Mar 7 09:01, Earnie wrote:
> Corinna Vinschen wrote:
> > How is it possible that an additional parameter to the calling
> > function can trigger an ERROR_INVALID_ADDRESS in a subsequently
> > called Win32 function, even if this parameter is just a bool value
> > not eve used in the Win32 call?!?
> >
> > Just for the records, I tested to remove the __stdcall and the
> > regparm from get_file_sd. I tried to replace the type bool with the
> > Win32 typer BOOL and the native NT type BOOLEAN. I rearranged the
> > code. Nothing helps, except removing the additional parameter to
> > get_file_sd.
>
> Probably coincidence and something gone wrong with the compiler. Try
> changing the name and/or order of the parameter. I've seen compiler
> bugs that cause strange stuff in the programs over my 30 years of IT
> experience.
I tried that too and it doesn't help either. However, if it's actually
a compiler bug, how is it that only XP is affected?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat