summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-06-06 06:32:35 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-06-06 06:32:35 +0000
commit9856d93935533919f70e55e417b4059f09d09a01 (patch)
tree6941b33a31135783651228039a2971a0b11fdf86 /doio.c
parenteec5b60da69f144765b0e2010486d337f50e5862 (diff)
parent7ca617d028f5e0c89409fa5fdbd4c8507a90e2b1 (diff)
downloadperl-9856d93935533919f70e55e417b4059f09d09a01.tar.gz
Integrate mainline
p4raw-id: //depot/perlio@17029
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index 95ae169b48..decd1885a4 100644
--- a/doio.c
+++ b/doio.c
@@ -254,6 +254,10 @@ Perl_do_openn(pTHX_ GV *gv, register char *name, I32 len, int as_raw,
name = type;
len = tend-type;
}
+ else {
+ if (*type)
+ goto unknown_desr;
+ }
if (*name == '\0') {
/* command is missing 19990114 */
if (ckWARN(WARN_PIPE))