Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b6046155
Commit
b6046155
authored
Jul 13, 2009
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(directory_files_internal) [WINDOWSNT]: Don't make a local copy
of dirfilename.
parent
28571246
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/ChangeLog
src/ChangeLog
+5
-0
src/dired.c
src/dired.c
+1
-6
No files found.
src/ChangeLog
View file @
b6046155
2009-07-13 Eli Zaretskii <eliz@gnu.org>
* dired.c (directory_files_internal) [WINDOWSNT]: Don't make a
local copy of dirfilename.
2009-07-13 Kenichi Handa <handa@m17n.org>
* chartab.c (sub_char_table_ref_and_range): Fix the range check
...
...
src/dired.c
View file @
b6046155
...
...
@@ -219,14 +219,9 @@ directory_files_internal (directory, full, match, nosort, attrs, id_format)
w32_save
=
Vw32_get_true_file_attributes
;
if
(
EQ
(
Vw32_get_true_file_attributes
,
Qlocal
))
{
char
*
dirnm
=
SDATA
(
dirfilename
);
char
*
fn
=
alloca
(
SBYTES
(
dirfilename
)
+
1
);
strncpy
(
fn
,
SDATA
(
dirfilename
),
SBYTES
(
dirfilename
));
fn
[
SBYTES
(
dirfilename
)]
=
'\0'
;
/* w32.c:stat will notice these bindings and avoid calling
GetDriveType for each file. */
if
(
is_slow_fs
(
fn
))
if
(
is_slow_fs
(
SDATA
(
dirfilename
)
))
Vw32_get_true_file_attributes
=
Qnil
;
else
Vw32_get_true_file_attributes
=
Qt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment