pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/gsed Update to 4.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3df97d2f6193
branches:  trunk
changeset: 389161:3df97d2f6193
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Dec 21 16:33:37 2018 +0000

description:
Update to 4.6

Changelog:
* Noteworthy changes in release 4.6 (2018-12-19) [stable]

** Improvements

  sed now prints a clear error message when r/R/w/W (and s///w) commands
  are missing a filename. Previously, w/W commands would fail with confusing
  error message, while r/R would be a silent no-op.

  sed now uses fully-buffered output (instead of line-buffered) when
  writing to files. This should noticeably improve performance of "sed -i"
  and other write commands.
  Buffering can be disabled (as before) with "sed -u".

  sed in non-cygwin windows environments (e.g. mingw) now properly handles
  '\n' newlines in -b/--binary mode.

** Bug fixes

  sed no longer accesses invalid memory (heap overflow) when given invalid
  backreferences in 's' command [bug#32082, present at least since sed-4.0.6].

  sed no longer adds extraneous NUL when given s/$//n command.
  [related to bug#32271, present since sed-4.0.7]

  sed no longer accesses invalid memory (heap overflow) with s/$//n regexes.
  [bug#32271, present since sed-4.3].

** New Features

  New option, --debug: print the input sed script in canonical form
  and annotate program execution.

diffstat:

 textproc/gsed/Makefile                  |   4 ++--
 textproc/gsed/distinfo                  |  11 +++++------
 textproc/gsed/patches/patch-sed_utils.c |  21 ---------------------
 3 files changed, 7 insertions(+), 29 deletions(-)

diffs (53 lines):

diff -r 9f564f6cc535 -r 3df97d2f6193 textproc/gsed/Makefile
--- a/textproc/gsed/Makefile    Fri Dec 21 15:49:34 2018 +0000
+++ b/textproc/gsed/Makefile    Fri Dec 21 16:33:37 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2018/07/17 10:56:24 jperkin Exp $
+# $NetBSD: Makefile,v 1.53 2018/12/21 16:33:37 ryoon Exp $
 
-DISTNAME=      sed-4.5
+DISTNAME=      sed-4.6
 PKGNAME=       g${DISTNAME}
 CATEGORIES=    textproc editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=sed/}
diff -r 9f564f6cc535 -r 3df97d2f6193 textproc/gsed/distinfo
--- a/textproc/gsed/distinfo    Fri Dec 21 15:49:34 2018 +0000
+++ b/textproc/gsed/distinfo    Fri Dec 21 16:33:37 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.24 2018/04/27 14:16:23 wiz Exp $
+$NetBSD: distinfo,v 1.25 2018/12/21 16:33:37 ryoon Exp $
 
-SHA1 (sed-4.5.tar.xz) = 6635c344956ef928cc33aca798ad20c6c1ea25f7
-RMD160 (sed-4.5.tar.xz) = 5eb9b1adee939572cca4d353a83e6e35f9423bfb
-SHA512 (sed-4.5.tar.xz) = f95fb27e03b2301dae63878413b4c48e40341cc676945a612e1d0bd911da3192858ae142791292a99fbdaacbc7dab2d6fccb50787c06846f99b0b3740b40c196
-Size (sed-4.5.tar.xz) = 1274252 bytes
-SHA1 (patch-sed_utils.c) = a4d0c5aaadc6a0fac1100e949f2d8a63eb16d427
+SHA1 (sed-4.6.tar.xz) = 2aa05831700e46d674fa53d96df24e0f7b40ba36
+RMD160 (sed-4.6.tar.xz) = cef06c2809ab453c3814a9b448e9d8be12a2e669
+SHA512 (sed-4.6.tar.xz) = dba1d3a7867e4b20266fe4aae88fa779985b6554ef0eeedbf0d2124fa91745419ad843ed20f38ce734c778a2702d3530e92a0b12ce83e546cf093ad612c44e0b
+Size (sed-4.6.tar.xz) = 1297724 bytes
diff -r 9f564f6cc535 -r 3df97d2f6193 textproc/gsed/patches/patch-sed_utils.c
--- a/textproc/gsed/patches/patch-sed_utils.c   Fri Dec 21 15:49:34 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-sed_utils.c,v 1.2 2017/01/16 11:45:14 wiz Exp $
-
---- sed/utils.c.orig   2016-12-11 19:37:01.000000000 +0000
-+++ sed/utils.c
-@@ -31,6 +31,16 @@
- #include "utils.h"
- #include "fwriting.h"
- 
-+/*
-+ * SCO OpenServer 5.0.7/3.2 has no MAXPATHLEN, but it has PATH_MAX (256).
-+ * in limits.h. PATH_MAX is not available under ordinary condition.
-+ */
-+#if !defined(PATH_MAX)
-+#if defined(_SCO_DS)
-+#define PATH_MAX      1024
-+#endif
-+#endif
-+
- const char *myname;
- 
- /* Store information about files opened with ck_fopen



Home | Main Index | Thread Index | Old Index