home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35543 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  2.1 KB

  1. 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
  2. From: ochealth@unixg.ubc.ca (ochealth)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: WARNING: SP BUG, AFFECTS ZIP AND CP
  5. Message-ID: <1dd0jaINNbho@iskut.ucs.ubc.ca>
  6. Date: 6 Nov 92 05:42:02 GMT
  7. References: <1992Nov4.233122.19555@Informatik.TU-Muenchen.DE>
  8. Organization: University of British Columbia, Vancouver, B.C., Canada
  9. Lines: 45
  10. NNTP-Posting-Host: unixg.ubc.ca
  11.  
  12. In article <1992Nov4.233122.19555@Informatik.TU-Muenchen.DE> rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
  13. >IBM put a new bug in the bug-fixing Service Pack:
  14. >
  15. >The 32-bit DosQueryPathInfo call returns incorrect values for the EA
  16. >sizes with the FIL_QUERYEASIZE subcall.
  17. >
  18. >This bug causes Info-ZIP for OS/2 (32-bit version only) to fail finding
  19. >ANY extended attributes. The 16-bit version is not accected. I will put
  20. >out a fix for zip soon.
  21.  
  22.  
  23. I did some more debugging on this, and came up with odd  results:
  24.  
  25. If I linked a program with UNIX style ld, the ea program returned ZERO for
  26. the size of all EAs (even ones that had EAs).
  27.  
  28. BUT if I linked with link386 (Ie Intel OMF format) the program appeared to
  29. fail for the first call, but succeeded for successive calls.
  30.  
  31. (just a test program I wrote, ecat.c to look at EAs; it calls Kai-Uwe's 
  32. GetEAs() to do the work)
  33.  
  34. ie, for UNIX a.out, ld linking:
  35. ecat foo bar returned 0 even if foo & bar had EAs
  36.  
  37. with Intel OMF, OS/2 exe, link386
  38. ecat foo bar returned 0 for the first, but returned results for others.
  39. possibly incorrect results, but the EA value looked OK, but the size appeared
  40. off.
  41.  
  42. >
  43. >Kai Uwe Rommel
  44. >
  45. >/* Kai Uwe Rommel --- rommel@informatik.tu-muenchen.de */
  46. >
  47. >DOS ... is still a real mode only non-reentrant interrupt
  48. >handler, and always will be.                -Russell Williams
  49. >
  50.  
  51.  
  52. -- 
  53. ______________________________________________________________________________
  54. jpm: ochealth@unixg.ubc.ca         
  55.                             Happily using OS/2 2.0 because MS Windows isNT ___
  56.                                                       Insert VapourFeature ^^^
  57.