summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorDan Sugalski <dan@sidhe.org>2001-05-02 07:37:27 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-02 15:35:37 +0000
commitfd8cd3a3fe489fe70b00d1da7f9034bb1c56f03c (patch)
treedd0eebd71482f83187b55d14fa0340d6ffdc2cf6 /doio.c
parent09bf542c87dffb276bec96e979ba5437e7fc39b1 (diff)
downloadperl-fd8cd3a3fe489fe70b00d1da7f9034bb1c56f03c.tar.gz
Multiplicity and thread fixes for VMS
Message-Id: <5.0.2.1.0.20010502112909.01f24e28@24.8.96.48> p4raw-id: //depot/perl@9960
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doio.c b/doio.c
index d61d533eff..fd40ae08fc 100644
--- a/doio.c
+++ b/doio.c
@@ -565,8 +565,8 @@ Perl_do_openn(pTHX_ GV *gv, register char *name, I32 len, int as_raw,
if (savefd != PerlIO_fileno(PerlIO_stdin())) {
char newname[FILENAME_MAX+1];
if (fgetname(fp, newname)) {
- if (savefd == PerlIO_fileno(PerlIO_stdout())) Perl_vmssetuserlnm("SYS$OUTPUT", newname);
- if (savefd == PerlIO_fileno(PerlIO_stderr())) Perl_vmssetuserlnm("SYS$ERROR", newname);
+ if (fd == PerlIO_fileno(PerlIO_stdout())) Perl_vmssetuserlnm(aTHX_ "SYS$OUTPUT", newname);
+ if (fd == PerlIO_fileno(PerlIO_stderr())) Perl_vmssetuserlnm(aTHX_ "SYS$ERROR", newname);
}
}
#endif