Hi Paul,

thanks for the bug report.

Paul Wise wrote:
> It appears that this is the right way to create directories:
> 
> mktemp -d -t dman.XXXXXX

Nope. The mktemp man page says about "-t": "interpret TEMPLATE as a
single file name component, relative to a directory: $TMPDIR".

So I'll likely go with "-p" instead: "interpret TEMPLATE relative to
DIR; if DIR is not specified, use $TMPDIR if set, else /tmp. With this
option, TEMPLATE must not be an absolute name; unlike with -t,
TEMPLATE may contain slashes, but mktemp creates only the final
component"

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to