[PATCH] Remove broken URL from libstdc++ manual

Jonathan Wakely jwakely@redhat.com
Thu Sep 5 07:45:00 GMT 2019


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.


-------------- next part --------------
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">
+    <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>


More information about the Gcc-patches mailing list