From: ueno Date: Sat, 5 Mar 2005 02:23:31 +0000 (+0000) Subject: * riece-log.el (riece-log-insinuate): Use user-uid instead of X-Git-Tag: riece-1_0_8~16 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d43a3fc36ecdcd29ecd3920ba80c51f7f6b2b8;p=elisp%2Friece.git * riece-log.el (riece-log-insinuate): Use user-uid instead of user-login-name and escape system-name for riece-log-lock-file. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 834dfc0..d8e4134 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-03-05 Daiki Ueno + + * riece-log.el (riece-log-insinuate): Use user-uid instead of + user-login-name and escape system-name for riece-log-lock-file. + 2005-03-02 Daiki Ueno * riece-log.el (riece-log-lock-file): Define with defvar. diff --git a/lisp/riece-log.el b/lisp/riece-log.el index 263bcd5..cca7233 100644 --- a/lisp/riece-log.el +++ b/lisp/riece-log.el @@ -255,9 +255,9 @@ If LINES is t, insert today's logs entirely." (defun riece-log-insinuate () (make-directory riece-log-directory t) (setq riece-log-lock-file - (expand-file-name (format "=lock.%s@%s.%d" - (user-login-name) - (system-name) + (expand-file-name (format "=%d-%d-%d" + (user-uid) + (riece-log-encode-file-name (system-name)) (emacs-pid)) riece-log-directory)) ;; FIXME: Use `riece-after-insert-functions' for trapping change,