home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!wupost!emory!ogicse!news.u.washington.edu!uw-beaver!cs.ubc.ca!unixg.ubc.ca!ochealth
- From: ochealth@unixg.ubc.ca (ochealth)
- Newsgroups: comp.os.os2.misc
- Subject: Re: WARNING: SP BUG, AFFECTS ZIP AND CP
- Message-ID: <1dd0jaINNbho@iskut.ucs.ubc.ca>
- Date: 6 Nov 92 05:42:02 GMT
- References: <1992Nov4.233122.19555@Informatik.TU-Muenchen.DE>
- Organization: University of British Columbia, Vancouver, B.C., Canada
- Lines: 45
- NNTP-Posting-Host: unixg.ubc.ca
-
- In article <1992Nov4.233122.19555@Informatik.TU-Muenchen.DE> rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
- >IBM put a new bug in the bug-fixing Service Pack:
- >
- >The 32-bit DosQueryPathInfo call returns incorrect values for the EA
- >sizes with the FIL_QUERYEASIZE subcall.
- >
- >This bug causes Info-ZIP for OS/2 (32-bit version only) to fail finding
- >ANY extended attributes. The 16-bit version is not accected. I will put
- >out a fix for zip soon.
-
-
- I did some more debugging on this, and came up with odd results:
-
- If I linked a program with UNIX style ld, the ea program returned ZERO for
- the size of all EAs (even ones that had EAs).
-
- BUT if I linked with link386 (Ie Intel OMF format) the program appeared to
- fail for the first call, but succeeded for successive calls.
-
- (just a test program I wrote, ecat.c to look at EAs; it calls Kai-Uwe's
- GetEAs() to do the work)
-
- ie, for UNIX a.out, ld linking:
- ecat foo bar returned 0 even if foo & bar had EAs
-
- with Intel OMF, OS/2 exe, link386
- ecat foo bar returned 0 for the first, but returned results for others.
- possibly incorrect results, but the EA value looked OK, but the size appeared
- off.
-
- >
- >Kai Uwe Rommel
- >
- >/* Kai Uwe Rommel --- rommel@informatik.tu-muenchen.de */
- >
- >DOS ... is still a real mode only non-reentrant interrupt
- >handler, and always will be. -Russell Williams
- >
-
-
- --
- ______________________________________________________________________________
- jpm: ochealth@unixg.ubc.ca
- Happily using OS/2 2.0 because MS Windows isNT ___
- Insert VapourFeature ^^^
-