diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-02-15 21:47:02 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-02-15 21:47:02 +0000 |
commit | 45d55641fa3af536e48be446647ff51b15109992 (patch) | |
tree | cfd1346ac8fd35d3a19a496e5f1124f870404114 /lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp | |
parent | adf75775fafa55962274ef8704ceca3842e50c8a (diff) |
Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility by
handling zero length files a little more intelligently. If both files are
zero length then we return 0 (true) indicating a match. If only one of the
files is zero length then we return 1 (false) indicating that the files
differ. If the files don't agree in length then they can't match so we
skip the first loop that looks for a quick match.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp')
0 files changed, 0 insertions, 0 deletions