FreeBSD Bugzilla – Attachment 203577 Details for
Bug 237194
net/xmlrpc-c 1.51.* accidentally includes trace messages, patched upstream
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove trace statements
patch-remove-trace-statements (text/plain), 2.33 KB, created by
Raivo Hool
on 2019-04-11 07:41:37 UTC
(
hide
)
Description:
Remove trace statements
Filename:
MIME Type:
Creator:
Raivo Hool
Created:
2019-04-11 07:41:37 UTC
Size:
2.33 KB
patch
obsolete
>--- src/cpp/value.cpp.orig 2019-04-10 22:59:41.210012000 +0300 >+++ src/cpp/value.cpp 2019-04-10 23:01:15.609033000 +0300 >@@ -1,4 +1,3 @@ >-#include <iostream> > /***************************************************************************** > value.cpp > ****************************************************************************** >@@ -622,13 +621,9 @@ > > switch (nlCode) { > case value_string::nlCode_all: >- cerr << "Going to call xmlrpc_string_new_lp" << endl; >- cerr << "length = " << cppvalue.length() << ", value = " >- << cppvalue.c_str() << endl; > this->valueP = xmlrpc_string_new_lp(&env.env_c, > cppvalue.length(), > cppvalue.c_str()); >- cerr << "Back from xmlrpc_string_new_lp" << endl; > break; > case value_string::nlCode_lf: > this->valueP = xmlrpc_string_new_lp_cr(&env.env_c, >@@ -661,12 +656,9 @@ > > value_string::value_string(std::string const& cppvalue) { > >- cerr << "value_string constructor entered" << endl; > cNewStringWrapper wrapper(cppvalue, nlCode_all); >- cerr << "wrapper constructed" << endl; > > this->instantiate(wrapper.valueP); >- cerr << "value_string constructor exiting" << endl; > } > > >--- src/xmlrpc_string.c.orig 2019-04-10 23:02:21.934880000 +0300 >+++ src/xmlrpc_string.c 2019-04-10 23:02:57.610660000 +0300 >@@ -1,4 +1,3 @@ >-#include <stdio.h> > /*============================================================================= > xmlrpc_string > =============================================================================== >@@ -746,15 +745,12 @@ > enum crTreatment const crTreatment, > xmlrpc_value ** const valPP) { > >- fprintf(stderr, "stringNew entered\n"); > xmlrpc_value * valP; > > xmlrpc_validate_utf8(envP, value, length); > > if (!envP->fault_occurred) { >- fprintf(stderr, "Going to xmlrpc_createXmlrpcValue\n"); > xmlrpc_createXmlrpcValue(envP, &valP); >- fprintf(stderr, "Back from createXmlrpcValue\n"); > > if (!envP->fault_occurred) { > valP->_type = XMLRPC_TYPE_STRING; >@@ -774,7 +770,6 @@ > *valPP = valP; > } > } >- fprintf(stderr, "stringNew exiting\n"); > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237194
: 203577