Re: [blead-473-g3b333d0] vms stat patches (take 2)

[email protected] ("Craig A. Berry")
Newsgroups perl.perl5.porters,perl.vmsperl
Message-ID <[email protected]>
On Jan 31, 2009, at 8:36 PM, John Malmberg wrote:

> Conversion of Perl_my_time() to tolerate a null thread context, per  
> Craig Berry's recommendation.

I changed my recommendation slightly and modified your patch to accord  
with it.  See what I did instead here:

http://perl5.git.perl.org/perl.git/commit/a520a2c

Basically, checking for a non-null thread context is now part of the  
TEST_VMSISH macro and all the VMSISH_xxx macros are defined in terms  
of that, so we avoid having to make changes everywhere one of them is  
used.

> Conversion of Perl_flex_stat_int() to tolerate a null thread  
> context, and updates to better handle Unix Format or Extended File  
> System character sets.
>
> vms_fid_to_name() now understands stat/lstat for properly handling  
> symbolic links, and uses a similar algorithm as Perl_flex_stat_int()  
> for consistency.  Will now optionally return the mode bits from the  
> stat operation.

Thanks, applied (with changes noted) here:

http://perl5.git.perl.org/perl.git/commit/312ac60

________________________________________
Craig A. Berry
mailto:[email protected]

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.