diff options
author | 2004-01-14 23:54:11 +0000 | |
---|---|---|
committer | 2004-01-14 23:54:11 +0000 | |
commit | 09cf8f93206e3a5d8849561077c420f62193838b (patch) | |
tree | 9ea70f750765e7259d551517f533dc9a340f3b35 | |
parent | Comment out reference to index.so when we are building index.so itself. (diff) | |
download | wireguard-openbsd-09cf8f93206e3a5d8849561077c420f62193838b.tar.xz wireguard-openbsd-09cf8f93206e3a5d8849561077c420f62193838b.zip |
calendar relies on cpp -traditional behavior so explicitly specify -traditional
when running cpp. mickey@ OK
-rw-r--r-- | usr.bin/calendar/io.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index a27099c7c65..f611016b69e 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.24 2003/06/03 02:56:06 millert Exp $ */ +/* $OpenBSD: io.c,v 1.25 2004/01/14 23:54:11 millert Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -39,7 +39,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else -static char rcsid[] = "$OpenBSD: io.c,v 1.24 2003/06/03 02:56:06 millert Exp $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.25 2004/01/14 23:54:11 millert Exp $"; #endif #endif /* not lint */ @@ -359,7 +359,8 @@ opencal(void) (void)dup2(fderr, STDERR_FILENO); (void)close(fderr); } - execl(_PATH_CPP, "cpp", "-P", "-I.", _PATH_INCLUDE, (char *)NULL); + execl(_PATH_CPP, "cpp", "-traditional", "-P", "-I.", + _PATH_INCLUDE, (char *)NULL); warn(_PATH_CPP); _exit(1); } |