diff mbox series

Remove broken URL from libstdc++ manual

Message ID 20190905074550.GA8816@redhat.com
State New
Headers show
Series Remove broken URL from libstdc++ manual | expand

Commit Message

Jonathan Wakely Sept. 5, 2019, 7:45 a.m. UTC
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.

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.

Comments

Thomas Schwinge Oct. 7, 2019, 6:54 p.m. UTC | #1
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.


Grüße
 Thomas


> +    <title>
>        The Standard Librarian: What Are Allocators Good For?
> -	</link>
> -      </title>
> +    </title>
>  
>      <author><personname><firstname>Matt</firstname><surname>Austern</surname></personname></author>
>      <publisher>
> @@ -495,6 +492,7 @@
>  	C/C++ Users Journal
>        </publishername>
>      </publisher>
> +    <pubdate>2000-12</pubdate>
>    </biblioentry>
>  
>    <biblioentry>
Jonathan Wakely Oct. 8, 2019, 10:41 a.m. UTC | #2
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.
diff mbox series

Patch

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">
+    <title>
       The Standard Librarian: What Are Allocators Good For?
-	</link>
-      </title>
+    </title>
 
     <author><personname><firstname>Matt</firstname><surname>Austern</surname></personname></author>
     <publisher>
@@ -495,6 +492,7 @@ 
 	C/C++ Users Journal
       </publishername>
     </publisher>
+    <pubdate>2000-12</pubdate>
   </biblioentry>
 
   <biblioentry>