Kaydet (Commit) 3c2a178a authored tarafından R David Murray's avatar R David Murray

Merge: #19970: Fix some comment typos.

...@@ -873,7 +873,7 @@ class PendingSignalsTests(unittest.TestCase): ...@@ -873,7 +873,7 @@ class PendingSignalsTests(unittest.TestCase):
# Unblock SIGUSR1 # Unblock SIGUSR1
try: 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]) signal.pthread_sigmask(signal.SIG_UNBLOCK, [signum])
except ZeroDivisionError: except ZeroDivisionError:
pass pass
......
...@@ -303,7 +303,7 @@ faulthandler_fatal_error(int signum) ...@@ -303,7 +303,7 @@ faulthandler_fatal_error(int signum)
return; return;
} }
#endif #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 */ sigaction() thanks to SA_NODEFER flag, otherwise it is deferred */
raise(signum); raise(signum);
} }
......
...@@ -1666,7 +1666,7 @@ win32_xstat_impl(const char *path, struct win32_stat *result, ...@@ -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_BACKUP_SEMANTICS is required to open a directory */
/* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink. /* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
Because of this, calls like GetFinalPathNameByHandle will return 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_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_OPEN_REPARSE_POINT,
NULL); NULL);
...@@ -1762,7 +1762,7 @@ win32_xstat_impl_w(const wchar_t *path, struct win32_stat *result, ...@@ -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_BACKUP_SEMANTICS is required to open a directory */
/* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink. /* FILE_FLAG_OPEN_REPARSE_POINT does not follow the symlink.
Because of this, calls like GetFinalPathNameByHandle will return 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_ATTRIBUTE_NORMAL|FILE_FLAG_BACKUP_SEMANTICS|
FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_OPEN_REPARSE_POINT,
NULL); NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment