public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/7854: fastjar update (-u) should be implemented
@ 2002-09-08  0:36 116145
  0 siblings, 0 replies; only message in thread
From: 116145 @ 2002-09-08  0:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7854
>Category:       libgcj
>Synopsis:       fastjar update (-u) should be implemented
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 08 00:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     116145@bugs.debian.org
>Release:        3.2 / HEAD
>Organization:
>Environment:

>Description:
[known, but not in GNATS yet, see http://bugs.debian.org/116145]

fastjar's -u option is disabled due to corrupted archives.

Per Bothner responded:

Yes, I ran into the same problem.  Basically the implementation of 'u' is pretty much not there.  I looked at trying to fix it, but decided I didn't have time.  Until somebody fixes it, we should change fastjar to exit with an error on 'u'.

The first question is whether fastjar should try to update in place or create a temporary file and copy it over.  The former is faster, especially when just adding files, and is less liable to run out of disk space.

However, it is tricky when files are replaced that are not at the end. In that case I guess the solution is to read the archive members that need to be moved into main memory.

Then it is just a small matter of programming ...
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-08  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-08  0:36 libgcj/7854: fastjar update (-u) should be implemented 116145

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).