mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Remove test for initial double backslash (UNC path), this will of course
2001-03-01 Tor Lillqvist <tml@iki.fi> * 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_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. * glib.def: Add g_find_program_in_path.
This commit is contained in:
committed by
Tor Lillqvist
parent
5215807c6c
commit
b6ba941b50
@@ -1165,6 +1165,10 @@ main (int argc,
|
||||
g_win32_get_package_installation_subdirectory (NULL, glib_dll, "locale"));
|
||||
g_print ("GTK+ 2.0 installation directory, if available: %s\n",
|
||||
g_win32_get_package_installation_directory ("gtk20", NULL));
|
||||
|
||||
g_print ("found more.com as %s\n", g_find_program_in_path ("more.com"));
|
||||
g_print ("found regedit.exe as %s\n", g_find_program_in_path ("regedit.exe"));
|
||||
|
||||
#endif
|
||||
|
||||
g_print ("checking file functions...\n");
|
||||
|
Reference in New Issue
Block a user