Index: commit.cpp =================================================================== RCS file: /usr/local/cvs/cvsnt/src/commit.c,v retrieving revision 1.39.2.138.6.71.2.15 diff -c -r1.39.2.138.6.71.2.15 commit.cpp *** commit.cpp 24 Apr 2012 07:56:29 -0000 1.39.2.138.6.71.2.15 --- commit.cpp 18 Sep 2018 05:48:12 -0000 *************** *** 1219,1227 **** strcpy(bug_re,bug_re_1); else { ! char *findbad; ! findbad=strpbrk(msg_synonym,"\\'\"[](){}*#?."); ! if (findbad!=NULL) { strcpy(bug_re,bug_re_1); TRACE(3,"Illegal characters in the bug synonym - ignoring: \"%s\".",msg_synonym); --- 1219,1232 ---- strcpy(bug_re,bug_re_1); else { ! // Ubuntu/Debian has a fit about this - so we can't do it ! // here is a possible workaround... ! // ! //char *findbad; ! //char thisisbad[]="\\'\"[](){}*#?.\0"; ! //findbad=strpbrk(msg_synonym,thisisbad); ! // ! if (strpbrk(msg_synonym,"\\'\"[](){}*#?.")!=NULL) { strcpy(bug_re,bug_re_1); TRACE(3,"Illegal characters in the bug synonym - ignoring: \"%s\".",msg_synonym); Index: main.cpp =================================================================== RCS file: /usr/local/cvs/cvsnt/src/main.c,v retrieving revision 1.71.2.151.6.54.2.47 diff -c -r1.71.2.151.6.54.2.47 main.cpp *** main.cpp 31 Jan 2018 14:20:46 -0000 1.71.2.151.6.54.2.47 --- main.cpp 18 Sep 2018 05:48:13 -0000 *************** *** 1457,1463 **** cvs::string trace_file_str; char process_id_str[50]; size_t foundpos1; ! char *foundpos2; trace_file_str = trace_file; cvs::sprintf(trace_file_str, 2048, "%s", trace_file); --- 1457,1463 ---- cvs::string trace_file_str; char process_id_str[50]; size_t foundpos1; ! //const char *foundpos2; trace_file_str = trace_file; cvs::sprintf(trace_file_str, 2048, "%s", trace_file); *************** *** 1476,1492 **** trace_file = xstrdup(trace_file_str.c_str()); CServerIo::loglevel(99); ! if ((foundpos2=strstr(trace_file,"%g"))!=NULL) { foundpos1=trace_file_str.rfind("%g"); TRACE(3,"Something is very wrong - the filename has not been substituted properly."); } ! if ((foundpos2=strstr(trace_file,"%t"))!=NULL) { foundpos1=trace_file_str.rfind("%t"); TRACE(3,"Something is very wrong - the filename has not been substituted properly."); } ! if ((foundpos2=strstr(trace_file,"%p"))!=NULL) { foundpos1=trace_file_str.rfind("%p"); TRACE(3,"Something is very wrong - the filename has not been substituted properly."); --- 1476,1492 ---- trace_file = xstrdup(trace_file_str.c_str()); CServerIo::loglevel(99); ! if ((/*foundpos2=*/strstr(trace_file,"%g"))!=NULL) { foundpos1=trace_file_str.rfind("%g"); TRACE(3,"Something is very wrong - the filename has not been substituted properly."); } ! if ((/*foundpos2=*/strstr(trace_file,"%t"))!=NULL) { foundpos1=trace_file_str.rfind("%t"); TRACE(3,"Something is very wrong - the filename has not been substituted properly."); } ! if ((/*foundpos2=*/strstr(trace_file,"%p"))!=NULL) { foundpos1=trace_file_str.rfind("%p"); TRACE(3,"Something is very wrong - the filename has not been substituted properly.");