Merge: #19970: Fix some comment typos.
This commit is contained in:
commit
3c2a178af2
|
@ -873,7 +873,7 @@ class PendingSignalsTests(unittest.TestCase):
|
|||
|
||||
# Unblock SIGUSR1
|
||||
try:
|
||||
# unblock the pending signal calls immediatly the signal handler
|
||||
# unblock the pending signal calls immediately the signal handler
|
||||
signal.pthread_sigmask(signal.SIG_UNBLOCK, [signum])
|
||||
except ZeroDivisionError:
|
||||
pass
|
||||
|
|
|
@ -303,7 +303,7 @@ faulthandler_fatal_error(int signum)
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
/* call the previous signal handler: it is called immediatly if we use
|
||||
/* call the previous signal handler: it is called immediately if we use
|
||||
sigaction() thanks to SA_NODEFER flag, otherwise it is deferred */
|
||||
raise(signum);
|
||||
}
|
||||
|
|
|
@ -1666,7 +1666,7 @@ win32_xstat_impl(const char *path, struct win32_stat *result,
|
|||
/* FILE_FLAG_BACKUP_SEMANTICS is required to open a directory */
|
||||
/* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
|
||||
Because of this, calls like GetFinalPathNameByHandle will return
|
||||
the symlink path agin and not the actual final path. */
|
||||
the symlink path again and not the actual final path. */
|
||||
FILE_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
|
||||
FILE_FLAG_OPEN_REPARSE_POINT,
|
||||
NULL);
|
||||
|
@ -1762,7 +1762,7 @@ win32_xstat_impl_w(const wchar_t *path, struct win32_stat *result,
|
|||
/* FILE_FLAG_BACKUP_SEMANTICS is required to open a directory */
|
||||
/* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
|
||||
Because of this, calls like GetFinalPathNameByHandle will return
|
||||
the symlink path agin and not the actual final path. */
|
||||
the symlink path again and not the actual final path. */
|
||||
FILE_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
|
||||
FILE_FLAG_OPEN_REPARSE_POINT,
|
||||
NULL);
|
||||
|
|
Loading…
Reference in New Issue