Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
all
-
Windows 2000
Description
By applying the following patch, it is compiling: Index: swigutil_py.c ====================================================== ============= --- swigutil_py.c (revision 3795) +++ swigutil_py.c (working copy) @@ -705,9 +705,14 @@ if (PyString_Check (py_file)) { +#ifdef WIN32 + fd = open (PyString_AS_STRING (py_file), + O_CREAT | O_RDWR); +#else fd = open (PyString_AS_STRING (py_file), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); +#endif } else if (PyFile_Check (py_file)) {
Original issue reported by mahae