This is the mail archive of the
mailing list for the Cygwin project.
Re: isatty bug
- From: Brian Ford <ford at vss dot fsi dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Sep 2003 15:53:07 -0500 (CDT)
- Subject: Re: isatty bug
Sam Steingold wrote:
> it turned out that I needed to recompile the obj file that defined my
> same_tty_p() - of course. how silly of me! [now, I think I was told
> that everything was binary backwards compatible; I guess I was confused]
> now that I did it -- my scratch.c works just like your stest.c.
Executables (and DLLs) are binary backwards compatible. Static libs
and objects are not. The 64 bit translation happens at link time.
> (gdb) p fstat(fd1, &stat1)
> Segmentation fault (core dumped)
> now, why does GDB crash?
Maybe because gdb actually calls fstat instead of fstat64 since it doesn't
get the magic link time redirection? No idea really.
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html