Index: ossp-pkg/rc/rc_anal.c RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_anal.c,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_anal.c,v' 2>/dev/null --- rc_anal.c 2002/06/28 17:43:23 1.8 +++ rc_anal.c 2002/08/01 08:55:05 1.9 @@ -130,7 +130,8 @@ if (*(kszPathexpr + strlen(kszPathexpr)) != '/') { (*ppInst)->m_szLocs = malloc(strlen(kszPathexpr) + 2 * sizeof(char)); strcpy((*ppInst)->m_szLocs, kszPathexpr); - strcat((*ppInst)->m_szLocs, "/"); + if ((char)*((*ppInst)->m_szLocs + strlen((*ppInst)->m_szLocs) - 1) != '/') + strcat((*ppInst)->m_szLocs, "/"); } else (*ppInst)->m_szLocs = strdup(kszPathexpr); Index: ossp-pkg/rc/rc_test/rcfuncs RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_test/rcfuncs,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/rc/rc_test/rcfuncs,v' 2>/dev/null --- rcfuncs 2002/07/29 15:51:43 1.3 +++ rcfuncs 2002/08/01 08:55:05 1.4 @@ -1,7 +1,7 @@ echo "**** Funcfile ist hier und wirds gemerged ****" echo "And again" >>disfile.txt cat disfile.txt | md5 >>disfile.txt -uname -a +uname -pn echo "Peter SMEJ ist chef Entwickler." echo "Thomas LOTTERER ist chef Entwickler." @@ -9,3 +9,5 @@ echo "Ralf ENGELSCHALL ist aber chef-chef Entwickler!" echo "**** Funcfile ist fertig, rc gehts weiter ****" +echo +