This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: GNAT User's Guide /onlinedocs broken? (was: Broken links on gcc.gnu.org/onlinedocs)


>> The following links are broken at gcc.gnu.org/onlinedocs/4.9.2.  The corresponding 4.9.2-related links at gcc.gnu.org/onlinedocs are also broken:
>>    GCC 4.9.2 GNAT User's Guide (/onlinedocs/gcc-4.9.2/gnat_ugn_unw/)
>>    also in PDF (/onlinedocs/gcc-4.9.2/gnat_ugn_unw.pdf)
>>    or Postscript (/onlinedocs/gcc-4.9.2/gnat_ugn_unw.ps.gz)
>>    or an HTML tarball (/onlinedocs/gcc-4.9.2/gnat_ugn_unw-html.tar.gz)
> 
> This is not just broken for GCC 4.9.2, but GCC 4.8.4 as well:
> 
>  https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn_unw/
>  https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn_unw/
> 
> It does still work for GCC 4.9.1 and GCC 4.8.3:
> 
>  https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gnat_ugn_unw/
>  https://gcc.gnu.org/onlinedocs/gcc-4.8.3/gnat_ugn_unw/
> 
> 
> Arnaud, you updated maintainer-scripts update_web_docs_svn as
> follows last year, might this be related?
> 
>  2014-08-01  Arnaud Charlet  <charlet@adacore.com>
> 
>        * update_web_docs_svn: Simplify build of gnat_ugn.
> 
> Is the patch below a proper fix?

Your patch looks good to me.

> Index: index.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/onlinedocs/index.html,v
> retrieving revision 1.147
> diff -u -r1.147 index.html
> --- index.html    6 Feb 2015 22:27:38 -0000    1.147
> +++ index.html    10 Apr 2015 20:00:02 -0000
> @@ -53,12 +53,12 @@
>          href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_rm.ps.gz";>PostScript</a> or <a
>          href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_rm-html.tar.gz";>an
>          HTML tarball</a>)</li>
> -    <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn_unw/";>GCC
> +    <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn/";>GCC
>          4.9.2 GNAT User's Guide</a> (<a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn_unw.pdf";>also
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn.pdf";>also
>          in PDF</a> or <a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn_unw.ps.gz";>PostScript</a> or <a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn_unw-html.tar.gz";>an
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn.ps.gz";>PostScript</a> or <a
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gnat_ugn-html.tar.gz";>an
>          HTML tarball</a>)</li>
>     <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/libstdc++/manual/";>GCC
>          4.9.2 Standard C++ Library Manual </a> (<a
> @@ -137,12 +137,12 @@
>          href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_rm.ps.gz";>PostScript</a> or <a
>          href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_rm-html.tar.gz";>an
>          HTML tarball</a>)</li>
> -    <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn_unw/";>GCC
> +    <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn/";>GCC
>          4.8.4 GNAT User's Guide</a> (<a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn_unw.pdf";>also
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn.pdf";>also
>          in PDF</a> or <a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn_unw.ps.gz";>PostScript</a> or <a
> -         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn_unw-html.tar.gz";>an
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn.ps.gz";>PostScript</a> or <a
> +         href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/gnat_ugn-html.tar.gz";>an
>          HTML tarball</a>)</li>
>     <li><a href="https://gcc.gnu.org/onlinedocs/gcc-4.8.4/libstdc++/manual/";>GCC
>          4.8.4 Standard C++ Library Manual </a> (<a
> 


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