OSSP CVS Repository

ossp - Check-in [2967]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2967
Date: 2002-Dec-16 16:03:18 (local)
2002-Dec-16 15:03:18 (UTC)
User:mlelstv
Branch:
Comment: more fixes for WITH_EX case
Tickets:
Inspections:
Files:
ossp-pkg/al/al_test.c      1.6 -> 1.7     3 inserted, 3 deleted

ossp-pkg/al/al_test.c 1.6 -> 1.7

--- al_test.c    2002/12/16 15:02:14     1.6
+++ al_test.c    2002/12/16 15:03:18     1.7
@@ -376,14 +376,14 @@
 
     ts_test_check(TS_CTX, "exception handling");
     caught = 0;
+    al = NULL;
     ex_try {
-        al = NULL;
         al_create(&al);
-        al_append_bytes(&al, S("DUMMYDUMMY"), NULL);
+        al_append_bytes(al, S("DUMMYDUMMY"), NULL);
         al_splice(al, 50, 1, NULL, NULL);
     }
     ex_cleanup {
-        if (al != NULL) al_destroy(&al);
+        if (al != NULL) al_destroy(al);
     }
     ex_catch (ex) {
         if ((al_rc_t)ex.ex_value != AL_ERR_EOF)

CVSTrac 2.0.1