[Info-vax] decc$stat() variants on VMS.

hb end.of at inter.net
Wed Jun 29 10:11:59 EDT 2016


On 06/29/2016 03:25 PM, John E. Malmberg wrote:
> The stat() call only returns the correct byte count for stream files.

... and for rfm=udf, I assume.

> For fixed block size files, like .EXE files, which are 512 byte files,
> they use the number of blocks to calculate the byte count.
> 
> Unfortunately that is the wrong number because .EXE files can have
> partial blocks in them.

... at the end. That's true for VAX/Alpha images, which can have
variable length records for symbols etc. at the end of the file. As far
as I remember I64 images are written in disk blocks, they don't have
partial blocks.

On the other hand, as far as I observed, in any file with rfm=fix the
last record can be partially filled.



More information about the Info-vax mailing list