Re: mkstemps is not listed alphabetically in the manual

2021-08-22 Thread Bernhard Voelker
On 8/22/21 11:54 AM, Benno Schulenberg wrote: > Hi, > > On > https://www.gnu.org/software/gnulib/manual/html_node/Glibc-stdlib_002eh.html > the entry for 'mkstemps' is out of alphabetical order. This is confusing. > > (I had downloaded the PDF of the manual, se

mkstemps is not listed alphabetically in the manual

2021-08-22 Thread Benno Schulenberg
Hi, On https://www.gnu.org/software/gnulib/manual/html_node/Glibc-stdlib_002eh.html the entry for 'mkstemps' is out of alphabetical order. This is confusing. (I had downloaded the PDF of the manual, searched for mkstemps, paged up a bit, and then -- scrolling back down -- wond

mkstemps: ensure declaration

2011-04-27 Thread Bruno Haible
On MacOS X 10.5, mkstemps is declared in , not in . This leads to a failure in a testdir created by $ ./gnulib-tool --create-testdir --dir=... --with-tests --with-c++-tests mkstemps g++ -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -Wall -MT

Re: mkstemps

2009-10-30 Thread Eric Blake
rom glibc: > http://sources.redhat.com/bugzilla/show_bug.cgi?id=10349 Uli finally reacted - glibc 2.11 now has mkstemps, and gnulib should probably do likewise (if only because __gen_tempname now needs resyncing from glibc). I'll add it to my todo list. - -- Don't work too hard, make so

Re: mkstemps

2009-06-30 Thread Bruce Korb
It needs "mkdtemps", too, yes? >> Just for symmetry, if nothing else > > Ask the BSD folks who originally designed mkstemps? :) >  In reality, though, I > seldom see directory names where an extension is important, but with > regular files, there are quite a few p

Re: mkstemps

2009-06-30 Thread Eric Blake
se Ask the BSD folks who originally designed mkstemps? In reality, though, I seldom see directory names where an extension is important, but with regular files, there are quite a few programs that depend on the name of the extension. Thus, creating a temporary file with a known extension is

Re: mkstemps

2009-06-29 Thread Bruce Korb
Hi Jim, et al., On Mon, Jun 29, 2009 at 7:39 AM, Jim Meyering wrote: > I read this: http://docs.sun.com/app/docs/doc/819-2243/mkstemps-3c?a=view > >      int mkstemps(char *template, int slen); >      ... > >    Description >      ... > >      The mkstemps() function

Re: mkstemps

2009-06-29 Thread Eric Blake
Bruno Haible clisp.org> writes: > > git recently started using mkstemps on systems that provide it (new enough > > Solaris has it in , some BSD have it in even though > > it is not standardized, > > Indeed, the platforms that have it are: OpenBSD >= 2.4

Re: mkstemps

2009-06-29 Thread Bruno Haible
Eric Blake wrote: > git recently started using mkstemps on systems that provide it (new enough > Solaris has it in , some BSD have it in even though > it is not standardized, Indeed, the platforms that have it are: OpenBSD >= 2.4, FreeBSD >= 2.4, MacOS X [1], OpenSolaris [2

Re: mkstemps

2009-06-29 Thread Eric Blake
Jim Meyering meyering.net> writes: > I read this: http://docs.sun.com/app/docs/doc/819-2243/mkstemps-3c?a=view > > int mkstemps(char *template, int slen); > ... > > Description > ... > > The mkstemps() function behaves th

Re: mkstemps

2009-06-29 Thread Jim Meyering
Eric Blake wrote: > git recently started using mkstemps on systems that provide it (new enough > Solaris has it in , some BSD have it in even though > it is not standardized, I've just proposed adding it to Cygwin via > newlib). The general idea of creating temporary files wi

mkstemps

2009-06-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 git recently started using mkstemps on systems that provide it (new enough Solaris has it in , some BSD have it in even though it is not standardized, I've just proposed adding it to Cygwin via newlib). The general idea of creating temporary