freebsd-dev/usr.bin/calendar
Stefan Eßer 35b8fd0b69 usr.bin/calendar: do not treat // in text as comment
The C++-style comment marker "//" has been added with the rewrite of
the preprocessor features. Since this character sequence occurs	in
ULRS, the reminder of the URL was considered a comment and stripped
from the calendar line.

Change parsing of "//" to only start a comment at the begin of a line
or when	preceeded by a white-space character.

PR:		256455
Reported by:	Philippe Michel (philippe.michel7 at free.fr)
MFC after:	3 days
2021-06-07 15:55:23 +02:00
..
calendars Source repo changes to add new committer Rajesh Kumar M A 2021-02-16 08:52:09 +00:00
tests usr.bin/calendar: do not treat // in text as comment 2021-06-07 15:55:23 +02:00
calendar.1 Restrict locale settings to the file they occur in 2020-11-05 08:58:21 +00:00
calendar.c Fix calendar -a processing of files included in the user's home directory 2020-10-29 08:26:38 +00:00
calendar.h Restrict locale settings to the file they occur in 2020-11-05 08:58:21 +00:00
dates.c Add regression tests for conditions and comments 2020-11-04 22:29:01 +00:00
day.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
events.c Fix WITHOUT_ICONV build 2020-12-13 19:06:59 +00:00
io.c usr.bin/calendar: do not treat // in text as comment 2021-06-07 15:55:23 +02:00
locale.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
Makefile calendar: remove all datafiles except freebsd one 2020-10-26 03:26:18 +00:00
Makefile.depend Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
ostern.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
parsedata.c Replace strcat, strcpy and snprintf with bounds checking versions 2020-12-31 12:37:37 +01:00
paskha.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
pathnames.h Use getlocalbase() instead of compiled in LOCALBASE to locate calendars 2020-12-12 11:51:29 +00:00
pom.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
sunpos.c Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00