]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfaults on MS-Windows when invoked with --version
authorEli Zaretskii <eliz@gnu.org>
Wed, 1 Jun 2022 18:57:07 +0000 (21:57 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 1 Jun 2022 18:57:07 +0000 (21:57 +0300)
commit58965d91e7fb5a26a5422357f44d6e841f67db74
tree5743db8128811d2e1ac7ece4f569557d8f8563cc
parentc50718dcfa54293b695f8a3fa5cd4d77848ee084
Avoid segfaults on MS-Windows when invoked with --version

* src/emacs.c (main): If invoked with --version, call
'init_bignum' before calling 'format-time-string', as that is
needed for safe manipulation of bignums in timefns.c.
src/emacs.c