diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2021-12-07 14:00:34 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2021-12-07 14:00:34 +0000 |
commit | d482c624e6ccfa8a176514bb0dc60544c1b64d8e (patch) | |
tree | b920a4a61e572f091b1fe1db2935fa5c9f5f9c94 /usr.bin | |
parent | cd47fee6434a45aae4cab383b6cdcc741e4864c0 (diff) |
switch from tradcpp(1) to cpp(1); ok jsg@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/calendar/io.c | 4 | ||||
-rw-r--r-- | usr.bin/calendar/pathnames.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index 3c42395f5ce..41bc786d579 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.50 2021/10/24 21:24:16 deraadt Exp $ */ +/* $OpenBSD: io.c,v 1.51 2021/12/07 14:00:33 robert Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -362,7 +362,7 @@ opencal(void) (void)close(fderr); } execl(_PATH_CPP, "cpp", "-traditional", "-undef", "-U__GNUC__", - "-P", "-I.", _PATH_INCLUDE, (char *)NULL); + "-P", "-I.", "-w", _PATH_INCLUDE, (char *)NULL); warn(_PATH_CPP); _exit(1); } diff --git a/usr.bin/calendar/pathnames.h b/usr.bin/calendar/pathnames.h index 534b7f93586..5cd0d7095fa 100644 --- a/usr.bin/calendar/pathnames.h +++ b/usr.bin/calendar/pathnames.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pathnames.h,v 1.5 2014/07/30 16:46:17 jsg Exp $ */ +/* $OpenBSD: pathnames.h,v 1.6 2021/12/07 14:00:33 robert Exp $ */ /* * Copyright (c) 1989, 1993 @@ -33,7 +33,7 @@ #include <paths.h> -#define _PATH_CPP "/usr/libexec/tradcpp" +#define _PATH_CPP "/usr/libexec/cpp" /* XXX -- fix when cpp parses arguments rationally */ #define _PATH_INCLUDE "-I/usr/share/calendar" |