Fix the zipfile extension so that it is able to create symbolic link entries

in the ZIP file even on systems like Win32 that do not support symbolic links
on the native filesystem.

FossilOrigin-Name: 2a4493f4ad2d09c1097e98e7086623669f3f252571884d515e51a98b1c6855e1
This commit is contained in:
drh
2018-03-10 12:34:08 +00:00
parent 69d2d35523
commit ef29f73479
3 changed files with 7 additions and 9 deletions
-2
View File
@@ -1390,9 +1390,7 @@ static int zipfileGetMode(
switch( z[0] ){
case '-': mode |= S_IFREG; break;
case 'd': mode |= S_IFDIR; break;
#if !defined(_WIN32) && !defined(WIN32)
case 'l': mode |= S_IFLNK; break;
#endif
default: goto parse_error;
}
for(i=1; i<10; i++){