Changeset 5f3629 in git
- Timestamp:
- Jul 4, 2011, 2:31:07 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 89656143073a299ea34c74edd13feac5e3067893
- Parents:
- ed6d08505117201dac25df9001f5e7f4b800bc27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/febase.cc
red6d085 r5f3629 963 963 // some routines which redirect the output of print to a string 964 964 static char* sprint = NULL; 965 static char* sprint_backup = NULL; 965 966 void SPrintStart() 966 967 { 968 if (sprint!=NULL) 969 { 970 if (sprint_backup!=NULL) WerrorS("internal error: SPrintStart"); 971 else sprint_backup=sprint; 972 } 967 973 sprint = omStrDup(""); 968 974 } … … 988 994 { 989 995 char* ns = sprint; 990 sprint = NULL; 996 sprint = sprint_backup; 997 sprint_backup=NULL; 991 998 omCheckAddr(ns); 992 999 return ns;
Note: See TracChangeset
for help on using the changeset viewer.