pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/diffstat Update to 1.41. Selected changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94d1df3c4152
branches:  trunk
changeset: 512387:94d1df3c4152
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon May 08 06:22:51 2006 +0000

description:
Update to 1.41.  Selected changes:
* add options -l, -r and -t.  add to -f option
* improve I/O on Linux using fgetc_locked().
* improve searching of long sorted lists using tsearch()
* change order of merging and prefix-stripping so stripping all prefixes,
  e.g., with -p9, will be sorted as expected
* correct a reference to freed memory after merging found with valgrind.
* fix a different case for data beginning with "--" which was treated as
  a header line.
* Fix allocation problems.  Open files in binary mode for reading.
  Getopt returns -1, not necessarily EOF.  Add const where useful.  Use
  NO_IDENT where necessary.  malloc() comes from <stdlib.h> in standard
  systems
* minor fix for resync of unified diffs checks for range (line beginning
  with '@' without header lines (successive lines beginning with "---"
  and "+++")

diffstat:

 textproc/diffstat/Makefile         |   5 ++---
 textproc/diffstat/distinfo         |   9 ++++-----
 textproc/diffstat/patches/patch-aa |  13 -------------
 3 files changed, 6 insertions(+), 21 deletions(-)

diffs (44 lines):

diff -r 9e443dff6a8f -r 94d1df3c4152 textproc/diffstat/Makefile
--- a/textproc/diffstat/Makefile        Sun May 07 21:43:17 2006 +0000
+++ b/textproc/diffstat/Makefile        Mon May 08 06:22:51 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:45 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.9 2006/05/08 06:22:51 snj Exp $
 
-DISTNAME=      diffstat-1.34
+DISTNAME=      diffstat-1.41
 CATEGORIES=    textproc
 MASTER_SITES=  ftp://invisible-island.net/diffstat/
 EXTRACT_SUFX=  .tgz
diff -r 9e443dff6a8f -r 94d1df3c4152 textproc/diffstat/distinfo
--- a/textproc/diffstat/distinfo        Sun May 07 21:43:17 2006 +0000
+++ b/textproc/diffstat/distinfo        Mon May 08 06:22:51 2006 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:48:41 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/05/08 06:22:51 snj Exp $
 
-SHA1 (diffstat-1.34.tgz) = 5a14769e35381fc3a6e784eddd4f7cb4621b46ec
-RMD160 (diffstat-1.34.tgz) = 9d00b1be21e81dd47acc90262732139a428eb3c4
-Size (diffstat-1.34.tgz) = 58633 bytes
-SHA1 (patch-aa) = 9d2cfa172259f31ecf8e7652ae7c38e8f1e05c41
+SHA1 (diffstat-1.41.tgz) = 75545e796ad6b2663170f21dc7d303d3487ad5d8
+RMD160 (diffstat-1.41.tgz) = b152a6061ea5500e969c65c7c8832decac2aa40a
+Size (diffstat-1.41.tgz) = 98321 bytes
diff -r 9e443dff6a8f -r 94d1df3c4152 textproc/diffstat/patches/patch-aa
--- a/textproc/diffstat/patches/patch-aa        Sun May 07 21:43:17 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/11/10 16:18:29 epg Exp $
-
---- diffstat.c.orig    2003-11-09 13:45:00.000000000 -0500
-+++ diffstat.c
-@@ -117,8 +117,6 @@ extern int isatty();
- 
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
--#else
--extern char *malloc();
- #endif
- 
- #ifdef HAVE_GETOPT_H



Home | Main Index | Thread Index | Old Index