]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 13 Jul 1997 21:59:43 +0000 (21:59 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 13 Jul 1997 21:59:43 +0000 (21:59 +0000)
old/textutils/ChangeLog

index 5ae7c5e09ffacd24529958e4563bc4ca9f9843ea..59229fe9b0d98b30d358ba0581c6c42fb00e427d 100644 (file)
@@ -1,5 +1,15 @@
 1997-07-13  Jim Meyering  <meyering@na-net.ornl.gov>
 
+       * src/head.c: Include xstrtoul.h.
+       Remove global variable, unit_size.
+       (atou): Remove now-unused function.
+       (parse_unit): Likewise.
+       (string_to_ull): New function.
+       (head): Take new parameter, count_lines.  Use it instead of unit_size.
+       Update callers.
+       (head_file): Likewise.
+       (main): Use string_to_ull, not atou/parse_unit.
+
        * tests/wc: New directory.
        * tests/head: New directory.
        * tests/Makefile.am (SUBDIRS): Add head and wc.