* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
(smbfs_free): Likewise.
Этот коммит содержится в:
родитель
fc1319fd31
Коммит
4d4294fdb4
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-24 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
|
||||||
|
(smbfs_free): Likewise.
|
||||||
|
|
||||||
2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
|
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
|
||||||
|
16
vfs/smbfs.c
16
vfs/smbfs.c
@ -1630,8 +1630,8 @@ smbfs_rmdir (vfs *me, char *path)
|
|||||||
static int
|
static int
|
||||||
smbfs_link (vfs *me, char *p1, char *p2)
|
smbfs_link (vfs *me, char *p1, char *p2)
|
||||||
{
|
{
|
||||||
DEBUG(3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
|
DEBUG (3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
|
||||||
my_errno = EOPNOTSUPP;
|
my_errno = EOPNOTSUPP;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1642,24 +1642,24 @@ static vfsid
|
|||||||
smbfs_getid (vfs *me, char *p, struct vfs_stamping **parent)
|
smbfs_getid (vfs *me, char *p, struct vfs_stamping **parent)
|
||||||
{
|
{
|
||||||
*parent = NULL;
|
*parent = NULL;
|
||||||
DEBUG(3, ("smbfs_getid(p:%s)\n", p));
|
DEBUG (3, ("smbfs_getid(p:%s)\n", p));
|
||||||
|
|
||||||
return (vfsid) -1;
|
return (vfsid) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
smbfs_nothingisopen (vfsid id)
|
smbfs_nothingisopen (vfsid id)
|
||||||
{
|
{
|
||||||
DEBUG(3, ("smbfs_nothingisopen(%d)\n", (int)id));
|
DEBUG (3, ("smbfs_nothingisopen(%p)\n", id));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
smbfs_free (vfsid id)
|
smbfs_free (vfsid id)
|
||||||
{
|
{
|
||||||
DEBUG(3, ("smbfs_free(%d)\n", (int)id));
|
DEBUG (3, ("smbfs_free(%p)\n", id));
|
||||||
/* FIXME: Should not be empty */
|
/* FIXME: Should not be empty */
|
||||||
authinfo_free_all ();
|
authinfo_free_all ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gives up on a socket and reopens the connection, the child own the socket
|
/* Gives up on a socket and reopens the connection, the child own the socket
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user