libgsf r986 - in trunk: . tests
- From: jody svn gnome org
- To: svn-commits-list gnome org
- Subject: libgsf r986 - in trunk: . tests
- Date: Fri, 13 Jun 2008 11:19:58 +0000 (UTC)
Author: jody
Date: Fri Jun 13 11:19:57 2008
New Revision: 986
URL: http://svn.gnome.org/viewvc/libgsf?rev=986&view=rev
Log:
2008-06-13 Jody Goldberg <jody gnome org>
* tests/test-msole1.c :
* tests/test-http.c :
* tests/test-zip1.c :
* tests/test-gzip1.c :
* tests/test-gzip2.c :
* tests/test-bzip.c :
* tests/test-msvba.c : Clear error after use in preparation for the
next file.
Modified:
trunk/ChangeLog
trunk/tests/test-bzip.c
trunk/tests/test-gzip1.c
trunk/tests/test-gzip2.c
trunk/tests/test-http.c
trunk/tests/test-msole1.c
trunk/tests/test-msvba.c
trunk/tests/test-zip1.c
Modified: trunk/tests/test-bzip.c
==============================================================================
--- trunk/tests/test-bzip.c (original)
+++ trunk/tests/test-bzip.c Fri Jun 13 11:19:57 2008
@@ -41,6 +41,7 @@
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
@@ -51,6 +52,7 @@
g_warning ("'%s' Not a BZip file: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
g_object_unref (G_OBJECT (input));
continue;
}
Modified: trunk/tests/test-gzip1.c
==============================================================================
--- trunk/tests/test-gzip1.c (original)
+++ trunk/tests/test-gzip1.c Fri Jun 13 11:19:57 2008
@@ -42,6 +42,7 @@
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
@@ -52,6 +53,7 @@
g_warning ("'%s' Not a GZip file: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
g_object_unref (G_OBJECT (input));
continue;
}
Modified: trunk/tests/test-gzip2.c
==============================================================================
--- trunk/tests/test-gzip2.c (original)
+++ trunk/tests/test-gzip2.c Fri Jun 13 11:19:57 2008
@@ -43,6 +43,7 @@
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
@@ -58,6 +59,7 @@
if (gzip == NULL) {
g_warning ("'%s' Not a GZip file: %s", argv[i], "???" /* err->message */);
g_error_free (err);
+ err = NULL;
g_object_unref (G_OBJECT (input));
continue;
}
Modified: trunk/tests/test-http.c
==============================================================================
--- trunk/tests/test-http.c (original)
+++ trunk/tests/test-http.c Fri Jun 13 11:19:57 2008
@@ -40,6 +40,7 @@
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
Modified: trunk/tests/test-msole1.c
==============================================================================
--- trunk/tests/test-msole1.c (original)
+++ trunk/tests/test-msole1.c Fri Jun 13 11:19:57 2008
@@ -161,6 +161,7 @@
g_return_val_if_fail (err != NULL, 1);
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
@@ -173,6 +174,7 @@
g_warning ("'%s' Not an OLE file: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
#ifdef DUMP_CONTENT
dump_biff_stream (input);
Modified: trunk/tests/test-msvba.c
==============================================================================
--- trunk/tests/test-msvba.c (original)
+++ trunk/tests/test-msvba.c Fri Jun 13 11:19:57 2008
@@ -67,6 +67,7 @@
if (err != NULL) {
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
}
}
Modified: trunk/tests/test-zip1.c
==============================================================================
--- trunk/tests/test-zip1.c (original)
+++ trunk/tests/test-zip1.c Fri Jun 13 11:19:57 2008
@@ -64,6 +64,7 @@
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
@@ -74,6 +75,7 @@
g_warning ("'%s' Not a Zip file: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]