Changeset ffa0d1 in git
- Timestamp:
- Apr 21, 2016, 3:23:49 PM (8 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 332757e0f7df60328df1635e63f5d71b807f61e5
- Parents:
- 3e4cb17e27106684e223468e0b966964367a2833
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/reporter/reporter.cc
r3e4cb1 rffa0d1 166 166 } 167 167 168 #ifdef HAVE_TCL169 extern "C" {170 void PrintTCLS(const char c, const char *s)171 {172 int l=strlen(s);173 if (l>0) PrintTCL(c,l,s);174 }175 }176 #endif177 178 168 void WerrorS_batch(const char *s) 179 169 { … … 221 211 fwrite("\n",1,1,stdout); 222 212 fflush(stdout); 213 if (feProt&SI_PROT_O) 214 { 215 fwrite(warn_str,1,6,feProtFile); 216 fwrite(s,1,strlen(s),feProtFile); 217 fwrite("\n",1,1,feProtFile); 218 } 223 219 } 224 220 else 225 221 { 226 222 WarnS_callback(s); 227 }228 if (feProt&SI_PROT_O)229 {230 fwrite(warn_str,1,6,feProtFile);231 fwrite(s,1,strlen(s),feProtFile);232 fwrite("\n",1,1,feProtFile);233 223 } 234 224 } … … 307 297 } 308 298 else 309 #ifdef HAVE_TCL310 if (tclmode)311 {312 PrintTCLS('N',s);313 }314 else315 #endif316 299 { 317 300 fwrite(s,1,strlen(s),stdout);
Note: See TracChangeset
for help on using the changeset viewer.