Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-24 01:03:06 +0400
committerEric Blake <eblake@redhat.com>2011-05-24 01:03:06 +0400
commit66b729b284aa08ee7969932a7cab3ea4795fce09 (patch)
tree73dbce16a8d3179d25ddfafea440ab72062619c2
parent4d956308034df1849bc16381a3639876603ef107 (diff)
* cygtls.h (strerror_buf): Resize to allow '-'.
-rw-r--r--winsup/cygwin/ChangeLog1
-rw-r--r--winsup/cygwin/cygtls.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 35b7eea7e..f1c058220 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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>
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 4d4306b33..6359e7c5f 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -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];