[Edited posting]

I found something... I prepared two zip archives: The first is a version 
downloaded from github where all the directories tests, examples, and bench 
as well as all non-Lua files where removed. The second is the archive 
created with the linux zip command:
zip -x "luvit-2.0.5/tests/*" "luvit-2.0.5/examples/*" "luvit-2.0.5/bench/*" 
-i "*.lua" -r -A luvit-2.0.5.zip luvit-2.0.5

Both zip-archives contain the same directory structure and files.

For any reason the zip library in luvi does not detect the directory 
entries for the second case. The call to zip:get_num_files returns 49 for 
the first case and 43 for the second. The additional files are the 
directories like "luvit-2.0.5/" or "luvit-2.0.5/deps/".

This causes some trouble so luvi cannot handle the bundle correcty.

 zip version is:

Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.9.2 20141224 (prerelease) for Unix (Linux ELF) on Jan 
18 2015.

Zip special compilation options:
    USE_EF_UT_TIME       (store Universal Time)
    BZIP2_SUPPORT        (bzip2 library version 1.0.6, 6-Sept-2010)
        bzip2 code and library copyright (c) Julian R Seward
        (See the bzip2 license for terms of use)
    SYMLINK_SUPPORT      (symbolic links supported)
    LARGE_FILE_SUPPORT   (can read and write large files on file system)
    ZIP64_SUPPORT        (use Zip64 to store large files in archives)
    UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
    STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
    UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
    [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to