changeset 12104:10197e4b3fb2

(unlock_file, lock_file): Call Fexpand_file_name.
author Karl Heuer <kwzh@gnu.org>
date Wed, 07 Jun 1995 20:39:56 +0000
parents 5a4f4ce4ebb6
children ecc3d54df49e
files src/filelock.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Wed Jun 07 18:58:06 1995 +0000
+++ b/src/filelock.c	Wed Jun 07 20:39:56 1995 +0000
@@ -202,6 +202,8 @@
   register Lisp_Object attack;
   register char *lfname;
 
+  fn = Fexpand_file_name (fn, Qnil);
+
   MAKE_LOCK_NAME (lfname, fn);
 
   /* See if this file is visited and has changed on disk since it was
@@ -329,6 +331,8 @@
 {
   register char *lfname;
 
+  fn = Fexpand_file_name (fn, Qnil);
+
   MAKE_LOCK_NAME (lfname, fn);
 
   lock_superlock (lfname);