summaryrefslogtreecommitdiffstats
path: root/libexec/tradcpp/files.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update tradcpp to 0.5.3jsg2019-08-231-3/+14
|
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-1/+1
| | | | | | 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.
* update tradcpp to 0.5.2jsg2018-09-021-16/+26
| | | | ok miko@ bcallah@ deraadt@
* eliminate strcpy & strcat, by using strlcpy, strlcat or snprintf wherederaadt2015-01-171-5/+1
| | | | | suitable. ok jsg
* Add support for using - as shorthand for stdin/stdout in tradcpp.jsg2014-08-081-1/+1
| | | | | | | | | | | 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.
* Add tradcpp 0.4, a standalone traditional whitespace preserving cppjsg2014-07-301-0/+420
by David A. Holland of NetBSD.