Bug 299

Summary: Improved support for Mingw+MSys
Product: Mktemp Reporter: Carlo Bramini <carlo.bramix>
Component: MktempAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.6   
Hardware: PC   
OS: Other   
Attachments: Fix for 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.