"Black, Andrew" <[EMAIL PROTECTED]> writes:
>> Slightly O/T - just to say that CHECKSUM does not always produce different
>> results, even on very different files.]
>
> Also be warned that same file (when backed up and restored) might have a
> DIFFERENT checksum.  This can be caused by data "hidden" beyond the end of
> file byte for the file.

Well, damn.

Okay, well maybe DIFF is the right way to go...I just wish that the $STATUS
values for differ/same were something other than "random strings of hex
digits".   If they had values that we could use F$message to translate, for
example.

Hmm...looks like the message is in SYS$MESSAGE:PRGDEVMSG (on my system)
    %DIF-S-SAMEFILE, files are identical
    %DIF-I-FILAREDIF, files are different
And the two status code correspond to "ID#s" 1 and 2 (with different
severity, of course).

I'll see about cooking up a patch based on DIFF and see how it goes.
--
 Drexel University       \V                    --Chuck Lane
======]---------->--------*------------<-------[===========
     (215) 895-1545     _/ \  Particle Physics
FAX: (215) 895-5934     /\ /~~~~~~~~~~~        [EMAIL PROTECTED]

Reply via email to