Up to [cvs.netbsd.org] / pkgsrc / devel / m4
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 27 21:01:41 2012 UTC (3 weeks, 5 days ago) by wiz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.34: +2 -1
lines
Diff to previous 1.34 (colored)
Add upstream patch fixing build on Solaris 9 with Sun Studio 11. Suggested by Stephen Nelson-Smith <sanelson@gmail.com> on pkgsrc-users.
Revision 1.33.8.1 / (download) - annotate - [select for diffs], Mon Feb 13 20:42:03 2012 UTC (3 months, 1 week ago) by spz
Branch: pkgsrc-2011Q4
Changes since 1.33: +3 -1
lines
Diff to previous 1.33 (colored) next main 1.34 (colored)
Pullup ticket #3681 - requested by riz
devel/m4: build fixes
Revisions pulled up:
- devel/m4/Makefile 1.66
- devel/m4/distinfo 1.34
- devel/m4/patches/patch-ab 1.12
- devel/m4/patches/patch-ac 1.10
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: christos
Date: Tue Jan 31 00:58:44 UTC 2012
Added Files:
pkgsrc/devel/m4/patches: patch-ab patch-ac
Log Message:
update for new fpos_t
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.12 pkgsrc/devel/m4/patches/patch-ab
cvs rdiff -u -r0 -r1.10 pkgsrc/devel/m4/patches/patch-ac
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: christos
Date: Tue Jan 31 01:00:13 UTC 2012
Modified Files:
pkgsrc/devel/m4: Makefile
Log Message:
bump patchlevel
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/devel/m4/Makefile
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: christos
Date: Tue Jan 31 01:12:46 UTC 2012
Modified Files:
pkgsrc/devel/m4: distinfo
Log Message:
update.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/m4/distinfo
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 31 01:12:46 2012 UTC (3 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Changes since 1.33: +3 -1
lines
Diff to previous 1.33 (colored)
update.
Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 16 14:31:46 2011 UTC (14 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Branch point for: pkgsrc-2011Q4
Changes since 1.32: +5 -5
lines
Diff to previous 1.32 (colored)
Update to 1.4.16: * Noteworthy changes in release 1.4.16 (2011-03-01) [stable] ** Fix regressions in the `index' builtin. On glibc platforms, this avoids false positives from a strstr bug in glibc 2.9 through 2.12; on many other platforms, it fixes two separate regressions, a false positive introduced in 1.4.11 and a false negative in 1.4.15. ** A number of portability improvements inherited from gnulib.
Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 3 07:39:45 2010 UTC (20 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3
Changes since 1.31: +4 -5
lines
Diff to previous 1.31 (colored)
Update to 1.4.15: * Noteworthy changes in release 1.4.15 (2010-08-31) [stable] ** Fix regression introduced in 1.4.9b where the `format' builtin could crash on an invalid format string. ** Fix compilation against newer glibc, and on AIX 7.1BETA. ** A number of portability improvements inherited from gnulib.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 21 11:57:52 2010 UTC (22 months ago) by tron
Branch: MAIN
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored)
Fix build under Mac OS X which got broken by yesterday's DragonFlyBSD's fixes.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Jul 20 13:40:02 2010 UTC (22 months ago) by tnn
Branch: MAIN
Changes since 1.29: +2 -1
lines
Diff to previous 1.29 (colored)
Dragonfly PR pkg/43098: Goetz Isenmann: devel/m4 broken (bustage due to gnulib compat mess)
Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 25 04:39:01 2010 UTC (2 years, 2 months ago) by jklos
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Changes since 1.28: +2 -1
lines
Diff to previous 1.28 (colored)
Skip broken NaN and infinity handling on VAX. May not strictly be "correct", but VAX doesn't support NaN and infinity in its floating point, so this is just to make m4 build on VAX.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 26 15:31:42 2010 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.27: +4 -4
lines
Diff to previous 1.27 (colored)
Update to 1.4.14: * Noteworthy changes in Version 1.4.14 (2010-02-24) [stable] Released by Eric Blake, based on git version 1.4.13.* ** Fix regression introduced in 1.4.12 where executing with stdout closed could crash m4 on exit on some platforms. ** Fix regressions introduced in 1.4.13 in the `esyscmd' builtin, where closed file descriptors could interfere with child execution, and where a child status of 127 made m4 print a spurious message to stderr. ** Fix a security hole in 'make dist', present since at least M4 1.4, that could affect anybody attempting to redistribute modified sources (see Automake CVE-2009-4029). ** A number of portability improvements inherited from gnulib.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 20 09:57:37 2009 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.26: +4 -7
lines
Diff to previous 1.26 (colored)
Update to 1.4.13. Set LICENSE (gnu-gpl-v3). * Noteworthy changes in Version 1.4.13 (2009-04-01) [stable] Released by Eric Blake, based on git version 1.4.12.* ** The manual is now distributed under the terms of FDL 1.3. ** The `divert' and `undivert' builtins have been made more efficient when using temporary files for large diversions. ** The `translit' builtin has been made more efficient when the second argument is short. ** The input engine has been optimized for faster processing. ** The command line option `--debugfile', introduced in 1.4.7, now treats its argument as optional, in order to allow setting the debug output back to stderr when used without an argument; and order is now significant with respect to command line files. You must therefore use `m4 --debugfile=trace file', not `m4 file --debugfile trace'. This change does not affect the deprecated `-o'/`--error-output' option. ** The `syscmd' and `esyscmd' builtins can be configured to use an alternate shell, via the new `configure' option `--with-syscmd-shell'. ** A number of portability improvements inherited from gnulib.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 24 12:37:37 2008 UTC (3 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Changes since 1.25: +2 -1
lines
Diff to previous 1.25 (colored)
Add build fix for Interix-3.5, from Bruno Haible.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 14 12:29:11 2008 UTC (3 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.24: +5 -17
lines
Diff to previous 1.24 (colored)
Update to 1.4.12: * Noteworthy changes in Version 1.4.12 (2008-10-10) [stable] Released by Eric Blake, based on git version 1.4.11.* ** Fix regression introduced in 1.4.4b where using `traceon' could delete a macro. This was most noticeable with `traceon(`traceon')', but would also happen in cases such as `foo(traceon(`foo'))'. ** Fix regression introduced in 1.4.7 where `m4 -N9' died with an assertion failure. ** Fix regression introduced in 1.4.11 where `defn' died with an assertion failure on a traced but undefined macro. ** New `-g'/`--gnu' command-line option overrides `-G'/`--traditional'. For now, the environment variable POSIXLY_CORRECT has no effect on M4 behavior; but a future release of M4 will behave as though --traditional is implied if POSIXLY_CORRECT is set (this future change is necessary, because in the current release, there is no way to disable GNU extensions that conflict with POSIX without the use of a non-POSIX command-line argument). Clients of M4 that want to use GNU extensions, even when POSIXLY_CORRECT is set, should start using the -g command-line argument, even though it is currently a no-op if -G did not appear earlier in the command line, so that the client will not break in the face of an upgraded m4 and a POSIXLY_CORRECT execution environment. ** The `-L'/`--nesting-limit' command-line option now defaults to 0 for unlimited on platforms that can detect and deal with stack overflow. On systems that lack alternate stack support, such as Cygwin, and on systems that do not obey the POSIX semantics for distinguishing stack overflow from other exceptions, such as Linux, you can optionally install the libsigsegv library (version 2.6 or newer recommended) to enhance m4's ability to accurately report stack overflow: http://www.gnu.org/software/libsigsegv/ ** A number of portability improvements inherited from gnulib.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 23 16:07:50 2008 UTC (3 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.23: +11 -1
lines
Diff to previous 1.23 (colored)
Add patches fixing build on Solaris. From Eric Blake via Daniel Vergien.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 29 13:54:55 2008 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper
Changes since 1.22: +4 -1
lines
Diff to previous 1.22 (colored)
Fix build on DragonFly using Matt Dillon's patch. http://apollo.backplane.com/DFlyMisc/pkgsrc-devel-m4.patch
Revision 1.20.6.1 / (download) - annotate - [select for diffs], Sun Apr 13 11:45:17 2008 UTC (4 years, 1 month ago) by spz
Branch: pkgsrc-2008Q1
Changes since 1.20: +4 -7
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
Pullup ticket 2331 - requested by wiz
security update for m4
Revisions pulled up:
- pkgsrc/devel/m4/Makefile 1.53
- pkgsrc/devel/m4/PLIST 1.10
- pkgsrc/devel/m4/distinfo 1.21
- pkgsrc/devel/m4/patches/patch-aa removed
- pkgsrc/devel/m4/patches/patch-ab removed
- pkgsrc/devel/m4/patches/patch-ac removed
Module Name: pkgsrc
Committed By: wiz
Date: Fri Apr 11 06:08:43 UTC 2008
Modified Files:
pkgsrc/devel/m4: Makefile PLIST distinfo
Removed Files:
pkgsrc/devel/m4/patches: patch-aa patch-ab patch-ac
Log Message:
Update to 1.4.11:
* Noteworthy changes in Version 1.4.11 (2008-04-02) [stable]
Released by Eric Blake, based on git version 1.4.10a
** Security fixes for the -F option, for bugs present since -F was
introduced in 1.3: Avoid core dump with 'm4 -F file -t undefined', and
avoid arbitrary code execution with certain file names.
** Fix regression introduced in 1.4.9b in the `divert' builtin when more
than 512 kibibytes are saved in diversions on platforms like NetBSD
or darwin where fopen(name,"a+") seeks to the end of the file.
** The output of the `maketemp' and `mkstemp' builtins is now quoted if a
file was created. This is a minor security fix, because it was possible
(although rather unlikely) that an unquoted string could match an
existing macro name, such that use of the `mkstemp' output would trigger
inadvertent macro expansion and operate on the wrong file name.
** Enhance the `defn' builtin to support concatenation of multiple text
arguments, as required by POSIX. However, at this time, it is not
possible to concatenate a builtin macro with anything else; a warning is
now issued if this is attempted, although a future version of M4 may
lift this restriction to match other implementations.
** Enhance the `format' builtin to parse all C99 floating point numbers,
even on platforms where strtod(3) is buggy, although the replacement
function does have the known issue of rounding errors when parsing
some decimal floating point values. This fixes testsuite failures
introduced in 1.4.9b.
** Enhance the `index' builtin to guarantee linear behavior, in spite of
the surprisingly large number of systems with a brain-dead quadratic
strstr(3).
** A number of portability improvements inherited from gnulib.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 13 00:51:59 2008 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.21: +2 -1
lines
Diff to previous 1.21 (colored)
Add patch from Bruno Haible (upstream) fixing two of the included gnulib tests that were broken on NetBSD-4.99.58/amd64. Bump PKGREVISION.
Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 11 06:08:43 2008 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.20: +4 -7
lines
Diff to previous 1.20 (colored)
Update to 1.4.11: * Noteworthy changes in Version 1.4.11 (2008-04-02) [stable] Released by Eric Blake, based on git version 1.4.10a ** Security fixes for the -F option, for bugs present since -F was introduced in 1.3: Avoid core dump with 'm4 -F file -t undefined', and avoid arbitrary code execution with certain file names. ** Fix regression introduced in 1.4.9b in the `divert' builtin when more than 512 kibibytes are saved in diversions on platforms like NetBSD or darwin where fopen(name,"a+") seeks to the end of the file. ** The output of the `maketemp' and `mkstemp' builtins is now quoted if a file was created. This is a minor security fix, because it was possible (although rather unlikely) that an unquoted string could match an existing macro name, such that use of the `mkstemp' output would trigger inadvertent macro expansion and operate on the wrong file name. ** Enhance the `defn' builtin to support concatenation of multiple text arguments, as required by POSIX. However, at this time, it is not possible to concatenate a builtin macro with anything else; a warning is now issued if this is attempted, although a future version of M4 may lift this restriction to match other implementations. ** Enhance the `format' builtin to parse all C99 floating point numbers, even on platforms where strtod(3) is buggy, although the replacement function does have the known issue of rounding errors when parsing some decimal floating point values. This fixes testsuite failures introduced in 1.4.9b. ** Enhance the `index' builtin to guarantee linear behavior, in spite of the surprisingly large number of systems with a brain-dead quadratic strstr(3). ** A number of portability improvements inherited from gnulib.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 29 14:36:46 2007 UTC (4 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Branch point for: pkgsrc-2008Q1
Changes since 1.19: +3 -1
lines
Diff to previous 1.19 (colored)
Override gnulib's fflush.c on DragonFly with a far less intrusive versions. This is still in discussion with upstream, but working m4 is critical, so apply this stop-gap solution. It works on the other BSD derived stdio implementations as well, if you want to switch.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 22 06:34:41 2007 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.18: +5 -5
lines
Diff to previous 1.18 (colored)
Update to 1.4.10nb1. Like previous update to 1.4.10, but includes a patch from Eric Blake that fixes the problem that appeared e.g. in dosbox or mng.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 20 22:52:44 2007 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.17: +4 -3
lines
Diff to previous 1.17 (colored)
Revert update to 1.4.10 because it seems to break autoconf. (breaking mng, firefox, thunderbird, dosbox and probably others)
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 19 22:13:43 2007 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.16: +4 -5
lines
Diff to previous 1.16 (colored)
Update to 1.4.10. Add commented out LICENSE=GPLv3 line. Version 1.4.10 - 09 Jul 2007, by Eric Blake (CVS version 1.4.9c) * Upgrade from GPL version 2 to GPL version 3 or later. * A number of portability improvements inherited from gnulib. * Avoid undefined behavior introduced in 1.4.9b in the `format' builtin when handling %c. However, this area of code has never been documented, and currently does not match the POSIX behavior of printf(1), so it may have further changes in the next version. Version 1.4.9b - 29 May 2007, by Eric Blake (CVS version 1.4.9a) * Fix regression introduced in 1.4.9 in the `eval' builtin when performing division. * Fix regression introduced in 1.4.8 in the `-F' option that made it impossible to freeze more than 512 kibibytes of diverted text. * The synclines option `-s' no longer generates sync lines in the middle of multiline comments or quoted strings. * Work around a number of corner-case POSIX compliance bugs in various broken stdio libraries. In particular, the `syscmd' builtin behaves more predictably when stdin is seekable. * The `format' builtin now understands formats such as %a, %A, and %'hhd, and works around a number of platform printf bugs. Furthermore, the sequence format(%*.*d,-1,-1,1) no longer outputs random data. However, some non-compliant platforms such as mingw still have known bugs in strtod that may cause testsuite failures. * The testsuite is improved to also run gnulib portability tests for the features that M4 imports from gnulib.
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 24 21:51:47 2007 UTC (5 years ago) by dmcmahill
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (colored)
Fix a division bug when negative numbers are involved. Bump pkgrev.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 8 18:04:22 2007 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
Update to 1.4.9:
Version 1.4.9 - 23 Mar 2007, by Eric Blake (CVS version 1.4.8c)
* Minor documentation and portability cleanups.
Version 1.4.8b - 24 Feb 2007, by Eric Blake (CVS version 1.4.8a)
* Fix a regression introduced in 1.4.8 that made m4 unable to process
files larger than 2GiB on some platforms.
* Fix a regression introduced in 1.4.8 that made m4 dump core when
invoked as 'm4 -- file'.
* The `eval' builtin now follows C precedence rules. Additionally, the
short-circuit operators correctly short-circuit division by zero. The
previously undocumented alias of '=' meaning '==' in eval now triggers a
deprecation warning, so that a future version of M4 can implement a form
of variable assignment as an extension.
* The `include' builtin now affects exit status on failure, as required by
POSIX. Use `sinclude' if you need a successful exit status.
* The `-E'/`--fatal-warnings' command-line option now has two levels. When
specified only once, warnings affect exit status, but execution
continues, so that you can see all warnings instead of fixing them one
at a time. To acheive 1.4.8 behavior, where the first warning
immediately exits, specify -E twice on the command line.
* A new `--warn-macro-sequence' command-line option allows detection of
sequences in `define' and `pushdef' definitions that match an optional
regular expression. The default regular expression is
`\$\({[^}]*}\|[0-9][0-9]+\)', corresponding to the sequences that might
not behave correctly when upgrading to the eventual M4 2.0. By default,
M4 2.0 will follow the POSIX requirement that a macro definition
containing `$11' must expand to the first argument concatenated with 1,
rather than the eleventh argument; and will take advantage of the POSIX
wording that allows implementations to treat `${11}' as the eleventh
argument instead of literal text. Be aware that Autoconf 2.61 will not
work with this option enabled with the default regular expression; but
Autoconf 2.62 will be compatible with this option.
* Improved portability to platforms such as BSD/OS and AIX.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 4 12:46:57 2006 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4
Changes since 1.13: +4 -4
lines
Diff to previous 1.13 (colored)
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.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 2 18:08:47 2006 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
Update to 1.4.7: Version 1.4.7 - 25 September 2006, by Eric Blake (CVS version 1.4.6a) * Fix regression from 1.4.5 in handling a file that ends in a macro expansion without arguments instead of a newline. * The define and pushdef macros now warn when the first argument is not a string, rather than silently doing nothing. * Standard input can now be read more than once, as in 'm4 - file -', and is not closed until all wrapped text is handled. This makes a difference when stdin is not a regular file, and also fixes bugs when using the syscmd or esyscmd macros from wrapped text. * When standard input is a seekable file, the m4exit, syscmd, and esyscmd macros now restore the current position to the next unread byte rather than discarding an arbitrary amount of buffered data. * SysV command-line compatibility is no longer a goal of GNU M4; the focus will be instead on POSIX compatibility. This release continues to support previous usage, but adds warnings in areas which will allow a future version of GNU M4 to use its own extensions without being tied to the SysV command line interface. * The no-op compatibility command line options -B, -N, -S, -T, and --diversions may be withdrawn or assigned new meanings in future releases, so they now issue a warning if used. * A new command line option -i replaces the compatibility -e as the short spelling of --interactive, for consistency with other GNU tools; a warning is issued if the old spelling is used, and it may be assigned new meaning in future releases. * A new command line option --debugfile replaces the options -o and --error-output as the preferred spelling. The old options were misleading in their names and inconsistent with other GNU tools; they are still silently accepted, but no longer documented in --help, and may be assigned new meanings in future releases.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 3 08:56:26 2006 UTC (5 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Changes since 1.11: +4 -4
lines
Diff to previous 1.11 (colored)
Update to 1.4.6:
Version 1.4.6 - 25 August 2006, by Eric Blake (CVS version 1.4.5a)
* Fix buffer overruns in regexp and patsubst macros when handed a trailing
backslash in the replacement text, or when handling \n substitutions
beyond the number of \(\) groups.
* Fix memory leak in regexp, patsubst, and changeword macros.
* The format macro now understands %F, %g, and %G.
* When loading frozen files, m4 now exits with status 63 if version
mismatch is detected.
* Fix bugs that occurred when invoked with stdout or stderr closed,
and detect write failures to stdout or to the target of the
debugfile macro. In particular, the syscmd and esyscmd macros can
no longer interfere with the debug stream or diversions.
* The m4exit macro now converts values outside the range 0-255 to 1.
* It is now an error if a command-line input file ends in the middle of a
comment, matching the behavior of mid-string and mid-argument
collection.
* The dnl macro now warns if end of file is encountered instead of a
newline.
* The error message when end of file is encountered now uses the file and
line where the dangling construct started, rather than `NONE:0:'.
* The debugmode and __file__ macros, and the -s/--synclines option, now
show what directory a file was found in when the -I/--include option or
M4PATH variable had an effect.
* The changequote and changecom macros now work with 8-bit characters, and
quotes and comments that begin with `(' are properly recognized
following a word.
* The new macro __program__ is added, which allows the input file to issue
an error message that resembles messages from m4. Warning and error
messages have been reformatted to comply with GNU Coding Standards.
* The errprint, m4wrap, and shift macros are now recognized only with
arguments.
* The index, substr, translit, regexp, and patsubst macros now produce
output when given only one argument, but still warn about a missing
second argument.
* The patsubst macro now reliably finds zero-length matches at the end
of a string.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 18 06:34:41 2006 UTC (5 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.10: +4 -4
lines
Diff to previous 1.10 (colored)
Update to 1.4.5: Version 1.4.5 - 15 July 2006, by Eric Blake (CVS version 1.4.4c) * Fix sysval on BeOS, OS/2, and other systems that store exit status in the low-order byte. Additionally, on Unix platforms, if syscmd was terminated by a signal, sysval now displays the signal number shifted left by eight bits, to match traditional m4 implementations. * The maketemp macro is no longer subject to platform limitations (such as 26 or 32 max files from a given template). * Frozen files now require that the first directive be V (version), to better diagnose version mismatch. Additionally, if the F directive (builtin function) names an unknown builtin that existed in the m4 that froze the file but not in the current m4 (for example, changeword), the warning is deferred until an attempt is made to actually use the builtin. This allows downgrading from beta m4-1.4o to stable m4-1.4.5 without breaking autoconf. * The format and indir macros are now recognized only with arguments. * The eval macro no longer crashes on x86 architectures when dividing the minimum integer by -1. * On systems with ecvt and fcvt, format no longer truncates trailing zeroes on integers printed with %.0f. On systems without these functions, format is no longer subject to a buffer overflow that permitted arbitrary code execution. * On native Windows builds, the macro __windows__ is provided instead of __unix__. Likewise, on OS/2 builds, the macro __os2__ is provided. This allows input files to determine when syscmd might behave differently. * Fix bug in 1.4.3 patch to use \n line-endings that did not work for cygwin. * When given the empty string or 0, undivert is now documented as a no-op rather than closing stdout, warning about a non-existent file, or trying to read a directory as a file. * Many documentation improvements. Also, the manual is now distributed under FDL 1.2, rather than a stricter verbatim-only license. * Raise the -L (--nesting-limit) command line option limit from 250 to 1024. * The decr, incr, divert, m4exit, and substr macros treat an empty number as 0, issue a warning, and expand as normal; rather than issuing an error and expanding to the empty string. * The eval macro now treats an empty radix argument as 10, handles radix 1, and treats the width argument as number of digits excluding the sign, for compatibility with other m4 implementations. * The ifdef, divert, m4exit, substr, and translit macros now correctly ignore extra arguments. * The popdef and undefine macros now correctly accept multiple arguments. * Although changeword is on its last leg, if enabled, it now reverts to the default (faster) regexp when passed the empty string. * The regexp and substr macros now warn and ignore a trailing backslash in the replacement, and warn on \n for n larger than the number of sub-expressions in the regexp. Version 1.4.4b - 17 June 2006, by Eric Blake (CVS version 1.4.4a) * Fix a recursive push_string crashing bug, which affected changequote of three or more characters on some compilers. * Use automake to fix build portability issues. * Fix a recursive m4wrap crashing bug. * Fix a 1 in 2**32 hash crashing bug. * Tracing a macro by name is now persistent, even if the macro is subsequently undefined or redefined. The traceon and traceoff macros no longer warn about undefined symbols. This solves a crash when using indir on an undefined macro traced with the -t option, as well as an incorrect result of ifdef. Furthermore, tracing is no longer transferred with builtins, solving the bug of "m4 -tm4_eval" failing to give trace output on the input "define(`m4_eval',defn(`eval'))m4_eval(1)". * Fix a crash when a macro is undefined while collecting its arguments, by always using the definition that was in effect before argument collection. This behavior matches the C pre-processor, and means that the sequence "define(`f',`1')f(define(`f',`2'))f" is now documented to result in "12", rather than the previously undocumented "22". * Update the regex engine to fix several bugs. * Fix a potential crash on machines where char is signed.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 25 13:14:32 2005 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Changes since 1.9: +4 -7
lines
Diff to previous 1.9 (colored)
Update to 1.4.4: Version 1.4.4 - October 2005, by Gary V. Vaughan * ./configure --infodir=/usr/share/info now works correctly. * When any file named on the command line is missing exit with status 1.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 5 09:24:39 2005 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Changes since 1.8: +4 -5
lines
Diff to previous 1.8 (colored)
Update to 1.4.3: Version 1.4.3 - March 2005, by Gary V. Vaughan * DESTDIR installs now work correctly. * Don't segfault with uncompilable regexps to changeword(). * Always use \n line-endings for frozen files (fixes a cygwin bug). * Portability fix for systems lacking mkstemp(3). * Approximately 20% speed up in the common case of usage with autoconf. * Supported on QNX 6.3.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 23 22:24:21 2005 UTC (7 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Changes since 1.7: +2 -1
lines
Diff to previous 1.7 (colored)
Add RMD160 digests.
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Nov 2 10:53:15 2004 UTC (7 years, 6 months ago) by agc
Branch: pkgsrc-2004Q3
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Solaris Portability Pullup - requested by Grant Beattie portability fix for m4 Module Name: pkgsrc Committed By: gavan Date: Tue Oct 26 17:00:44 UTC 2004 Modified Files: pkgsrc/devel/m4: Makefile distinfo Log Message: Update to 1.4.2: * configure.in (VERSION): Bump to 1.4.2. * NEWS: Describe 1.4.2's changes. * src/m4.c (reference_error): Preserve errno, since M4ERROR relies on this. * src/builtin.c (m4_esyscmd): Clear errno before calling popen. (m4_maketemp): Clear errno before calling mkstemp. * src/path.c (path_search): Don't let "free" trash errno when returning NULL. * src/output.c (insert_file): Don't assume errno has a valid value simply because fread returns zero. This fixes a portability bug reported by Marion Hakanson in <http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html>. Fixes PR pkg/27301.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 26 17:00:44 2004 UTC (7 years, 6 months ago) by gavan
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
Update to 1.4.2: * configure.in (VERSION): Bump to 1.4.2. * NEWS: Describe 1.4.2's changes. * src/m4.c (reference_error): Preserve errno, since M4ERROR relies on this. * src/builtin.c (m4_esyscmd): Clear errno before calling popen. (m4_maketemp): Clear errno before calling mkstemp. * src/path.c (path_search): Don't let "free" trash errno when returning NULL. * src/output.c (insert_file): Don't assume errno has a valid value simply because fread returns zero. This fixes a portability bug reported by Marion Hakanson in <http://lists.gnu.org/archive/html/bug-m4/2004-07/msg00029.html>. Fixes PR pkg/27301.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 20 07:58:20 2004 UTC (7 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base
Branch point for: pkgsrc-2004Q3
Changes since 1.5: +5 -5
lines
Diff to previous 1.5 (colored)
Changes 1.4.1: * maketemp now creates an empty file with the given name, instead of merely returning the name of a nonexistent file. This closes a security hole. (Now it builds on Darwin/MacOSX; no more 'sigstack' linking error.)
Revision 1.5 / (download) - annotate - [select for diffs], Sat May 8 01:59:07 2004 UTC (8 years ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
Make sure this m4.info file is really installed to INFO_DIR.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 23 14:44:43 2003 UTC (8 years, 8 months ago) by salo
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base,
pkgsrc-2004Q1,
pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
Make sure that only base name of the make program is used to construct the variable name. Fixes build on bootstrap-pkgsrc systems, closes pkg/22918 from MLH.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 23 20:08:50 2002 UTC (9 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base,
netbsd-1-6-1
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
Honor GNU_PROGRAM_PREFIX; install gm4 in any case for pkgsrc use. Change share dirname from gm4 to m4 to match PKGNAME. Bump PKGREVISION to 1.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 21 00:44:30 2001 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgviews-base,
pkgviews,
netbsd-1-6-RELEASE-base,
netbsd-1-6,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH001,
buildlink2-base,
buildlink2
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored)
Move to sha1 digests, and/or add distfile sizes.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 17 11:07:34 2001 UTC (11 years, 1 month ago) by agc
Branch: MAIN
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo