mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 12:12:19 +03:00
* cpio.c (init_cpiofs): Set vfs_cpiofs_ops.setctl to NULL, or
bad things happen after unsuccessful deletion.
This commit is contained in:
parent
14b3775e71
commit
9632550889
@ -1,5 +1,8 @@
|
|||||||
2003-10-11 Pavel Roskin <proski@gnu.org>
|
2003-10-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* cpio.c (init_cpiofs): Set vfs_cpiofs_ops.setctl to NULL, or
|
||||||
|
bad things happen after unsuccessful deletion.
|
||||||
|
|
||||||
* vfs.h: Remove obsolete code.
|
* vfs.h: Remove obsolete code.
|
||||||
|
|
||||||
2003-10-10 Pavel Roskin <proski@gnu.org>
|
2003-10-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
@ -631,6 +631,7 @@ init_cpiofs (void)
|
|||||||
vfs_cpiofs_ops.data = &cpiofs_data;
|
vfs_cpiofs_ops.data = &cpiofs_data;
|
||||||
vfs_cpiofs_ops.read = cpio_read;
|
vfs_cpiofs_ops.read = cpio_read;
|
||||||
vfs_cpiofs_ops.write = NULL;
|
vfs_cpiofs_ops.write = NULL;
|
||||||
|
vfs_cpiofs_ops.setctl = NULL;
|
||||||
vfs_cpiofs_ops.ungetlocalcopy = cpio_ungetlocalcopy;
|
vfs_cpiofs_ops.ungetlocalcopy = cpio_ungetlocalcopy;
|
||||||
vfs_register_class (&vfs_cpiofs_ops);
|
vfs_register_class (&vfs_cpiofs_ops);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user