Tcl Source Code

Check-in [c1664053c0]
Login

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

Overview
Comment:Merge 8.5
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: c1664053c0f05dbc95ab82259da8853786cf8bc4863a28bb063ba3ba2a972f82
User & Date: jan.nijtmans 2019-12-19 22:11:01.574
Context
2019-12-20
16:13
Prevent double definition of MODULE_SCOPE on Darwin check-in: afe5c742c5 user: jan.nijtmans tags: core-8-6-branch
2019-12-19
22:12
Merge 8.6 check-in: 32bc878a76 user: jan.nijtmans tags: core-8-branch
22:11
Merge 8.5 check-in: c1664053c0 user: jan.nijtmans tags: core-8-6-branch
22:09
Add type-cast, making sure that the unary minus is handled correctly on any compiler check-in: bb8e7386bf user: jan.nijtmans tags: core-8-5-branch
21:31
Merge 8.5 check-in: 5e9890b208 user: jan.nijtmans tags: core-8-6-branch
Changes
Unified Diff Ignore Whitespace Patch
Changes to generic/tclUtil.c.
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
	return 1;
    }

    /*
     * Generate the characters of the result backwards in the buffer.
     */

    intVal = (n < 0 ? -n : n);
    i = 0;
    buffer[0] = '\0';
    do {
	i++;
	buffer[i] = digits[intVal % 10];
	intVal = intVal / 10;
    } while (intVal > 0);







|







3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
	return 1;
    }

    /*
     * Generate the characters of the result backwards in the buffer.
     */

    intVal = (n < 0 ? -(unsigned long)n : (unsigned long)n);
    i = 0;
    buffer[0] = '\0';
    do {
	i++;
	buffer[i] = digits[intVal % 10];
	intVal = intVal / 10;
    } while (intVal > 0);