Tcl Source Code

Check-in [f49ac8ca52]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Fix clang compiler warning in tclZlib.c. Clear execute bit in two encodings
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-branch
Files: files | file ages | folders
SHA3-256:f49ac8ca52fc43bbbb4b20b967b9d37ef13f133cd4ab8d84947b69300f969b27
User & Date: jan.nijtmans 2019-04-08 21:25:33
Context
2019-04-09
08:46
Merge 8.6 check-in: 72e08a8f88 user: jan.nijtmans tags: core-8-branch
2019-04-08
21:28
Merge 8.7 check-in: b8b1eb4775 user: jan.nijtmans tags: trunk
21:25
Fix clang compiler warning in tclZlib.c. Clear execute bit in two encodings check-in: f49ac8ca52 user: jan.nijtmans tags: core-8-branch
15:35
merge bug-45b9faf103f2, fewer destructive TclObjLookupVarEx, closes [45b9faf103f2] check-in: 7723c52623 user: sebres tags: core-8-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclZlib.c.

418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
				 * parsed. */
    GzipHeader *headerPtr,	/* Where to store the parsed-out values. */
    int *extraSizePtr)		/* Variable to add the length of header
				 * strings (filename, comment) to. */
{
    Tcl_Obj *value;
    int len, result = TCL_ERROR;
    Tcl_WideInt wideValue;
    const char *valueStr;
    Tcl_Encoding latin1enc;
    static const char *const types[] = {
	"binary", "text"
    };

    /*






|







418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
				 * parsed. */
    GzipHeader *headerPtr,	/* Where to store the parsed-out values. */
    int *extraSizePtr)		/* Variable to add the length of header
				 * strings (filename, comment) to. */
{
    Tcl_Obj *value;
    int len, result = TCL_ERROR;
    Tcl_WideInt wideValue = 0;
    const char *valueStr;
    Tcl_Encoding latin1enc;
    static const char *const types[] = {
	"binary", "text"
    };

    /*

tools/encoding/ebcdic.txt became a regular file.

tools/encoding/tis-620.txt became a regular file.