celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Melissant <jonathanmeliss...@gmail.com>
Subject Bug report - minizip in framework
Date Wed, 25 Apr 2012 10:03:10 GMT
During execution of the hello_world example, the framework / minizip failed
to extract the MANIFEST folder from the bundles.
Testing this, it seemed that any other folders inside a zip-file would not
be extracted as well.
Taking a look in miniunz.c in /framework/private/src, i applied the
following fix:

int mymkdir(dirname)
    const char* dirname;
    int ret=0;
#ifdef _WIN32
    ret = _mkdir(dirname);
//#if defined unix || defined __APPLE__
    ret = mkdir(dirname,0775);
    return ret;

Apparently my ARM development board was not recognised to be running either
unix or apple (for no reason).
However, since it is not running windows, it was safe to remove this extra

This solved the problem..

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message