Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/pwd



Module Name:    src
Committed By:   dsl
Date:           Thu Oct 30 13:52:23 UTC 2003

Modified Files:
        src/bin/pwd: pwd.1 pwd.c

Log Message:
Make /bin/pwd almost conform to IEEE 1003.1
- Make 'pwd -L' fall back to 'pwd -P' if PWD is incorrect.
- Ignore PWD if it contains "/./" or "/../".
- Garbage collect some redundant code.
It is still non-conformant because posix mandates that the default
be 'pwd -L' (aka ksh), not 'pwd -P' (historic practise everywhere else).
Changing the default will break too much...


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/bin/pwd/pwd.1
cvs rdiff -r1.18 -r1.19 src/bin/pwd/pwd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index