]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message *** TEXTUTILS-1_22a
authorJim Meyering <jim@meyering.net>
Mon, 22 Sep 1997 12:00:10 +0000 (12:00 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 22 Sep 1997 12:00:10 +0000 (12:00 +0000)
old/textutils/ChangeLog
old/textutils/NEWS

index fd07d5e416f3dd09ce93a12534794b422ba8f376..05981642e6d99fd86f2e5d608a083fb6113e5386 100644 (file)
@@ -1,3 +1,21 @@
+1997-09-21  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * src/od.c [struct tspec] (hexl_mode_trailer): Rename from `trailer.'
+       (dump_hexl_mode_trailer): Rename from dump_string_trailer.
+       Use fputs and putchar instead of trivial or %-less printfs.
+       (decode_one_format): Parenthesize each field_width assignment in an
+       argument list to make the side effect a little more apparent.
+       (write_block): Use fputs and putchar instead of trivial or %-less
+       printfs.
+       (dump_strings): Cast string_min to off_t to avoid long-standing warning.
+
+       * src/od.c: Implement new `z' (hexl-mode) modifier.
+       [struct tspec] (trailer): New field.
+       (field_width): Likewise.
+       (dump_string_trailer): New function.
+       (decode_one_format): Save each field_width in the tspec.
+       Patch from John Kodis.
+
 1997-09-14  Jim Meyering  <meyering@na-net.ornl.gov>
 
        * src/od.c (main) [--traditional]: Don't give diagnostic about there
@@ -1854,7 +1872,7 @@ Thu Sep 28 23:16:05 1995  Jim Meyering  (meyering@comco.com)
        * Makefile.in (DISTFILES): Remove README.alpha for major release.
 
        * od.c (decode_one_format): Remove spurious semicolon.
-       From John Kodis (kodis@daacdev1.stx.com).
+       From John Kodis.
 
 Tue Sep 26 23:05:01 1995  Jim Meyering  (meyering@comco.com)
 
index 921ff5e23d5ebe717514206504b8b921498a1969..4b976fe94a1e94a2f4b03121550acbd92b5729c1 100644 (file)
@@ -1,4 +1,15 @@
 Changes in release 1.23
+* od supports a new trailing `z' character in a type specification:
+    $ od -tx1z .
+    0000000 be ef c6 0f fd f9 d7 e0 ec cb f3 c6 00 db e8 00  >................<
+    0000020 00 00 d2 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
+    0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
+    *
+    0000600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 cc  >..............5.<
+    0000620 05 63 76 74 2e 6f 00 00 29 ac 08 70 72 6f 6a 65  >.cvt.o..)..proje<
+    0000640 63 74 73 00 00 00 18 9a 05 63 76 74 2e 63 00 00  >cts......cvt.c..<
+    0000660 18 d9 03 52 43 53 00 00 18 c0 05 78 2e 64 61 74  >...RCS.....x.dat<
+
 [1.22a]
 * sort -c reports both the number and the contents of the first out-of-order
   line, in addition to the file name.