summaryrefslogtreecommitdiff
path: root/bin/csh/dir.c
AgeCommit message (Collapse)Author
2003-09-25Fix a bug where one byte past the end of a buffer could be touchedTodd C. Miller
in certain cases; closes PR 3163
2003-06-11de-register and ansify functionsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-08NUL-terminate the buffer returned by readlink() before we use it to Strlcpy()Vincent Labrecque
ok millert@
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
this fixes at least 15 buffer overflows; some help from dhartmei. Anyone want to go do the same in ksh, and help with some of the while (*s++ = *p++) loops in here?
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-06-09knfTodd T. Fries
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part 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.
1998-05-18readlink len-1Theo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt