Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | small amend with forgetten static keyword by option |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | sebres-8-6-clock-speedup |
Files: | files | file ages | folders |
SHA1: |
155b0b97548e5fc97d99090865c1f334 |
User & Date: | sebres 2017-05-16 09:22:17 |
Context
2017-05-29
| ||
20:37 | merge sebres-8-6-clock-speedup Closed-Leaf check-in: f65c70bf87 user: sebres tags: sebres-trunk-clock-speedup | |
20:23 | merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, see RFE [ddc948cff9781d... check-in: df15bd85d3 user: sebres tags: sebres-8-6-clock-speedup-cr1 | |
2017-05-16
| ||
09:22 | small amend with forgetten static keyword by option Closed-Leaf check-in: 155b0b9754 user: sebres tags: sebres-8-6-clock-speedup | |
09:16 | optimized special case "-now" of base (by scan or add) or clock value (by format): bypass integer re... check-in: 3bbb6ac34c user: sebres tags: sebres-8-6-clock-speedup | |
Changes
Changes to generic/tclClock.c.
︙ | ︙ | |||
3114 3115 3116 3117 3118 3119 3120 | /* bypass integer recognition if looks like option "-now" */ if ( (baseObj->length == 4 && baseObj->bytes && *(baseObj->bytes+1) == 'n') || TclGetWideIntFromObj(NULL, baseObj, &baseVal) != TCL_OK ) { /* we accept "-now" as current date-time */ | | | 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 | /* bypass integer recognition if looks like option "-now" */ if ( (baseObj->length == 4 && baseObj->bytes && *(baseObj->bytes+1) == 'n') || TclGetWideIntFromObj(NULL, baseObj, &baseVal) != TCL_OK ) { /* we accept "-now" as current date-time */ static const char *const nowOpts[] = { "-now", NULL }; int idx; if (Tcl_GetIndexFromObj(NULL, baseObj, nowOpts, "seconds or -now", TCL_EXACT, &idx) == TCL_OK ) { goto baseNow; |
︙ | ︙ |