Home
last modified time | relevance | path

Searched hist:a6346c02f646c6b74f007c64a9b546deb06182ae (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/mktemp/tests/
H A Dmktemp_test.shdiff a6346c02f646c6b74f007c64a9b546deb06182ae Wed Nov 02 21:29:16 CET 2022 Kyle Evans <kevans@FreeBSD.org> mktemp: don't double up on trailing slashes for -t paths

This is a minor cosmetic change; re-organize slightly to set tmpdir to
_PATH_TMP if we didn't otherwise have a tmpdir candidate, then check the
trailing char before appending another slash.

While we're here, remove some bogus whitespace and add a test case for
this change.

Obtained from: https://github.com/apple-oss-distributions/shell_cmds
Sponsored by: Klara, Inc.
/freebsd/usr.bin/mktemp/
H A Dmktemp.cdiff a6346c02f646c6b74f007c64a9b546deb06182ae Wed Nov 02 21:29:16 CET 2022 Kyle Evans <kevans@FreeBSD.org> mktemp: don't double up on trailing slashes for -t paths

This is a minor cosmetic change; re-organize slightly to set tmpdir to
_PATH_TMP if we didn't otherwise have a tmpdir candidate, then check the
trailing char before appending another slash.

While we're here, remove some bogus whitespace and add a test case for
this change.

Obtained from: https://github.com/apple-oss-distributions/shell_cmds
Sponsored by: Klara, Inc.