Strip trailing whitespace
This commit is contained in:
parent
cfa4112950
commit
b4698d414b
@ -503,7 +503,7 @@ void fs__stat(uv_fs_t* req, const wchar_t* path) {
|
||||
req->ptr = NULL;
|
||||
} else {
|
||||
|
||||
/*
|
||||
/*
|
||||
* VC CRT doesn't properly set S_IFDIR in _fstati64,
|
||||
* so we set it here if path is a directory.
|
||||
*/
|
||||
@ -511,7 +511,7 @@ void fs__stat(uv_fs_t* req, const wchar_t* path) {
|
||||
mode = req->stat.st_mode;
|
||||
mode &= ~_S_IFMT;
|
||||
mode |= _S_IFDIR;
|
||||
|
||||
|
||||
req->stat.st_mode = mode;
|
||||
assert((req->stat.st_mode & _S_IFMT) == _S_IFDIR);
|
||||
}
|
||||
@ -709,7 +709,7 @@ void fs__symlink(uv_fs_t* req, const wchar_t* path, const wchar_t* new_path,
|
||||
req->last_error = ERROR_SUCCESS;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
SET_REQ_RESULT(req, result);
|
||||
}
|
||||
|
||||
@ -748,7 +748,7 @@ void fs__readlink(uv_fs_t* req, const wchar_t* path) {
|
||||
FSCTL_GET_REPARSE_POINT,
|
||||
NULL,
|
||||
0,
|
||||
buffer,
|
||||
buffer,
|
||||
MAXIMUM_REPARSE_DATA_BUFFER_SIZE,
|
||||
&bytes_returned,
|
||||
NULL);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user