Source-Changes archive

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

CVS commit: src/usr.bin/mktemp



Module Name:    src
Committed By:   jmmv
Date:           Fri Apr  2 10:44:22 UTC 2004

Modified Files:
        src/usr.bin/mktemp: mktemp.1

Log Message:
Use ${0##*/} in examples instead of $0, so that they can successfully create
the temporary file even if the test program is executed given its full path.
That is, running /somewhere/test.sh could result in a call to mktemp like
mktemp /tmp//somewhere/test.sh.XXXXX, which fails.
Fixes PR misc/23447 by Piotr Meyer.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/usr.bin/mktemp/mktemp.1

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