Mail Archives: cygwin-developers/1998/11/30/10:37:58
I've applied this patch.
I also had to add a _CONST to the tempnam declaration in lib/stdio/tmpnam.c.
cgf
On Mon, Nov 30, 1998 at 12:57:21AM -0600, Mumit Khan wrote:
>See bug report in gnu-win32 list for details. Wish someone would volunteer
>(obviously not me ;-) to clean up the newlib prototypes for ANSI
>conformance (mostly 'const char*' instead of 'char*') and fix the rest
>of the bugs in str* routines while at it.
>
>The fix doesn't fix the problem fully (see SVID/BSD tempnam for the
>"up to 5 characters of prefix"), but since POSIX code shouldn't be using
>it anyway, I don't care to do any more.
>
>Mon Nov 30 01:22:25 1998 Mumit Khan <khan AT xraylith DOT wisc DOT edu>
>
> * libc/include/stdio.h (tempnam): Add prototype.
> * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
- Raw text -