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 80443 Details for
Bug 158672
TPTPProcess.java sample client doesn't connect on Linux-{EM64T|IPF} though working on Linux-IA32
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
158672.txt (text/plain), 1.70 KB, created by
Igor Alelekov
on 2007-10-16 08:55:23 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Igor Alelekov
Created:
2007-10-16 08:55:23 EDT
Size:
1.70 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.agentcontroller >Index: src-native-new/src/shared/processControlUtil/ProcessControlUtil.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/shared/processControlUtil/ProcessControlUtil.c,v >retrieving revision 1.42 >diff -u -r1.42 ProcessControlUtil.c >--- src-native-new/src/shared/processControlUtil/ProcessControlUtil.c 8 Sep 2006 20:19:29 -0000 1.42 >+++ src-native-new/src/shared/processControlUtil/ProcessControlUtil.c 16 Oct 2007 11:19:47 -0000 >@@ -1121,11 +1121,10 @@ > > if(args) { > memcpy(&commandLine[0], args, strlen(args)); >- offset=strlen(args)+1; >+ offset=strlen(args); > } else { >- offset=1; >+ offset = 0; > } >- commandLine[offset-1]=' '; > > /* Create the command line arguments */ > currentParameterNode=(tptp_node_t *) parameters->head; >Index: src-native-new/src/shared/processControlUtil/launcher_md.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/shared/processControlUtil/launcher_md.c,v >retrieving revision 1.24 >diff -u -r1.24 launcher_md.c >--- src-native-new/src/shared/processControlUtil/launcher_md.c 6 Sep 2007 11:30:23 -0000 1.24 >+++ src-native-new/src/shared/processControlUtil/launcher_md.c 16 Oct 2007 11:19:47 -0000 >@@ -440,6 +440,13 @@ > current++; > } > >+ /* Move any trailing blanks */ >+ next = current + strlen(current) - 1; >+ while (next >= current && *next == ' ') { >+ *next = '\0'; >+ next--; >+ } >+ > /* Parse out the args */ > i = count = 0; /* reset the counters */ > while(!done) {
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 158672
: 80443