Bug 299 - Improved support for Mingw+MSys
Improved support for Mingw+MSys
Status: RESOLVED FIXED
Product: Mktemp
Classification: Unclassified
Component: Mktemp
1.6
PC Other
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-02 09:18 MDT by Carlo Bramini
Modified: 2008-09-02 16:47 MDT (History)
0 users

See Also:


Attachments
Fix for this bug (719 bytes, patch)
2008-09-02 09:18 MDT, Carlo Bramini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo Bramini 2008-09-02 09:18:52 MDT
Created attachment 230 [details]
Fix for this bug

I did some fixes for compiling under Mingw+MSys

- mkdir() and _mkdir() accept only one parameter under WIN32.
- _mktemp() function already exists, so I simply renamed _mktemp() to _local_mktemp(). It should not be a problem since it's a static function.

I hope this helps.