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

Zoltan Varga vargaz at gmail.com
Tue Jun 2 14:52:20 EDT 2009


Hi,

  Looks ok.

           Zoltan

On Tue, Jun 2, 2009 at 3:26 PM, Bill Holmes <billholmes54 at gmail.com> wrote:

> 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.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090602/2f635d0d/attachment.html 


More information about the Mono-devel-list mailing list