mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-14 19:48:05 +02:00
1.3.13
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com> * 1.3.13 * tests/shell-test.c: Workaround for MSVC bugs. (#61064)
This commit is contained in:
parent
0c77be75ed
commit
77f6f454f5
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -1,7 +1,11 @@
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
Tue Jan 29 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* 1.3.13
|
||||
|
||||
* tests/shell-test.c: Workaround for MSVC bugs. (#61064)
|
||||
|
||||
Tue Jan 29 14:06:22 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Update to include last change.
|
||||
|
||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
@ -269,19 +269,25 @@ main (int argc,
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\\\n"), "");
|
||||
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("'\\''"), "G_SHELL_ERROR_BAD_QUOTING");
|
||||
|
||||
#if defined (_MSC_VER) && (_MSC_VER <= 1200)
|
||||
/* using \x22 instead of \" to work around a msvc 5.0, 6.0 compiler bug */
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\\x22\""), "\"");
|
||||
#else
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\\"\""), "\"");
|
||||
#endif
|
||||
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\""), "G_SHELL_ERROR_BAD_QUOTING");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("'"), "G_SHELL_ERROR_BAD_QUOTING");
|
||||
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\\\\""), "\\");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\`\""), "`");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\$\""), "$");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\\n\""), "\n");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\\\\""), "\\");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\`\""), "`");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\$\""), "$");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\\n\""), "\n");
|
||||
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\'\""), "\\'");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\\r\""), "\\\r");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\"\\n\""), "\\n");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\\r\""), "\\\r");
|
||||
CHECK_STRING_RESULT (test_shell_unquote ("\x22\\n\""), "\\n");
|
||||
|
||||
return any_test_failed ? 1 : 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user