summaryrefslogtreecommitdiff
path: root/bin/csh/dir.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-10-24Fix some minor issues found by coverity.Martijn van Duren
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedTodd C. Miller
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
2015-02-08delete tons more castsTed Unangst
2015-02-08delete many more ptr_t castsTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.Theo de Raadt
2014-07-12If a constant string needs a name, use a static const array insteadPhilip Guenther
2014-07-11correct readlink termination. from Doug HoganTed Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2003-09-25Fix a bug where one byte past the end of a buffer could be touchedTodd C. Miller
2003-06-11de-register and ansify functionsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-08NUL-terminate the buffer returned by readlink() before we use it to Strlcpy()Vincent Labrecque
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
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
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