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:
5cdb719
)
Cannot DIE() in a void function,
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 28 Jun 2001 21:36:36 +0000
(21:36 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 28 Jun 2001 21:36:36 +0000
(21:36 +0000)
from Richard Hatch <rhatch@austin.ibm.com>.
p4raw-id: //depot/perl@11012
ext/IPC/SysV/SysV.xs
patch
|
blob
|
history
diff --git
a/ext/IPC/SysV/SysV.xs
b/ext/IPC/SysV/SysV.xs
index
c7985f9
..
39e932d
100644
(file)
--- a/
ext/IPC/SysV/SysV.xs
+++ b/
ext/IPC/SysV/SysV.xs
@@
-203,7
+203,7
@@
ftok(path, id)
key_t k = ftok(path, id);
ST(0) = k == (key_t) -1 ? &PL_sv_undef : sv_2mortal(newSViv(k));
#else
-
DIE(aTHX_ PL_no_func, "ftok")
;
+
Perl_die(aTHX_ PL_no_func, "ftok"); return
;
#endif
void