* gutils.c (g_path_is_absolute): (Win32) Remove test for initial
double backslash (UNC path), this will of course be matched by the
test for an initial G_DIR_SEPARATOR right up front. Silly me.
- (g_find_program_in_path): Implement on Win32.
+ (g_find_program_in_path): Implement on Win32. Append the
+ executable file name suffixes from PATHEXT in turn while looking
+ for the program.
+ (g_find_program_in_path): If the program we are looking for is a
+ relative path in a subdirectory, don't do any path search.
(g_get_any_init): (Win32) Also look for the USERPROFILE env var
indicating the home directory equivalent.
* testglib.c (main): Test g_find_program_in_path() on Win32 by
- looking for more.com and regedit.exe.
+ looking for more.com and regedit.
* glib.def: Add g_find_program_in_path.