Mercurial > emacs
diff src/filelock.c @ 24499:e5b719c6fd51
(get_boot_time): Test tempname, not filename.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Thu, 18 Mar 1999 00:16:38 +0000 |
| parents | b285eda48e4c |
| children | c5be96c5a5c1 |
line wrap: on
line diff
--- a/src/filelock.c Wed Mar 17 22:06:23 1999 +0000 +++ b/src/filelock.c Thu Mar 18 00:16:38 1999 +0000 @@ -180,7 +180,7 @@ sprintf (cmd_string, "%s.%d", WTMP_FILE, counter); tempname = build_string (cmd_string); - if (! NILP (Ffile_exists_p (filename))) + if (! NILP (Ffile_exists_p (tempname))) filename = tempname; else {
