Mercurial > emacs
annotate nt/inc/sys/file.h @ 46048:05db6f1e91ca
(tramp-file-name-structure)
(tramp-multi-file-name-hop-structure): Split for easier
readability.
(tramp-handle-make-symbolic-link): Use user/host/method/... from
LINKNAME, not FILENAME.
(tramp-handle-verify-visited-file-modtime): Call
tramp-ange-ftp-file-name-p with right parameters.
(tramp-handle-verify-visited-file-modtime): `insert' does not
work for integers, convert them to strings first.
(tramp-handle-ange-ftp): New function to perform setup for
replacing Ange-FTP with Tramp.
(tramp-repair-jka-compr): New function to factor out some
previously top-level code. Call the function at top-level.
author | Kai Großjohann <kgrossjo@eu.uu.net> |
---|---|
date | Thu, 27 Jun 2002 15:52:51 +0000 |
parents | 69b7e5c8da03 |
children | 695cf19ef79e |
rev | line source |
---|---|
11766 | 1 /* |
15134
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
2 * sys\file.h doesn't exist on NT - only needed for these constants |
11766 | 3 */ |
15134
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
4 |
31090
69b7e5c8da03
(F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
Andrew Innes <andrewi@gnu.org>
parents:
22361
diff
changeset
|
5 #ifndef D_OK |
15134
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
6 #define F_OK 0 |
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
7 #define X_OK 1 |
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
8 #define W_OK 2 |
cc3c8961d60a
(F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11766
diff
changeset
|
9 #define R_OK 4 |
22361 | 10 #define D_OK 8 |
31090
69b7e5c8da03
(F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
Andrew Innes <andrewi@gnu.org>
parents:
22361
diff
changeset
|
11 #endif |