summaryrefslogtreecommitdiffstats
path: root/bin/csh/dir.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-6/+6
2018-10-24Fix some minor issues found by coverity.martijn1-2/+2
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedmillert1-30/+30
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre1-14/+14
2015-02-08delete tons more caststedu1-4/+4
2015-02-08delete many more ptr_t caststedu1-13/+13
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-10/+10
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.deraadt1-14/+11
2014-07-12If a constant string needs a name, use a static const array insteadguenther1-2/+2
2014-07-11correct readlink termination. from Doug Hogantedu1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-9/+1
2003-09-25Fix a bug where one byte past the end of a buffer could be touchedmillert1-4/+4
2003-06-11de-register and ansify functionsderaadt1-57/+37
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-05-08NUL-terminate the buffer returned by readlink() before we use it to Strlcpy()vincent1-3/+3
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,deraadt1-13/+15
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.aaron1-4/+4
2002-06-09knftodd1-3/+3
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert1-7/+3
2002-02-16Part 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.millert1-8/+8
1998-05-18readlink len-1deraadt1-4/+4
1997-07-25#if __STDC__ --> #ifdef __STDC__mickey1-3/+3
1996-06-23update rcsidderaadt1-1/+2
1995-10-18initial import of NetBSD treederaadt1-0/+936