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


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to