Mercurial > hg > xemacs-beta
diff src/filelock.c @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:55:28 +0200 |
parents | 2d532a89d707 |
children | 966663fcf606 |
line wrap: on
line diff
--- a/src/filelock.c Mon Aug 13 09:54:24 2007 +0200 +++ b/src/filelock.c Mon Aug 13 09:55:28 2007 +0200 @@ -39,7 +39,7 @@ the Lisp variables we use. */ /* The name of the directory in which we keep lock files, with a '/' - appended. */ + appended. */ Lisp_Object Vlock_directory; #if 0 /* FSFmacs */ @@ -85,7 +85,7 @@ REGISTER unsigned char *p, new; CHECK_STRING (Vlock_directory); - + /* 7-bytes cyclic code for burst correction on byte-by-byte basis. the used polynomial is D^7 + D^6 + D^3 +1. pot@cnuce.cnr.it */ @@ -442,7 +442,7 @@ if (BUF_SAVE_MODIFF (current_buffer) < BUF_MODIFF (current_buffer) && !NILP (fn)) lock_file (fn); - return Qnil; + return Qnil; } DEFUN ("unlock-buffer", Funlock_buffer, 0, 0, 0, /* @@ -500,7 +500,7 @@ return (Qnil); else if (owner == getpid ()) return (Qt); - + return (lock_file_owner_name (lfname)); }