- Timestamp:
- Oct 5, 2023, 2:30:54 PM (16 months ago)
- Branches:
- master
- Children:
- b67b632
- Parents:
- bf1cbde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
rbf1cbde r8cffa4f 1011 1011 1012 1012 int check = f.wd - 2; 1013 if ( ! f.flags.rwd ) f.s[check] = '\0'; // insert sentinel 1013 if (! f.flags.ignore ) { 1014 f.s[0] = '\0'; 1015 if ( ! f.flags.rwd ) f.s[check] = '\0'; // insert sentinel 1016 } 1014 1017 len = fmt( is, fmtstr, f.s ); 1015 1018 //fprintf( stderr, "KK %s %zd %d %c %s\n", fmtstr, len, check, f.s[check], f.s ); 1016 1019 1017 if ( ! f.flags.rwd && f.s[check] != '\0' )// sentinel overwritten ?1020 if (! f.flags.ignore && ! f.flags.rwd && f.s[check] != '\0' ) // sentinel overwritten ? 1018 1021 throw (cstring_length){ &cstring_length_vt }; 1019 1022
Note: See TracChangeset
for help on using the changeset viewer.