* fhandler.cc (rootdir): Fix typo in comment.

* syscalls.cc (try_to_bin): Ditto.
This commit is contained in:
Corinna Vinschen 2006-12-11 09:07:22 +00:00
parent e53c5df0a1
commit e79c01f84e
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-12-11 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (rootdir): Fix typo in comment.
* syscalls.cc (try_to_bin): Ditto.
2006-12-10 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (SHFileOperationA): Drop definition.

View File

@ -1241,8 +1241,8 @@ rootdir (const char *full_path, char *root_path)
*rootp = '\0';
/* This determines whether reparse points are available. Volume reparse
points on remote shares are not recognized by Windows functions like
GetVoluemInformation, nor by their native NT counterparts. */
points on remote shares are neither recognized by Windows functions
like GetVolumeInformation, nor by their native NT counterparts. */
if (!wincap.has_guid_volumes () || GetDriveType (root_path) == DRIVE_REMOTE)
return root_path;

View File

@ -211,7 +211,7 @@ try_to_bin (path_conv &win32_path, HANDLE h)
win32_path.get_win32 ()));
c += 20;
/* Length of thr WCHAR path in bytes. */
/* Length of the WCHAR path in bytes. */
ULONG len = 2 * (c - recycler);
/* Choose size big enough to fit a local native NT path into it. */
ULONG size = sizeof (FILE_RENAME_INFORMATION) + len + 10;