Mercurial > hg > xemacs-beta
diff src/extents.c @ 859:84762348c6f9
[xemacs-hg @ 2002-06-01 08:06:46 by ben]
fix process problems etc.
process.el: Insert before, not after, point.
buffer.c: Fix bug noted by someone.
console-tty.h, device.h, emacs.c, filelock.c, nt.c, process-nt.c, process-unix.c, process.c, redisplay-tty.c, sysdep.c, sysproc.h, win32.c: Redo problem with syssignal.h/sysproc.h dependence noted by Didier
-- rather than require one included before the other
(error-prone), just include syssignal.h from sysproc.h
where it's needed.
inline.c: Include sysfile.h due to inline funs in that header.
extents.c: Fix bug noted by Andrew Cohen <cohen@andy.bu.edu>.
process-unix.c: Fix other bug noted by Andrew Cohen <cohen@andy.bu.edu>.
process.c: Add process-has-separate-stderr-p, used by call-process-internal.
author | ben |
---|---|
date | Sat, 01 Jun 2002 08:06:55 +0000 |
parents | 1e4e42de23d5 |
children | 79c6ff3eef26 |
line wrap: on
line diff
--- a/src/extents.c Fri May 31 09:38:49 2002 +0000 +++ b/src/extents.c Sat Jun 01 08:06:55 2002 +0000 @@ -3599,9 +3599,11 @@ } for (i = 0; i < orignewlength; i++) { - if (!bsearch (Dynarr_atp (newprops, i), Dynarr_atp (oldprops, 0), - Dynarr_length (oldprops), sizeof (Lisp_Object_pair), - compare_key_value_pairs)) + if (!Dynarr_length (oldprops) || !bsearch (Dynarr_atp (newprops, i), + Dynarr_atp (oldprops, 0), + Dynarr_length (oldprops), + sizeof (Lisp_Object_pair), + compare_key_value_pairs)) { Lisp_Object_pair new; new.key = Dynarr_at (newprops, i).key;