https://bugzilla.novell.com/show_bug.cgi?id=668494

https://bugzilla.novell.com/show_bug.cgi?id=668494#c5


Gonzalo Paniagua Javier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
                 CC|                            |[email protected]
       InfoProvider|[email protected]       |
         Resolution|                            |FIXED
         AssignedTo|[email protected]  |[email protected]

--- Comment #5 from Gonzalo Paniagua Javier <[email protected]> 2011-02-12 
05:11:15 UTC ---
Garth, there are 2 problems with the test and 1 with mono (that I have just
fixed in mono-2-6, mono-2-8, mono-2-10 and master):
  1. In your test, nothing is calling Close () on the compressed streams. That
creates files that, when decompressed with, say, gunzip, will produce and
'unexpected end of file' error.
  2. You are flushing the non-compressed streams which don't know anything
about the compressed streams built on top of them.

As for the Mono error, when Flush() is called on the compressed stream (from
the XmlSerializer, your code does not call it) we don't produce any output
since it would be a partial flush. Apparently, MS does, so I have changed the
code in mono to behave as MS and now you can run your test and get the same
results as on MS (but you should call Close() to write the end marker and avoid
errors).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to