From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 31 08:50:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5F87D76 for ; Fri, 31 Jan 2014 08:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B3C117F7 for ; Fri, 31 Jan 2014 08:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0V8o0pR022709 for ; Fri, 31 Jan 2014 08:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0V8o0GL022708; Fri, 31 Jan 2014 08:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jan 2014 08:50:00 GMT Resent-Message-Id: <201401310850.s0V8o0GL022708@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Romain Tartiere Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F02BED6F for ; Fri, 31 Jan 2014 08:49:34 +0000 (UTC) Received: from marvin.blogreen.org (marvin.blogreen.org [IPv6:2001:470:1f13:b9c::2]) by mx1.freebsd.org (Postfix) with ESMTP id A89B917EB for ; Fri, 31 Jan 2014 08:49:34 +0000 (UTC) Received: by marvin.blogreen.org (Postfix, from userid 1001) id B91DC103598; Fri, 31 Jan 2014 09:49:31 +0100 (CET) Message-Id: <20140131084931.B91DC103598@marvin.blogreen.org> Date: Fri, 31 Jan 2014 09:49:31 +0100 (CET) From: Romain Tartiere To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: bin/186294: calendar' preprocessor process comments X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Romain Tartiere List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 08:50:00 -0000 >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 */ 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 */ ---------------------------------- 8< ---------------------------------- >Release-Note: >Audit-Trail: >Unformatted: