Mercurial > hg > xemacs-beta
view src/s/irix5-0.h @ 4394:cacc942c0d0f
Avoid clearing print-gensym-alist inappropriately when printing hash tables.
2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el (thing):
Check that printing a hash table literal doesn't clear
print-gensym-alist.
2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
* print.c (prin1_to_string): New.
The guts of Fprin1_to_string, without resetting
Vprint_gensym_alist.
(Fprin1_to_string):
Call prin1_to_string, wrapped with RESET_PRINT_GENSYM calls.
* doprnt.c (emacs_doprnt_1):
Call prin1_to_string, not Fprin1_to_string (dos veces). Avoids an
inappropriate reset of print-gensym-alist.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 15 Jan 2008 21:35:01 +0100 |
parents | abe6d1db359e |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ #include "usg5-4.h" #define IRIX5 #ifdef LIBS_SYSTEM #undef LIBS_SYSTEM #endif #ifdef LIB_STANDARD #undef LIB_STANDARD #endif #ifdef SYSTEM_TYPE #undef SYSTEM_TYPE #endif #define SYSTEM_TYPE "irix" #ifdef SETUP_SLAVE_PTY #undef SETUP_SLAVE_PTY #endif /* jpff@maths.bath.ac.uk reports `struct exception' is not defined on this system, so inhibit use of matherr. */ #define NO_MATHERR /* Ulimit(UL_GMEMLIM) is busted... */ #define ULIMIT_BREAK_VALUE 0x14000000 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ #define PREFER_VSUSP /* define MAIL_USE_FLOCK if the mailer uses flock to interlock access to /usr/spool/mail/$USER. The alternative is that a lock file named /usr/spool/mail/$USER.lock. */ #define MAIL_USE_FLOCK /* use K&R C */ /* XEmacs change -- use ANSI, not K&R */ #ifndef __GNUC__ #define C_SWITCH_SYSTEM "-xansi" #endif /* jackr@engr.sgi.com says that you can't mix different kinds of signal-handling functions under IRIX 5.3. I'm going to assume that that was the reason this got broken. Now that the signal routines are fixed up, maybe this will work. --ben */ /* Nope, it doesn't. I've tried lots of things; it must be genuinely broken. */ /* XEmacs addition: People on IRIX 5.2 and IRIX 5.3 systems have reported that they can't break out of (while t) using C-g or C-G. This does not occur on other systems, so let's assume that SIGIO is broken on these systems. */ #define BROKEN_SIGIO