mkstemp in bucomm.c breaks mingw32 build

Danny Smith danny_r_smith_2001@yahoo.co.nz
Fri Nov 2 10:45:00 GMT 2001


 --- DJ Delorie <dj@delorie.com> wrote: > 
> libiberty provides mkstemps().  Perhaps that should be used instead?

Yes, that was my workaround.  The msvcrt.dll version of mktemp seems to use
thread id to generate names, so the old use of mktemp is probably safe
enough for mingw. 

Danny

> 
> > This change:
> > 
> > CVSROOT:	/cvs/src
> > Module name:	src
> > Changes by:	nickc@sources.redhat.com	2001-11-12 08:17:41
> > 
> > Modified files:
> > 	binutils       : ChangeLog bucomm.c 
> > 
> > Log message:
> > 	Use mkstemp in place of mktemp.
> > 
> > 
> > breaks  build on mingw32 because the runtime does not supply mkstemp
> > function.  Could there be other OS without mkstemp?    

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.



More information about the Binutils mailing list