[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Small fix for Global 5.7.3 on Win32/MinGW
From: |
Giuseppe Corbelli |
Subject: |
Small fix for Global 5.7.3 on Win32/MinGW |
Date: |
Fri, 12 Dec 2008 11:57:11 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (Windows/20081105) |
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)
======================================================================
I, Giuseppe Corbelli, hereby disclaim all copyright interest in my
changes and enhancements to GLOBAL (herein called
the "Program").
I affirm that I have no other intellectual property interest that
would undermine this release, or the use of the Program, and will
do nothing to undermine it in the future. I represent that the
changes and enhancements are my own and not a copy of someone
else's work.
Giuseppe Corbelli, 12 December 2008
======================================================================
--
Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
J.S. Bach
- Small fix for Global 5.7.3 on Win32/MinGW,
Giuseppe Corbelli <=