Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313878 Details for
Bug 458538
bug in patch 12: eclipse-launcher-set-install-dir-and-shared-config.patch
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
redesigned and cleaned up patch (w/o -g part)
eclipse-3.3.2-alt-launcher-set-install-dir-and-shared-config.patch (text/plain), 1.36 KB, created by
Igor Vlasenko
on 2008-08-09 14:18:12 UTC
(
hide
)
Description:
redesigned and cleaned up patch (w/o -g part)
Filename:
MIME Type:
Creator:
Igor Vlasenko
Created:
2008-08-09 14:18:12 UTC
Size:
1.36 KB
patch
obsolete
>Index: features/org.eclipse.equinox.executable/library/eclipse.c >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.equinox.executable/library/eclipse.c,v >retrieving revision 1.20 >diff -u -r1.20 eclipse.c >--- library/eclipse.c 8 Feb 2007 16:57:15 -0000 1.20 >+++ library/eclipse.c 1 Mar 2007 03:44:19 -0000 >@@ -331,8 +331,9 @@ > > /* Define the required VM arguments (all platforms). */ > static _TCHAR* cp = NULL; > static _TCHAR* cpValue = NULL; >-static _TCHAR** reqVMarg[] = { &cp, &cpValue, NULL }; /* required VM args */ >+static _TCHAR* sharedConfigurationDir = _T_ECLIPSE("-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration"); >+static _TCHAR** reqVMarg[] = { &sharedConfigurationDir, &cp, &cpValue, NULL }; /* required VM args */ > static _TCHAR** userVMarg = NULL; /* user specific args for the Java VM */ > static _TCHAR** eeVMarg = NULL; /* vm args specified in ee file */ > static int nEEargs = 0; >@@ -941,9 +942,10 @@ > { > _TCHAR* ch; > _TCHAR* programDir; >+ _TCHAR* temp = _T_ECLIPSE("/usr/share/eclipse/"); > >- programDir = malloc( (_tcslen( program ) + 1) * sizeof(_TCHAR) ); >- _tcscpy( programDir, program ); >+ programDir = malloc( (_tcslen( temp ) + 1) * sizeof(_TCHAR) ); >+ _tcscpy( programDir, temp ); > ch = _tcsrchr( programDir, dirSeparator ); > if (ch != NULL) > {
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 458538
: 313878 |
313879