PATCH: fix brokeness for cygwin

mike stump mrs@windriver.com
Thu Jul 12 14:26:00 GMT 2001


Can someone put this patch on the binutils-2_11-branch release branch
only, this change is necessary for temp files to work on newer
cygwins, otherwise they abort.  The same logical change is already on
the top of the tree.

The theory is that the release branch should not have trival to fix things
that cause 100% non-workingness on major hosts.

I have an account on sources, if you want me to check it in.

Thanks.

Doing diffs in .:
*** ./choose-temp.c.~1~	Fri Jun 22 07:03:43 2001
--- ./choose-temp.c	Thu Jul 12 14:12:28 2001
*************** Boston, MA 02111-1307, USA.  */
*** 47,58 ****
  #include "libiberty.h"
  extern int mkstemps ();
  
- #ifndef IN_GCC
- #if defined (__MSDOS__) || (defined (_WIN32) && ! defined (__CYGWIN__) && ! defined (_UWIN))
- #define DIR_SEPARATOR '\\'
- #endif
- #endif
- 
  #ifndef DIR_SEPARATOR
  #define DIR_SEPARATOR '/'
  #endif
--- 47,52 ----
--------------



More information about the Binutils mailing list