OSSP CVS Repository

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

Check-in Number: 3308
Date: 2003-Mar-22 21:28:42 (local)
2003-Mar-22 20:28:42 (UTC)
User:rse
Branch:
Comment: Replace some 0 by more politically correct NULL in pth_string.c
Tickets:
Inspections:
Files:
ossp-pkg/pth/ChangeLog      1.605 -> 1.606     5 inserted, 0 deleted
ossp-pkg/pth/pth_string.c      1.8 -> 1.9     1 inserted, 1 deleted

ossp-pkg/pth/ChangeLog 1.605 -> 1.606

--- ChangeLog    2003/02/17 10:49:02     1.605
+++ ChangeLog    2003/03/22 20:28:42     1.606
@@ -19,6 +19,11 @@
      / __/ | |_| |
   __|_____(_)___/_________________________________________________________
                   
+  Changes between 2.0.0 and 2.0.1 (17-Feb-2003 to xx-XXX-2003)
+
+   *) Replace some 0 by more politically correct NULL in pth_string.c
+      [Ralf S. Engelschall]
+
   Changes between 2.0b2 and 2.0.0 (04-Dec-2002 to 17-Feb-2003)
 
    *) Final source tree polishing before release.


ossp-pkg/pth/pth_string.c 1.8 -> 1.9

--- pth_string.c 2003/01/01 15:49:12     1.8
+++ pth_string.c 2003/03/22 20:28:42     1.9
@@ -364,7 +364,7 @@
     int padlen, strln;
     int cnt = 0;
 
-    if (value == 0)
+    if (value == NULL)
         value = "<NULL>";
     for (strln = 0; value[strln] != '\0'; strln++)
         ;

CVSTrac 2.0.1