Re: Fwd: Re: [PATCH] v5 mktemp: make -u option work more like coreutils

2012-10-08 Thread Denys Vlasenko
On Wednesday 03 October 2012 14:38, Tito wrote: Hi Denys, maybe this patch slipped through? Applying! - /* -q is ignored */ - opt_complementary = ?1; /* 1 argument max */ + /* -p implies -t */ + opt_complementary = ?1:pt; /* 1 argument max */ Addition of :pt seem to be

Re: Fwd: Re: [PATCH] v5 mktemp: make -u option work more like coreutils

2012-10-08 Thread Tito
On Monday 08 October 2012 11:50:09 you wrote: On Wednesday 03 October 2012 14:38, Tito wrote: Hi Denys, maybe this patch slipped through? Applying! - /* -q is ignored */ - opt_complementary = ?1; /* 1 argument max */ + /* -p implies -t */ + opt_complementary = ?1:pt; /* 1

Re: Fwd: Re: [PATCH] v5 mktemp: make -u option work more like coreutils

2012-10-08 Thread Tito
On Monday 08 October 2012 14:40:29 Denys Vlasenko wrote: On Mon, Oct 8, 2012 at 1:50 PM, Tito farmat...@tiscali.it wrote: + /* Don't allow directory separator in template */ + if ((opts OPT_t) bb_basename(chp) != chp) { + errno = EINVAL; + goto error;