Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make zipfsFilesystem static (as the name - not starting with Tcl - suggests). Also remove one unneeded MODULE_SCOPE, as TclZipfs_Init is already declared in tclInt.h |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | core-8-branch |
Files: | files | file ages | folders |
SHA3-256: |
91bd815b7410e0aef4b294a3d05241c9 |
User & Date: | jan.nijtmans 2019-08-15 15:31:43.688 |
Context
2019-08-19
| ||
19:12 | merge 8.6: conflicts resolved, fix mingw build, closes [40d5ff2a0e], etc check-in: ea8a79173f user: sebres tags: core-8-branch | |
2019-08-15
| ||
15:33 | Merge 8.7 check-in: 7aad571c32 user: jan.nijtmans tags: tip-548 | |
15:32 | Merge 8.7 check-in: f94a5b9d2a user: jan.nijtmans tags: trunk | |
15:31 | Make zipfsFilesystem static (as the name - not starting with Tcl - suggests). Also remove one unneed... check-in: 91bd815b74 user: jan.nijtmans tags: core-8-branch | |
07:08 | Merge 8.6 check-in: 5a8cd2e611 user: jan.nijtmans tags: core-8-branch | |
Changes
Changes to generic/tclZipfs.c.
︙ | ︙ | |||
395 396 397 398 399 400 401 | static int ZipChannelWrite(void *instanceData, const char *buf, int toWrite, int *errloc); /* * Define the ZIP filesystem dispatch table. */ | < < | | 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | static int ZipChannelWrite(void *instanceData, const char *buf, int toWrite, int *errloc); /* * Define the ZIP filesystem dispatch table. */ static const Tcl_Filesystem zipfsFilesystem = { "zipfs", sizeof(Tcl_Filesystem), TCL_FILESYSTEM_VERSION_2, ZipFSPathInFilesystemProc, NULL, /* dupInternalRepProc */ NULL, /* freeInternalRepProc */ NULL, /* internalToNormalizedProc */ |
︙ | ︙ | |||
4725 4726 4727 4728 4729 4730 4731 | * Side effects: * Initializes this module if not already initialized, and adds module * related commands to the given interpreter. * *------------------------------------------------------------------------- */ | | | 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 | * Side effects: * Initializes this module if not already initialized, and adds module * related commands to the given interpreter. * *------------------------------------------------------------------------- */ int TclZipfs_Init( Tcl_Interp *interp) /* Current interpreter. */ { #ifdef HAVE_ZLIB static const EnsembleImplMap initMap[] = { {"mkimg", ZipFSMkImgObjCmd, NULL, NULL, NULL, 1}, {"mkzip", ZipFSMkZipObjCmd, NULL, NULL, NULL, 1}, |
︙ | ︙ |