diff src/buffer.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 2b6fa2618f76
children 804517e16990
line wrap: on
line diff
--- a/src/buffer.c	Fri May 31 09:38:49 2002 +0000
+++ b/src/buffer.c	Sat Jun 01 08:06:55 2002 +0000
@@ -2841,7 +2841,8 @@
     Extbyte *modname = mswindows_get_module_file_name ();
       
     assert (modname);
-    assert ((p = xetcsrchr (modname, '\\')));
+    p = xetcsrchr (modname, '\\');
+    assert (p);
     XECOPY_TCHAR (p, '\0');
   
     qxeSetCurrentDirectory (modname);