diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-14 23:54:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-14 23:54:12 +0000 |
commit | 37b2a6af20ecff914c4a22daad5b61f34e21d7bd (patch) | |
tree | 17e1a9a0569030314ebdb09f7b4110521fc68c27 /usr.bin | |
parent | 31dd53ceb043530f54b80723cab9551bd607a22f (diff) |
calendar relies on cpp -traditional behavior so explicitly specify -traditional
when running cpp. mickey@ OK
Diffstat (limited to 'usr.bin')
-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); } |