------- Comment #9 from rob1weld at aol dot com 2007-05-29 18:21 ------- Created an attachment (id=13629) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13629&action=view) Fix Cygwin __sgetc_r bug with GCC 4.3.0
The information above is for patching the _source_ tree. If you obtained Cygwin gcc 3.4.4 by using the setup.exe program, the included /usr/include/stdio.h can not be used to bootstrap GCC 4.3.0. This patch is for Cygwin's /usr/include/stdio.h - it is NOT for patching GCC. It is slightly different from what is suggested for patching the _source_ ONLY in that this patch does not cause offset warning messages - otherwise it is equal (plus a few comments). It was derived from the two patches listed at: http://sourceware.org/ml/newlib/2007/msg00296.html and http://sourceware.org/ml/newlib/2007/msg00326.html combined together and applied to the "setup.exe"'s version version of /usr/include/stdio.h . It has been tested on Cygwin with GCC 4.3.0 revision 125164 . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31039