]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Wed, 9 Apr 2003 14:40:10 +0000 (14:40 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 9 Apr 2003 14:40:10 +0000 (14:40 +0000)
ChangeLog

index 88879e9828e361139efdabb9cedf3f20556dc80e..bdbe6c03a57399af641c706f1d8c48eb4f421ca6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,13 +1,27 @@
-2003-04-08  Jim Meyering  <jim@meyering.net>
+2003-04-09  Jim Meyering  <jim@meyering.net>
 
        * Version 5.0.1.
 
+       * src/split.c (bytes_split): Use size_t temporary (rather than
+       uintmax_t original) in remaining computations.  From Paul Eggert.
+
+       Handle command line option arguments larger than 2^31.
+       This allows e.g., splitting into files of size 2GB and larger,
+       and running split --lines=N with N=2^31 or more.
+       But for --line-bytes=N, the restriction that N <= SIZE_MAX
+       remains (for now), due to the way it is implemented.
+
+       * src/split.c: Include "inttostr.h".
+       (bytes_split, lines_split, line_bytes_split, main):
+        Use uintmax_t, not size_t, for file sizes.
+        (main): Give a better diagnostic for option arguments == 0.
+       Use umaxtostr to print file sizes.
+
+2003-04-08  Jim Meyering  <jim@meyering.net>
+
        * src/rm.c (usage): Mention that --directory (-d) works only
        on some systems.  Suggestion from Samuel Tardieu.
 
-       * tests/misc/Makefile.am (TESTS): Add split-fail.
-       * tests/misc/split-fail: New file.
-
        * tests/basename/basic: Run $PERL to see if it is available,
        rather than testing its value.
        * tests/sum/sysv, tests/tsort/basic-1, tests/unexpand/basic-1:
        * tests/seq/basic, tests/sha1sum/basic-1, tests/sha1sum/sample-vec:
        * tests/sum/basic-1, tests/seq/basic: Likewise.
 
+       * tests/misc/Makefile.am (TESTS): Add split-fail.
+       * tests/misc/split-fail: New file.
+
        * src/split.c: Rename local variables: nchars -> n_bytes.
+       (lines_split): Rename local, nlines -> n_lines.
        (main): Rename local variable: s/accum/n_units/.
        (main): Use STDIN_FILENO, not literal `0'.