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 73715 Details for
Bug 181784
[archivehandlers] zipped text files have unexpected contents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix for bug 181784
patch_181784.txt (text/plain), 1.55 KB, created by
Xuan Chen
on 2007-07-12 21:58:12 EDT
(
hide
)
Description:
Fix for bug 181784
Filename:
MIME Type:
Creator:
Xuan Chen
Created:
2007-07-12 21:58:12 EDT
Size:
1.55 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.services >Index: clientserver/org/eclipse/rse/services/clientserver/archiveutils/SystemZipHandler.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.services/clientserver/org/eclipse/rse/services/clientserver/archiveutils/SystemZipHandler.java,v >retrieving revision 1.8 >diff -u -r1.8 SystemZipHandler.java >--- clientserver/org/eclipse/rse/services/clientserver/archiveutils/SystemZipHandler.java 12 Jul 2007 20:55:52 -0000 1.8 >+++ clientserver/org/eclipse/rse/services/clientserver/archiveutils/SystemZipHandler.java 13 Jul 2007 01:57:47 -0000 >@@ -15,6 +15,7 @@ > * {Name} (company) - description of contribution. > * Xuan Chen (IBM) - [192741] [Archives] Move a folder from within an Archive doesn't work if > 1 level deep > * Xuan Chen (IBM) - [194293] [Local][Archives] Saving file second time in an Archive Errors >+ * Xuan Chen (IBM) - [181784] [archivehandlers] zipped text files have unexpected contents > *******************************************************************************/ > > package org.eclipse.rse.services.clientserver.archiveutils; >@@ -595,7 +596,7 @@ > { > if (isText) > { >- String bufString = new String(buf, sourceEncoding); >+ String bufString = new String(buf, 0, numRead, sourceEncoding); > byte[] convertedBuf = bufString.getBytes(); > int newSize = convertedBuf.length; > writer.write(convertedBuf, 0, newSize);
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
Flags:
mober.at+eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 181784
: 73715