Hi,
I am working with zipfiles to get familiar with C. I've written a program that uses fread to process each local header file, then use fseek to skip to the next local header file. My goal is to print out the filenames of each file in the zipfile.
Unfortunately, after processing multiple files, I hit an EOF. It is far from the true end of file. I processed as many as 36 files in a 299 file zip, but then I trap an end of file. Anyone had experience with this, or has some debugging advice?
I am working with zipfiles to get familiar with C. I've written a program that uses fread to process each local header file, then use fseek to skip to the next local header file. My goal is to print out the filenames of each file in the zipfile.
Unfortunately, after processing multiple files, I hit an EOF. It is far from the true end of file. I processed as many as 36 files in a 299 file zip, but then I trap an end of file. Anyone had experience with this, or has some debugging advice?