Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-03 | build the error message in strerror_r.c directly, avoiding one copy there. | Marc Espie | |
handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@. | |||
2004-04-10 | Apply change from vsnprintf.c rev. 1.5. Use a single character | Todd C. Miller | |
buffer for the size==0 case. Stdio internals do not deal correctly with zero size buffer and NULL pointer. From torek@bsdi.com; Ok henning@ | |||
2004-01-11 | __sglue should be extern; from art@ | Todd C. Miller | |
2003-10-17 | typo; | Jason McIntyre | |
2003-10-08 | Avoid a possible signed->unsigned assignment, fixes PR1709 (Claus Assmann) | Anil Madhavapeddy | |
millert@ ok | |||
2003-09-26 | for %#s, # is the amount of input string, not the amount of output string. | Theo de Raadt | |
hence # must be 1 less than the size of the storage buffer. yes, we've known this for a long time, but it is not clearly documented and half the code out there does not use n-1! whoever designed this needs to be tortured. | |||
2003-08-17 | Sort headers in example | Alexander Yurchenko | |
ok millert@ | |||
2003-07-24 | warn about unsafe APIs at link time. Conditional on libc/Makefile defining | Theo de Raadt | |
APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this | |||
2003-07-15 | .Ql Cm -> .Sq Cm where literal makes no sense; | Jason McIntyre | |
2003-07-02 | nonstandard->non-standard | Anil Madhavapeddy | |
jmc@ ok | |||
2003-07-02 | 6 X's -> 10 X's in all examples, per avsm's idea, millert agrees | Peter Valchev | |
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-11 | oops | Theo de Raadt | |
2003-06-11 | ansification; checked by pval | Theo de Raadt | |
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-01 | - section reorder | Jason McIntyre | |
- kill unnecessary .Ns macros - add some man page section numbers to .Xr's | |||
2003-05-17 | Better English. | Paul Janzen | |
2003-05-17 | Document behaviour when size = 1. ok millert@ | Paul Janzen | |
2003-05-16 | When positional arguments need more memory for storage (more than 8 args), | Theo de Raadt | |
use mmap() instead of malloc(). this makes all the functionality in snprintf() and friends signal race safe. it also makes syslog_r() and the entire family of *warn*() and *err*() signal race safe, which was the real goal. ok pjazen millert | |||
2003-05-03 | typos; | Jason McIntyre | |
2003-04-25 | Make function declaration and man page match prototype. Closes PR 3236 | Todd C. Miller | |
2003-04-22 | char * in prototypes should be const; Kamo Hiroyasu | Todd C. Miller | |
2003-04-16 | Warn people that the value of the pointer passed in to asprinf() | Todd C. Miller | |
is implementation-specific when we get ENOMEM but mention that *we* set it to NULL. | |||
2003-04-02 | fifo -> FIFO | Jason McIntyre | |
ok millert@ | |||
2003-03-06 | .Xr typos; | Jason McIntyre | |
2003-03-06 | .Xr's; | Jason McIntyre | |
typos in man page section ok deraadt@ | |||
2003-02-16 | teach people about strlcpy, not strcpy | Theo de Raadt | |
2002-11-24 | "The contents is" -> "The contents are" | Chad Loder | |
2002-11-21 | Add strerror_r and functions versions of getchar_unlocked and | Marco S Hyman | |
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@ | |||
2002-10-24 | Use va_copy() for varargs assignemnt. va_copy() is standard with C99 | Dale Rahn | |
and gcc3.2 requires this on powerpc. | |||
2002-09-14 | Move __cleanup into mprotect'ed page to prevent unintentional modifications | Daniel Hartmeier | |
similar to the atexit handlers. Idea and help deraadt@, ok deraadt@ | |||
2002-07-24 | add *asprintf | Theo de Raadt | |
2002-07-24 | Document that *printf can return -1 on error. This includes snprintf(), | Todd C. Miller | |
though our implementation never does this. | |||
2002-07-20 | correct check for strchr() failure in EXAMPLE; from pinskia@physics.uc.edu | Peter Valchev | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-05-27 | Don't decrement the current character pointer past the beginning of the | Todd C. Miller | |
buffer passed in. Based on a patch from Mark Andrews. deraadt@ OK | |||
2002-05-01 | o) start new sentence on a new line; | Mike Pechkin | |
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | |||
2002-04-29 | fix for NetBSD lib/16483 | Marc Espie | |
Do not even try to allocate buffer if SSTR and not SALC (e.g., from snprintf and not asprintf). vfprintf is smart enough to then not try and write to it. ok millert@, deraadt@ | |||
2002-04-05 | Use the more likely pointer in a sample code fragment; miod@ ok. | Aaron Campbell | |
2002-03-05 | style(9) for the example; Alexander Yurchenko | Todd C. Miller | |
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-01-02 | more pid_t use | Theo de Raadt | |
2001-12-07 | missing comma | Todd C. Miller | |
2001-12-05 | KNF, i need this for what comes next.. | Theo de Raadt | |
2001-09-22 | Typo: tempfile ==> tempnam. | Heikki Korpela | |
ok millert@ | |||
2001-09-06 | It is silly to reference the Tahoe architecture. | Todd C. Miller | |
2001-09-05 | make sure that va_start() has matching va_end() | Theo de Raadt | |