From 98d2dc6522114e4044077801f11a3ed8de9c1147 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Sat, 5 Mar 2022 20:00:09 +0100 Subject: [PATCH] Use pselect instead of select in nsterm.m * src/nsterm.m ([EmacsApp fdhandler:]): Use pselect instead of the single remaining use of select (because we try to avoid using select directly) (bug#54245). --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index 45561b88b50..4adb13706d9 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5838,7 +5838,7 @@ not_in_argv (NSString *arg) fd_set fds; FD_ZERO (&fds); FD_SET (selfds[0], &fds); - result = select (selfds[0]+1, &fds, NULL, NULL, NULL); + result = pselect (selfds[0]+1, &fds, NULL, NULL, NULL, NULL); if (result > 0 && read (selfds[0], &c, 1) == 1 && c == 'g') waiting = 0; } -- 2.39.2