projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d83722
)
Back out Simon's pid hackery for now.
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Wed, 10 Jan 2001 19:34:30 +0000
(19:34 +0000)
committer
Nick Ing-Simmons
<nik@tiuk.ti.com>
Wed, 10 Jan 2001 19:34:30 +0000
(19:34 +0000)
p4raw-id: //depot/perlio@8393
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index
c9174fe
..
1261b98
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-2663,9
+2663,7
@@
Perl_my_pclose(pTHX_ PerlIO *ptr)
LOCK_FDPID_MUTEX;
svp = av_fetch(PL_fdpid,PerlIO_fileno(ptr),TRUE);
UNLOCK_FDPID_MUTEX;
- pid = SvIV(*svp);
- if (!pid)
- return 0;
+ pid = SvIVX(*svp);
SvREFCNT_dec(*svp);
*svp = &PL_sv_undef;
#ifdef OS2