* .gdbinit (xbacktrace): Handle case that $bt->function isn't
a symbol.
+2000-10-24 Colin Walters <walters@cis.ohio-state.edu>
+
+ * filelock.c (unlock_all_files): Use unlock_file to expand each
+ buffer's file_truename before trying remove its lock file.
+
2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
* coding.c (decode_coding_emacs_mule): If coding->eol_type is CR
/* Lock files for editing.
- Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000
+ Free Software Foundation, Inc.
This file is part of GNU Emacs.
b = XBUFFER (XCDR (XCAR (tail)));
if (STRINGP (b->file_truename) && BUF_SAVE_MODIFF (b) < BUF_MODIFF (b))
{
- register char *lfname;
-
- MAKE_LOCK_NAME (lfname, b->file_truename);
-
- if (current_lock_owner (0, lfname) == 2)
- unlink (lfname);
+ unlock_file(b->file_truename);
}
}
}