>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"