History log of /src/usr.bin/m4/misc.c |
Revision | | Date | Author | Comments |
1.25 |
| 06-Oct-2024 |
rillig | usr.bin: fix lint warning about "effectively discards 'const'"
No binary change.
|
1.24 |
| 16-Jan-2016 |
christos | record all input for fake freeze
|
1.23 |
| 20-Mar-2012 |
matt | Use C89 function definitions
|
1.22 |
| 06-Sep-2011 |
joerg | branches: 1.22.2; Move usage and onintr to make them static. Add __dead as needed.
|
1.21 |
| 05-Mar-2011 |
christos | use TOKEN_LINE from MirBSD
|
1.20 |
| 06-Nov-2009 |
joerg | Fix __progname mess.
|
1.19 |
| 26-Oct-2009 |
christos | resolve conflicts.
|
1.18 |
| 05-Oct-2007 |
lukem | Convert to using raise_default_signal(3).
|
1.17 |
| 20-Jun-2004 |
jmc | branches: 1.17.18; Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.16 |
| 07-Aug-2003 |
agc | branches: 1.16.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.15 |
| 31-Jan-2002 |
tv | Protect __RCSID and __COPYRIGHT from being invoked if not defined.
|
1.14 |
| 21-Jan-2002 |
tv | Make compilable from src/tools/m4 on non-NetBSD hosts.
|
1.13 |
| 14-Nov-2001 |
tv | Get first getopt string right; provide better usage message.
|
1.12 |
| 14-Nov-2001 |
tv | 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.
|
1.11 |
| 05-Mar-2001 |
wiz | Fix appearance of bogus 0xff at EOF reported by me in bin/12287.
|
1.10 |
| 08-May-2000 |
tv | branches: 1.10.4; Add -P to the usage message (forgot this, long ago).
|
1.9 |
| 29-Dec-1997 |
cgd | 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.
|
1.8 |
| 02-Dec-1997 |
cgd | 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.)
|
1.7 |
| 19-Oct-1997 |
lukem | branches: 1.7.2; WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register
|
1.6 |
| 28-Sep-1995 |
tls | Sync with 4.4BSD-Lite2
|
1.5 |
| 19-Jun-1994 |
glass | upgrade to 4.4-lite m4. no local changes of note
|
1.4 |
| 30-Oct-1993 |
glass | latest m4 from ozan. now does the right thing w/respect to sendmail
|
1.3 |
| 02-Aug-1993 |
mycroft | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
1.2 |
| 18-Jun-1993 |
glass | baseline of new version of m4 supplied by Ozan Yigit, original author of the broken m4 we had. This is his stuff virgin + our Makefile.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.3 |
| 26-Oct-2009 |
christos | Import new m4 from OpenBSD.
|
1.1.1.2 |
| 28-Sep-1995 |
tls | imported from 44lite2
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.2.1 |
| 29-Jan-1998 |
mellon | Pull up 1.8 and 1.9 (cgd)
|
1.10.4.1 |
| 20-Mar-2002 |
he | Pull up revision 1.11 (requested by jmc): Fix a conversion bug internal to m4 which causes it to output 0xff as the last byte of output.
|
1.16.2.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.17 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.17.18.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.22.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|