Jeff Johnston
14ba5e14d9
2007-03-15 Eric Blake <ebb9@byu.net>
* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
(__smakebuf): Rename...
(__smakebuf_r): to this.
* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
allocation, then rename...
(__smakebuf_r): ...to this and fix reentrancy.
* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
allocation, then rename...
(__swsetup_r): ...to this and fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/fclose.c (_fclose_r): Likewise.
* libc/stdio/fread.c (_fread_r): Likewise.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
failed asprintf allocation, and fix reentrancy.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
as required by POSIX.
* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2007-03-15 18:40:48 +00:00
..
2007-03-12 20:30:08 +00:00
2007-03-12 20:30:08 +00:00
2006-09-26 21:22:19 +00:00
2005-10-11 23:59:32 +00:00
2007-03-15 18:40:48 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2006-12-14 22:47:12 +00:00
2006-09-26 21:22:19 +00:00
2005-02-08 01:33:19 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2004-11-24 00:45:41 +00:00
2004-11-24 00:45:41 +00:00
2004-04-23 20:01:55 +00:00
2000-12-06 23:50:11 +00:00
2004-06-11 20:37:10 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2006-09-26 21:22:19 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00
2004-04-23 20:01:55 +00:00
2007-03-15 18:40:48 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2004-04-23 20:01:55 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00
2004-09-16 21:26:51 +00:00
2006-09-26 21:22:19 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2006-06-14 20:49:11 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2005-10-28 21:21:08 +00:00
2005-02-08 01:33:19 +00:00
2005-02-08 01:33:19 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00
2006-05-01 22:01:07 +00:00
2007-01-31 19:34:38 +00:00
2004-04-23 20:01:55 +00:00
2005-02-08 01:33:19 +00:00
2005-02-08 01:33:19 +00:00
2006-06-14 20:49:11 +00:00
2006-09-26 21:22:19 +00:00
2004-04-23 20:01:55 +00:00
2006-06-14 20:49:11 +00:00
2006-06-14 20:49:11 +00:00
2005-10-28 21:21:08 +00:00
2007-03-15 18:40:48 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2006-06-15 16:08:09 +00:00
2005-02-08 01:33:19 +00:00
2004-11-24 00:45:41 +00:00
2004-04-23 20:01:55 +00:00
2004-09-16 21:15:14 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2005-10-28 21:38:59 +00:00
2005-10-28 21:38:59 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00
2005-10-28 21:38:59 +00:00
2005-10-28 21:38:59 +00:00
2004-04-23 20:01:55 +00:00
2005-10-11 23:59:32 +00:00
2004-04-23 20:01:55 +00:00
2004-04-23 20:01:55 +00:00
2006-09-26 21:22:19 +00:00
2007-03-12 20:30:08 +00:00
2007-03-12 20:30:08 +00:00
2005-10-11 23:59:32 +00:00
2004-05-26 00:19:14 +00:00
2007-03-15 18:40:48 +00:00
2006-09-26 21:22:19 +00:00
2005-10-28 21:38:59 +00:00
2005-10-28 21:38:59 +00:00
2005-02-08 01:33:19 +00:00
2005-02-08 01:33:19 +00:00
2004-11-24 00:45:41 +00:00
2004-11-24 00:45:41 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00
2004-04-23 20:01:55 +00:00
2004-09-16 21:30:51 +00:00
2007-03-15 18:40:48 +00:00
2007-03-15 18:40:48 +00:00