FreeBSD Bugzilla – Attachment 157674 Details for
Bug 200815
[patch] calendar(1): regression 8-STABLE to 10-STABLE no longer supports local includes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
(svn diff) add support for '#include "filename"' to calendar(1)
patch.njm.calendar.add_local_includes (text/plain), 482 bytes, created by
N.J. Mann
on 2015-06-12 11:44:45 UTC
(
hide
)
Description:
(svn diff) add support for '#include "filename"' to calendar(1)
Filename:
MIME Type:
Creator:
N.J. Mann
Created:
2015-06-12 11:44:45 UTC
Size:
482 bytes
patch
obsolete
>Index: usr.bin/calendar/calcpp.c >=================================================================== >--- usr.bin/calendar/calcpp.c (revision 281319) >+++ usr.bin/calendar/calcpp.c (working copy) >@@ -162,6 +162,11 @@ > if ((p = strchr(p, '>')) != NULL) > *p = '\0'; > snprintf (string, MAXPATHLEN, "%s", s); >+ } else if (*p == '"') { >+ s = p+1; >+ if ((p = strchr(s, '"')) != NULL) >+ *p = '\0'; >+ snprintf (string, MAXPATHLEN, "%s", s); > } > return(T_INCLUDE); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200815
: 157674