From ed4c17bb826f4903fc1ca0a815f5074bf0702f2a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii <eliz@gnu.org> Date: Sat, 10 May 2008 08:25:55 +0000 Subject: [PATCH] (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. --- src/ChangeLog | 4 ++++ 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 @@ +2008-05-10 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. + 2008-05-09 Glenn Morris <rgm@gnu.org> * 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. */); #endif DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, - doc: /* Non-nil means determine accurate link count in `file-attributes'. -This option is only useful for files on NTFS volumes, where -hard links are supported. The default value `local' means only do -this for files on local harddrives. Any other non-nil value means do -this even on remote and removable drives where the performance impact -may be noticeable even on modern hardware. */); + doc: /* Non-nil means determine accurate file attributes in `file-attributes'. +This option controls whether to issue additional system calls to determine +accurate link counts, file type, and ownership information. It is only +useful for files on NTFS volumes, where hard links and file security are +supported. + +Without these system calls, link count will always be reported as 1 and file +ownership will be attributed to the current user. +The default value `local' means only issue these system calls for files +on local fixed drives. A value of nil means never issue them. +Any other non-nil value means do this even on remote and removable drives +where the performance impact may be noticeable even on modern hardware. */); Vw32_get_true_file_attributes = Qlocal; staticpro (&Vw32_valid_locale_ids); -- 2.39.5