automake
[Top][All Lists]
Advanced

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

Re: SGI mode depcomp breaks when '.' appears in source filenames twice


From: Raja R Harinath
Subject: Re: SGI mode depcomp breaks when '.' appears in source filenames twice
Date: 05 Apr 2001 17:59:05 -0500
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.100

Robert Boehne <address@hidden> writes:
> I've been having some problems with depencency tracking under
> IRIX with the native compiler, it didn't help to use GNU sed,
> so I tracked the problem down to this line from depcomp:
> 
>  sed 's/^[^\.]*\.o://' | tr '

Try changing that to

  sed 's/^.*\.o://' | tr '

This should be safe.  I don't see why the original tried to avoid
'.'s.  The regexp is limited to the first ':' -- so the '.*' cannot
swallow any more of the line.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



reply via email to

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