Andrew V. Samoilov
a918318c9d
* smbfs.h: Declare smbfs_set_debug.
2001-10-24 08:16:16 +00:00
Pavel Roskin
2b9f5265b4
* ftpfs.c (command): Declare with the printf attribute.
...
* undelfs.c: Remove declaration of print_vfs_message().
2001-10-20 07:12:55 +00:00
Pavel Roskin
0c52fb0f99
* fish.c (file_store): Fix incorrect format string
...
for print_vfs_message().
* ftpfs.c (file_store): Likewise.
2001-10-20 07:04:31 +00:00
Pavel Roskin
cf59af66de
* fish.c (command): Declare with the printf attribute to enable
...
warnings in gcc.
(file_store): Cast all expressions with file sizes to unsigned
long. This should fix uploading when large file support is on.
File size is limited to 4096 * ULONG_MAX for now.
2001-10-20 03:41:31 +00:00
Andrew V. Samoilov
0ff4b8ae77
* samba/configure.in: Don't check readline.h, history.h and
...
libreadline.
2001-10-18 09:24:28 +00:00
Andrew V. Samoilov
b7339b590f
* samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
...
"out of server memory" error. From samba 2.0.7 patchset.
2001-10-16 07:02:32 +00:00
Pavel Roskin
388a2fe2bf
* vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
...
are not supported locally. Support Solaris doors, also fall
back to fifo.
2001-10-07 09:01:17 +00:00
Pavel Roskin
78982e7cc5
* sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
...
instead.
2001-10-02 08:06:37 +00:00
Pavel Roskin
353e389689
* vfs.h [!USE_VFS]: Define macros with no effect to an empty
...
statement "do { } while (0)".
2001-10-01 06:01:13 +00:00
Pavel Roskin
d08e77f86d
* samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
2001-09-30 19:50:38 +00:00
Pavel Roskin
534e8f432a
* vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
...
mc_fstat() because they don't expand correctly on Solaris 8 with
large file support.
2001-09-17 21:29:51 +00:00
Pavel Roskin
692f52ce8d
* configure.in: Use three-argument form of AC_INIT. Use
...
AC_CONFIG_AUX_DIR. Remove some unused or implied macros.
* Makefile.am (EXTRA_DIST): Remove "depcomp" - this workaround
is not needed if AC_CONFIG_AUX_DIR is used.
* vfs/Make-mc.in: Adjust mkinstalldirs location.
* autogen.sh: Create "config" and remove "autom4te.cache".
2001-09-12 19:18:38 +00:00
Pavel Roskin
92f05b1d2f
* Make-mc.in: Use USE_VFS conditional instead of relying on
...
LIBVFS.
2001-09-10 20:26:13 +00:00
Pavel Roskin
e777d48dfb
* Make-mc.in: Include necessary parts of Make.common to
...
eliminate the later.
2001-09-07 15:22:47 +00:00
Pavel Roskin
6f8323907f
Trimmed using last chtrim. Ensure exactly 2 spaces before e-mail.
2001-09-01 20:12:16 +00:00
Pavel Roskin
05f725e4ee
Remove zombie files
2001-08-26 14:55:05 +00:00
Pavel Roskin
77e155246d
* names.c (finduname): Don't use HAVE_GETPWUID - it's never
...
defined. Don't redeclare getpwuid().
(findgname): Don't use HAVE_GETGRGID - it's never defined.
Don't redeclare getgrgid().
2001-08-24 02:51:40 +00:00
Pavel Roskin
13b66d593e
* fish.c: Remove useless semicolons after functions.
2001-08-23 17:13:43 +00:00
Pavel Roskin
efe396e30e
* vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
...
Disallow st_nlink = 0.
2001-08-19 16:11:39 +00:00
Pavel Roskin
78940c0e53
* cpio.c (cpio_read_head): Check return value of cpio_find_head,
...
because it's not equal to super->u.cpio.type in case of errors.
2001-08-19 03:38:52 +00:00
Pavel Roskin
0b36c6e5eb
* direntry.c (vfs_s_free_super): Remove i18n on commented out
...
developer-only code.
2001-08-16 22:23:05 +00:00
Pavel Roskin
e6a07c778a
* extfs.c (extfs_init): Internationalize error message, it's
...
already in sfs.c.
2001-08-16 20:43:47 +00:00
Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Pavel Roskin
7493ab67ad
* sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
2001-08-11 04:57:17 +00:00
Pavel Roskin
4b54385dc6
* extfs.h: Move private structures ...
...
* extfs.c: ... here.
2001-08-07 23:54:35 +00:00
Pavel Roskin
5c7d2296ca
* extfs.h (struct entry): Remove unused `has_changed' field.
...
It's only written but never read.
(struct inode): Likewise.
* extfs.c: All dependencies changed.
(extfs_open): Mark file as changed if it's open for writing.
2001-08-07 22:47:02 +00:00
Pavel Roskin
f3e22063e1
* extfs/uzip: Update to version 1.4.0.
...
* extfs/README.uzip: Likewise.
2001-08-07 20:02:05 +00:00
Andrew V. Samoilov
7131de12c8
;)
2001-08-07 10:27:21 +00:00
Andrew V. Samoilov
1e23c4fb68
* ftpfs.c (ftpfs_fill_names): New function.
...
(vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
2001-08-06 15:39:08 +00:00
Andrew V. Samoilov
0ec69ba605
* samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
...
(dos2unix_format): Likewise.
2001-08-06 15:37:28 +00:00
Andrew V. Samoilov
2e4e496c36
* smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
...
gives malloced filename, so this memory must be released after use.
(reconnect): Fix segmentation fault.
(smbfs_loadddir): Don't g_strdup path.
(smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
smbfs_connections initialisation.
(smbfs_open_link): Likewise. Release host after get_master_browser.
(get_stat_info): Fix unneeded g_strdup/g_free calls.
(smbfs_mkdir): Release path after use.
(smbfs_mkdir): Likewise.
(smbfs_open): Fix memory leak.
(smbfs_unlink): Likewise. Fix error message.
(smbfs_rename): Fix memory leaks.
(smbfs_stat): Fix url parsing.
2001-08-06 15:36:33 +00:00
Andrew V. Samoilov
4725ec12bb
;)
2001-08-03 10:20:22 +00:00
Andrew V. Samoilov
3002c837ab
* smbfs.c (new_dir_entry): New function with repeated code from
...
browsing_helper, loaddir_helper and server_browsing_helper.
(browsing_helper): Use new_dir_entry.
(loaddir_helper): Likewise.
(server_browsing_helper): Likewise.
(cached_lstat_info): Eliminated.
(smbfs_readdir): Make dirent_dest static const.
Eliminate cached_lstat_info.
(smbfs_open_link): Make user parameter const. Fix memory leak.
(fake_server_stat): Make path parameter const. Symplify.
(smbfs_fstat): Set my_errno to EFAULT before return.
2001-08-03 10:19:45 +00:00
Andrew V. Samoilov
480dc4765f
* xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
...
* ftpfs.h (struct connection): Remove result_pending field.
2001-08-03 10:15:17 +00:00
Andrew V. Samoilov
1c07145e0f
* samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
2001-08-03 10:14:18 +00:00
Andrew V. Samoilov
c908fc4562
* utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
2001-08-03 10:12:18 +00:00
Pavel Roskin
c1d46903d7
* Make-mc.in: Make it possible to run "make install" before
...
"make all". Use more Automake-compatible target names.
2001-08-01 16:15:22 +00:00
Andrew V. Samoilov
ae7fd2fcd2
(search_dir_entry): Make text parameter const.
...
(smbfs_get_host_and_username): Make macro.
(my_forget): Fix compilation.
2001-08-01 12:24:35 +00:00
Andrew V. Samoilov
0db7865c82
* smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
...
(do_connect): Symplify.
(get_stat_info): Symplify. Eliminate another fake_stat.
(smbfs_chdir): Release remote_dir after use.
(smbfs_stat): Likewise. Fix another 2 memory leaks.
(smbfs_mkdir): Release remote_file after use.
(smbfs_rmdir): Likewise.
(smbfs_open): Likewise. Indentation fixes.
(smbfs_unlink): Likewise.
(smbfs_rename): Release rb and ra after use.
2001-08-01 10:40:15 +00:00
Pavel Roskin
ced1d864e8
Add *.cache.
2001-07-31 18:27:52 +00:00
Pavel Roskin
a1532469cd
* extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
...
From Ludovic Drolez <ludovic.drolez@freealter.com>.
2001-07-20 14:50:30 +00:00
Pavel Roskin
613dc4d1ca
* vfs.c (mc_return_cwd): Use g_get_current_dir().
2001-07-18 03:44:38 +00:00
Pavel Roskin
75be0dd7e1
Use short path in the last entry.
2001-07-15 07:24:58 +00:00
Pavel Roskin
820a35758e
* vfs/smbfs.c: Rename authinfo to smb_authinfo and
...
authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
and remove their definitions.
* vfs/vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
2001-07-15 07:01:41 +00:00
Pavel Roskin
c100281180
* extfs.c: Include contents of shared_tar_ext.c - it's no
...
longer shared.
* shared_tar_ext.c: Remove.
* Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
2001-07-10 14:19:11 +00:00
Pavel Roskin
ab828100df
* smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
...
filesystem. Don't translate it.
2001-07-10 04:05:47 +00:00
Pavel Roskin
401ca73645
* tar.c (ReadStatus): Fix compilation on AIX.
...
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:12:02 +00:00
Pavel Roskin
e1d5a8250d
* extfs/mailfs: Strip trailing DOS newlines from mail files.
...
From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
2001-07-09 20:07:43 +00:00
Pavel Roskin
80f37db22b
* fish.c (fish_chown): Do nothing and return success if
...
getpwuid() or getgrgid() fails.
2001-07-09 16:15:33 +00:00
Pavel Roskin
1fc74d5ab3
* README.fish: Spelling fixes.
2001-07-05 15:05:23 +00:00