diff options
| author | Eli Zaretskii | 2008-05-10 08:25:55 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-05-10 08:25:55 +0000 |
| commit | ed4c17bb826f4903fc1ca0a815f5074bf0702f2a (patch) | |
| tree | 15b0fb4a6d829583c8a51246e2cfdefea93b880e /src | |
| parent | 1b194392468cf8d1813844298a6507963d4284c1 (diff) | |
| download | emacs-ed4c17bb826f4903fc1ca0a815f5074bf0702f2a.tar.gz emacs-ed4c17bb826f4903fc1ca0a815f5074bf0702f2a.zip | |
(syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32proc.c | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6b7d01a0c79..a8c2686ae99 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-05-10 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. | ||
| 4 | |||
| 1 | 2008-05-09 Glenn Morris <rgm@gnu.org> | 5 | 2008-05-09 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * fileio.c (Fread_file_name): Remove reference to insdef, deleted | 7 | * fileio.c (Fread_file_name): Remove reference to insdef, deleted |
diff --git a/src/w32proc.c b/src/w32proc.c index 0665fa28f16..77753134f0c 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -2353,12 +2353,18 @@ the truename of a file can be slow. */); | |||
| 2353 | #endif | 2353 | #endif |
| 2354 | 2354 | ||
| 2355 | DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, | 2355 | DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, |
| 2356 | doc: /* Non-nil means determine accurate link count in `file-attributes'. | 2356 | doc: /* Non-nil means determine accurate file attributes in `file-attributes'. |
| 2357 | This option is only useful for files on NTFS volumes, where | 2357 | This option controls whether to issue additional system calls to determine |
| 2358 | hard links are supported. The default value `local' means only do | 2358 | accurate link counts, file type, and ownership information. It is only |
| 2359 | this for files on local harddrives. Any other non-nil value means do | 2359 | useful for files on NTFS volumes, where hard links and file security are |
| 2360 | this even on remote and removable drives where the performance impact | 2360 | supported. |
| 2361 | may be noticeable even on modern hardware. */); | 2361 | |
| 2362 | Without these system calls, link count will always be reported as 1 and file | ||
| 2363 | ownership will be attributed to the current user. | ||
| 2364 | The default value `local' means only issue these system calls for files | ||
| 2365 | on local fixed drives. A value of nil means never issue them. | ||
| 2366 | Any other non-nil value means do this even on remote and removable drives | ||
| 2367 | where the performance impact may be noticeable even on modern hardware. */); | ||
| 2362 | Vw32_get_true_file_attributes = Qlocal; | 2368 | Vw32_get_true_file_attributes = Qlocal; |
| 2363 | 2369 | ||
| 2364 | staticpro (&Vw32_valid_locale_ids); | 2370 | staticpro (&Vw32_valid_locale_ids); |