projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7921d0f
)
Re: [perl #25270] 5.8.3 - POSIX::ctermid() on Solaris
Andy Dougherty [Thu, 4 Mar 2004 14:41:07 +0000 (09:41 -0500)]
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)