]> sourceware.org Git - newlib-cygwin.git/commitdiff
* cygtls.h (strerror_buf): Resize to allow '-'.
authorEric Blake <eblake@redhat.com>
Mon, 23 May 2011 21:03:06 +0000 (21:03 +0000)
committerEric Blake <eblake@redhat.com>
Mon, 23 May 2011 21:03:06 +0000 (21:03 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.h

index 35b7eea7e61960006ea003ffa62b5c7d4b9e968c..f1c0582207e647a65e211450a5e9ed5adf1cd58f 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 4d4306b330f631135bb7ca22dd50c858f2528305..6359e7c5f898953c422002a9efde1ab90e3fad80 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];
This page took 0.034343 seconds and 5 git commands to generate.