summaryrefslogtreecommitdiffstats
path: root/bin/pwd/pwd.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-1/+1
|
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-1/+1
|
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Rename a local variable in order to avoid collision with standard 'log'kan2003-06-301-3/+3
| | | | function.
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Back out part of previous commit: make -P the default again until I'mtjr2002-05-181-1/+1
| | | | convinced it's a good idea.
* Make -L the default, allow both -L and -P to be specified (last one usedtjr2002-05-181-9/+14
| | | | matters), fall back to -P mode if we can't get the logical directory.
* o Remove old code from pwd(1); realpath(1) is now in its own directory.mike2002-02-111-17/+3
| | | | | o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build.
* Use the getprogname(3) function instead of directly accessingmike2002-02-101-4/+2
| | | | | | `__progname'. Submitted by: dd
* Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) wouldmike2002-02-041-21/+55
| | | | | | | | complain about paths starting with `-', by not calling getopt(3). Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Obtained from: NetBSD (partially) MFC after: 1 month
* o __P has been reovedimp2002-02-021-6/+3
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* PATH_MAX in preference to MAXPATHLEN.imp2001-05-301-1/+2
|
* Silence WARNS=2 and BDECFLAGS on i386 and alpha.kris2001-05-201-1/+2
| | | | MFC After: 1 week
* Don't call err() with user data and without a format stringkris2000-11-261-1/+1
|
* Let the pwd program double as realpath(1).phk2000-11-241-6/+15
| | | | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Indicate that the thing not found was not /bin/pwd but rather $CWD (or .).jkh1998-11-211-2/+2
|
* Correct use of .Nm. Add rcsid.charnier1998-05-151-3/+5
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* 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.
* Merge Lite2 mods, cleanup man page, and -Wall cleaning.steve1996-12-141-3/+3
|
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+92
OpenPOWER on IntegriCloud