This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_update bug
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Subject: Re: gcc_update bug
- From: Andreas Schwab <schwab at suse dot de>
- Date: 15 May 2001 21:29:18 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <200105151751.TAA25879@ignucius.axis.se>
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