On Thu, Jun 05, 2008 at 01:00:39PM +0200, Denys Vlasenko wrote:
> On Thursday 05 June 2008 10:49, Mike Frysinger wrote:
> > > > i know at least 4 implementations out there that are
> > > > completely different.  the only thing ive found in common is that simply
> > > > doing `mktemp` results in a filename.
> > >
> > > Well, that's the problem I want to solve: busybox's one does not do it
> > > (yet). Help he here - does bare "mktemp" just emit a new /tmp/SOMETHING
> > > filename or does it also create this file (with zero size I suppose)? 
> > > Also,
> > > is mktemp on your machine from your distro? If yes, which distro/version 
> > > is
> > > it? (I will document it in bbox source)
> > 
> > if you consider the Linux case, the three versions that have existed all 
> > have 
> > this behavior.
> > old: mktemp in debianutils
> > not-so-old: mktemp in the mktemp package
> > everyone-should-be-using-today: mktemp from coreutils
> 
> None of the following:
> 
> coreutils-5.2.1
> coreutils-6.3
> coreutils-6.8
> coreutils-6.9
> 
> has mktemp applet, er, program.

Mine do, in /bin/mktemp. coreutils-6.10-23.fc9.i386.

Coreutils includes src/mktemp.c since Jun 2007.

-- 
lfr
0/0

Attachment: pgpcP3dp8Rl39.pgp
Description: PGP signature

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to