History log of /netbsd/usr.bin/m4/extern.h (Results 1 – 20 of 20)
Revision Date Author Comments
# 91da35f3 25-Jun-2020 uwe <uwe@NetBSD.org>

Fix --error-output to be more like GNU m4.

GNU m4 --error-output is the same as -o despite the name. It does NOT
affect warnings, error messages, and 'errprint' output so drop the
misguided bit of

Fix --error-output to be more like GNU m4.

GNU m4 --error-output is the same as -o despite the name. It does NOT
affect warnings, error messages, and 'errprint' output so drop the
misguided bit of code that tried to freopen stderr without closing it
on failure. Drop -e (which was our local invention) and make merge
--error-output with -o so that both set traceout. Make trace_file()
preserve the old traceout on error and return error status so that the
caller can emit appropriate warning.

Do not yet support disabling tracing with an empty name, the rest of
the code is not ready, we don't do -o positionally and we don't have
`debugfile'.

show more ...


# dc5f6a05 16-Jan-2016 christos <christos@NetBSD.org>

add nesting_limit


# 18f223a4 16-Jan-2016 christos <christos@NetBSD.org>

- declarations for real/fake freeze
- add new flags


# f423c687 29-Jan-2015 christos <christos@NetBSD.org>

delete extern


# 85ebf103 15-Mar-2012 joerg <joerg@NetBSD.org>

Add __printflike attribution to use vprintf and friends with an argument
as format string.


# 05c2f996 06-Sep-2011 joerg <joerg@NetBSD.org>

Move usage and onintr to make them static. Add __dead as needed.


# 7b2c561b 26-Oct-2009 christos <christos@NetBSD.org>

fix prototype


# f3efdb75 26-Oct-2009 christos <christos@NetBSD.org>

resolve conflicts.


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/com

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).

show more ...


# 89aaa1bb 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.


# 9fbd8888 31-Jan-2002 tv <tv@NetBSD.org>

Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __C

Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.

show more ...


# 279abfc5 21-Jan-2002 tv <tv@NetBSD.org>

Make compilable from src/tools/m4 on non-NetBSD hosts.


# 650b2f0a 14-Nov-2001 tv <tv@NetBSD.org>

Get first getopt string right; provide better usage message.


# 4b087712 14-Nov-2001 tv <tv@NetBSD.org>

Pull in various changes from OpenBSD, most from Marc Espie, including:
* Provide some GNUisms as extensions.
* Provide dynamically growable string space.
* Make define(defn(foo)) work correctly for b

Pull in various changes from OpenBSD, most from Marc Espie, including:
* Provide some GNUisms as extensions.
* Provide dynamically growable string space.
* Make define(defn(foo)) work correctly for builtins.
(The current version is supposed to be capable of satisfying autoconf.)

All still relevant NetBSD changes have been preserved in this version, and
formatting and style fixes have been applied in various places.

Thanks to Masao Uebayashi <uebayasi@soum.co.jp> for pointing this out.

show more ...


# 86cd94fb 29-Dec-1997 cgd <cgd@NetBSD.org>

fix an inconsistency between signed- and unsigned-char machines:
make sure that pushed-back 0xff character isn't accidentally
interpreted as an EOF because of sign extension when chars were being
ass

fix an inconsistency between signed- and unsigned-char machines:
make sure that pushed-back 0xff character isn't accidentally
interpreted as an EOF because of sign extension when chars were being
assigned to pbents. (signed-char machines lost.) To do this, make
putback() and pbstr() operate only on unsigned chars, and add a
putbackeof() function to do the obvious thing when necessary.

show more ...


# e4d74996 02-Dec-1997 cgd <cgd@NetBSD.org>

add a typedef which describes elements in the push-back buffer. Make
that typedef 'short'. 'char' (which was previously used) because char
may be unsigned and ((char)EOF) != EOF if that is the case

add a typedef which describes elements in the push-back buffer. Make
that typedef 'short'. 'char' (which was previously used) because char
may be unsigned and ((char)EOF) != EOF if that is the case. That was
causing the (char)EOF (0xff) pushed back in main to be interepreted as
a character, and, in some cases, to be written to the output. 'short'
was used rather than 'signed char' because if the latter is used,
0xff characters in the input would confuse m4. (No point in introducing
(more?) 8-bit lossage.)

show more ...


# 6f9ec05a 19-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register


# e09468dc 13-Jan-1996 pk <pk@NetBSD.org>

Handle multichar comment and quote delimiters (up to 5 characters, per the
manual page). Takes care of PR#485.


# 8ddb7345 28-Sep-1995 tls <tls@NetBSD.org>

Sync with 4.4BSD-Lite2


# a7c89f0f 19-Jun-1994 glass <glass@NetBSD.org>

upgrade to 4.4-lite m4. no local changes of note