Module name: src
Changes by: jsg@cvs.openbsd.org 2014/08/08 06:40:26
Modified files:
libexec/tradcpp: files.c main.c output.c
Log message:
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:
<a href="
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html" rel="nofollow">
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html</a>
Versions of the John F. Reiser derived cpp in 32V and CSRG SCCS
accept this usage as well, as does the cpp in PCC.