mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #614055: Support OpenVMS.
This commit is contained in:
parent
468742878f
commit
79acb9edfa
13 changed files with 528 additions and 7 deletions
|
@ -693,8 +693,11 @@ open_exclusive(char *filename)
|
|||
#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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue