* cygtls.h (strerror_buf): Resize to allow '-'.

This commit is contained in:
Eric Blake 2011-05-23 21:03:06 +00:00
parent 4d95630803
commit 66b729b284
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
* errno.cc (strerror): Print unknown errno as int. * errno.cc (strerror): Print unknown errno as int.
(__xpg_strerror_r): Likewise, and don't clobber strerror buffer. (__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> 2011-05-23 Corinna Vinschen <corinna@vinschen.de>

View File

@ -108,8 +108,8 @@ struct _local_storage
HANDLE *w4; // note: malloced HANDLE *w4; // note: malloced
} select; } select;
/* strerror */ /* strerror errno.cc */
char strerror_buf[sizeof ("Unknown error 4294967295")]; char strerror_buf[sizeof ("Unknown error -2147483648")];
/* times.cc */ /* times.cc */
char timezone_buf[20]; char timezone_buf[20];