Justin Pryzby wrote: > On Mon, May 22, 2006 at 02:20:55PM -0400, Christopher W. Curtis wrote: > >>Package: manpages-dev >>Version: 2.02-2 > > You should really update the package, as it changes pretty quickly. > BTW, what suite are you running (stable sarge/testing etch/unstable > sid) that has 2.02-2, or is this not a networked machine?
An excellent question! I have no idea. I must have gotten it from testing at some point in time and subsequently removed that repository. >>I hope that tmpfile() really is a secure call ... people seem confused. > > The low-level necessary thing is to use open() with flags > O_CREAT|O_EXCL, which means "create a new file, but fail if it already > exists". In a unix program, you can just loop around open() with > various filenames (eg. from sprintf and a counter) to do this. > glibc fopen() has the "x" flag which does this more portably. Hmm, my fopen() manpage doesn't seem to mention 'x'. I also saw a bug report that 'm' isn't mentioned either. 'Tis a strange new world ... I like that you analysed all the *te?mp.* function calls; it would be nice if the thread info could be included in the manpages as well. (I've actually moved to doing everything in memory so this doesn't even impact me anymore, but thanks for caring about documentation.) Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]