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:
2c227d6
)
getsysinfo() broken on OS/2
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Thu, 18 Sep 2003 19:01:06 +0000
(12:01 -0700)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 19 Sep 2003 04:48:52 +0000
(
04:48
+0000)
Message-ID: <
20030919020106
.GA22511@math.berkeley.edu>
p4raw-id: //depot/perl@21286
os2/os2.c
patch
|
blob
|
history
diff --git
a/os2/os2.c
b/os2/os2.c
index
d5c3e2e
..
88b5f5d
100644
(file)
--- a/
os2/os2.c
+++ b/
os2/os2.c
@@
-782,7
+782,7
@@
get_sysinfo(ULONG pid, ULONG flags)
return 0;
}
psi = (PQTOPLEVEL)pbuffer;
- if (psi && pid && pid != psi->procdata->pid) {
+ if (psi && pid && p
si->procdata && p
id != psi->procdata->pid) {
Safefree(psi);
Perl_croak_nocontext("panic: wrong pid in sysinfo");
}