This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: patch for freopen(NULL,...)


On Mon, Jan 09, 2006 at 12:54:23PM -0500, Jeff Johnston wrote:
>Patch checked in with minor modifications.  A check was required for 
>HAVE_FCNTL before using _fcntl_r.  I also initialized e which was 
>generating a warning message because of the new if clause.

.../i686-pc-cygwin/newlib/libc/libc.a(freopen.o): In function `_freopen_r':
.../newlib/libc/stdio/freopen.c:167: undefined reference to `__isatty'
.../i686-pc-cygwin/newlib/libc/libc.a(freopen64.o): In function `_freopen64_r':
.../newlib/libc/stdio64/freopen64.c:167: undefined reference to `__isatty'

Isn't that supposed to just be "isatty()" not "_isatty()"?  I'm
wondering how this could have ever been linked.

cgf


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