summaryrefslogtreecommitdiffstats
path: root/date.c
AgeCommit message (Collapse)Author
2016-11-02Attempt to silence a clang range warning. (closes #3891)Kevin McCarthy
When TM_YEAR_MAX > INT_MAX, clang complains the comparison is always false. Note that this is really a compiler bug, which was fixed by gcc 9 years ago. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12963 Thanks to Vincent Lefèvre for the suggested fix and the gcc bug reference.
2016-10-23Prevent an integer overflow in mutt_mktime() (closes #3880)Kevin McCarthy
Check to make sure the year passed in isn't bigger than can be represented using time_t on the platform. Also add a (time_t) cast to an intermediate "years * 365" calculation to prevent an overflow there. Thanks to TAKAHASHI Tamotsu for his patch, and to Vincent Lefèvre for his improvement. I merely took their code and commited it.
2013-07-23fix typos in commentsOndřej Bílka
2011-12-03Declare many structures const (closes #3552)Dan Fandrich
Many structs used in mutt are actually constant but are defined without the 'const' keyword. This can slow initialization (slightly) in some environments due to extra copying and increases the amount of writable RAM required at run-time, which can be significant on non-MMU systems. Using const can also increase the opportunities for compiler optimization. The attached patch marks many such structures as const. On my test x86 build, this reduces the size of .data by over 50%.
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2002-12-11Fix Mike's and my e-mail addresses in copyright lines.Thomas Roessler
2001-02-06Fuzzy date matching. From Eike Rathke <er@erack.de>.Thomas Roessler
2000-03-03The FSF apparently has moved.Thomas Roessler
2000-01-06Update copyright notices for unstable.Thomas Roessler
1999-01-07Get rid of RCS ids in source files. They are getting in our wayThomas Roessler
when merging changes.
1999-01-06[unstable] Merge changes from stable: rx -> regex, Byrial's timezoneThomas Roessler
patch, translation updates.
1998-10-15Change "static char rcsid[]" to "static const char rcsid[]" to makemutt-0-94-13-relThomas Roessler
gcc shut up about this.
1998-10-13Add RCS $Id$ strings to (hopefully) all source files.Thomas Roessler
1998-10-01Adding gettext support, based on the patch by Marco d'Itri.Thomas Roessler
1998-08-25CVS branch clean-up.Thomas Roessler
1998-06-08Initial revisionThomas Roessler