Mercurial > hg > xemacs-beta
comparison src/vdb-posix.c @ 5091:ed624ab64583
fix compile errors/warnings
-------------------- ChangeLog entries follow: --------------------
lib-src/ChangeLog addition:
2010-03-02 Ben Wing <ben@xemacs.org>
* digest-doc.c:
* make-path.c:
`emacs' isn't defined, but HAVE_CONFIG_H is, so use it to get
config.h.
* getopt.h:
Conditionalize on HAVE_CONFIG_H to get real prototypes.
src/ChangeLog addition:
2010-03-02 Ben Wing <ben@xemacs.org>
* Makefile.in.in:
* Makefile.in.in (objs):
glyphs-shared.o, glyphs-eimage.o only needed when HAVE_WINDOW_SYSTEM.
glyphs-widget.o should be too, but we need a bit of work ifdeffing
out the subwindow stuff from redisplay.c et al.
* bytecode.c (init_opcode_table_multi_op):
Change var name to avoid shadowing with `basename'.
* emacs.c (main_1):
Don't call init/etc. routines for glyphs-shared, glyphs-eimage unless
HAVE_WINDOW_SYSTEM is defined.
* linuxplay.c:
* linuxplay.c (sighandler):
* vdb-posix.c (vdb_fault_handler):
Use const for variables holding string constants to avoid C++
warnings.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 02 Mar 2010 05:22:10 -0600 |
parents | 896a34d28b71 |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5083:88f955fa5a7f | 5091:ed624ab64583 |
---|---|
71 vdb_install_signal_handler (); | 71 vdb_install_signal_handler (); |
72 #endif /* FAULT_HANDLER_REINSTALL_HANDLER */ | 72 #endif /* FAULT_HANDLER_REINSTALL_HANDLER */ |
73 } | 73 } |
74 else /* default sigsegv handler */ | 74 else /* default sigsegv handler */ |
75 { | 75 { |
76 char *signal_name = ""; | 76 const Ascbyte *signal_name = ""; |
77 if (signum == SIGSEGV) | 77 if (signum == SIGSEGV) |
78 signal_name = "SIGSEGV"; | 78 signal_name = "SIGSEGV"; |
79 else if (signum == SIGBUS) | 79 else if (signum == SIGBUS) |
80 signal_name = "SIGBUS"; | 80 signal_name = "SIGBUS"; |
81 else | 81 else |