compat: fix typos

Fix typos and grammar.

Reported-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andrew Kreimer 2024-10-10 18:11:19 +03:00 committed by Junio C Hamano
parent 777489f9e0
commit 54ee29cfd5
3 changed files with 4 additions and 4 deletions

View file

@ -431,9 +431,9 @@ static int recv_rdcw_watch(struct one_watch *watch)
* but I observed ERROR_ACCESS_DENIED (0x05) errors during
* testing.
*
* Note that we only get notificaiton events for events
* Note that we only get notification events for events
* *within* the directory, not *on* the directory itself.
* (These might be properies of the parent directory, for
* (These might be properties of the parent directory, for
* example).
*
* NEEDSWORK: We might try to check for the deleted directory

View file

@ -292,7 +292,7 @@ compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
concerned.
If REGS is not NULL, and BUFP->no_sub is not set, the offsets of the match
and all groups is stroed in REGS. (For the "_2" variants, the offsets are
and all groups are stored in REGS. (For the "_2" variants, the offsets are
computed relative to the concatenation, not relative to the individual
strings.)

View file

@ -712,7 +712,7 @@ static int accept_thread__wait_for_connection(
* Block SIGPIPE in this thread for the life of the thread. This
* avoids any stray SIGPIPE signals when closing pipe fds under
* extremely heavy loads (such as when the fifo queue is full and we
* drop incomming connections).
* drop incoming connections).
*/
static void *accept_thread_proc(void *_accept_thread_data)
{