[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tcf-dev] [Bug 352682] New: [TCF] TCF client error messages should be issued to stderr; also, connect command should provide some retroaction
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352682
Product/Component: Target Management / TCF
Summary: [TCF] TCF client error messages should be issued to
stderr; also, connect command should provide some
retroaction
Classification: Tools
Product: Target Management
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: TCF
AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
ReportedBy: d.u.thibault@xxxxxxxxxxx
QAContact: martin.oberhuber@xxxxxxxxxxxxx
Build Identifier: 20110505-1223
A handful of error messages issued by the TCF client (agent/main/cmdline.c) are
sent to stdout instead of stderr. This is easily fixed by switching the
offending 'printf(' statements into 'fprintf(stderr, '.
Secondly, the lack of retroaction provided by the 'connect' command when it
works normally is unsettling. A simple printf statement in the connect_callback
function is all that is required to fix this.
(A patch will follow shortly)
Reproducible: Always
Steps to Reproduce:
1. display_tcf_reply, line 106: printf("Reply error... ==> fprintf(stderr,
"Reply error...
2. cmd_tcf, line 134: printf("Error... ==> fprintf(stderr, "Error...
3. cmd_tcf, line 143: printf("Error... ==> fprintf(stderr, "Error...
4. connect_callback, line 234: insert this:
printf(" Connection established with %s\n", c->peer_name);
--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.