summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2006-12-04 12:46:57 +0000
committerwiz <wiz>2006-12-04 12:46:57 +0000
commitf0cd7599cd4f0ec02b41f9eeb7052b20a6294817 (patch)
tree79c12ad7471367e33a1c16f867c98b25bc19bc36 /devel
parenteb9d022f654775e85cf2c238726a40f92fa99163 (diff)
downloadpkgsrc-f0cd7599cd4f0ec02b41f9eeb7052b20a6294817.tar.gz
Update to 1.4.8:
Version 1.4.8 - 20 November 2006, by Eric Blake (CVS version 1.4.7a) * The `divert' macro and `-H'/`--hashsize' command line option no longer cause a core dump when handed extra large values. Also, `divert' now uses memory proportional to the number of diversions in use, rather than to the maximum diversion number encountered, so that large diversion numbers are less likely to exhaust system memory; and is no longer limited by the maximum number of file descriptors. * The `--help' and `--version' command line options now consistently override all earlier options. For example, `m4 --debugfile=trace --help' now no longer accidentally creates an empty file `trace'. * The `-L'/`--nesting-limit' command line option can now be set to 0 to remove the default limit of 1024. However, it is still possible that heavily nested input can cause abrupt program termination due to stack overflow. * Problems encountered when writing to standard error, such as with the `errprint' macro, now always cause a non-zero exit status. * Warnings and errors issued during macro expansion are now consistently reported at the line where the macro name was detected, rather than where the close parenthesis resides. Text wrapped by `m4wrap' now remembers the location that was in effect when m4wrap was invoked, rather than changing to line 0 and the empty string for a file. The macros `__line__' and `__file__' now work correctly even as the last token in an included file. * The `builtin' and `indir' macros now transparently handle builtin tokens generated by `defn'. * When diversions created by the `divert' macro collect enough text that M4 must use temporary files, the environment variable $TMPDIR is now consulted, and a better effort is made to clean up those files in the event of a fatal signal. * The `mkstemp' builtin is added with the same GNU semantics as `maketemp', based on the recommendation of POSIX to deprecate the POSIX semantics of `maketemp' as inherently insecure. In GNU mode (no -G supplied on the command line), `maketemp' silently retains the secure GNU semantics, but a future release of M4 will change this to emit a warning. In traditional mode (m4 -G), `maketemp' now uses the POSIX-mandated insecure semantics, and issues a warning that you should convert your script to use `mkstemp' instead. Additionally, `mkstemp' and `maketemp' are now well-defined even if the template argument does not end in six `X' characters. * The manual has been improved, including a new section on a composite macro `foreach'. * The `changecom' and `changequote' macros now treat an empty second argument the same as if it were missing, rather than using the empty string and making it impossible to end a comment or quote. * The `translit' macro now operates in linear instead of quadratic time, and is now eight-bit clean. * The `-D', `-U', `-s', and `-t' command line options now take effect after any files encountered earlier on the command line, rather than up front, as is done in traditional implementations and required by POSIX.
Diffstat (limited to 'devel')
-rw-r--r--devel/m4/Makefile4
-rw-r--r--devel/m4/PLIST7
-rw-r--r--devel/m4/distinfo8
3 files changed, 12 insertions, 7 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index dde15eed9b1..920c6d3f586 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2006/11/02 18:17:22 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2006/12/04 12:46:57 wiz Exp $
-DISTNAME= m4-1.4.7
+DISTNAME= m4-1.4.8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
diff --git a/devel/m4/PLIST b/devel/m4/PLIST
index 2674ae32fcc..c8b7eaea031 100644
--- a/devel/m4/PLIST
+++ b/devel/m4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2006/08/19 00:04:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/12/04 12:46:57 wiz Exp $
bin/${GNU_PROGRAM_PREFIX}m4
${GM4_LINK}bin/gm4
info/m4.info
@@ -11,7 +11,11 @@ share/examples/m4/esyscmd.m4
share/examples/m4/exp.m4
share/examples/m4/file.m4
share/examples/m4/foreach.m4
+share/examples/m4/foreach2.m4
+share/examples/m4/foreachq.m4
+share/examples/m4/foreachq2.m4
share/examples/m4/forloop.m4
+share/examples/m4/forloop2.m4
share/examples/m4/fstab.m4
share/examples/m4/hanoi.m4
share/examples/m4/incl-test.m4
@@ -22,6 +26,7 @@ share/examples/m4/misc.m4
share/examples/m4/multiquotes.m4
share/examples/m4/patsubst.m4
share/examples/m4/pushpop.m4
+share/examples/m4/quote.m4
share/examples/m4/regexp.m4
share/examples/m4/reverse.m4
share/examples/m4/sync-lines.m4
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index b65d5c0259c..d6e34799824 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2006/10/02 18:08:47 wiz Exp $
+$NetBSD: distinfo,v 1.14 2006/12/04 12:46:57 wiz Exp $
-SHA1 (m4-1.4.7.tar.gz) = ac76501902db0e1fdb4576aad669ace740502b88
-RMD160 (m4-1.4.7.tar.gz) = f097c74663507b158e799dccdbe746e64b1f2203
-Size (m4-1.4.7.tar.gz) = 646497 bytes
+SHA1 (m4-1.4.8.tar.gz) = 32b5bb526de9315d1a319c2ca8eb881d9b835506
+RMD160 (m4-1.4.8.tar.gz) = 933cc2acc7b65d1f3cff3b530852037b1e3d9bbe
+Size (m4-1.4.8.tar.gz) = 724448 bytes