Re: proposal: module 'mkostemp'

2009-08-23 Thread Bruno Haible
Jim Meyering wrote: > This looks fine. OK, applied... > FYI, since it modifies tempname.c and since coreutils has > a modified version of that gnulib file, I'll sync the interface > changes into coreutils' copy, eventually. ... with a change to NEWS, since the gen_tempname function signature cha

Re: proposal: module 'mkostemp'

2009-08-23 Thread Jim Meyering
Bruno Haible wrote: > Here is a proposal to add a module 'mkostemp', using the source code changes > from glibc. It also reduces the diffs to glibc, by incorporating parts of this > glibc commit: > > http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d7e23b02a40384be1eaf00762ea36fd117c462cd >

Re: proposal: module 'mkostemp'

2009-08-23 Thread Bruno Haible
Eric Blake wrote: > Nice to do some resyncing. Overall, I'm in favor of this improvement. I also wait for Jim's opinion. > > /* Generate a unique temporary file name from TEMPLATE. > >The last six characters of TEMPLATE must be "XX"; > >they are replaced with a string that makes the

Re: proposal: module 'mkostemp'

2009-08-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 8/22/2009 5:20 PM: > Here is a proposal to add a module 'mkostemp', using the source code changes > from glibc. It also reduces the diffs to glibc, by incorporating parts of this > glibc commit: Nice to do some resyncing.

proposal: module 'mkostemp'

2009-08-22 Thread Bruno Haible
Here is a proposal to add a module 'mkostemp', using the source code changes from glibc. It also reduces the diffs to glibc, by incorporating parts of this glibc commit: http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d7e23b02a40384be1eaf00762ea36fd117c462cd Opinions? Objections? 2009-0