This is the mail archive of the gcc@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]

Re: gcc_update bug


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:

|> > From: Mark Mitchell <mark@codesourcery.com>
|> > Date: Sun, 13 May 2001 18:19:34 -0700
|> 
|> > One fix is to touch all the files, unconditionally, with a one second
|> > wait between them.  That will take a while, but it will be correct.  I
|> > implemented that and it's not very painful to wait through.
|> > 
|> > Using `make' would be another option, possibly via a little here
|> > document in gcc_update.
|> > 
|> > I'm not sure what other solutions might be possible.
|> 
|> I don't recall seeing it mentioned, so on the off-chance that it
|> would make sense: wouldn't "cat /dev/null >> file_to_touch" do
|> TRT as a touch-replacement that doesn't change the file?

No.  Just opening a file does not touch it (not even its access time).

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


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