comparison src/emacs.c @ 4802:2fc0e2f18322

Don't create any bignums before pdumping. Add bignum, ratio, and bigfloat finalizers so we don't leak memory with NEW_GC. See xemacs-patches message with ID <870180fe1001060900o46fa2b7o26b58850fadf9aba@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Wed, 06 Jan 2010 10:01:14 -0700
parents aa5ed11f473b
children 3be2c7c0ef4b
comparison
equal deleted inserted replaced
4801:591091481f20 4802:2fc0e2f18322
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 for more details. 17 for more details.
18 18
19 You should have received a copy of the GNU General Public License 19 You should have received a copy of the GNU General Public License
20 along with XEmacs; see the file COPYING. If not, write to 20 along with XEmacs; see the file COPYING. If not, write to
21 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 the Free Software Foundation, Inc., 51 Franklin St - Fifth Floor,
22 Boston, MA 02111-1307, USA. */ 22 Boston, MA 02111-1301, USA. */
23 23
24 /* Synched up with: Mule 2.0, FSF 19.28. */ 24 /* Synched up with: Mule 2.0, FSF 19.28. */
25 25
26 /* This file has been Mule-ized, Ben Wing, 10-7-04. */ 26 /* This file has been Mule-ized, Ben Wing, 10-7-04. */
27 27
1893 reinit_symbols_early (); 1893 reinit_symbols_early ();
1894 #ifndef NEW_GC 1894 #ifndef NEW_GC
1895 reinit_opaque_early (); 1895 reinit_opaque_early ();
1896 #endif /* not NEW_GC */ 1896 #endif /* not NEW_GC */
1897 reinit_eistring_early (); 1897 reinit_eistring_early ();
1898 reinit_vars_of_number ();
1898 1899
1899 reinit_console_type_create_stream (); 1900 reinit_console_type_create_stream ();
1900 #ifdef HAVE_TTY 1901 #ifdef HAVE_TTY
1901 reinit_console_type_create_tty (); 1902 reinit_console_type_create_tty ();
1902 #endif 1903 #endif