Mercurial > emacs
changeset 19216:ee2a6cdc1226
(init_filelock): Function deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 07 Aug 1997 18:43:19 +0000 |
parents | a4620c4c0881 |
children | 941a81e7fae9 |
files | src/filelock.c |
diffstat | 1 files changed, 0 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filelock.c Thu Aug 07 18:42:56 1997 +0000 +++ b/src/filelock.c Thu Aug 07 18:43:19 1997 +0000 @@ -461,31 +461,6 @@ /* Initialization functions. */ -init_filelock () -{ -#if 0 - char *new_name; - - lock_dir = egetenv ("EMACSLOCKDIR"); - if (! lock_dir) - lock_dir = PATH_LOCK; - - /* Copy the name in case egetenv got it from a Lisp string. */ - new_name = (char *) xmalloc (strlen (lock_dir) + 2); - strcpy (new_name, lock_dir); - lock_dir = new_name; - - /* Make sure it ends with a slash. */ - if (lock_dir[strlen (lock_dir) - 1] != '/') - strcat (lock_dir, "/"); - - superlock_file = (char *) xmalloc ((strlen (lock_dir) - + sizeof (SUPERLOCK_NAME))); - strcpy (superlock_file, lock_dir); - strcat (superlock_file, SUPERLOCK_NAME); -#endif -} - syms_of_filelock () { defsubr (&Sunlock_buffer);