[Mono-dev] [PATCH] Windows fix for eglib g_find_program_in_path

Bill Holmes billholmes54 at gmail.com
Tue Jun 2 09:26:46 EDT 2009


Hi,

The attached patch for eglib g_find_program_in_path uses additional
suffixes when searching for the program.

http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-find-program-in-path

"On Windows, if program does not have a file type suffix, tries with
the suffixes .exe, .cmd, .bat and .com, and the suffixes in the
PATHEXT environment variable. "

-bill

2009-06-02  Bill Holmes  <billholmes54 at gmail.com>

	* src/gpath.c (g_find_program_in_path):  While searching on Windows
	  also try additional suffixes .exe, .cmd, .bat, and.com.

	Contributed under MIT/X11 license.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_find_program_in_path.patch
Type: application/octet-stream
Size: 2004 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090602/1e5ce83a/attachment.obj 


More information about the Mono-devel-list mailing list