diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2004-03-04 09:41:07 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-03-04 21:52:18 +0000 |
commit | d1fd7089baf415d5617365e9170dad30adc0908e (patch) | |
tree | 367002ddf8340ee46dc5db6caf5905919e0bfecb /ext | |
parent | 7921d0f22732c0609e6c9d21be9aaf6e52f99e6b (diff) | |
download | perl-d1fd7089baf415d5617365e9170dad30adc0908e.tar.gz |
Re: [perl #25270] 5.8.3 - POSIX::ctermid() on Solaris
Message-ID: <Pine.SOL.4.58.0403041438350.5863@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@22436
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/POSIX.xs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 8a0188d422..abafefeb83 100644 --- 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) |