[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tramp-checkins] tramp/lisp ChangeLog tramp-smb.el tramp.el
From: |
Michael Albinus |
Subject: |
[Tramp-checkins] tramp/lisp ChangeLog tramp-smb.el tramp.el |
Date: |
Sat, 25 Jan 2003 17:32:26 -0500 |
CVSROOT: /cvsroot/tramp
Module name: tramp
Changes by: Michael Albinus <address@hidden> 03/01/25 17:32:26
Modified files:
lisp : ChangeLog tramp-smb.el tramp.el
Log message:
* tramp.el (tramp-devices): New variable. Keeps virtual device
numbers. Devices must distinguish physical file systems. The
device numbers provided by "lstat" aren't unique, because we
operate on different hosts. So we use virtual device numbers,
generated by `tramp-get-device'. Both Ange-FTP and EFS use device
number -1. In order to be different, we use device number (-1 x),
whereby "x" is unique for a given (multi-method method user
host). Suggested by Kai.
(tramp-perl-file-attributes): Always return device number -1.
There will be a virtual device number set in
`tramp-handle-file-attributes', which replaces this one.
(tramp-handle-file-attributes): Set virtual device number.
(tramp-get-device): New function. Returns the virtual device
number. If it doesn't exist, generate a new one.
(tramp-handle-file-regular-p): Use Emacs file name primitives
instead of calling tramp-handle-* equivalents directly. Needed
for tramp-smb.
* tramp-smb.el (tramp-smb-devices, tramp-smb-get-device): Removed.
Functionality moved to tramp.el.
(tramp-smb-handle-file-attributes): Apply
`tramp-get-device'. ATIME and CTIME are (0 0) now (= "don't
know"), which is more honest.
(tramp-smb-handle-make-directory): Use Emacs file name primitives
instead of calling tramp-smb-handle-* equivalents directly.
(tramp-smb-read-file-entry): Return size as a number but a string.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/tramp/tramp/lisp/ChangeLog.diff?tr1=2.274&tr2=2.275&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/tramp/tramp/lisp/tramp-smb.el.diff?tr1=2.16&tr2=2.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/tramp/tramp/lisp/tramp.el.diff?tr1=2.269&tr2=2.270&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tramp-checkins] tramp/lisp ChangeLog tramp-smb.el tramp.el,
Michael Albinus <=