Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

fixing p7zip 4.65 to make .ZIP use DOS, not Unix, as host OS (Announce)

posted by DOS386, 27.07.2010, 02:38

> Alright, I fixed my swap / memory error problems in 4.65 / 9.13 p7zip. The hint
> about CWSDPMI made me go check & I actually was running r5! A switch to
> r7 provided the fix, now I get all methods except -mx9 and md=64m to
> work in a 1 GB system.

heh, so it fails with HDPMI32 only ??? :confused:

> Now another unrelated mystery comes up, only to be seen on the DOS
> compiles of p7zip. When creating a simple Deflate .ZIP file, the normal
> PKWARE PKUNZIP utility refuses to extract the .ZIP archives because they
> have been 'tagged' as created on a UNIX system (0x03 identifier the .ZIP
> file header, when it *should be* 0x00 for true DOS! Manually modifying
> the headers make them extract fine)

So a ZIP brewed on Linux (since nobody does, they have TAR.GZ and TAR.BZ2 ;-) ) is supposed to REFUSE extraction on DOS ? This really sucks if true :-(

So, the UNIX-y nature of the p7za compilations is somehow "embedded" in the ZIP files it creates. Is there any way short of a complete recompile to modify the 7za.exe binary to make it "know" that it is running on a true MS-DOS System?

I use none of those 2 ;-)

> every .ZIP created is less than ideal. And I guess suggesting you use a
> different unzipper (Info-Zip, djtar, Doszip, p7zip) is out too.

So only PKUNZIP looks at this stupid "flag" ???

> However, I think BE has a good front-end to ZIP

To BE or not to BE ...

> #if defined(_WIN32) || defined(DJGPP) // was only #ifdef _WIN32
> NFileHeader::NHostOS::kFAT;
> #else
> NFileHeader::NHostOS::kUnix;
> #endif

Seems Mr. Katz missed something ...

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 468 users online (0 registered, 468 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum