This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mkstemp in bucomm.c breaks mingw32 build
- To: binutils at sources dot redhat dot com
- Subject: Re: mkstemp in bucomm.c breaks mingw32 build
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Wed, 14 Nov 2001 08:30:22 +1100 (EST)
--- 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.