]> sjero.net Git - wget/commitdiff
[svn] 2001-01-09 Dan Harkless <wget@harkless.org>
authordan <devnull@localhost>
Wed, 10 Jan 2001 02:28:24 +0000 (18:28 -0800)
committerdan <devnull@localhost>
Wed, 10 Jan 2001 02:28:24 +0000 (18:28 -0800)
* html-url.c: Addition and clarification of comments related to -p.

* url.c (write_backup_file): Clarified a comment.
  [Committed this fix separately.]

src/ChangeLog
src/html-url.c

index 7be75e9dc627562f153a0eced4f7aa27899908e9..736a18ff197eac6a9c5ccbb4cbe8d41d8eb10937 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-09  Dan Harkless  <wget@harkless.org>
+
+       * html-url.c: Addition and clarification of comments related to -p.
+
+       * url.c (write_backup_file): Clarified a comment.
+
 2001-01-06  Dan Harkless  <wget@harkless.org>
 
        * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be
index 5d37cf0ad981f0690611812a49fbb67430670ecb..8edf16a6a1342f72183dbb5f0dbd40e4bb646a3f 100644 (file)
@@ -92,9 +92,14 @@ static struct {
   { "th",      TC_LINK }
 };
 
+
 /* Flags for specific url-attr pairs handled through TC_LINK: */
+
+/* This tag points to an external document not necessary for rendering this 
+   document (i.e. it's not an inlined image, stylesheet, etc.). */
 #define AF_EXTERNAL 1
 
+
 /* For tags handled by TC_LINK: attributes that contain URLs to
    download. */
 static struct {
@@ -392,8 +397,8 @@ collect_tags_mapper (struct taginfo *tag, void *arg)
            if (closure->dash_p_leaf_HTML
                && (url_tag_attr_map[i].flags & AF_EXTERNAL))
              /* If we're at a -p leaf node, we don't want to retrieve
-                 links to references we know are external, such as <a
-                 href=...>.  */
+                 links to references we know are external to this document,
+                such as <a href=...>.  */
              continue;
 
            /* This find_attr() buried in a loop may seem inefficient
@@ -437,7 +442,7 @@ collect_tags_mapper (struct taginfo *tag, void *arg)
                   and we're at a leaf node (relative to the -l
                   max. depth) in the HTML document tree, the only
                   <LINK> tag we'll follow is a <LINK REL=
-                  "stylesheet">, as it's necessary for displaying
+                  "stylesheet">, as it'll be necessary for displaying
                   this document properly.  We won't follow other
                   <LINK> tags, like <LINK REL="home">, for instance,
                   as they refer to external documents.  */