Fossil

Check-in [c405c1be3c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix off-by-one issue in the previous check-in.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | 16-digit-event-ids
Files: files | file ages | folders
SHA1: c405c1be3c164c6f9a86cf8a48e8a4bb42a1d311
User & Date: mistachkin 2014-07-01 22:27:21.322
Context
2014-07-02
10:50
Use "%S" format in stead of "%.10s" in more places where UUID's are handled. Closed-Leaf check-in: b246fa0cee user: jan.nijtmans tags: 16-digit-event-ids
2014-07-01
22:27
Fix off-by-one issue in the previous check-in. check-in: c405c1be3c user: mistachkin tags: 16-digit-event-ids
2014-06-30
19:07
Coding style adjustments. Remark (nijtmans): This commit contains more than just a coding style adjustment, changes the output of UUID's different than the proposed algorithm; if longer than 10 characters, the final non-digit char is missing. Demonstration: [/timeline?n=20&y=e]. Look at the last UUID in the timeline , it is [347871278941] but it should have been [347871278941b]! check-in: b6f137a01e user: mistachkin tags: 16-digit-event-ids
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/printf.c.
620
621
622
623
624
625
626

627
628
629
630
631
632
633
        }else if( xtype==etDYNSTRING ){
          zExtra = bufpt;
        }else if( xtype==etSTRINGID ){
          precision = 0;
          while( bufpt[precision]>='0' && bufpt[precision]<='9' ){
            precision++;
          }

          if( precision<10 ) precision=10;
        }
        length = StrNLen32(bufpt, limit);
        if( precision>=0 && precision<length ) length = precision;
        break;
      }
      case etBLOB: {







>







620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
        }else if( xtype==etDYNSTRING ){
          zExtra = bufpt;
        }else if( xtype==etSTRINGID ){
          precision = 0;
          while( bufpt[precision]>='0' && bufpt[precision]<='9' ){
            precision++;
          }
          if( bufpt[precision]!=0 ) precision++;
          if( precision<10 ) precision=10;
        }
        length = StrNLen32(bufpt, limit);
        if( precision>=0 && precision<length ) length = precision;
        break;
      }
      case etBLOB: {