In order to update BugSight over the Internet, I used a helper program Unzip32.dll available from Info-ZIP. However, I needed to make one change to the program so as to distinguish between Disk Full and File In Use when the output file is being opened.
Consequently, I made the following changes to the source code:
unzip.h:
Added
#define PK_INUSE 52 /* file in use or read-only */
extract.c:
Changed lines 1419-1420 from
} else if (open_outfile(__G))
return PK_DISK;
to
} else switch (open_outfile(__G))
{
case 1:
return PK_DISK;
case 2:
return PK_INUSE;
}
fileio.c:
Changed line 346 from
return 1;
to
return 2;
[Products] [Orders] [Technical Support] [Registration] [Downloads]