From dagoon@ldah.math.uni.lodz.pl  Fri Nov 10 15:31:17 2000
Return-Path: <dagoon@ldah.math.uni.lodz.pl>
Received: from ldah.math.uni.lodz.pl (ldah.math.uni.lodz.pl [212.191.65.29])
	by hub.freebsd.org (Postfix) with ESMTP id 7E64B37B4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 10 Nov 2000 15:31:16 -0800 (PST)
Received: (from dagoon@localhost)
	by ldah.math.uni.lodz.pl (8.11.1/8.11.0) id eAANSTW00916;
	Sat, 11 Nov 2000 00:28:29 +0100 (CET)
	(envelope-from dagoon)
Message-Id: <200011102328.eAANSTW00916@ldah.math.uni.lodz.pl>
Date: Sat, 11 Nov 2000 00:28:29 +0100 (CET)
From: Marcin Gryszkalis <dagoon@ldah.math.uni.lodz.pl>
Reply-To: dagoon@ldah.math.uni.lodz.pl
To: FreeBSD-gnats-submit@freebsd.org
Subject: zip not working on 4.2-beta/alpha (not a zip fault)
X-Send-Pr-Version: 3.2

>Number:         22759
>Category:       alpha
>Synopsis:       zip cannot work with existing .zip archives
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 10 15:40:01 PST 2000
>Closed-Date:    Sun Nov 11 04:44:34 PST 2001
>Last-Modified:  Sun Nov 11 04:44:59 PST 2001
>Originator:     Marcin Gryszkalis
>Release:        FreeBSD 4.2-BETA alpha
>Organization:
University of Lodz
>Environment:

FreeBSD 4.2-BETA (ldah) #10: Thu Nov  9 19:42:13 CET 2000
This is Zip 2.3 (November 29th 1999), by Info-ZIP.
Compiled with gcc 2.95.2 19991024 (release) for Unix (FreeBSD 4.2-BETA) on
Nov  9 2000.

>Description:

any operation on .zip archive (add,update, etc.) fails ,
- didn't happen on 4.1.1

>How-To-Repeat:

dagoon@ldah:~,0> zip archive opt.sh
  adding: opt.sh (deflated 41%)
dagoon@ldah:~,0> zip archive opt.sh
        zip warning: missing end signature--probably not a zip file (did you
        zip warning: remember to use binary mode when you transferred it?)

zip error: Zip file structure invalid (archive.zip)

(opt.sh is "any" file)

>Fix:
 I guess it's somthing wrong with system not with zip


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wilko 
State-Changed-When: Sun Nov 11 04:44:34 PST 2001 
State-Changed-Why:  
Not reproducible on 4.4-stable 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22759 
>Unformatted:

Problem is not reproducible on 4.4-stable:

ds10#zip foo /bin/sh
  adding: bin/sh (deflated 62%)
ds10#zip foo /bin/sh
updating: bin/sh (deflated 62%)
ds10#uname -a
FreeBSD ds10.wbnet 4.4-STABLE FreeBSD 4.4-STABLE #2: Sun Oct 28 22:59:59 CET 2001     root@ds10.wbnet:/usr/obj/usr/src/sys/DS10  alpha
ds10#pkg_info | grep zip
zip-2.3             Create/update ZIP files compatible with pkzip
ds10#

