summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-30 13:36:28 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-30 13:36:28 +0000
commit516a5887ee93ac51c15492c01bb2e52bafd5bfaf (patch)
tree2edd49fae5fcdc2d692fc0d6fe4779a740171b58 /doio.c
parenta2e20b18d842b4285c1fb6554e5ff55510293193 (diff)
downloadperl-516a5887ee93ac51c15492c01bb2e52bafd5bfaf.tar.gz
Medley of -Wall cleanups from Michael Schwen, Hugo van der Sanden,
and Abhijit Menon-Sen. p4raw-id: //depot/perl@10321
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index 9c331f961f..e20245a6b2 100644
--- a/doio.c
+++ b/doio.c
@@ -232,7 +232,8 @@ Perl_do_openn(pTHX_ GV *gv, register char *name, I32 len, int as_raw,
len = tend-type;
}
IoTYPE(io) = *type;
- if ((*type == IoTYPE_RDWR) && ((!num_svs || tend > type+1 && tend[-1] != IoTYPE_PIPE))) { /* scary */
+ if ((*type == IoTYPE_RDWR) && /* scary */
+ ((!num_svs || (tend > type+1 && tend[-1] != IoTYPE_PIPE)))) {
mode[1] = *type++;
writing = 1;
}