]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Better version of read_whole_line().
[wget] / src / ChangeLog
index e050bbbd3ed3ada9bde425ea9fc43ef032b2bf0f..0a18cd3332614183d409767c81252f092cadc02e 100644 (file)
@@ -1,3 +1,19 @@
+2000-11-10  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * init.c (run_wgetrc): Don't bother killing off '\r' since
+       pars_line() skips whitespace at end of line anyway.
+       (parse_line): Oops, it didn't.  Now it does.
+
+       * recur.c (parse_robots): Ditto here.
+
+       * ftp-ls.c (ftp_parse_unix_ls): Kill off the newline character
+       manually because read_whole_line no longer does.
+
+       * utils.c (read_whole_line): Rewrite to: a) use less memory
+       (reallocates to needed size after work), b) work faster -->
+       fgets() instead of getc, c) be more correct --> doesn't kill the
+       newline character at the end of line.
+
 2000-11-10  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * init.c (comind): Initialize MAX to array size - 1.