List Info

Thread: vms stat and chmod fixes.




vms stat and chmod fixes.
user name
2007-09-11 22:01:14
chmod() on VMS 8.3 will only work on directories in VMS
xxx.dir format, 
so filenames need to be converted.

Dual lifed modules that call chmod() on directories may need
to also 
compensate for this.bug.


Found a strange case of stat() incorrectly returning
'[.t]','./t','t/', 
but working for 't.dir' on VMS 8.3.  Detect this condition,
convert the 
filename syntax and try again.  If the retry fails or is not
needed, 
restore errno so that [.ext.Safe.t]safe2.t passes all
tests.

Small fix vmsish.h to allow threaded perl to be built with
symbolic link 
support.

-John
wb8tywqsl.net
Personal Opinion Only

  
Re: vms stat and chmod fixes.
user name
2007-09-12 03:03:23
On 12/09/2007, John E. Malmberg <wb8tywqsl.net> wrote:
> chmod() on VMS 8.3 will only work on directories in VMS
xxx.dir format,
> so filenames need to be converted.
>
> Dual lifed modules that call chmod() on directories may
need to also
> compensate for this.bug.

Thanks, applied to bleadperl as #31850.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )