svn commit: samba r3406 - in branches/SAMBA_4_0/source/build/pidl: .

tpot at samba.org tpot at samba.org
Sun Oct 31 05:46:19 GMT 2004


Author: tpot
Date: 2004-10-31 05:46:18 +0000 (Sun, 31 Oct 2004)
New Revision: 3406

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3406

Log:
Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.

Modified:
   branches/SAMBA_4_0/source/build/pidl/swig.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/swig.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-31 05:45:52 UTC (rev 3405)
+++ branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-31 05:46:18 UTC (rev 3406)
@@ -358,7 +358,9 @@
 
     if (!($fn->{RETURN_TYPE} eq "NTSTATUS")) {
 	$result .= "\tif (!W_ERROR_IS_OK(arg3->out.result) && \n";
-	$result .= "\t\t!(W_ERROR_EQUAL(arg3->out.result, WERR_INSUFFICIENT_BUFFER))) {\n";
+	$result .= "\t\t!(W_ERROR_EQUAL(arg3->out.result, WERR_INSUFFICIENT_BUFFER)) &&\n";
+	$result .= "\t\t!(W_ERROR_EQUAL(arg3->out.result, WERR_NO_MORE_ITEMS)) &&\n";
+	$result .= "\t\t!(W_ERROR_EQUAL(arg3->out.result, WERR_MORE_DATA))) {\n";
 	$result .= "\t\tset_werror_exception(W_ERROR_V(arg3->out.result));\n";
 	$result .= "\t\tgoto fail;\n";
 	$result .= "\t}\n";



More information about the samba-cvs mailing list