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>

Andrew Kreimer committed Oct 10, 2024 at 18:11 UTC 54ee29cfd521b0e043dcc1857e4a7c8d993b5e59
3 files changed +4 -4
compat/fsmonitor/fsm-listen-win32.c
+2 -2
@@ -431,9 +431,9 @@ static int recv_rdcw_watch(struct one_watch *watch)
431 * but I observed ERROR_ACCESS_DENIED (0x05) errors during
432 * testing.
433 *
434 - * Note that we only get notificaiton events for events
434 + * Note that we only get notification events for events
435 * *within* the directory, not *on* the directory itself.
436 - * (These might be properies of the parent directory, for
436 + * (These might be properties of the parent directory, for
437 * example).
438 *
439 * NEEDSWORK: We might try to check for the deleted directory
compat/regex/regexec.c
+1 -1
@@ -292,7 +292,7 @@ compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
292 concerned.
293
294 If REGS is not NULL, and BUFP->no_sub is not set, the offsets of the match
295 - and all groups is stroed in REGS. (For the "_2" variants, the offsets are
295 + and all groups are stored in REGS. (For the "_2" variants, the offsets are
296 computed relative to the concatenation, not relative to the individual
297 strings.)
298
compat/simple-ipc/ipc-unix-socket.c
+1 -1
@@ -712,7 +712,7 @@ static int accept_thread__wait_for_connection(
712 * Block SIGPIPE in this thread for the life of the thread. This
713 * avoids any stray SIGPIPE signals when closing pipe fds under
714 * extremely heavy loads (such as when the fifo queue is full and we
715 - * drop incomming connections).
715 + * drop incoming connections).
716 */
717 static void *accept_thread_proc(void *_accept_thread_data)
718 {