diff options
author | ryoon <ryoon@pkgsrc.org> | 2018-12-21 16:33:37 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2018-12-21 16:33:37 +0000 |
commit | 7d6701f13ea9a214bffebf6990040e33f98365ee (patch) | |
tree | fe939df6786e5b5048e46cbb41f883fdec047171 /textproc/gsed | |
parent | 2c058bdc963d28383bc457ab2a6815d8bfd8337c (diff) | |
download | pkgsrc-7d6701f13ea9a214bffebf6990040e33f98365ee.tar.gz |
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 (limited to 'textproc/gsed')
-rw-r--r-- | textproc/gsed/Makefile | 4 | ||||
-rw-r--r-- | textproc/gsed/distinfo | 11 | ||||
-rw-r--r-- | textproc/gsed/patches/patch-sed_utils.c | 21 |
3 files changed, 7 insertions, 29 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 830f56b0c97..91b53fa7543 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -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 --git a/textproc/gsed/distinfo b/textproc/gsed/distinfo index 718784dac3c..7183d8f998f 100644 --- a/textproc/gsed/distinfo +++ b/textproc/gsed/distinfo @@ -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 --git a/textproc/gsed/patches/patch-sed_utils.c b/textproc/gsed/patches/patch-sed_utils.c deleted file mode 100644 index 65cb0c13a4c..00000000000 --- a/textproc/gsed/patches/patch-sed_utils.c +++ /dev/null @@ -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 |