*** empty log message ***
authorhadaq <hadaq>
Wed, 5 Feb 2003 16:54:46 +0000 (16:54 +0000)
committerhadaq <hadaq>
Wed, 5 Feb 2003 16:54:46 +0000 (16:54 +0000)
allParam/ca/client/caParam.c
allParam/file/fileParam.c
allParam/ora/oraParam.pc
allParam/tcl/tclParam.c

index 6e2a2fda03750ca3c670dd97dde7ba035d29fff4..26c950b89183f9b37a285e1cdee941316c8c1fa9 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/ca/client/caParam.c,v 1.23 2003-02-05 13:17:59 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/ca/client/caParam.c,v 1.24 2003-02-05 16:54:46 hadaq Exp $";
 #define _POSIX_C_SOURCE 199509L
 
 #if HAVE_CONFIG_H
@@ -124,7 +124,7 @@ int conSetupParam(Param *my, const char *setup)
                                strcpy(my->basedir, "");
                        }
                }
-               if (strlen(my->basedir)) {
+               if ((NULL != my->basedir) && strlen(my->basedir)) {
                        strcat(my->basedir, "/");
                }
        }
index 27ca0690b16860488faeb5b8282de9dbdd626521..dc285a12a479e8c3a73e409dbcb87aa443c58c33 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/file/fileParam.c,v 1.22 2003-02-05 13:17:59 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/file/fileParam.c,v 1.23 2003-02-05 16:54:46 hadaq Exp $";
 #define _POSIX_C_SOURCE 199509L
 
 #if HAVE_CONFIG_H
@@ -105,7 +105,7 @@ int conSetupParam(Param *my, const char *setup)
                                strcpy(my->basedir, "");
                        }
                }
-               if (strlen(my->basedir)) {
+               if ((NULL != my->basedir) && strlen(my->basedir)) {
                        strcat(my->basedir, "/");
                }
        } else {
@@ -199,7 +199,7 @@ int conParam(Param *my)
                                strcpy(my->basedir, "");
                        }
                }
-               if (strlen(my->basedir)) {
+               if ((NULL != my->basedir) && strlen(my->basedir)) {
                        strcat(my->basedir, "/");
                }
        } else {
index 35578f56024290bb55a18125912f15e2433a6695..666c538da9093a884db621cc0b946f53df7575ec 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/ora/oraParam.pc,v 1.29 2003-02-05 13:17:59 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/ora/oraParam.pc,v 1.30 2003-02-05 16:54:46 hadaq Exp $";
 #define _POSIX_C_SOURCE 199509L
 
 #if HAVE_CONFIG_H
@@ -59,7 +59,7 @@ int conSetupParam(Param *my, const char *setup)
                        strcpy(my->basedir, "");
                }
        }
-       if (strlen(my->basedir)) {
+       if ((NULL != my->basedir) && strlen(my->basedir)) {
                strcat(my->basedir, "/");
        }
 
index 97c29b1db153e352208dc89e00644e2942b95b23..197621d06f0820f6dea039f9da8b0b8df14d7b0c 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/tcl/tclParam.c,v 1.25 2003-02-05 13:17:59 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/tcl/tclParam.c,v 1.26 2003-02-05 16:54:46 hadaq Exp $";
 #define _POSIX_C_SOURCE 199509L
 
 #if HAVE_CONFIG_H
@@ -72,7 +72,7 @@ int conSetupParam(Param *my, const char *setup)
                                strcpy(my->basedir, "");
                        }
                }
-               if (strlen(my->basedir)) {
+               if ((NULL != my->basedir) && strlen(my->basedir)) {
                        strcat(my->basedir, "/");
                }
        } else {
@@ -130,7 +130,7 @@ int conParam(Param *my)
                                strcpy(my->basedir, "");
                        }
                }
-               if (strlen(my->basedir)) {
+               if ((NULL != my->basedir) && strlen(my->basedir)) {
                        strcat(my->basedir, "/");
                }
        } else {