PATCH for Re: broken link

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Fri May 3 05:25:00 GMT 2002


On Fri, 3 May 2002, Herbert Schmid wrote:
> your page http://gcc.gnu.org/gcc-3.1/changes.html misses a single slash.
> You set the link
>
> <a href="news/profiledriven.html">infrastructure for profile drive
> optimizations</a>
>
> But what you want is "/news/profiledriven.html".

Actually, ../news/profiledriven.html, to avoid breaking
<http://www.gnu.org/software/gcc/gcc-3.1/changes.html>. ;-)

Thanks for the report, I have just committed the patch below to fix
the problem.

Gerald

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.1/changes.html,v
retrieving revision 1.26
diff -u -3 -p -r1.26 changes.html
--- changes.html	2 May 2002 17:50:03 -0000	1.26
+++ changes.html	3 May 2002 12:21:07 -0000
@@ -29,7 +29,7 @@
 <ul>
 <li><p>Jan Hubicka, SuSE Labs, together with Richard Henderson, Red Hat, and
       Andreas Jaeger, SuSE Labs, has contributed <a
-      href="news/profiledriven.html">infrastructure for profile driven
+      href="../news/profiledriven.html">infrastructure for profile driven
       optimizations</a>.</p>

       <p>Options <code>-fprofile-arcs</code> and



More information about the Gcc-patches mailing list