1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
jsg 88157d21ef update tradcpp to 0.5.3 2019-08-23 04:38:55 +00:00
deraadt 696e08c408 When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
2019-06-28 13:47:33 +00:00
jsg f9343feac8 update tradcpp to 0.5.2
ok miko@ bcallah@ deraadt@
2018-09-02 08:28:05 +00:00
schwarze d1159ca2e5 fix the remaining cases of .Xr with only one argument 2016-12-28 22:47:11 +00:00
deraadt 16b2abb210 this cpp operates file using pledge "stdio rpath wpath cpath" 2015-10-09 12:20:18 +00:00
deraadt 2fbb987bd6 eliminate strcpy & strcat, by using strlcpy, strlcat or snprintf where
suitable.
ok jsg
2015-01-17 05:31:29 +00:00
jmc 7c19d009fa some minor fixes from martin natano; 2014-12-02 10:21:44 +00:00
jmc b62952f1c2 some basic fixes; 2014-08-08 20:50:28 +00:00
jsg dc9523b794 Add support for using - as shorthand for stdin/stdout in tradcpp.
When looking into switching the /usr/bin/cpp wrapper to
tradcpp I came across "| ${CPP} ${CPPFLAGS} -" in usr.bin/which.

gcc documents this behaviour for cpp here:
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html

Versions of the John F. Reiser derived cpp in 32V and CSRG SCCS
accept this usage as well, as does the cpp in PCC.
2014-08-08 12:40:26 +00:00
jsg a9b3ff1afb Add tradcpp 0.4, a standalone traditional whitespace preserving cpp
by David A. Holland of NetBSD.
2014-07-30 16:33:11 +00:00