summaryrefslogtreecommitdiff
path: root/bin/csh/file.c
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
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-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-07-24Fix a bug I inadvertanly introduced while fixing the last problem in here.Todd C. Miller
The item list really did want to be zero-filled since free_items() relies on this to find the end point. However, this is really pretty dumb since we *know* how many items are in the list. This highlights the elusive bug I was trying to fix--free_items() expects the list to be NULL-terminated which was not the case if the list was full. The fix is to simply pass free_items() the number of elements in the list.
2002-07-15Remove 1024 directory entry limit for tenex-style file completion.Todd C. Miller
This fixes a mysterious segv when doing file completion twice in directories w/ more than 1024 files.
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.
2001-12-01KNFTheo de Raadt
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1997-11-15spellingTodd T. Fries
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1996-12-04use TCSADRAIN instead of TCSANOW, to avoid dropping characters.Todd C. Miller
Fix from NetBSD (christos), reported by Chris Torek.
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt