From e65b13eb0041226c5e3f119579c3680deec4bd21 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Wed, 6 Oct 2004 21:20:17 +0000 Subject: [PATCH] * ftpfs.c (ftpfs_linear_start): Likewise. * fish.c (fish_linear_start): Likewise. --- vfs/ChangeLog | 7 ++++--- vfs/fish.c | 3 ++- vfs/ftpfs.c | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 5e6f4b52e..c80161712 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,4 +1,4 @@ -2004-10-05 Andrew V. Samoilov +2004-10-06 Andrew V. Samoilov * cpio.c (cpio_find_head): Check mc_read() return value. (cpio_read_crc_head): Handle mc_read() return value properly. @@ -8,6 +8,8 @@ 2004-10-06 Alexander Savelyev * xdirentry.h (linear_start): Use off_t for offset. + * ftpfs.c (ftpfs_linear_start): Likewise. + * fish.c (fish_linear_start): Likewise. 2004-10-05 Miroslav Rudisin @@ -19,10 +21,9 @@ to avoid possible segmentation fault. Close https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=8974 - 2004-09-26 Roland Illig - * vfs.c (_vfs_get_class): Reverted my last patch because + * vfs.c (_vfs_get_class): Revert my last patch because Leonard reported it to make mc crash. 2004-09-25 Roland Illig diff --git a/vfs/fish.c b/vfs/fish.c index 3ae67477d..298d62f9e 100644 --- a/vfs/fish.c +++ b/vfs/fish.c @@ -572,7 +572,8 @@ error_return: return -1; } -static int fish_linear_start(struct vfs_class *me, struct vfs_s_fh *fh, int offset) +static int +fish_linear_start (struct vfs_class *me, struct vfs_s_fh *fh, off_t offset) { char *name; char *quoted_name; diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c index 6948f9685..a1c68239f 100644 --- a/vfs/ftpfs.c +++ b/vfs/ftpfs.c @@ -1366,7 +1366,7 @@ error_return: } static int -ftpfs_linear_start(struct vfs_class *me, struct vfs_s_fh *fh, int offset) +ftpfs_linear_start (struct vfs_class *me, struct vfs_s_fh *fh, off_t offset) { char *name = vfs_s_fullpath (me, fh->ino); -- 2.11.4.GIT