[glib/wip/avoid-searching-path] Apply 1 suggestion(s) to 1 file(s)



commit 86519d5c36a506aa3017d33279a770836aba61e7
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Sun Jan 31 13:35:12 2021 +0000

    Apply 1 suggestion(s) to 1 file(s)

 glib/gspawn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gspawn.c b/glib/gspawn.c
index 0a5f2c877..d6c91658f 100644
--- a/glib/gspawn.c
+++ b/glib/gspawn.c
@@ -1868,7 +1868,7 @@ fork_exec_with_fds (gboolean              intermediate_child,
       search_path_buffer_len = strlen (chosen_search_path) + strlen (argv[0]) + 2;
       if (search_path_buffer_len < 4000)
         {
-          /* prefer small stack allocations to avoid valgrind leak warnings in forked child. */
+          /* Prefer small stack allocations to avoid valgrind leak warnings in forked child. The 4000B 
cutoff is arbitrary. */
           search_path_buffer = g_alloca (search_path_buffer_len);
         }
       else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]