This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d41b2
)
[win32] semctl tweak
author
Graham Barr
<gbarr@pobox.com>
Sun, 31 May 1998 16:27:33 +0000
(11:27 -0500)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sun, 31 May 1998 21:52:18 +0000
(21:52 +0000)
Message-Id: <
199805312127
.QAA06750@gbarr.connect.net>
Subject: Not OK: perl 5.00466 on i586-linux-thread 2.0.31
p4raw-id: //depot/win32/perl@1068
doio.c
patch
|
blob
|
blame
|
history
diff --git
a/doio.c
b/doio.c
index
365c72f
..
9d841a1
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-1435,6
+1435,8
@@
do_ipcctl(I32 optype, SV **mark, SV **sp)
semun.buf = &semds;
getinfo = (cmd == GETALL);
+ if (Semctl(id, 0, IPC_STAT, semun) == -1)
+ return -1;
infosize = semds.sem_nsems * sizeof(short);
/* "short" is technically wrong but much more portable
than guessing about u_?short(_t)? */