update tradcpp to 0.5.3
When system calls indicate an error they return -1, not some arbitraryvalue < 0. errno is only updated in this case. Change all (most?)callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitraryvalue < 0. errno is only updated in this case. Change all (most?)callers of syscalls to follow this better, and let's see if this strictnesshelps us in the future.
show more ...
update tradcpp to 0.5.2ok miko@ bcallah@ deraadt@
fix the remaining cases of .Xr with only one argument
this cpp operates file using pledge "stdio rpath wpath cpath"
eliminate strcpy & strcat, by using strlcpy, strlcat or snprintf wheresuitable.ok jsg
some minor fixes from martin natano;
some basic fixes;
Add support for using - as shorthand for stdin/stdout in tradcpp.When looking into switching the /usr/bin/cpp wrapper totradcpp I came across "| ${CPP} ${CPPFLAGS} -" in usr.bin/which.gcc docume
Add support for using - as shorthand for stdin/stdout in tradcpp.When looking into switching the /usr/bin/cpp wrapper totradcpp I came across "| ${CPP} ${CPPFLAGS} -" in usr.bin/which.gcc documents this behaviour for cpp here:https://gcc.gnu.org/onlinedocs/cpp/Invocation.htmlVersions of the John F. Reiser derived cpp in 32V and CSRG SCCSaccept this usage as well, as does the cpp in PCC.
Add tradcpp 0.4, a standalone traditional whitespace preserving cppby David A. Holland of NetBSD.