# HG changeset patch # User Olaf Wintermann # Date 1528020151 -7200 # Node ID 36333e8a94111c4645c948d3fc0c09eea6a63e84 # Parent 6b85d745e402603460d6b2dd88def2b75eb7fbef fixes compatiblity with GNU tar's version of ustar diff -r 6b85d745e402 -r 36333e8a9411 dav/tar.c --- a/dav/tar.c Sat Jun 02 16:25:01 2018 +0200 +++ b/dav/tar.c Sun Jun 03 12:02:31 2018 +0200 @@ -258,7 +258,7 @@ } // get size - if(h.size[11] != ' ') { + if(!(h.size[11] == ' ' || h.size[11] == 0)) { return NULL; } long long int size = strtoll(h.size, NULL, 8);