comparison src/ntproc.c @ 263:727739f917cb r20-5b30

Import from CVS: tag r20-5b30
author cvs
date Mon, 13 Aug 2007 10:24:41 +0200
parents 41f2f0e326e9
children c5d627a313b1
comparison
equal deleted inserted replaced
262:9d8607af9e13 263:727739f917cb
72 avoids the inefficiency of frequently reading small amounts of data. 72 avoids the inefficiency of frequently reading small amounts of data.
73 This is primarily necessary for handling DOS processes on Windows 95, 73 This is primarily necessary for handling DOS processes on Windows 95,
74 but is useful for Win32 processes on both Win95 and NT as well. */ 74 but is useful for Win32 processes on both Win95 and NT as well. */
75 Lisp_Object Vwin32_pipe_read_delay; 75 Lisp_Object Vwin32_pipe_read_delay;
76 76
77 /* Control conversion of upper case file names to lower case.
78 nil means no, t means yes. */
79 Lisp_Object Vwin32_downcase_file_names;
80
81 /* Control whether stat() attempts to generate fake but hopefully 77 /* Control whether stat() attempts to generate fake but hopefully
82 "accurate" inode values, by hashing the absolute truenames of files. 78 "accurate" inode values, by hashing the absolute truenames of files.
83 This should detect aliasing between long and short names, but still 79 This should detect aliasing between long and short names, but still
84 allows the possibility of hash collisions. */ 80 allows the possibility of hash collisions. */
85 Lisp_Object Vwin32_generate_fake_inodes; 81 Lisp_Object Vwin32_generate_fake_inodes;
86
87 /* Control whether stat() attempts to determine file type and link count
88 exactly, at the expense of slower operation. Since true hard links
89 are supported on NTFS volumes, this is only relevant on NT. */
90 Lisp_Object Vwin32_get_true_file_attributes;
91 82
92 Lisp_Object Qhigh, Qlow; 83 Lisp_Object Qhigh, Qlow;
93 84
94 #ifndef DEBUG_XEMACS 85 #ifndef DEBUG_XEMACS
95 __inline 86 __inline
1877 of time slices to wait (effectively boosting the priority of the child 1868 of time slices to wait (effectively boosting the priority of the child
1878 process temporarily). A value of zero disables waiting entirely. 1869 process temporarily). A value of zero disables waiting entirely.
1879 */ ); 1870 */ );
1880 Vwin32_pipe_read_delay = 50; 1871 Vwin32_pipe_read_delay = 50;
1881 1872
1882 DEFVAR_LISP ("win32-downcase-file-names", &Vwin32_downcase_file_names /*
1883 Non-nil means convert all-upper case file names to lower case.
1884 This applies when performing completions and file name expansion.*/ );
1885 Vwin32_downcase_file_names = Qnil;
1886
1887 #if 0 1873 #if 0
1888 DEFVAR_LISP ("win32-generate-fake-inodes", &Vwin32_generate_fake_inodes /* 1874 DEFVAR_LISP ("win32-generate-fake-inodes", &Vwin32_generate_fake_inodes /*
1889 "Non-nil means attempt to fake realistic inode values. 1875 "Non-nil means attempt to fake realistic inode values.
1890 This works by hashing the truename of files, and should detect 1876 This works by hashing the truename of files, and should detect
1891 aliasing between long and short (8.3 DOS) names, but can have 1877 aliasing between long and short (8.3 DOS) names, but can have
1892 false positives because of hash collisions. Note that determing 1878 false positives because of hash collisions. Note that determing
1893 the truename of a file can be slow. 1879 the truename of a file can be slow.
1894 */ ); 1880 */ );
1895 Vwin32_generate_fake_inodes = Qnil; 1881 Vwin32_generate_fake_inodes = Qnil;
1896 #endif 1882 #endif
1897
1898 DEFVAR_LISP ("win32-get-true-file-attributes", &Vwin32_get_true_file_attributes /*
1899 "Non-nil means determine accurate link count in file-attributes.
1900 This option slows down file-attributes noticeably, so is disabled by
1901 default. Note that it is only useful for files on NTFS volumes,
1902 where hard links are supported.
1903 */ );
1904 Vwin32_get_true_file_attributes = Qnil;
1905 } 1883 }
1906 /* end of ntproc.c */ 1884 /* end of ntproc.c */