OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_lib.c versions 1.59 and 1.60
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth_lib.c 1.59 -> 1.60

--- pth_lib.c    2004/12/31 19:34:45     1.59
+++ pth_lib.c    2005/10/12 08:14:21     1.60
@@ -138,6 +138,8 @@
 /* kill the package internals */
 int pth_kill(void)
 {
+    if (!pth_initialized)
+        return pth_error(FALSE, EINVAL);
     if (pth_current != pth_main)
         return pth_error(FALSE, EPERM);
     pth_debug1("pth_kill: enter");

CVSTrac 2.0.1