Changeset 484a08 in git
- Timestamp:
- Jan 10, 2013, 6:34:37 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- b773c077a56a9184b0b69a4d03916c6e04074ebb
- Parents:
- ea9fd6021b4bf8655b902b6f2759d1ab54360654
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/reporter/reporter.cc
rea9fd60 r484a08 243 243 // some routines which redirect the output of print to a string 244 244 static char* sprint = NULL; 245 static char* sprint_backup = NULL; 245 246 void SPrintStart() 246 247 { 248 if (sprint!=NULL) 249 { 250 if (sprint_backup!=NULL) WerrorS("internal error: SPrintStart"); 251 else sprint_backup=sprint; 252 } 247 253 sprint = omStrDup(""); 248 254 } … … 268 274 { 269 275 char* ns = sprint; 270 sprint = NULL; 276 sprint = sprint_backup; 277 sprint_backup=NULL; 271 278 omCheckAddr(ns); 272 279 return ns;
Note: See TracChangeset
for help on using the changeset viewer.