bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small fix for Global 5.7.3 on Win32/MinGW


From: Shigio YAMAGUCHI
Subject: Re: Small fix for Global 5.7.3 on Win32/MinGW
Date: Sat, 13 Dec 2008 21:27:48 +0900

Hello,
I have commited the patch.
Thank you!

> libutil/path.c:217
> 
> mkdir function does not use permissions on win32/mingw
> Here's the simple ifdef
> 
> #if (defined(_WIN32) && !defined(__CYGWIN__)) || defined(__DJGPP__)
>                       if (mkdir(p) < 0) {
> #else
>                       if (mkdir(p, 0775) < 0) {
> #endif /* WIN32 */
> 
> Compiles on gcc version 3.4.2 (mingw-special)
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]