archival: added O_TRUNC so that when we overwrite files on unpack,
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 3 Sep 2006 14:23:29 +0000 (14:23 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 3 Sep 2006 14:23:29 +0000 (14:23 -0000)
commit22dca23d52c836e40c79cb4042b867fdc06f6ca3
treea9f7e6c318e749875288358c963d53c25fab681a
parent314908da9e156e3100275598dde6848da038d65d
archival: added O_TRUNC so that when we overwrite files on unpack,
          we truncate them. Also spotted & fixed hard to trigger bug
          with extension handling.
archival/bunzip2.c
archival/gunzip.c
archival/uncompress.c
archival/unlzma.c
archival/unzip.c