Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libarchive/dist/libarchive Revert.
details: https://anonhg.NetBSD.org/src/rev/f4573963a455
branches: trunk
changeset: 768430:f4573963a455
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 16 14:08:35 2011 +0000
description:
Revert.
diffstat:
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r 808c0ae4662f -r f4573963a455 external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c
--- a/external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c Tue Aug 16 14:04:26 2011 +0000
+++ b/external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c Tue Aug 16 14:08:35 2011 +0000
@@ -362,7 +362,6 @@
}
if (code > state->free_ent) {
-out:
/* An invalid code is a fatal error. */
archive_set_error(&(self->archive->archive), -1,
"Invalid compressed data");
@@ -377,11 +376,6 @@
/* Generate output characters in reverse order. */
while (code >= 256) {
- // XXX: long -> ptrdiff_t, but don't want to bother with
- // autoconf for now.
- if (state->stackp - state->stack >=
- (long)(sizeof(state->stack) - 1))
- goto out;
*state->stackp++ = state->suffix[code];
code = state->prefix[code];
}
Home |
Main Index |
Thread Index |
Old Index