glib/tests
Tor Lillqvist 55d624d80c Fix #117925 (Dov Grobgeld):
2003-08-16  Tor Lillqvist  <tml@iki.fi>

	Fix #117925 (Dov Grobgeld):

	* glib/gutils.c (g_find_program_in_path, g_basename,
	g_path_get_basename, g_path_is_absolute, g_path_skip_root,
	g_path_get_dirname, g_get_any_init): On Win32, look also for
	slashes ('/') as pathname separators.

	* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
	contains a pathname separator, include the actual one in the error
	message, instead of always the canonical one.

	(g_build_filename): Separate implementation on Win32 that looks
	for either slash or backslash. Document Unix/Windows differences.

	* tests/testglib.c
	* tests/strfunc-test.c: Test above functionality on Win32.
2003-08-16 19:45:25 +00:00
..
gobject added some assertions to test g_signal_get_invocation_hint(). 2001-12-18 20:38:58 +00:00
markups New testcases. 2002-05-18 22:06:54 +00:00
.cvsignore */.cvsignore: Add various Win32 related file types. 2001-11-24 18:53:03 +00:00
array-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
casefold.txt Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
casemap.txt Add test for special case not at inital position in the string, the bug 2003-08-06 20:28:33 +00:00
cxx-test.C Now that we check for a C++ compiler in configure.in anyway, I added a 2001-05-29 14:17:23 +00:00
date-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
dirname-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
env-test.c Remove a test for getenv() behaviour which isn't specified by SUS and 2003-08-08 19:28:24 +00:00
file-test.c for msvc build 2003-08-05 22:21:19 +00:00
gen-casefold-txt.pl Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
gen-casemap-txt.pl Add test for special case not at inital position in the string, the bug 2003-08-06 20:28:33 +00:00
gio-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
hash-test.c Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann). 2002-02-08 17:34:15 +00:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c use gsize instead of int where appropriate (64-bit cleanliness fix). 2002-10-15 22:39:16 +00:00
libmoduletestplugin_a.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
libmoduletestplugin_b.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
list-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
mainloop-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
Makefile.am Add tests for g_{get,set,unset}env(). 2003-07-28 19:30:05 +00:00
makefile.mingw.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
makefile.msc.in no sym links on win32, no lstat in msvcrt 2002-02-10 16:42:36 +00:00
markup-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
module-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
node-test.c Implement G_LEVEL_ORDER correctly. 2001-11-26 19:08:46 +00:00
patterntest.c Specify test strings in UTF-8, remove all charset conversion. Replace the 2003-08-07 19:39:36 +00:00
printf-test.c Integrate gnulib vasnprintf(). 2003-07-28 23:00:05 +00:00
qsort-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
queue-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
rand-test.c Improved the seeding algorithm. Old behaviour can be achived by setting 2002-11-26 14:09:00 +00:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-markup-tests.sh New testcases. 2002-05-18 22:06:54 +00:00
shell-test.c 1.3.13 2002-01-29 20:23:48 +00:00
slist-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
spawn-test-win32-gui.c Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully 2002-11-17 03:52:55 +00:00
spawn-test.c for msvc build 2003-07-20 15:55:09 +00:00
strfunc-test.c Fix #117925 (Dov Grobgeld): 2003-08-16 19:45:25 +00:00
string-test.c Use g_vasprintf() and g_string_append_len(), thus enabling embedded nuls 2003-06-05 23:04:21 +00:00
strtod-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testgdate.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testgdateparser.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testglib.c Fix #117925 (Dov Grobgeld): 2003-08-16 19:45:25 +00:00
thread-test.c Support for one-time initialization functions. (#69668, Sebastian 2003-07-08 23:43:48 +00:00
threadpool-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-basic.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-closure.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
tree-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
type-test.c pull in trio if host printf doesn't have a known way of printing 64-bit 2002-12-12 22:59:55 +00:00
unicode-caseconv.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
unicode-collate.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
unicode-encoding.c Return nonzero exit status if the test fails. (#118729) 2003-07-31 16:51:52 +00:00
unicode-normalize.c We do handle > BMP now, so test it. 2003-08-05 03:41:34 +00:00
uri-test.c Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653) 2003-03-30 21:24:58 +00:00
utf8.txt Change instances of U+10ffff to U+10fffd, since that is the last valid 2003-07-31 16:48:54 +00:00