Re: [Mesa-dev] [PATCH 4/4] util: Get program name based on path when possible

2018-09-12 Thread Kazlauskas, Nicholas
On 09/12/2018 10:28 AM, Nicolai Hähnle wrote: On 12.09.2018 14:31, Kazlauskas, Nicholas wrote: On 09/12/2018 12:26 AM, Timothy Arceri wrote: On 12/9/18 2:24 am, Nicholas Kazlauskas wrote: Some programs start with the path and command line arguments in argv[0] (program_invocation_name). Chromiu

Re: [Mesa-dev] [PATCH 4/4] util: Get program name based on path when possible

2018-09-12 Thread Nicolai Hähnle
On 12.09.2018 14:31, Kazlauskas, Nicholas wrote: On 09/12/2018 12:26 AM, Timothy Arceri wrote: On 12/9/18 2:24 am, Nicholas Kazlauskas wrote: Some programs start with the path and command line arguments in argv[0] (program_invocation_name). Chromium is an example of an application using mesa th

Re: [Mesa-dev] [PATCH 4/4] util: Get program name based on path when possible

2018-09-12 Thread Kazlauskas, Nicholas
On 09/12/2018 12:26 AM, Timothy Arceri wrote: On 12/9/18 2:24 am, Nicholas Kazlauskas wrote: Some programs start with the path and command line arguments in argv[0] (program_invocation_name). Chromium is an example of an application using mesa that does this. This change breaks the detection o

Re: [Mesa-dev] [PATCH 4/4] util: Get program name based on path when possible

2018-09-11 Thread Timothy Arceri
On 12/9/18 2:24 am, Nicholas Kazlauskas wrote: Some programs start with the path and command line arguments in argv[0] (program_invocation_name). Chromium is an example of an application using mesa that does this. This change breaks the detection of Wine applications. Can you give an example o

[Mesa-dev] [PATCH 4/4] util: Get program name based on path when possible

2018-09-11 Thread Nicholas Kazlauskas
Some programs start with the path and command line arguments in argv[0] (program_invocation_name). Chromium is an example of an application using mesa that does this. This tries to query the real path for the symbolic link /proc/self/exe to find the program name instead. Signed-off-by: Nicholas K