Re: Expat and Open Watcom
Karl Waclawek <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Michael Greene wrote: > Karl, > > Just as a side note I compiled expat 2.0.0 with my linux system to > verify my Open Watcom build results. Good news my Open Watcom version > only gives me these additional errors over the linux - gcc build: > > Output differs: xmltest/valid/sa/069.xml > Output differs: xmltest/valid/sa/076.xml > Output differs: xmltest/valid/sa/090.xml > Output differs: xmltest/valid/sa/091.xml > > However, the linux - gcc build had these errors (not in order): > > 003.ent: Invalid argument > In xmltest/valid/ext-sa/: 003.xml:5:5: error in processing external > entity reference > > 010.ent: Invalid argument > In xmltest/valid/ext-sa/: 010.xml:5:5: error in processing external > entity reference > > 001.ent: Invalid argument > In xmltest/valid/not-sa/: 001.xml:3:1: error in processing external > entity reference > > 003-2.ent: Invalid argument > In xmltest/valid/not-sa/: 003-1.ent:3:23: error in processing external > entity reference > > null.ent: Invalid argument > In sun/valid/: ext01.xml:9:21: error in processing external entity > reference > > p31pass1.dtd: Invalid argument > In oasis/: p31pass1.xml:1:58: error in processing external entity > reference > > 050.xml: Invalid argument > > Expected well-formed: oasis/p39fail3.xml > > Reason I call this out is because I think it is the same problem in > unixfilemap.c. The mmap( ) returns failed because of zero file size > when it should have a check like readfilemap.c (my fix) and > win32filemap.c. It is rare for me to start linux and just as rare to > use gcc. > Thanks for being so thorough. I think you are right. Did you re-run the Linux build with your fix applied to unixfilemap.c? Does that fix the errors? If yes (I assume), I'll commit the same fix for unixfilemap.c. Karl