Bug 200815 - [patch] calendar(1): regression 8-STABLE to 10-STABLE no longer supports local includes
Summary: [patch] calendar(1): regression 8-STABLE to 10-STABLE no longer supports loca...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-06-12 11:44 UTC by N.J. Mann
Modified: 2015-07-08 21:09 UTC (History)
2 users (show)

See Also:


Attachments
(svn diff) add support for '#include "filename"' to calendar(1) (482 bytes, patch)
2015-06-12 11:44 UTC, N.J. Mann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description N.J. Mann 2015-06-12 11:44:45 UTC
Created attachment 157674 [details]
(svn diff) add support for '#include "filename"' to calendar(1)

I recently updated my desktop system from 8-STABLE to 10-STABLE and found
that my calendar files were no longer being processed by calendar(1).  This
turned out to be related to the rewriting of calendar(1) to no longer use
the C language preprocessor when reading calendar files.  Although the new
calendar(1) processes #include <filename>, it no longer supports #include "filename".

The attacted 5 line patch fixes the issue.
Comment 1 Glen Barber freebsd_committer freebsd_triage 2015-07-07 17:16:05 UTC
Baptiste, it looks like r279597 was targeted for 1-week MFC, however the merge never happened.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2015-07-08 21:09:21 UTC
MFCed sorry I forgot about it