[PATCH] Remove broken URL from libstdc++ manual

Jonathan Wakely jwakely@redhat.com
Tue Oct 8 10:42:00 GMT 2019


On 07/10/19 20:54 +0200, Thomas Schwinge wrote:
>Hi!
>
>On 2019-09-05T08:45:50+0100, Jonathan Wakely <jwakely@redhat.com> wrote:
>> Committed to trunk. I think I'll backport this too, so we don't keep a
>> non-working link in the docs on release branches.
>
>> commit 45a605e970ea6db474e40c02aef6b18993fea05c
>> Author: Jonathan Wakely <jwakely@redhat.com>
>> Date:   Thu Sep 5 08:40:35 2019 +0100
>>
>>     Remove broken URL from libstdc++ manual
>>
>>     The URL for the "What Are Allocators Good For?" article has been a
>>     recurring source of problems. It moved from the C/C++ Users Journal
>>     website to the Dr Dobbs site after CUJ shut down, and the original
>>     domain changed hands, leaving old links pointing to nefarious sites.
>>
>>     Now the URL to the copy on drdobbs.com no longer works either and I
>>     can't find a (legal) copy of the article online. The simplest solution
>>     is to remove the URL.
>>
>>             * doc/xml/manual/allocator.xml: Remove URL for bibliography entry.
>>             * doc/html/*: Regenerate.
>>
>> diff --git a/libstdc++-v3/doc/xml/manual/allocator.xml b/libstdc++-v3/doc/xml/manual/allocator.xml
>> index 0de1be9465a..922bc49091c 100644
>> --- a/libstdc++-v3/doc/xml/manual/allocator.xml
>> +++ b/libstdc++-v3/doc/xml/manual/allocator.xml
>> @@ -482,12 +482,9 @@
>>    </biblioentry>
>>
>>    <biblioentry>
>> -      <title>
>> -	<link xmlns:xlink="http://www.w3.org/1999/xlink"
>> -	      xlink:href="http://www.drdobbs.com/the-standard-librarian-what-are-allocato/184403759">
>
>For what it's worth: see
><https://web.archive.org/web/*/http://www.drdobbs.com/the-standard-librarian-what-are-allocato/184403759>,
>and
><https://web.archive.org/web/20190622154249/http://www.drdobbs.com/the-standard-librarian-what-are-allocato/184403759>
>seems to be the latest revision they've got.

Good idea, thanks!

I've committed this patch to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1120 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191008/2f15b0be/attachment.bin>


More information about the Gcc-patches mailing list