p4raw-id: //depot/cfgperl@4171
print "# @s\n";
-my $BLOCKSIZE = 512; # is this really correct everywhere?
+# Is there a portable way to find out what's the unit of st_blocks?
+
+my $BLOCKSIZE = 512;
+
+$BLOCKSIZE = 4096 if $^O eq 'unicos';
unless (@s == 13 &&
$s[7] == 1_000_003 &&
print "# @s\n";
-my $BLOCKSIZE = 512; # is this really correct everywhere?
+# Is there a portable way to find out what's the unit of st_blocks?
+
+my $BLOCKSIZE = 512;
+
+$BLOCKSIZE = 4096 if $^O eq 'unicos';
unless (@s == 13 &&
$s[7] == 1_000_003 &&