diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
| commit | e77cfdf9b141d8981404041112f9dcb6bd0f489e (patch) | |
| tree | 957ad98fde7fdf8ccec3a37ca653b6b23cdbfe5f /tests/test-prog-shell--make-script-executable.el | |
| parent | a9b1ecb40fafcec9647d291e467a8d191a6a7d95 (diff) | |
| download | dotemacs-e77cfdf9b141d8981404041112f9dcb6bd0f489e.tar.gz dotemacs-e77cfdf9b141d8981404041112f9dcb6bd0f489e.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 'tests/test-prog-shell--make-script-executable.el')
0 files changed, 0 insertions, 0 deletions
