The NetBSD Project

CVS log for src/usr.bin/m4/main.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / m4

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Jul 7 10:40:46 2020 UTC (3 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.48: +8 -18 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pull up following revision(s) (requested by uwe in ticket #981):

	usr.bin/m4/m4.1: revision 1.28
	usr.bin/m4/m4.1: revision 1.29
	usr.bin/m4/extern.h: revision 1.20
	usr.bin/m4/main.c: revision 1.49
	usr.bin/m4/m4.1: revision 1.30
	usr.bin/m4/trace.c: revision 1.9
	usr.bin/m4/main.c: revision 1.50

Try not to lose error output with --error-output.

Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output.  This actually
happens on some hosts, breaking --trace output used by autoconf.

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'.

Fix --error-output to be more like GNU m4.  It's a long version of -o.

Bump date for previous.

Use a date that is actually a real date.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 25 02:25:53 2020 UTC (3 years, 9 months ago) by uwe
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.49: +8 -29 lines
Diff to previous 1.49 (colored)

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'.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 24 16:49:30 2020 UTC (3 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.48: +13 -2 lines
Diff to previous 1.48 (colored)

Try not to lose error output with --error-output.

Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output.  This actually
happens on some hosts, breaking --trace output used by autoconf.

Revision 1.46.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:21 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.46: +20 -6 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Tue Mar 26 16:41:06 2019 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp
Branch point for: netbsd-9
Changes since 1.47: +9 -3 lines
Diff to previous 1.47 (colored)

fix use-after-free issue.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 26 15:00:34 2019 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.46: +13 -5 lines
Diff to previous 1.46 (colored)

Behave like gnu m4; when the error output file cannot be opened, just warn
and keep going.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jan 23 14:24:43 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.45: +7 -2 lines
Diff to previous 1.45 (colored)

Explain what REDIRECT is for.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 16 21:12:27 2016 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

fix the option string.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jan 16 18:33:35 2016 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

mention that nesting limit is unimplemented

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jan 16 18:31:29 2016 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.42: +185 -33 lines
Diff to previous 1.42 (colored)

add most gnu m4 long options

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:08:25 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon May 7 16:26:47 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Pull up following revision(s) (requested by christos in ticket #217):
	usr.bin/m4/main.c: revision 1.42
Fix wrong loop index leading to infinite loop
ifdef(`FOO',
)
XXX: Pullup to 6.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 25 18:23:58 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix wrong loop index leading to infinite loop
ifdef(`FOO',
# FOO
)
XXX: Pullup to 6.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Sep 6 18:16:01 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.40: +18 -3 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 14 12:59:25 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

kill gcc-4.5 warning

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 6 15:13:27 2009 UTC (14 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

Fix __progname mess.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 26 21:11:28 2009 UTC (14 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.37: +205 -226 lines
Diff to previous 1.37 (colored)

resolve conflicts.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon Oct 26 21:08:59 2009 UTC (14 years, 5 months ago) by christos
Branch: WFJ-920714, OPENBSD, CSRG
CVS Tags: OPENBSD20091026
Changes since 1.1.1.2: +421 -213 lines
Diff to previous 1.1.1.2 (colored)

Import new m4 from OpenBSD.

Revision 1.36.22.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:15 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 21 14:19:24 2008 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jun 7 09:25:00 2005 UTC (18 years, 10 months ago) by he
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

Initialize a local variable to appease -Wuninitialized.
Marked with XXXGCC for sun2 (found while compiling for it).

Reviewed by lukem.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 07:23:25 2004 UTC (19 years, 10 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Pull up revision 1.35 (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

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 20 22:20:16 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 7 11:14:32 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.33: +3 -7 lines
Diff to previous 1.33 (colored)

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

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

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 2 14:24:06 2002 UTC (21 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Really fix -P.
Fixes regression failure, and thus my PR #16225.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Wed Mar 20 21:48:46 2002 UTC (22 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pull up revision 1.25 (requested by jmc):
  Fix a conversion bug internal to m4 which causes it to output
  0xff as the last byte of output.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 5 15:37:35 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored)

Put `klen' and `newk' back in local block so that their scope is limited.
(Reduces 1.31 to a one-line diff from 1.30.)

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 4 13:16:03 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.30: +7 -7 lines
Diff to previous 1.30 (colored)

fix -P (which was broken in rev 1.29)

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 31 19:36:47 2002 UTC (22 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Protect __RCSID and __COPYRIGHT from being invoked if not defined.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 21 21:49:58 2002 UTC (22 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.28: +8 -6 lines
Diff to previous 1.28 (colored)

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

Revision 1.28 / (download) - annotate - [select for diffs], Wed Nov 14 14:57:04 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Get first getopt string right; provide better usage message.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 14 06:16:09 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.26: +296 -155 lines
Diff to previous 1.26 (colored)

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.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 5 20:26:18 2001 UTC (23 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Sprinkle some const, and rename a shadow-variable.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 5 20:19:54 2001 UTC (23 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Fix appearance of bogus 0xff at EOF reported by me in bin/12287.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 18 17:23:18 2000 UTC (23 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

couple more whitespace fixes, by Nathan Ahlstrom

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 16 02:49:20 1999 UTC (24 years, 8 months ago) by enami
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Changes since 1.22: +9 -8 lines
Diff to previous 1.22 (colored)

Always unlink the temporary file created by mkstemp(3).

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 23 19:09:35 1999 UTC (24 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.21: +21 -6 lines
Diff to previous 1.21 (colored)

Implement the very useful `-P' option from GNU's m4 (causes all builtin
macros to be prefixed with the string `m4_').

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 20 08:05:52 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored)

use mkstemp.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 19 19:54:26 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

char -> unsigned char

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 1 03:16:49 1998 UTC (25 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

add -Dunix to CPPFLAGS to suppress cpp warning.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 30 23:50:28 1998 UTC (25 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

try another way of fixing #if defined(unix) issues

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 30 23:22:30 1998 UTC (25 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Nuke unix symbol warning differently (I've used wrong compiler to check
in previous commit).

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 1 13:54:49 1998 UTC (25 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Need <stdlib.h> for mktemp() prototype.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Jan 29 10:52:02 1998 UTC (26 years, 2 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up 1.14 and 1.15 (cgd)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 29 19:52:56 1997 UTC (26 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 2 22:34:02 1997 UTC (26 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

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.)

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 19 04:40:00 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.12: +78 -77 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 8 23:54:49 1997 UTC (27 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.11: +19 -9 lines
Diff to previous 1.11 (colored)

handle quoted strings in quoted strings properly, when using multicharacter
quotes.  E.g. if left quote was "``" and right quote was "''", then
"``foo ``bar'' baz''" would yield "foo `bar' baz" when it should yield
"foo ``bar'' baz".

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 13 23:25:26 1996 UTC (28 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.10: +62 -14 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 29 00:27:51 1995 UTC (28 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

change #ifdef unix's to also accept __NetBSD__.  After 1.1 (per a
decision made a long time ago), 'unix' will no longer be defined, and
is not currently defined on some architectures.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 28 05:37:36 1995 UTC (28 years, 6 months ago) by tls
Branch: MAIN
Changes since 1.8: +6 -0 lines
Diff to previous 1.8 (colored)

Sync with 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 28 04:33:43 1995 UTC (28 years, 6 months ago) by tls
Branch: WFJ-920714, OPENBSD, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +94 -154 lines
Diff to previous 1.1.1.1 (colored)

imported from 44lite2

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 19 03:58:38 1994 UTC (29 years, 10 months ago) by glass
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.7: +360 -838 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 3 05:16:21 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.6: +9 -4 lines
Diff to previous 1.6 (colored)

'official' patch from Ozan S. Yigit <oz@ursa.sis.yorku.ca>:
bug:if there are multiple files on the command line, file index is not
reset properly, ie. it falls off the side. sigh. also, somewhere along
the line, i again lost the proper m4wrap/autodiversion semantics
[sorry, eric. :-|] but fixed with this patch.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 2 17:42:17 1993 UTC (30 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Don't dump core when processing more than one file.
Bugfix has been forwarded to Ozan, and should be in his next release.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 30 00:28:47 1993 UTC (30 years, 5 months ago) by glass
Branch: MAIN
Changes since 1.4: +1 -15 lines
Diff to previous 1.4 (colored)

latest m4 from ozan.  now does the right thing w/respect to sendmail

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 2 17:54:43 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +4 -0 lines
Diff to previous 1.3 (colored)

Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 18 22:19:21 1993 UTC (30 years, 10 months ago) by glass
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.2: +10 -0 lines
Diff to previous 1.2 (colored)

fixed compilation, and mktemp usage problem

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 18 21:50:32 1993 UTC (30 years, 10 months ago) by glass
Branch: MAIN
Changes since 1.1: +749 -337 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, OPENBSD, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>