We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ac583 commit 3887087Copy full SHA for 3887087
base/shell/cmd/copy.c
@@ -259,7 +259,7 @@ copy(TCHAR source[MAX_PATH],
259
260
TRACE ("setting mode\n");
261
/* For MS-DOS backwards-compatibility, always remove the read-only attribute */
262
- SetFileAttributes (dest, dwAttribs & ~FILE_ATTRIBUTE_READONLY);
+ SetFileAttributes (dest, dwAttrib & ~FILE_ATTRIBUTE_READONLY);
263
264
/* Now finish off the copy if needed with CopyFileEx */
265
if (lpdwFlags & COPY_RESTART)
0 commit comments