This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkstemp in bucomm.c breaks mingw32 build


 --- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]