Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | for %#s, # is the amount of input string, not the amount of output string. | 2003-09-26 | 1 | -3/+8 | |
| | | | | | | 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. | ||||
* | Sort headers in example | 2003-08-17 | 1 | -2/+2 | |
| | | | | ok millert@ | ||||
* | warn about unsafe APIs at link time. Conditional on libc/Makefile defining | 2003-07-24 | 2 | -2/+12 | |
| | | | | | APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this | ||||
* | .Ql Cm -> .Sq Cm where literal makes no sense; | 2003-07-15 | 1 | -2/+2 | |
| | |||||
* | nonstandard->non-standard | 2003-07-02 | 1 | -2/+2 | |
| | | | | jmc@ ok | ||||
* | 6 X's -> 10 X's in all examples, per avsm's idea, millert agrees | 2003-07-02 | 1 | -4/+4 | |
| | |||||
* | Sync with share/misc/license.template and add missing DARPA credit | 2003-06-17 | 2 | -18/+18 | |
| | | | | where applicable. | ||||
* | oops | 2003-06-11 | 2 | -7/+2 | |
| | |||||
* | ansification; checked by pval | 2003-06-11 | 2 | -2/+7 | |
| | |||||
* | Use an ISC-tyle license for all my code; it is simpler and more permissive. | 2003-06-03 | 2 | -46/+24 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 90 | -541/+181 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | - section reorder | 2003-06-01 | 6 | -125/+126 | |
| | | | | | - kill unnecessary .Ns macros - add some man page section numbers to .Xr's | ||||
* | Better English. | 2003-05-17 | 1 | -3/+3 | |
| | |||||
* | Document behaviour when size = 1. ok millert@ | 2003-05-17 | 2 | -2/+16 | |
| | |||||
* | When positional arguments need more memory for storage (more than 8 args), | 2003-05-16 | 1 | -16/+30 | |
| | | | | | | | 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 | ||||
* | typos; | 2003-05-03 | 4 | -11/+11 | |
| | |||||
* | Make function declaration and man page match prototype. Closes PR 3236 | 2003-04-25 | 2 | -11/+9 | |
| | |||||
* | char * in prototypes should be const; Kamo Hiroyasu | 2003-04-22 | 1 | -4/+4 | |
| | |||||
* | Warn people that the value of the pointer passed in to asprinf() | 2003-04-16 | 1 | -3/+8 | |
| | | | | | is implementation-specific when we get ENOMEM but mention that *we* set it to NULL. | ||||
* | fifo -> FIFO | 2003-04-02 | 2 | -4/+4 | |
| | | | | ok millert@ | ||||
* | .Xr typos; | 2003-03-06 | 2 | -5/+5 | |
| | |||||
* | .Xr's; | 2003-03-06 | 2 | -4/+4 | |
| | | | | | | typos in man page section ok deraadt@ | ||||
* | teach people about strlcpy, not strcpy | 2003-02-16 | 1 | -2/+2 | |
| | |||||
* | "The contents is" -> "The contents are" | 2002-11-24 | 1 | -2/+2 | |
| | |||||
* | Add strerror_r and functions versions of getchar_unlocked and | 2002-11-21 | 2 | -5/+31 | |
| | | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@ | ||||
* | Use va_copy() for varargs assignemnt. va_copy() is standard with C99 | 2002-10-24 | 1 | -3/+3 | |
| | | | | and gcc3.2 requires this on powerpc. | ||||
* | Move __cleanup into mprotect'ed page to prevent unintentional modifications | 2002-09-14 | 4 | -11/+12 | |
| | | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@ | ||||
* | add *asprintf | 2002-07-24 | 1 | -1/+3 | |
| | |||||
* | Document that *printf can return -1 on error. This includes snprintf(), | 2002-07-24 | 1 | -1/+2 | |
| | | | | though our implementation never does this. | ||||
* | correct check for strchr() failure in EXAMPLE; from pinskia@physics.uc.edu | 2002-07-20 | 1 | -2/+2 | |
| | |||||
* | spelling; from Brian Poole <raj@cerias.purdue.edu> | 2002-06-14 | 1 | -2/+2 | |
| | |||||
* | Don't decrement the current character pointer past the beginning of the | 2002-05-27 | 1 | -3/+3 | |
| | | | | buffer passed in. Based on a patch from Mark Andrews. deraadt@ OK | ||||
* | o) start new sentence on a new line; | 2002-05-01 | 1 | -2/+3 | |
| | | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | ||||
* | fix for NetBSD lib/16483 | 2002-04-29 | 1 | -2/+5 | |
| | | | | | | | | 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@ | ||||
* | Use the more likely pointer in a sample code fragment; miod@ ok. | 2002-04-05 | 1 | -2/+2 | |
| | |||||
* | style(9) for the example; Alexander Yurchenko | 2002-03-05 | 1 | -3/+3 | |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 12 | -151/+15 | |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 2002-02-17 | 2 | -7/+5 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 8 | -32/+32 | |
| | |||||
* | more pid_t use | 2002-01-02 | 1 | -2/+3 | |
| | |||||
* | missing comma | 2001-12-07 | 1 | -2/+2 | |
| | |||||
* | KNF, i need this for what comes next.. | 2001-12-05 | 1 | -47/+46 | |
| | |||||
* | Typo: tempfile ==> tempnam. | 2001-09-22 | 1 | -2/+2 | |
| | | | | ok millert@ | ||||
* | It is silly to reference the Tahoe architecture. | 2001-09-06 | 1 | -4/+2 | |
| | |||||
* | make sure that va_start() has matching va_end() | 2001-09-05 | 1 | -3/+4 | |
| | |||||
* | put changes back, this time ALL the files. | 2001-09-04 | 1 | -2/+2 | |
| | |||||
* | Back out fgsch@'s tree breaking commits. | 2001-08-30 | 1 | -2/+2 | |
| | | | | Test next time, ok? | ||||
* | fix some const warnings | 2001-08-30 | 1 | -2/+2 | |
| | |||||
* | Fix a bug with the %e flag introduced in a -Wall pass. The original | 2001-08-13 | 1 | -2/+2 | |
| | | | | | code was in error but due to C precedence rules it didn't cause a problem. | ||||
* | a first pass at -Wall | 2001-07-09 | 25 | -34/+61 | |
| |