mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-22 02:04:22 +03:00
* cpio.c (cpio_open_cpio_file): Fix type initialization.
From Andrew V. Samoilov <kai@cmail.ru>
This commit is contained in:
parent
3e17883b11
commit
3738d4cee0
@ -1,3 +1,8 @@
|
||||
2002-07-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* cpio.c (cpio_open_cpio_file): Fix type initialization.
|
||||
From Andrew V. Samoilov <kai@cmail.ru>
|
||||
|
||||
2002-07-02 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
|
||||
@ -7,7 +12,7 @@
|
||||
|
||||
* ftpfs.c (send_ftp_command): Use "anonymous@" as default
|
||||
anonymous password.
|
||||
From Eduardo Perez Ureta" <eperez@it.uc3m.es>
|
||||
From Eduardo Perez Ureta <eperez@it.uc3m.es>
|
||||
|
||||
2002-06-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
|
@ -149,7 +149,8 @@ static int cpio_open_cpio_file(vfs *me, vfs_s_super *super, char *name)
|
||||
mc_stat(name, &(super->u.cpio.stat));
|
||||
super->u.cpio.type = CPIO_UNKNOWN;
|
||||
|
||||
if (get_compression_type(fd) != COMPRESSION_NONE) {
|
||||
type = get_compression_type(fd);
|
||||
if (type != COMPRESSION_NONE) {
|
||||
char *s;
|
||||
|
||||
mc_close(fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user