OSDN Git Service

* cygtls.h (strerror_buf): Resize to allow '-'.
authorericb <ericb>
Mon, 23 May 2011 21:03:06 +0000 (21:03 +0000)
committerericb <ericb>
Mon, 23 May 2011 21:03:06 +0000 (21:03 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.h

index 35b7eea..f1c0582 100644 (file)
@@ -2,6 +2,7 @@
 
        * errno.cc (strerror): Print unknown errno as int.
        (__xpg_strerror_r): Likewise, and don't clobber strerror buffer.
+       * cygtls.h (strerror_buf): Resize to allow '-'.
 
 2011-05-23  Corinna Vinschen  <corinna@vinschen.de>
 
index 4d4306b..6359e7c 100644 (file)
@@ -108,8 +108,8 @@ struct _local_storage
     HANDLE *w4;                                // note: malloced
   } select;
 
-  /* strerror */
-  char strerror_buf[sizeof ("Unknown error 4294967295")];
+  /* strerror errno.cc */
+  char strerror_buf[sizeof ("Unknown error -2147483648")];
 
   /* times.cc */
   char timezone_buf[20];