diff --git a/archive.d b/archive.d index 2e772a2..7c3fb87 100644 --- a/archive.d +++ b/archive.d @@ -129,6 +129,8 @@ bool processTar( *header = *(cast(TarFileHeader*) dataBuffer.ptr); auto s = header.size(); *bytesRemainingOnCurrentFile = s; + if(header.type() == TarFileType.directory) + handleData(header, true, false, null); if(s == 0 && header.type == TarFileType.normal) return false; } diff --git a/jni.d b/jni.d index a191538..cd3d3be 100644 --- a/jni.d +++ b/jni.d @@ -1812,6 +1812,11 @@ string javaObjectToString(IJavaObject i) { return "FIXME"; } +T as(T, R)(R obj) { + // FIXME: this will have to do downcasts to interfaces + return T.init; +} + static T fromExistingJavaObject(T)(jobject o) if(is(T : IJavaObject) && !is(T == interface)) { import core.memory;