This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GNAT User's Guide /onlinedocs broken? (was: Broken links on gcc.gnu.org/onlinedocs)
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: "EXT-Barrett, James" <james dot barrett5 at boeing dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 11 Apr 2015 15:28:15 +0200
- Subject: Re: GNAT User's Guide /onlinedocs broken? (was: Broken links on gcc.gnu.org/onlinedocs)
- Authentication-results: sourceware.org; auth=none
- References: <1862DFA392F71F429DD36FA2115860CCCAE6B9 at XCH-PHX-103 dot sw dot nos dot boeing dot com> <alpine dot LSU dot 2 dot 20 dot 1504102144480 dot 9357 at tuna dot site>
>> 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
>