Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 74037 Details for
Bug 142560
ACTL doesn't clean up agent structure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
patch_142560.txt (text/plain), 1.80 KB, created by
Igor Alelekov
on 2007-07-18 05:43:06 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Igor Alelekov
Created:
2007-07-18 05:43:06 EDT
Size:
1.80 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.agentcontroller >Index: src-native-new/src/transport/transportSupport/TransportSupportNamedPipe_win.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/transport/transportSupport/TransportSupportNamedPipe_win.c,v >retrieving revision 1.20 >diff -u -r1.20 TransportSupportNamedPipe_win.c >--- src-native-new/src/transport/transportSupport/TransportSupportNamedPipe_win.c 2 Nov 2006 18:58:08 -0000 1.20 >+++ src-native-new/src/transport/transportSupport/TransportSupportNamedPipe_win.c 18 Jul 2007 09:37:41 -0000 >@@ -155,9 +155,12 @@ > *********************************************************/ > int cleanPipeUp(HANDLE *pPipeHandle) > { >- FlushFileBuffers(*pPipeHandle); >- CloseHandle(*pPipeHandle) ; >- *pPipeHandle = 0 ; >+ if (*pPipeHandle > 0) { >+ FlushFileBuffers(*pPipeHandle); >+ CloseHandle(*pPipeHandle) ; >+ *pPipeHandle = 0 ; >+ } >+ > return 0 ; > } > >Index: src-native-new/src/transport/TPTPAgentCompTL/RACAgentSupport.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/transport/TPTPAgentCompTL/RACAgentSupport.c,v >retrieving revision 1.13 >diff -u -r1.13 RACAgentSupport.c >--- src-native-new/src/transport/TPTPAgentCompTL/RACAgentSupport.c 31 May 2007 00:50:52 -0000 1.13 >+++ src-native-new/src/transport/TPTPAgentCompTL/RACAgentSupport.c 18 Jul 2007 09:37:41 -0000 >@@ -438,6 +438,8 @@ > ra_destroyRASTRING(¤t->agent->agentUUID); > ra_destroyRASTRING(¤t->agent->agentType); > >+ cleanPipeUp(&(current->agent->pipe)); >+ > tptp_free(current->agent); > current->agent=NULL; > current=current->next;
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 142560
: 74037