gshapiro
2bd097707a
String operations could silently truncate long strings, leaving the output
...
corrupted. Mark's patch fixes this be removing the MAXTOK limitation on
substring operations and allowing the putback buffer size to be the limiting
factor. If the putback buffer size if reached, m4 gives an error instead of
silently truncating the string.
PR: bin/26619
Submitted by: Mark Peek <mark-ml@whistle.com>
MFC after: 5 days
2001-05-18 18:35:34 +00:00
gshapiro
b98e4b4150
Clean up temporary file(s) and directory when m4 exits without falling
...
through main() (e.g., signals or calls to errx()).
PR: conf/25715
2001-04-16 18:36:35 +00:00
jhay
93890b0f65
The secure temporary directory is always created, so always remove it.
2001-02-28 19:21:44 +00:00
kris
c34bf3aa83
Fix format string warnings.
...
Submitted by: nra
Obtained from: NetBSD
2000-11-27 04:26:39 +00:00
kris
83ed764765
Create temporary files in a secure directory, instead of using multiple
...
filenames based on a single invocation of mktemp() in /tmp, which is
easily predictable after the first one.
Audited by: markm
2000-11-22 11:09:30 +00:00
ru
0957874304
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
imp
bb9a721597
getopt and friends are declared in <unistd.h>
...
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
imp
b2c5f09d38
Remove unnecessary extern definition of strrchr. It is defined in
...
string.h, which already was included.
2000-08-16 16:39:42 +00:00
kris
0bd1e877d6
Typo
...
Obtained from: OpenBSD
1999-11-15 03:13:23 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
mpp
d8ec3b9266
Various man page cleanup:
...
- Sort xrefs
- Be consistent with section names as outlines in mdoc(7).
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:25:34 +00:00
steve
99a7d77fae
Change the wording to reflect that only the first character of the two
...
arguments to changequote are significant.
PR: 8282
1998-12-13 23:15:50 +00:00
steve
371cfe76d7
Make the builtin unix macro work as it should (well like Solaris's,
...
GNU's, and OSF1's).
1998-09-07 22:09:13 +00:00
rnordier
bc7ad8c941
Correct typo: loosing --> losing
1998-06-26 14:25:18 +00:00
charnier
1bf317d31f
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
jlemon
cec5ceda71
divnum is no longer silently restricted to the range 0..9. (cf: 4098)
...
changequote(,) is now a synonym for changequote(). (cf: 803)
buffer size for translit() enlarged to handle a full string
PR: 803, 4098
1997-08-18 21:01:45 +00:00
charnier
27fc3ee4eb
Use err(3) instead of local redefinition. Remove progname.
1997-07-23 06:50:06 +00:00
peter
1a608ac729
kill the undead
1997-07-13 14:26:00 +00:00
bde
4aa216fc4c
The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this
...
unused Makefile.
1997-07-13 07:58:56 +00:00
bde
6e7c2bea71
This commit was generated by cvs2svn to compensate for changes in r27241,
...
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
bde
e5748dd1c9
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
...
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
bde
59244805cf
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
...
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
joerg
3c00d09fbb
Make the $@ macro behave as described in the man page.
...
This patch has been submitted by Andreas Burmester (i think) on the
German Usenet long ago. Andreas told me that our m4 has quite more
subtle bugs, so we might consider using NGU m4 instead.
1997-04-13 17:51:32 +00:00
jmallett
06261dfa48
Import OpenBSD m4 as of today.
1997-04-04 18:41:29 +00:00
jmallett
540436d6e4
This commit was generated by cvs2svn to compensate for changes in r24628,
...
which included commits to RCS files with non-trunk default branches.
1997-04-04 18:41:29 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
mpp
4912fda446
Typo fix.
...
Obtained from: NetBSD-bugs PR# 3214
1997-02-12 13:50:02 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jmallett
2bf434b001
Import OpenBSD m4 as of today.
1996-06-26 05:36:21 +00:00
jmallett
02025a1188
This commit was generated by cvs2svn to compensate for changes in r16748,
...
which included commits to RCS files with non-trunk default branches.
1996-06-26 05:36:21 +00:00
peter
ad125bf277
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
peter
6470cdf2a0
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
4ca8086c55
1) kill temp diver upon exit
...
2) add logical ops, fix ! precedence, implement unary +, fix exp
Obtained from: NetBSD
1995-04-16 23:31:35 +00:00
ache
82ecf6bd9d
Fix syscmd() output out of sync
...
Submitted by: smp@clem.systemsix.com
1995-03-11 16:57:54 +00:00
ache
79c287feb6
Skip nulls in putback to don't confuse with EOFs
1994-12-19 00:26:20 +00:00
ache
44a01bec5c
Make m4 more 8bit clean.
...
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
1994-12-18 23:58:25 +00:00
cvs2svn
f10082965c
This commit was manufactured by cvs2svn to create branch 'OPENBSD'.
1994-08-11 01:06:30 +00:00
jkh
f413f4b28d
Somewhere in the shuffle this lost its man page. Use the 1.1.5
...
one.
Submitted by: jkh
1994-08-11 01:06:29 +00:00
rgrimes
34f25f0a2a
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00
rgrimes
e542b10be0
This commit was generated by cvs2svn to compensate for changes in r1590,
...
which included commits to RCS files with non-trunk default branches.
1994-05-27 12:33:43 +00:00