[gnome-builder] io: add comment regarding path lookup



commit 5be2fbb40fba2b7e511981ca5c10830582cc5c5c
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 6 20:56:46 2019 -0700

    io: add comment regarding path lookup

 src/libide/io/ide-path.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/libide/io/ide-path.c b/src/libide/io/ide-path.c
index 8a5626960..17a8bd720 100644
--- a/src/libide/io/ide-path.c
+++ b/src/libide/io/ide-path.c
@@ -155,6 +155,12 @@ ide_find_program_in_host_path (const gchar *program)
       g_autoptr(IdeSubprocessLauncher) launcher = NULL;
       g_autoptr(IdeSubprocess) subprocess = NULL;
 
+      /* It is possible to do this by looking in /var/run/host since we have
+       * access to --filesystem=home. However, that would not include things
+       * that could be in an altered path in the users session (which we would
+       * otherwise want to find.
+       */
+
       if (program == NULL)
         return NULL;
 


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