Skip to content
Snippets Groups Projects
Commit 1e155a5f authored by tromey's avatar tromey
Browse files

2000-02-28 Mo DeJong <mdejong@cygnus.com>

	* java/util/zip/ZipOutputStream.java(write_entry) : Fixed
	SIGSEV caused by use of the wrong instance variable.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32256 138bc75d-0d04-0410-961f-82ee72b054a4
parent ce49c2fc
No related branches found
No related tags found
No related merge requests found
2000-02-28 Mo DeJong <mdejong@cygnus.com>
* java/util/zip/ZipOutputStream.java(write_entry) : Fixed
SIGSEV caused by use of the wrong instance variable.
2000-02-27 Bryce McKinlay <bryce@albatross.co.nz> 2000-02-27 Bryce McKinlay <bryce@albatross.co.nz>
* java/io/File.java (File(String, String)): For dirPath, treat an * java/io/File.java (File(String, String)): For dirPath, treat an
......
/* Copyright (C) 1999 Red Hat, Inc. /* Copyright (C) 1999, 2000 Red Hat, Inc.
This file is part of libgcj. This file is part of libgcj.
...@@ -104,8 +104,8 @@ public class ZipOutputStream extends DeflaterOutputStream ...@@ -104,8 +104,8 @@ public class ZipOutputStream extends DeflaterOutputStream
boolean crc_after = false; boolean crc_after = false;
if (is_local if (is_local
&& (current.getCrc() == -1 || current.getCompressedSize() == -1 && (entry.getCrc() == -1 || entry.getCompressedSize() == -1
|| current.getSize() == -1)) || entry.getSize() == -1))
crc_after = true; crc_after = true;
// For the bits field we always indicate `normal' compression, // For the bits field we always indicate `normal' compression,
// even if that isn't true. // even if that isn't true.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment