Apache OpenOffice (AOO) Bugzilla – Issue 69071
umask makes no sense for DOS filesystems
Last modified: 2013-08-07 15:34:52 UTC
Issue generated from Steve's email: -- snip -- I checked this out and found that it has compilation errors in function.c (line 322) and sysintf.c (line 667) due to VC++ not having a mode_t type. The st_mode member of a struct stat seems to be simply an unsigned short in VC++ (in version 6, at least). It compiles cleanly after I changed mode_t to unsigned short, but I'll let you decide exactly what change you'd rather make before I start testing. -- snap -- Setting umask in MSVC is useless as it only sets the rights for the current process (user?). The following patch disables setting umask for native W32 builds.
Created attachment 38838 [details] Patch for dmake
Committed to dmake46
.
close