Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 26550:b9c912e2c3c0 legacy-trunk
Patch #614055: Support OpenVMS.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 06 Dec 2002 12:48:53 +0000 |
| parents | ddbb057e5ab3 |
| children | 02ba4663cad2 |
line wrap: on
line diff
--- a/Python/import.c Fri Dec 06 10:33:45 2002 +0000 +++ b/Python/import.c Fri Dec 06 12:48:53 2002 +0000 @@ -693,8 +693,11 @@ #ifdef O_BINARY |O_BINARY /* necessary for Windows */ #endif - - , 0666); +#ifdef __VMS + , 0666, "ctxt=bin", "shr=nil"); +#else + , 0666); +#endif if (fd < 0) return NULL; return fdopen(fd, "wb");
