Date: Fri, 31 Jan 2014 09:49:31 +0100 (CET) From: Romain Tartiere <romain@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/186294: calendar' preprocessor process comments Message-ID: <20140131084931.B91DC103598@marvin.blogreen.org> Resent-Message-ID: <201401310850.s0V8o0GL022708@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186294 >Category: bin >Synopsis: calendar' preprocessor process comments >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 31 08:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Romain Tartiere >Release: FreeBSD 10.0-STABLE amd64 >Organization: >Environment: System: FreeBSD marvin.blogreen.org 10.0-STABLE FreeBSD 10.0-STABLE #1 r261284: Thu Jan 30 13:25:27 CET 2014 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64 >Description: After updating to 10.0, calendar now shows events it did not displayed in 9.2. >How-To-Repeat: My ~/.calendar/calendar appears to have a commented-out comment: ---------------------------------- 8< ---------------------------------- /* * #include <calendar.computer> */ 01 Jan Sample entry ---------------------------------- 8< ---------------------------------- When I ask events for a particular date, events from this included calendar.computer are unexpectedly returned: ---------------------------------- 8< ---------------------------------- % calendar -t 01.01 1 jan Sample entry 1 jan The Epoch (Time 0 for UNIX systems, Midnight GMT, 1970) 1 jan AT&T officially divests its local Bell companies, 1984 ---------------------------------- 8< ---------------------------------- >Fix: No fix yet, but a workaround is to #define a macro checked in the included calendar ---------------------------------- 8< ---------------------------------- /* * #define _calendar_computer_ * #include <calendar.computer> */ ---------------------------------- 8< ---------------------------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140131084931.B91DC103598>