https://bugzilla.novell.com/show_bug.cgi?id=668494
https://bugzilla.novell.com/show_bug.cgi?id=668494#c2 --- Comment #2 from Garth Tissington <[email protected]> 2011-02-02 21:55:24 UTC --- I have looked into this further and traced the mono source code as much I can. Ultimately WriteZStrema DeflateStream.WriteZStream (z_stream, ptr, count); is called correctly from unsafe void WriteInternal (byte[] array, int offset, int count) CheckResult is called correctly and never falls through to the error handler cases. i.e result is always >=0 So, everything in the DeflateStream class appears to be handled correctly. However, WriteInternal does not produce the correct output file as described in the original report. WriteZStream is defined as... [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)] static extern int WriteZStream (IntPtr stream, IntPtr buffer, int length); So I can go no further. One more note though is that LIBNAME above is defined as #if MONOTOUCH const string LIBNAME = "__Internal"; #else const string LIBNAME = "MonoPosixHelper"; #endif If I define MONOTOUCH I get the problem as defined here. If I remove the MONOTOUCH DEF then The app crashes on DllNotFound for MonoPosixHelp.dll -- 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
