summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
AgeCommit message (Collapse)Author
1998-07-27Use a single character buffer for the size==0 case. Stdio internals do not ↵Todd C. Miller
deal correctly with zero size buffer and NULL pointer. torek@bsdi.com
1998-07-14formatting flawsTheo de Raadt
1998-07-03link for mkstemps()Theo de Raadt
1998-06-30add mkstemp(char *template, int suffixlen) interfaceTheo de Raadt
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1998-04-14wrap Z->a and z->A; peter@netplex.com.auTheo de Raadt
1998-03-16oopsTheo de Raadt
1998-03-12minor glitchTheo de Raadt
1998-03-12explain security considerations in some detailTheo de Raadt
1998-03-10fchown() after unlink(), taking umask into account; std conformance ↵Theo de Raadt
according to casper@HOLLAND.SUN.COM
1998-03-09at least 6 X, 10 is betterTheo de Raadt
1998-03-09POSIX behaviour of abort; mckayTheo de Raadt
1998-03-09grammar fixes by mckayTheo de Raadt
1998-03-07.Bx Open -> .Ox 2.xTodd C. Miller
1998-03-07Use .OxTodd C. Miller
1998-03-04uninitialized case; bdeTheo de Raadt
1998-02-23Mention that mkdtemp() is not portable.Todd C. Miller
1998-02-07Cast pointer in assignmentThorsten Lockert
1998-02-04clarify fileno(3)Theo de Raadt
1998-01-20Better fix for %n and whitespace. Chris Torek <torek@bsdi.com>Todd C. Miller
1998-01-19Ignore whitespace separating a conversion and %n. There may beTodd C. Miller
a cleaner way to do this.
1998-01-12Oops, missed a 0 vs. '\0'Todd C. Miller
1998-01-12typoTodd C. Miller
1998-01-12Based on some FreeBSD changes:Todd C. Miller
For *s*printf, set f._file to -1 like the comments in stdio.h say. Use '\0', not 0, where appropriate. Don't error out on size of '0' for v?snprintf().
1997-11-30Deal with realloc() failure in v?asprintf()Todd C. Miller
1997-11-29Build asprintf.c and vasprintf.cTodd C. Miller
1997-11-29Implement asprintf(3) and vasprintf(3) functions similar to theTodd C. Miller
ones in the glibc. Some man pages changes from FreeBSD (asprintf.c/vasprintf.c are not based on GNU or FreeBSD code).
1997-11-29Return -1, not EOF for size < 1. XPG4.2 specifies the return valueTodd C. Miller
should be < 1. While EOF is currently defined as -1 it is bad form to assume this.
1997-11-09use "(off_t)-1" instead of "-1L" (!)flipk
1997-10-08Use lstat() not stat() so we catch dangling symlinks, hubertf@netbsd.orgTodd C. Miller
Also, update the man page to correspond to reality.
1997-10-071) Don't truncate the input string when a directory cannot be stat'dTodd C. Miller
2) Use traditional mktemp(3) semantics. Don't return an error if directories in the path don't exist yet for mktemp(3) only.
1997-09-26Man link for mkdtemp(3).Todd C. Miller
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-08Don't tell people to cast NULL to a specific pointer type.Todd C. Miller
1997-06-30snprintf(3) is not non-portable (it is part of XPG4) it is justTodd C. Miller
not availalble on older systems.
1997-06-20Add mkdtemp(3)Todd C. Miller
1997-06-13+ an XrTheo de Raadt
1997-06-05Xr rmdirTheo de Raadt
1997-05-31Need <errno.h>Thorsten Lockert
1997-05-31Set errno to EBADF when trying to write to a stream not open for writing;Thorsten Lockert
required by POSIX
1997-04-07Change a stat(2) -> lstat(2) to avoid symlink games. From KeithTodd C. Miller
Bostic <bostic@bostic.com>.
1997-04-0310 X's for mktemp() and mkstemp().Todd C. Miller
1997-02-12more XXXX for mktempTheo de Raadt
1997-02-10Pull in stdlib.h for arc4random prototype.Todd C. Miller
1997-02-07pre-pad with random alphabetic letters instead of digit 0Theo de Raadt
1997-01-20back out my last change to avoid the __warn_references on the mips - it'sThomas Graichen
now done for the pmax like for the arc in machine/cdefs.h
1997-01-19put all the __warn_references behind a #ifndef NO_WARN_REFERENCES whichThomas Graichen
is then set in the libc Makefile for the mips (the mips linker can't handle them)
1996-12-2895% of common uses of these are incorrect and insecure. correct use isTheo de Raadt
incredibly rare. Time for some education!
1996-12-28suggest alternative in ld warn messageTheo de Raadt