Summary: | Mozilla 0.9.7-rc1 fails to post forms in some cases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Edward Muller <edwardam> |
Component: | Current packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Edward Muller
2002-01-26 21:54:58 UTC
You sure this is a Gentoo only problem ? If it affects Mozilla on all platforms, you should really post the bug to Mozilla themselfs, and hopefully it gets fixed in next release. This pertains to bug 116210 on mozilla: http://bugzilla.mozilla.org/show_bug.cgi?id=116210 I have enclosed the cheesy, one line patch which fixes the problem. Save the patch to mozilla/files directory and add this to the ebuild just before the configure line (replace PATCH with name of saved file): patch -d content/html/content/src -p1 < ${FILESDIR}/PATCH || die toodles, jano Okay, i was unable to upload the patch, as there seems to be a button missing on the attachment form. Here it is cut-n-paste: Index: src/nsFormSubmitter.cpp =================================================================== RCS file: /cvsroot/mozilla/content/html/content/src/nsFormSubmitter.cpp,v retrieving revision 1.12.2.1 diff -u -r1.12.2.1 nsFormSubmitter.cpp --- src/nsFormSubmitter.cpp 18 Dec 2001 19:27:21 -0000 1.12.2.1 +++ src/nsFormSubmitter.cpp 21 Dec 2001 20:19:47 -0000 @@ -1074,7 +1074,6 @@ } nsMemory::Free(readbuffer); NS_RELEASE(contentFile); - if (NS_FAILED(rv)) break; // Print CRLF after file wantbytes = PL_strlen(CRLF); rv = outStream->Write(CRLF, wantbytes, &gotbytes); Thanks guys. Should be fixed in -r2 now. |