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