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 109535 Details for
Bug 243431
IAC cannot start on Linux all-in-one
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 to remove the "" around the argument in native code.
243431 patch.txt (text/plain), 1.33 KB, created by
Bing Xu
on 2008-08-08 11:06:53 EDT
(
hide
)
Description:
Patch to remove the "" around the argument in native code.
Filename:
MIME Type:
Creator:
Bing Xu
Created:
2008-08-08 11:06:53 EDT
Size:
1.33 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.agentcontroller >Index: src-native-new/src/agentController/AgentController.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/agentController/AgentController.c,v >retrieving revision 1.40 >diff -u -r1.40 AgentController.c >--- src-native-new/src/agentController/AgentController.c 7 Aug 2008 17:39:29 -0000 1.40 >+++ src-native-new/src/agentController/AgentController.c 8 Aug 2008 15:05:53 -0000 >@@ -351,7 +351,8 @@ > int i; /* For loop counter */ > FILE *serviceConfigFile; > char * FILESEP = NULL, iacConfigFilePath[2048]; >- >+ char *temConfigDir; >+ > for(i = 1; i < argc; i++) { > char *arg; > >@@ -393,7 +394,16 @@ > #else > FILESEP = "/"; > #endif >- sprintf(iacConfigFilePath, "%s%sserviceconfig.xml", argv[i+1], FILESEP); >+ >+ //bug 243431, remove the "" around the argument >+ if(argv[i+1][0] == '\"' && argv[i+1][strlen(argv[i+1])-1] == '\"'){ >+ temConfigDir = argv[i+1]; >+ temConfigDir++; >+ temConfigDir[strlen(temConfigDir)-1] = '\0'; >+ }else{ >+ temConfigDir = argv[i+1]; >+ } >+ sprintf(iacConfigFilePath, "%s%sserviceconfig.xml", temConfigDir, FILESEP); > > serviceConfigFile = fopen(iacConfigFilePath,"r"); >
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 243431
:
109456
| 109535 |
109682
|
109688