Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 22:53:18 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/unzip unzip.1 unzip.c
Message-ID:  <201002162253.o1GMrbEN096395@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gavin       2010-02-16 22:53:18 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/unzip        unzip.1 unzip.c 
  Log:
  SVN rev 203977 on 2010-02-16 22:53:18Z by gavin
  
  Implement the rename query, for when a file with the same name as the one
  about to be extracted already exists.  The question, and interpretation
  of the response is deliberately compatible with Info-Zip.
  
  This change was originally obtained from NetBSD, but has three changes:
   - better compatibility with Info-Zip in the handling of ^D
   - Use getdelim() rather than getline()
   - bug fix: != changed to == in the "file rename" code
  
  I suspect the latter is also a bug in NetBSD, but I can't easily confirm
  this.
  
  PR:             bin/143307
  Reviewed by:    rdivacky (change to unzip.c only)
  Obtained from:  NetBSD src/usr.bin/unzip/unzip.c 1.8
  MFC after:      1 month
  
  Revision  Changes    Path
  1.4       +0 -11     src/usr.bin/unzip/unzip.1
  1.6       +69 -17    src/usr.bin/unzip/unzip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002162253.o1GMrbEN096395>