Date: Sat, 8 Jan 2000 10:23:12 -0800 From: "David O'Brien" <obrien@NUXI.com> To: Brian Somers <brian@Awfulhak.org> Cc: freebsd-current@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: hak.lan.Awfulhak.org daily run output Message-ID: <20000108102312.I1417@dragon.nuxi.com> In-Reply-To: <200001070832.IAA01463@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Fri, Jan 07, 2000 at 08:32:19AM %2B0000 References: <root> <200001070832.IAA01463@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 07, 2000 at 08:32:19AM +0000, Brian Somers wrote: > Anyone know what's changed with `calendar' ? I suspect it's the > recent cpp changes. Please test this patch. Index: io.c =================================================================== RCS file: /home/ncvs/src/usr.bin/calendar/io.c,v retrieving revision 1.12 diff -u -r1.12 io.c --- io.c 1999/08/28 00:59:17 1.12 +++ io.c 2000/01/08 18:22:00 @@ -274,7 +274,8 @@ warnx("setuid failed"); _exit(1); } - execl(_PATH_CPP, "cpp", "-P", "-I.", _PATH_INCLUDE, NULL); + execl(_PATH_CPP, "cpp", "-traditional", "-P","-nostdinc", + "-I.", _PATH_INCLUDE, NULL); warn(_PATH_CPP); _exit(1); } Index: pathnames.h =================================================================== RCS file: /home/ncvs/src/usr.bin/calendar/pathnames.h,v retrieving revision 1.2 diff -u -r1.2 pathnames.h --- pathnames.h 1996/02/02 06:02:41 1.2 +++ pathnames.h 2000/01/08 18:21:01 @@ -35,7 +35,7 @@ #include <paths.h> -#define _PATH_CPP "/usr/bin/cpp" +#define _PATH_CPP "/usr/libexec/cpp" /* XXX -- fix when cpp parses arguments rationally */ #define _PATH_INCLUDE "-I/usr/share/calendar" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000108102312.I1417>