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 83606 Details for
Bug 210722
cstring C++ standarts conformance
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]
fix strchr C++ conformance
BootLoaderOptionParser.cpp.diff (text/plain), 860 bytes, created by
Vasily v. Levchenko
on 2007-11-23 02:37:02 EST
(
hide
)
Description:
fix strchr C++ conformance
Filename:
MIME Type:
Creator:
Vasily v. Levchenko
Created:
2007-11-23 02:37:02 EST
Size:
860 bytes
patch
obsolete
>--- C:\ia-stuff\work\jt-vvl\jvmti\tptp\org.eclipse.tptp.platform.jvmti.runtime\src-native\src\Martini\Infrastructure\common\bootloaderoptionparser.cpp 2007-02-20 15:00:34.000000000 +0300 >+++ BootLoaderOptionParser.cpp 2007-11-14 07:48:45.923380500 +0300 >@@ -88,14 +88,14 @@ void CBootLoaderOptionParser::FreeString > TResult CBootLoaderOptionParser::ParseModuleSpec(SModuleSpec *pSpec, const char *szSpec) > { > // Split the module name and its options around the first ":" character >- char *szOpt = strchr(szSpec, ':'); >+ const char *szOpt = strchr(szSpec, ':'); > if (NULL == szOpt) > { > pSpec->strOptions.Set(""); > } > else > { >- pSpec->strOptions.Set(szOpt + 1); // skip the ":" >+ pSpec->strOptions.Set(&szOpt[1]); // skip the ":" > } > char szName[1024]; > memset(szName, 0, 1024);
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 210722
: 83606