diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:09:58 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:09:58 +0300 |
commit | cae8bc6ced84c12590e3554a06a952283735363a (patch) | |
tree | ca4f38bfcb1312bfb62fc693564d68f3e9b3e973 /vms/vms_popen.c | |
parent | dbd583bd2b8a6dd40c622875a4e197360cb5aba7 (diff) | |
download | egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.gz egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.bz2 egawk-cae8bc6ced84c12590e3554a06a952283735363a.zip |
Move to 2.14.
Diffstat (limited to 'vms/vms_popen.c')
-rw-r--r-- | vms/vms_popen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vms/vms_popen.c b/vms/vms_popen.c index 654364c4..b962d01d 100644 --- a/vms/vms_popen.c +++ b/vms/vms_popen.c @@ -54,7 +54,7 @@ fork() return -1; } -#else PIPES_SIMULATED +#else /*PIPES_SIMULATED*/ /* * Simulate pipes using temporary files; hope that the user * doesn't expect pipe i/o to be interleaved with other i/o ;-}. @@ -116,7 +116,7 @@ popen( const char *command, const char *mode ) /* an input pipe reads a temporary file created by the command */ vms_execute(command, (char *)0, name); /* 'command >tempfile' */ } - if ((current = fopen(name, mode, "mbf=2")) == NULL) { + if ((current = fopen(name, mode, "mbc=24", "mbf=2")) == NULL) { free(name); return NULL; } @@ -344,6 +344,6 @@ restore_translation( const Dsc *logname, const Itm *itemlist ) } } -#endif /* PIPES_SIMULATED */ +#endif /*PIPES_SIMULATED*/ #endif /*!NO_VMS_PIPES*/ |