mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* Makefile.am: Compile utilvfs.c even without USE_VFS_NET.
* utilvfs.c (vfs_split_url): Only compile with USE_NETCODE defined.
This commit is contained in:
parent
5f35b799bb
commit
6b4f397f5b
@ -1,3 +1,9 @@
|
|||||||
|
2003-10-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.am: Compile utilvfs.c even without USE_VFS_NET.
|
||||||
|
* utilvfs.c (vfs_split_url): Only compile with USE_NETCODE
|
||||||
|
defined.
|
||||||
|
|
||||||
2003-10-28 Pavel Roskin <proski@gnu.org>
|
2003-10-28 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* fish.c (fish_fh_open): Use vfs_mkstemps() for write buffers as
|
* fish.c (fish_fh_open): Use vfs_mkstemps() for write buffers as
|
||||||
|
@ -19,6 +19,7 @@ BASICFILES = \
|
|||||||
local.c \
|
local.c \
|
||||||
tar.c \
|
tar.c \
|
||||||
sfs.c \
|
sfs.c \
|
||||||
|
utilvfs.c \
|
||||||
vfs.c
|
vfs.c
|
||||||
|
|
||||||
VFSHDRS = \
|
VFSHDRS = \
|
||||||
@ -43,8 +44,7 @@ if USE_UNDEL_FS
|
|||||||
UNDEL_FILES = $(UNDELFILES)
|
UNDEL_FILES = $(UNDELFILES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
NETFILES = tcputil.c fish.c ftpfs.c mcfs.c mcfsutil.c utilvfs.c \
|
NETFILES = tcputil.c fish.c ftpfs.c mcfs.c mcfsutil.c $(SMB_NETFILES)
|
||||||
$(SMB_NETFILES)
|
|
||||||
|
|
||||||
NONETFILES = $(BASICFILES) $(UNDEL_FILES)
|
NONETFILES = $(BASICFILES) $(UNDEL_FILES)
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
* host.
|
* host.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef USE_NETCODE
|
||||||
char *
|
char *
|
||||||
vfs_split_url (const char *path, char **host, char **user, int *port,
|
vfs_split_url (const char *path, char **host, char **user, int *port,
|
||||||
char **pass, int default_port, int flags)
|
char **pass, int default_port, int flags)
|
||||||
@ -128,6 +129,7 @@ vfs_split_url (const char *path, char **host, char **user, int *port,
|
|||||||
g_free (pcopy);
|
g_free (pcopy);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
#endif /* USE_NETCODE */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Look up a user or group name from a uid/gid, maintaining a cache.
|
* Look up a user or group name from a uid/gid, maintaining a cache.
|
||||||
|
Loading…
Reference in New Issue
Block a user