gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees
Date: 08 Jan 2004 11:21:25 -0500

On Thu, 2004-01-08 at 07:45, Chris Mason wrote:

> 
> Because of arch_binary_files_differ(), diff is only going to get run
> when the files are really different.  Using a pipe probably won't work,
> since we'd need some way to deal with the case where diff is blocking
> because the pipe is full.  

In my experience, it's pretty easy to use fdopen(), fread until EOF,
wait4().  There must be something like that in the codebase already.

> It would be best to just make a file in TMPDIR instead.

If TMPDIR is safe, that's a pretty good option.

Aaron

-- 
Aaron Bentley
Director of Technology
PanoMetrics, Inc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]