diff options
Diffstat (limited to 'dev-util/eclipse-sdk/files/3.4/eclipse-c-warning.patch')
-rw-r--r-- | dev-util/eclipse-sdk/files/3.4/eclipse-c-warning.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-util/eclipse-sdk/files/3.4/eclipse-c-warning.patch b/dev-util/eclipse-sdk/files/3.4/eclipse-c-warning.patch deleted file mode 100644 index c2b6620..0000000 --- a/dev-util/eclipse-sdk/files/3.4/eclipse-c-warning.patch +++ /dev/null @@ -1,43 +0,0 @@ -=== modified file 'features/org.eclipse.equinox.executable/library/eclipse.c' ---- features/org.eclipse.equinox.executable/library/eclipse.c 2009-01-06 13:44:41 +0000 -+++ features/org.eclipse.equinox.executable/library/eclipse.c 2009-01-06 14:00:41 +0000 -@@ -1103,7 +1103,7 @@ - /* old startup.jar? */ - file = checkPath(OLD_STARTUP, programDir, 0); - if (_tstat( file, &stats ) == 0) -- return (file == OLD_STARTUP) ? _tcsdup(OLD_STARTUP) : file; -+ return (_tcscmp(file,OLD_STARTUP)==0) ? _tcsdup(OLD_STARTUP) : file; - - return NULL; - } - -=== modified file 'features/org.eclipse.equinox.executable/library/eclipseCommon.c' ---- features/org.eclipse.equinox.executable/library/eclipseCommon.c 2009-01-06 13:44:41 +0000 -+++ features/org.eclipse.equinox.executable/library/eclipseCommon.c 2009-01-06 13:57:53 +0000 -@@ -350,10 +350,11 @@ - #else - #ifdef MACOSX - static int filter(struct dirent *dir) { -+ char * candidate = dir->d_name; - #else - static int filter(const struct dirent *dir) { -+ const char * candidate = dir->d_name; - #endif -- char * candidate = dir->d_name; - #endif - _TCHAR *c1, *c2; - - -=== modified file 'features/org.eclipse.equinox.executable/library/eclipseJNI.c' ---- features/org.eclipse.equinox.executable/library/eclipseJNI.c 2009-01-06 13:44:41 +0000 -+++ features/org.eclipse.equinox.executable/library/eclipseJNI.c 2009-01-06 14:06:34 +0000 -@@ -233,7 +233,7 @@ - size_t length = _tcslen(str); - jbyteArray bytes = (*env)->NewByteArray(env, length); - if(bytes != NULL) { -- (*env)->SetByteArrayRegion(env, bytes, 0, length, str); -+ (*env)->SetByteArrayRegion(env, bytes, 0, length, (jbyte *) str); - if (!(*env)->ExceptionOccurred(env)) { - jclass stringClass = (*env)->FindClass(env, "java/lang/String"); - if(stringClass != NULL) { - |