[Touch-packages] [Bug 1822269] Re: mktemp does not handle -p option when --tmpdir option goes after -p option

2019-03-29 Thread Robin Hsu
Note: coreutils verions as shown by dpkg -l command: $ dpkg -l coreutils Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version

[Touch-packages] [Bug 1822269] [NEW] mktemp does not handle -p option when --tmpdir option goes after -p option

2019-03-29 Thread Robin Hsu
Public bug reported: # This is correct. The printed temp file name is in folder / $ mktemp -u --tmpdir -p / /tmp.aFd4MwfGDU # after swapping the options, mktemp do not handle the -p option correctly. # swapping options should not affect the output. $ mktemp -u -p / --tmpdir /tmp/tmp.FkTPrEsTMs