This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: #import, #pragma once yadda yadda mumble grumble


On Wednesday, July 30 2003, "Neil Booth" wrote:

> If it doesn't hit anything in the hash table, it looks for a once-only
> file with the same mtime and length (which, unless you're unlucky,
> should fail for everything).  If something matches it then falls back
> to a byte-by-byte file comparison (so this is what happens to symlinks
> and hardlinks, but users of those should expect to pay).

This comparison also happens for the case:
#import "dir/file1.h"
#import "dir/file2.h"

where dir/file1.h includes
#import "file2.h"

right?  Or am I missing something clever about the hash table code?

-- 
Jonathan Lennox
lennox at cs dot columbia dot edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]