diff options
| author | Paul Eggert | 2019-09-05 13:25:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-09-05 13:27:07 -0700 |
| commit | 16ab25f136c4eef27743dfa50953692d115f162c (patch) | |
| tree | d38ff1b08714acdad771bbd2e92777370e9db2e6 /src/coding.c | |
| parent | b9e37f551add188f82f2583d3eb13cb81e707387 (diff) | |
| download | emacs-16ab25f136c4eef27743dfa50953692d115f162c.tar.gz emacs-16ab25f136c4eef27743dfa50953692d115f162c.zip | |
Fix bugs when recalculating consing_until_gc
Problem reported by Joseph Mingrone (Bug#37006#72).
* src/alloc.c (watch_gc_cons_threshold)
(watch_gc_cons_percentage):
Don’t try to store an intmax_t into an int.
Redo to make the code clearer.
(watch_gc_cons_percentage):
Use gc_cons_threshold, not consing_until_gc.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions