| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r304605, r304676, r305212, r305863:
r303541:
Use nitems() from sys/param.h.
Sponsored by: gandi.net (BSD Day Taiwan)
MFC after: 2 weeks.
r303542:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
Sponsored by: gandi.net (BSD Day Taiwan)
r303543:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
Sponsored by: gandi.net (BSD Day Taiwan)
r303545:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
Sponsored by: gandi.net (BSD Day Taiwan)
r303546:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
Sponsored by: gandi.net (BSD Day Taiwan)
r303547:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
Sponsored by: gandi.net (BSD Day Taiwan)
r304225:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304226:
Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304605:
Fix calloc(3) argument order.
Reviewed by: trasz
MFC after: 4 weeks.
Differential Revision: https://reviews.freebsd.org/D7532
r304676:
Fix calloc(3) argument order.
MFC after: 4 weeks.
r305212:
- Invert calloc(3) argument order.
MFC after: 4 weeks
r305863:
Invert calloc(3) argument order.
Reviewed by: ed.
MFC after: 4 weeks.
Differential Revision: https://reviews.freebsd.org/D7902
|
| |
|
|
|
|
| |
Submitted by: Gennady Proskurin <gprspb@mail.ru>
|
|
|
|
|
|
|
|
| |
lineline checked for 0 in the while loop condition. There is no need to
check for it additionally in the body.
CID: 1288959
MFC After: 1 week
|
|
|
|
|
|
|
|
|
|
| |
Support includes surrounded by '"' or '<' '>'
Print warnings about bad syntax
Correctly navigate through include directories to find calendar files
Correctly support multiple includes
Tested by: gjb
MFC after: 1 week
|
|
|
|
|
|
|
| |
substitutes a limited subset cpp processor internally.
PR: src/178463
Approved by: re (gjb)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explicitly use GNU cpp for preprocessing.
Remove explicit debugging code.
Change some variable names to be less confusing.
Improve some comments.
Improve indentation.
PR: 162211
168785
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add ? option to optstring.
- Sort options alphabetically.
- Vertical space.
Tidy up usage() function.
Bring man page in sync with source.
Ensure that debug code is only executed with the -d option.
Submitted by: Christiane Yeardley
|
|
|
|
|
|
| |
PR: bin/155915
Submitted by: John Levine
MFC after: 2 weeks
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 7085
|
|
|
|
|
|
|
| |
should not happen" case.
Found with: Coverity Prevent(tm)
CID: 4932
|
| |
|
|
|
|
|
| |
1) add missing (unsigned char) cast to ctype() macro
2) fix off-by-one error causing last letter always doubled
|
|
|
|
|
|
| |
- Remove the 3rd clause of the UC Berkeley copyrighted files.
- For the files added copyrighted by me, move the "All rights
reserved" to the next line.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Repeating events which span multiple years (because of -A, -B or
just the three days before the end of the year).
- Support for lunar events (full moon, new moon) and solar events
(equinox and solstice, chinese new year). Because of this, the
options -U (UTC offset) and -l (longitude) are available to
compensate if reality doesn't match the calculated values.
MFC after: 1 month
|
| |
|
|
|
|
|
|
|
|
|
|
| |
make them static.
usage() in calendar.c
event_*() in io.c
PR: bin/118644
Approved by: bde@ (mentor)
|
|
|
|
|
|
| |
PR: bin/118644
Approved by: bde@ (mentor)
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
return and print a useful message.
Prior to this commit, access problems could give rise to messages that
the file didn't exist.
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
| |
Correct long-standing off-by-one error in -W option.
Submitted by: edwin@
Shorten some long lines. These files are still not completely
style(9) compliant.
|
|
|
|
|
| |
Move some extern declarations to a header file.
Remove an unneeded extern declaration for optarg.
|
|
|
|
|
|
|
|
|
| |
those of us who want to figure out how old Jim Mock is, but only want to
type 'calendar -f calendar.freebsd'. This is done in a way that should
be totally backwards compatible with no noticable differences, at all.
Reviewed by: mux
MFC after: 4 weeks
|
|
|
|
|
|
|
|
| |
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
|
|
|
|
|
| |
Use __FBSDID().
Sort some headers.
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
| |
|
|
|
|
| |
to it for the size of path.
|
|
|
|
|
|
|
|
| |
script is gone.
PR: 15932
Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com>
Tested by: brian, Manfred Antar <mantar@pacbell.net>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
| |
run with "calendar -a". Also don't ignore the return
values from the setuid/setgid calls.
Thanks to bde for making me this about this.
|
|
|
|
|
|
|
| |
root with "calendar -a". Drop all privs when execing other
programs.
Obtained from: OpenBSD
|
|
|
|
|
| |
FIx Orthodox Easter calculation
Better debug output
|
|
|
|
| |
Speedup my national months/days handling code.
|
|
|
|
|
| |
Handle Orthodox Eastern
-Wall cleanup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:
04/05* Good Friday (2 days before easter)
04/07* First Sunday...
instead of:
Easter-2 Good Friday...
04/SunFirst First Sunday...
I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:
04/SunFirst Daylight savings time...
There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
|
|
``the last Monday in April'
- handle easter
new options
-f calendarfile
-A days
-B days
Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
|