kristerw a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
..
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-07-10 14:37:12 +00:00
2002-07-21 19:04:03 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2003-01-03 21:41:28 +00:00
2002-05-26 14:43:59 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2003-01-05 11:05:47 +00:00
2002-05-26 14:43:59 +00:00
2002-08-10 16:28:51 +00:00
2002-08-10 16:28:51 +00:00
2002-08-10 16:28:51 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2003-01-05 11:05:47 +00:00