]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) would
authormike <mike@FreeBSD.org>
Mon, 4 Feb 2002 07:26:21 +0000 (07:26 +0000)
committermike <mike@FreeBSD.org>
Mon, 4 Feb 2002 07:26:21 +0000 (07:26 +0000)
commit9ee57bcb7fc36cfa849607f4aff6e1029d5d3ab8
tree12b798ceb8b93491478766e00136da21152b2bda
parentce2c570ba3c915f95ebe0e484b27d920fb67214c
Add -L option (SUSv3) to pwd(1).  Fix a bug, where realpath(1) would
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
bin/pwd/pwd.1
bin/pwd/pwd.c