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:
7921d0f
)
Re: [perl #25270] 5.8.3 - POSIX::ctermid() on Solaris
author
Andy Dougherty
<doughera@lafayette.edu>
Thu, 4 Mar 2004 14:41:07 +0000
(09:41 -0500)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 4 Mar 2004 21:52:18 +0000
(21:52 +0000)
Message-ID: <Pine.SOL.4.58.
0403041438350
.5863@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@22436
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
8a0188d
..
abafefe
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-1806,7
+1806,9
@@
access(filename, mode)
char *
ctermid(s = 0)
- char * s = 0;
+ char * s = safemalloc((size_t) L_ctermid);
+ CLEANUP:
+ Safefree(s);
char *
cuserid(s = 0)