--- sgDb.c.orig Thu Mar 21 16:11:11 2002 +++ sgDb.c Thu Mar 21 16:15:09 2002 @@ -143,7 +143,8 @@ if(dbfile == NULL){ sgLogError("error update dbfile %s.db. file does not exists, use -C to create",file); } else { - update = (char *) sgMalloc(strlen(file) + 5); + // strelen(filename) + ".diff" + \0 ! + update = (char *) sgMalloc(strlen(file) + 6); strcpy(update,file); strcat(update,".diff"); if(stat(update,&st) == 0){
-- We're all in this alone. -- Lily Tomlin