summaryrefslogtreecommitdiffstats
path: root/bin/csh/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* Use getcwd in stead of using getwd so that we try harder to avoidimp1998-12-161-2/+2
| | | | | | overflowing a buffer. Obtained from: Either OpenBSD or a discussion in bugtraq.
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-091-5/+3
| | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt
* Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use thesteve1997-08-071-26/+29
| | | | | | register keyword, and -Wall cleaning. Obtained from: similar changes in NetBSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Additionly print strerror(errno), when getwd() fails to startache1995-06-181-2/+2
| | | | | in initial directory. Obtained from: idea from NetBSD
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+930
OpenPOWER on IntegriCloud