aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-27 08:18:43 -0600
committerCraig Jennings <c@cjennings.net>2026-01-27 08:18:43 -0600
commit5a36fd95cb8a91a8dfaa5fded4fe59ccef9cb36a (patch)
tree2d7b88e063cd9fab42b7bd21065c04c26d1b3661 /scripts
parent98aca11d7e385d146e5e49be590b75e575a685ec (diff)
downloaddotemacs-5a36fd95cb8a91a8dfaa5fded4fe59ccef9cb36a.tar.gz
dotemacs-5a36fd95cb8a91a8dfaa5fded4fe59ccef9cb36a.zip
fix(calendar-sync): resolve freeze on DST transitions and large ICS files
Two bugs caused Emacs to freeze during calendar sync: 1. split-events used catastrophic regex (\(.\|\n\)*?) on multi-MB ICS data. Replaced with buffer-based search-forward (0.011s for 4.5MB). 2. add-days used midnight for date arithmetic. On DST fall-back days, adding 86400s to midnight CDT yields 11pm CST (same date), creating an infinite loop. Fixed by using noon so ±1h DST shift stays correct.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions