Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | 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]! |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | 16-digit-event-ids |
| Files: | files | file ages | folders |
| SHA1: |
b6f137a01ebda84d0af6acf4f8d695fb |
| User & Date: | mistachkin 2014-06-30 19:07:35.473 |
| Original Comment: | Coding style adjustments. |
Context
|
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) | |
| 09:13 | Use the same algorithm for event-id's for UUID's as in other UI locations: Make sure that the UUID contains at least a single lower-case hex digit, with a minimum of length 10. ... (check-in: 734d429940 user: jan.nijtmans tags: 16-digit-event-ids) | |
Changes
Changes to src/printf.c.
| ︙ | ︙ | |||
617 618 619 620 621 622 623 |
bufpt = va_arg(ap,char*);
if( bufpt==0 ){
bufpt = "";
}else if( xtype==etDYNSTRING ){
zExtra = bufpt;
}else if( xtype==etSTRINGID ){
precision = 0;
| > | > | 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 |
bufpt = va_arg(ap,char*);
if( bufpt==0 ){
bufpt = "";
}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: {
|
| ︙ | ︙ |