[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: diff 2.8 large file read fails for Tru64 5.1
From: |
Coleman, Michael |
Subject: |
RE: diff 2.8 large file read fails for Tru64 5.1 |
Date: |
Tue, 2 Apr 2002 15:06:25 -0600 |
> -----Original Message-----
> From: Paul Eggert [mailto:address@hidden
> Sent: Monday, April 01, 2002 6:14 PM
> Thanks for the bug report, Mike. Yes, POSIX requires that this must
> work, so it is clearly a Tru64 bug.
I'll attempt to report it when I get a chance.
> Can you please try this patch on your
> Tru64 host? Thanks.
It appears to work. (I can't easily verify the output, but both it and the
system call trace seem reasonable.)
Also, regarding SSIZE_MAX, it's 2**63 - 1 (for both gcc and cc) under Tru64 5.1.
It seems like diff wants to start by reading in the entire contents of both
files. I was hoping that the '-H' option might work something like the vendor
'-h' option, which theoretically will take a stab at files of arbitrary length.
(I say "theoretically" because "diff -h" explodes immediately for large files
under Tru64 5.1.)
Would an '-h' be conceivable with the current algorithm?
Thanks,
Mike