------------------------------------------------------------------- Mon Nov 26 13:24:51 CET 2007 - schwab@suse.de - Remove broken tests. ------------------------------------------------------------------- Tue Jul 10 13:55:30 CEST 2007 - schwab@suse.de - Update to m4 1.4.10. * 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. ------------------------------------------------------------------- Fri Mar 23 23:31:50 CET 2007 - schwab@suse.de - Update to m4 1.4.9. * Minor documentation and portability cleanups. ------------------------------------------------------------------- Mon Dec 4 11:13:03 CET 2006 - schwab@suse.de - Update to m4 1.4.8. * 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. ------------------------------------------------------------------- Mon Sep 25 15:39:25 CEST 2006 - schwab@suse.de - Update to m4 1.4.6. * 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. ------------------------------------------------------------------- Sat Aug 26 09:20:43 CEST 2006 - schwab@suse.de - Update to m4 1.4.6. * 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. ------------------------------------------------------------------- Mon Jul 17 13:30:00 CEST 2006 - schwab@suse.de - Update to m4 1.4.5. * 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. * 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. ------------------------------------------------------------------- Wed Jan 25 21:30:29 CET 2006 - mls@suse.de - converted neededforbuild to BuildRequires ------------------------------------------------------------------- Fri Oct 21 14:38:36 CEST 2005 - schwab@suse.de - Update to m4 1.4.4. ------------------------------------------------------------------- Tue May 31 22:34:37 CEST 2005 - schwab@suse.de - Fix signedness issue when matching comment or quote characters. ------------------------------------------------------------------- Thu Mar 31 17:58:01 CEST 2005 - schwab@suse.de - Update to m4 1.4.3. ------------------------------------------------------------------- Sun Sep 5 17:10:11 CEST 2004 - schwab@suse.de - Speed up parsing by inlining out the common part of next_char(). ------------------------------------------------------------------- Sat Aug 21 15:53:39 CEST 2004 - schwab@suse.de - Update to m4 1.4.2. ------------------------------------------------------------------- Mon Jun 14 22:07:39 CEST 2004 - schwab@suse.de - Update to m4 1.4.1. ------------------------------------------------------------------- Thu Feb 19 10:31:35 CET 2004 - kukuk@suse.de - Cleanup neededforbuild ------------------------------------------------------------------- Wed Jan 7 17:20:10 CET 2004 - schwab@suse.de - Fix quoting for autoconf. - Use newer version of the gettext macros. ------------------------------------------------------------------- Tue May 13 12:03:05 CEST 2003 - schwab@suse.de - Add %defattr. - Fix file list. ------------------------------------------------------------------- Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de - fix install_info --delete call and move from preun to postun ------------------------------------------------------------------- Mon Apr 7 13:12:00 CEST 2003 - schwab@suse.de - Only delete info entries when removing last version. ------------------------------------------------------------------- Thu Feb 6 17:49:19 CET 2003 - schwab@suse.de - Use %install_info. ------------------------------------------------------------------- Mon Nov 18 11:40:25 CET 2002 - schwab@suse.de - Remove mangling of LIBOBJS. - Don't clobber po/Makefile. - Clean up neededforbuild. - Use AM_GNU_GETTEXT_VERSION. - Fix some warnings from automake. ------------------------------------------------------------------- Sat Mar 30 19:44:58 CET 2002 - schwab@suse.de - Fix for new autoconf. ------------------------------------------------------------------- Wed Feb 6 10:19:01 CET 2002 - schwab@suse.de - Gettextize to work with new gettext. ------------------------------------------------------------------- Thu Oct 4 10:44:09 CEST 2001 - schwab@suse.de - Fix for automake 1.5. ------------------------------------------------------------------- Sat Jul 21 20:54:58 CEST 2001 - schwab@suse.de - Run autoconf in libltdl. - Fix libltdl/configure.in for autoconf 2.50+. ------------------------------------------------------------------- Fri Jun 1 16:51:55 CEST 2001 - schwab@suse.de - Fix for new configure tools. ------------------------------------------------------------------- Thu Mar 22 18:51:02 CET 2001 - ro@suse.de - added split-aliases as provides ------------------------------------------------------------------- Thu Mar 8 13:01:59 CET 2001 - schwab@suse.de - Don't use regex from libc5. ------------------------------------------------------------------- Wed Mar 7 18:18:00 CET 2001 - schwab@suse.de - Split from base.