03.12.2013 13:44 пользователь "Stuart Henderson" <[email protected]> написал: > > On 2013/12/02 22:10, Vadim Zhukov wrote: > > Unbreak: the XXX template should be at the end of string for mktemp(1). Okay? > > ok, but why on earth is coreutils mktemp not just a wrapper around > mkstemp which only support trailing X's?! > > > +DOCBOOK=$SGML/docbook/4.1 > > -+TMPFILE=`mktemp /tmp/dtm.XXXXXXXXXX.psinc || exit 1` > > ++TMPFILE=`mktemp /tmp/dtm.psinc.XXXXXXXXXX || exit 1` > > +trap 'rm -f $TMPFILE' 0 1 2 3 13 15 > > so until the check for sufficient X's was added to mktemp(1)/mktemp(3), > this was creating /tmp/dtm.XXXXXXXXXX.psinc every time - nice!
Well, it started to fail when the "at least six X, please" requirement was established - this is how I catched it. :)
