src,test: s/olny/only
PR-URL: https://github.com/libuv/libuv/pull/1848 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
13e8b15eb7
commit
06fdc2bd0e
@ -1516,7 +1516,7 @@ static void fs__fchmod(uv_fs_t* req) {
|
||||
|
||||
/* Test if the Archive attribute is cleared */
|
||||
if ((file_info.FileAttributes & FILE_ATTRIBUTE_ARCHIVE) == 0) {
|
||||
/* Set Archive flag, otherwise setting or clearing the read-olny
|
||||
/* Set Archive flag, otherwise setting or clearing the read-only
|
||||
flag will not work */
|
||||
file_info.FileAttributes |= FILE_ATTRIBUTE_ARCHIVE;
|
||||
nt_status = pNtSetInformationFile(handle,
|
||||
|
||||
@ -3318,7 +3318,7 @@ TEST_IMPL(fs_open_readonly_acl) {
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
TEST_IMPL(fs_fchmod_archive_readolny) {
|
||||
TEST_IMPL(fs_fchmod_archive_readonly) {
|
||||
uv_fs_t req;
|
||||
uv_file file;
|
||||
int r;
|
||||
|
||||
@ -342,7 +342,7 @@ TEST_DECLARE (fs_null_req)
|
||||
#ifdef _WIN32
|
||||
TEST_DECLARE (fs_exclusive_sharing_mode)
|
||||
TEST_DECLARE (fs_open_readonly_acl)
|
||||
TEST_DECLARE (fs_fchmod_archive_readolny)
|
||||
TEST_DECLARE (fs_fchmod_archive_readonly)
|
||||
#endif
|
||||
TEST_DECLARE (threadpool_queue_work_simple)
|
||||
TEST_DECLARE (threadpool_queue_work_einval)
|
||||
@ -886,7 +886,7 @@ TASK_LIST_START
|
||||
#ifdef _WIN32
|
||||
TEST_ENTRY (fs_exclusive_sharing_mode)
|
||||
TEST_ENTRY (fs_open_readonly_acl)
|
||||
TEST_ENTRY (fs_fchmod_archive_readolny)
|
||||
TEST_ENTRY (fs_fchmod_archive_readonly)
|
||||
#endif
|
||||
TEST_ENTRY (get_osfhandle_valid_handle)
|
||||
TEST_ENTRY (threadpool_queue_work_simple)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user