Bug 95888 [Import/Export] Ignore spaces in mode and size fields of tar files
The space character is special in tar files: it is often used instead of a null character for certain fields. Unfortunately, if a space is in the mode or size fields of a tar file, TarInputStream throws an exception. The attached patch fixes this.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/TarInputStream.java
int pos, i;
		
		pos = 148;
		StringBuffer checksumString = new StringBuffer();
		for(i = 0; i < 8; i++) {
			if(header[pos + i] == 0 || !Character.isDigit((char) header[pos + i])) break;
			checksumString.append((char) header[pos + i]);
		}
		if(checksumString.length() == 0) return false;
		if(checksumString.charAt(0) != '0') checksumString.insert(0, '0');
		try {
			fileChecksum = Long.decode(checksumString.toString()).longValue();
		} catch(NumberFormatException exception) {
			
			return false;
		}
		
		for(i = 0; i < 8; i++) {
			header[pos + i] = ' ';
		}
		calculatedChecksum = headerChecksum(header);
		return (fileChecksum == calculatedChecksum);
	}
	/**
	 * Returns the next entry in the tar file.  Does not handle
	 * GNU @LongLink extensions.
	 * 
	 * @return the next entry in the tar file
	 * @throws TarException
	 * @throws IOException