From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 3 01:20:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 940EF851 for ; Sun, 3 Feb 2013 01:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 61DD3E03 for ; Sun, 3 Feb 2013 01:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r131K0VF066343 for ; Sun, 3 Feb 2013 01:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r131K0xm066342; Sun, 3 Feb 2013 01:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 3 Feb 2013 01:20:00 GMT Resent-Message-Id: <201302030120.r131K0xm066342@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, Alex Kozlov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CAAB7809 for ; Sun, 3 Feb 2013 01:13:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A540CDEF for ; Sun, 3 Feb 2013 01:13:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r131D2il056822 for ; Sun, 3 Feb 2013 01:13:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r131D283056821; Sun, 3 Feb 2013 01:13:02 GMT (envelope-from nobody) Message-Id: <201302030113.r131D283056821@red.freebsd.org> Date: Sun, 3 Feb 2013 01:13:02 GMT From: Alex Kozlov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/175790: [parch] Fix Ken Thompson line in calendar.birthday X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 01:20:00 -0000 >Number: 175790 >Category: bin >Synopsis: [parch] Fix Ken Thompson line in calendar.birthday >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: Sun Feb 03 01:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: RELENG_9 >Organization: private >Environment: >Description: The calendar uses cpp in traditional mode to process calendar files and because of this word 'unix' expands to 1 (see man gcc). The ansi or higher -std modes can't be used because we need to preserve tabs for calendar, therefore I propose to change 'unix' to 'Unix'. >How-To-Repeat: $echo unix >/tmp/testcpp.txt $cpp --version cpp (GCC) 4.2.2 20070831 prerelease [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $cpp -P -traditional -nostdinc /tmp/testcpp.txt 1 $cpp --version FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 Target: x86_64-unknown-freebsd10.0 Thread model: posix $cpp -P -traditional -nostdinc /tmp/testcpp.txt 1 >Fix: Patch attached with submission follows: Index: share/calendar/calendar.birthday @@ -42,7 +42,7 @@ 01/30 Franklin Delano Roosevelt born in Hyde Park, New York, 1882 01/31 Jackie Robinson born, 1919 02/03 Gertrude Stein born, 1874 -02/04 Ken Thompson, creator of unix, born, 1943 +02/04 Ken Thompson, creator of Unix, born, 1943 02/05 Alex Harvey (SAHB) is born in Glasgow, Scotland, 1935 02/06 King George VI of UK dies; his daughter becomes Elizabeth II, 1952 02/07 Sinclair Lewis born, 1885 >Release-Note: >Audit-Trail: >Unformatted: