summaryrefslogtreecommitdiff
path: root/bin/realpath
Commit message (Collapse)AuthorAgeFilesLines
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.Johan Karlsson2003-01-151-1/+1
| | | | | | | | | | | This also reverts the PATH_MAX -> MAXPATHLEN part of rev 1.3 of src/bin/realpath/realpath.c Requested by: imp Reviewed by: imp, bde Notes: svn path=/head/; revision=109331
* Remove undocumented behavior (return current work dir if no pathJohan Karlsson2002-12-181-5/+2
| | | | | | | | | | | is given as argument) that is not present in 4-Stable. It was introduced when realpath(1) was split out of pwd(1). The removed behavior is provided by pwd(1). Reviewed by: mike Notes: svn path=/head/; revision=108034
* - use MAXPATHLEN per realpath(3)Johan Karlsson2002-12-181-2/+2
| | | | | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike Notes: svn path=/head/; revision=108032
* Check the return value of getcwd() to avoid printf()ing a NULL. MarkMike Barcroft2002-06-091-4/+5
| | | | | | | | | usage() as __dead2 to avoid a GCC warning. Spotted by: keramida Notes: svn path=/head/; revision=98057
* Use `The .Nm utility'Philippe Charnier2002-04-201-1/+2
| | | | Notes: svn path=/head/; revision=95122
* Move the realpath(1) source into its own directory. Previously, itMike Barcroft2002-02-112-0/+74
| | | | | | | shared sources with pwd(1). Notes: svn path=/head/; revision=90523
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79526
* Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3.Ruslan Ermilov2001-02-221-1/+1
| | | | | | | | Submitted by: "Stephen L. Palmer" <slpalmer@mail.com> Forgotten by: asmodai Notes: svn path=/head/; revision=72853
* mdoc(7) police: minor fixes.Ruslan Ermilov2000-11-241-11/+13
| | | | Notes: svn path=/head/; revision=69119
* Let the pwd program double as realpath(1).Poul-Henning Kamp2000-11-241-0/+68
This lets you resolve pathnames to their underlying physical path: critter# realpath /sys/kern/subr_disk.c /freebsd/src/sys/kern/subr_disk.c Update the pwd man-page slightly. Notes: svn path=/head/; revision=69110