Andrew V. Samoilov
1cfe28ff54
* extfs/patchfs: Use quotemeta() before giving filename to shell.
2002-12-11 11:29:35 +00:00
Andrew V. Samoilov
ec4569b544
* extfs/patchfs: Use quotemeta() before giving filename to shell.
2002-12-11 11:03:25 +00:00
Andrew V. Samoilov
60a725395c
* vfs.c (mc_stat): Make first argument const.
...
(mc_lstat): Likewise.
* vfs.h: Adjust declarations and remove some useless defines.
2002-12-11 09:36:50 +00:00
Pavel Roskin
c2d7ef04dc
* extfs/a: Enable Perl warnings. Ignore entries without a date.
...
Warning fixes. Don't redirect stderr to /dev/null - it doesn't
mess the screen now.
2002-12-10 21:38:06 +00:00
Andrew V. Samoilov
c63b6b1735
Typos...
2002-12-10 15:32:48 +00:00
Pavel Roskin
d02ca2efc7
typo
2002-12-09 20:16:49 +00:00
Pavel Roskin
0b357d16a3
* extfs/patchfs: Rewritten is Perl. File size is now displayed
...
properly.
2002-12-09 20:16:34 +00:00
Pavel Roskin
0bb4e479a2
* extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
...
* extfs/ucpio.in: Remove, it's obsoleted ucpio.c.
* extfs/Makefile.am: Remove all references to them.
* extfs/extfs.ini: Likewise.
2002-12-09 14:16:32 +00:00
Pavel Roskin
0fce236546
* extfs.c (__find_entry): When creating entried for regular
...
files, set initial permissions to S_IFREG | 0666. This fixes
problems with viewing and editing newly added files.
2002-12-09 05:21:48 +00:00
Pavel Roskin
9d265c52d6
* extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
2002-12-09 05:01:02 +00:00
Pavel Roskin
f71323845c
* extfs/uar.in: Fix "copyin" command.
2002-12-09 04:28:00 +00:00
Pavel Roskin
b246f3c7ea
s/Could not/Cannot/
2002-12-08 01:12:18 +00:00
Pavel Roskin
7a16741def
* extfs.c (extfs_open): Don't run "copyout" if the file just has
...
been created or O_TRUNC is given in the flags.
Reported by Adam Byrtek 'alpha' <alpha@irc.pl>
2002-12-07 02:37:58 +00:00
Pavel Roskin
fd44d72c55
* extfs/uar.in: Implement "copyin" and "rm" commands.
2002-12-07 00:02:12 +00:00
Andrew V. Samoilov
4925d2cdd5
* extfs.c: Don't include ../src/profile.h.
...
(extfs_open): Remove local_filename if copyout fails.
2002-12-06 14:44:51 +00:00
Pavel Roskin
01330333b5
Add fixme.
2002-12-06 06:10:52 +00:00
Pavel Roskin
03b1481cda
* extfs.h: Remove "extfsstat" from struct archive - it's unused
...
outside open_archive(). Adjust the dependencies.
* extfs.c: Make hstat local variable.
2002-12-06 03:14:41 +00:00
Pavel Roskin
271a2564fd
* sfs.c: Remove "uid" from struct cachedfile - it's unused now.
2002-12-06 02:18:10 +00:00
Pavel Roskin
b9c6a9b3d1
* vfs.h: Remove vfs_uid and vfs_gid. Fix all dependencies.
2002-12-06 02:14:28 +00:00
Pavel Roskin
a5576742c3
* extfs.c (open_archive): Use open_error_pipe before popen() and
...
close_error_pipe() if popen() fails to handle stderr.
(read_archive): Use close_error_pipe() after pclose().
2002-12-05 17:05:27 +00:00
Pavel Roskin
5746ba638b
* ftpfs.c: Define INADDR_NONE if it's not already defined.
...
Needed for Solaris 9.
Reported by Roman Dorokhin <dorokhin@cybermail.net>
2002-12-05 14:47:24 +00:00
Pavel Roskin
51c6751434
Comment fix - explain trailing colon.
2002-12-04 06:25:16 +00:00
Andrew V. Samoilov
7b75eaf984
* extfs.c (open_archive): Don't use open_error_pipe() and
...
close_error_pipe() - it gets stuck on output that exceeds 4
kilobytes.
2002-12-03 12:24:37 +00:00
Pavel Roskin
474ff43316
* extfs.c (open_archive): Use open_error_pipe() and close_error_pipe()
...
to prevent stderr from extfs scripts pollute the screen.
(extfs_cmd): New function to run extfs scripts and handle stderr in one
place.
(extfs_open): Use extfs_cmd().
(extfs_close): Likewise.
(extfs_unlink): Likewise.
(extfs_mkdir): Likewise.
(extfs_rmdir): Likewise.
2002-12-01 20:35:15 +00:00
Pavel Roskin
30503bef51
* extfs/Makefile.am: Add uzip to EXTFS_OUT.
2002-12-01 20:25:54 +00:00
Andrew V. Samoilov
488f984e02
Remove SWATDIR definition
2002-11-29 06:57:36 +00:00
Pavel Roskin
e06b8d8704
Add uzip.
2002-11-28 23:39:50 +00:00
Pavel Roskin
62f3f2d97d
* acinclude.m4 (MC_EXTFS_CHECKS): New macro.
...
(MC_WITH_VFS): Call MC_EXTFS_CHECKS.
* configure.in: Generate vfs/extfs/uzip.
* vfs/extfs/uzip: Move to vfs/extfs/uzip.in.
* vfs/extfs/Makefile.am: Corresponding adjustments.
2002-11-28 22:59:43 +00:00
Pavel Roskin
7ba4aacd85
* mcserv.c (do_classic_auth): Restore support for shadow
...
passwords. Use crypt() instead of pw_encrypt() - the later is
missing on Slackware 8.0. Reported by
Christian Laubscher <christian.laubscher@tiscalinet.ch>
2002-11-17 05:38:29 +00:00
Pavel Roskin
56d650bbf1
* Makefile.am: Consolidate mcserv libraries into MCSERVLIBS.
2002-11-17 01:00:42 +00:00
Pavel Roskin
27899bfa2c
* mcserv.c: Include getopt.h, don't redefine optarg.
2002-11-15 17:07:06 +00:00
Pavel Roskin
a1d4cb2a89
Minor warning fix.
2002-11-15 17:06:46 +00:00
Pavel Roskin
21bfde8acf
Minor warning fixes.
2002-11-15 17:02:44 +00:00
Pavel Roskin
dd621c3f36
Warning fixes.
2002-11-15 07:49:39 +00:00
Pavel Roskin
5cb2ef30f3
Fix duplicate declarations.
2002-11-15 06:38:55 +00:00
Pavel Roskin
dc724cdb6e
* names.c: Only leave actually used functions.
2002-11-15 06:19:34 +00:00
Pavel Roskin
6b2d184d9e
* ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1.
2002-11-15 05:41:27 +00:00
Andrew V. Samoilov
3fbf9adabe
* samba/param/loadparm.c: Remove PASSWD_PROGRAM, SMB_PASSWD_FILE
...
and DEFAULT_PASSWD_CHAT support.
* samba/Makefile.in: Likewsise. Remove PRIVATEDIR, PASSWD_FLAGS,
CODEPAGELIST and SCRIPTS variables and yodldocs target.
* samba/configure.in: Remove --with-privatedir.
2002-11-14 12:32:41 +00:00
Pavel Roskin
68fdcd473a
Include wtools.h - needed because message() has been moved there.
2002-11-14 07:26:32 +00:00
Andrew V. Samoilov
8ce50e28d7
Remove SMBLOGFILE, NMBLOGFILE and MANDIR
2002-11-13 07:25:46 +00:00
Pavel Roskin
70ec6bbd26
Remove fish_which().
2002-11-13 04:00:28 +00:00
Pavel Roskin
15f131afc9
* fish.c (fish_which): Make static.
2002-11-13 03:54:24 +00:00
Andrew V. Samoilov
7197808ece
Remove LOCKDIR support
2002-11-12 16:03:16 +00:00
Andrew V. Samoilov
5959aff123
* ftpfs.c (linear_abort): Close data socket dsock.
2002-11-12 15:26:18 +00:00
Pavel Roskin
6b3a6dd169
* vfs.h [USE_VFS] (mc_setctl): Specify argument types.
2002-11-11 19:25:21 +00:00
Pavel Roskin
7f6b843a94
* cpio.c (cpiofs_data): Warning fix in initization.
...
* tar.c (tarfs_data): Likewise.
2002-11-11 07:46:21 +00:00
Pavel Roskin
91f7a47331
* vfs.c: Leave only necessary includes from ../src.
2002-11-11 06:28:30 +00:00
Pavel Roskin
e5140f37d4
* vfs.c: Make the last argument to MC_OP non-empty in the
...
definition of MC_HANDLEOP. Needed for Mac OS X.
Reported by Wim Rijnders <wimrijnders@home.nl>
2002-11-11 02:03:35 +00:00
Pavel Roskin
f7477fb810
Move the entry about vfs/extfs/a to vfs/ChangeLog.
2002-11-11 01:49:52 +00:00
Pavel Roskin
5dbffb96c2
* vfs/extfs/a: Set environment to force date and time format
...
suitable for VFS. Fix support for long filenames with spaces.
2002-11-08 18:06:14 +00:00
Andrew V. Samoilov
6b0df00830
* smbfs.c (new_dir_entry): Initialize st_ino, so recursive directory
...
copying is possible now.
2002-11-07 14:49:13 +00:00
Pavel Roskin
27244da8cc
s/shue/sure/
2002-11-06 20:10:21 +00:00
Andrew V. Samoilov
a26a1e1c0d
* vfs.c (mc_get_current_wd): Make shue returned string is null terminated.
2002-11-06 18:48:36 +00:00
Andrew V. Samoilov
4e7527980a
* vfs.c (mc_get_current_wd): Make shue returned string is null terminated.
2002-11-06 18:41:34 +00:00
Pavel Roskin
3f40a2b274
* vfs.c: Remove unused code.
...
* vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
2002-11-03 10:24:45 +00:00
Pavel Roskin
316993bf83
Remove dead code.
2002-11-03 09:27:08 +00:00
Pavel Roskin
b684aa93dc
Comment change.
2002-11-02 16:58:18 +00:00
Andrew V. Samoilov
e458d50651
* fish.c: Use name_quote() to quote filenames.
...
(file_store): Close localname on error.
2002-11-01 16:55:02 +00:00
Pavel Roskin
43b3170fc4
* ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
...
expects the client to close it.
2002-10-25 21:50:21 +00:00
Andrew V. Samoilov
24a4e98387
(FH_SOCK): Remove second C++ commented definiation
2002-10-25 08:23:57 +00:00
Pavel Roskin
7d90636758
Reuse existing button names.
2002-10-21 21:56:20 +00:00
Pavel Roskin
d3f0a2f61b
Remove spaces around "Error" and "Warning" together with their translations.
...
Also remove spaces from "Quit" and "Search", but leave alone the
translations, that already have them without spaces.
2002-10-21 04:13:49 +00:00
Pavel Roskin
7bb1b58274
* vfs.h: Remove tar_gzipped_memlimit.
...
From Christian Laubscher <christian.laubscher@tiscalinet.ch>
2002-10-13 23:25:57 +00:00
Andrew V. Samoilov
f4a0b6e40b
* smbfs.c (fake_share_stat): Make sure share exists by
...
smbfs_get_path() and fill buf with realistic data
if current_share_info is NULL. Reformat function.
(smbfs_get_path): Add const qualifier to path.
2002-10-11 15:29:55 +00:00
Andrew V. Samoilov
e751871446
(smbfs_stat): Don't write to path.
2002-10-10 10:04:41 +00:00
Andrew V. Samoilov
872e77eb1d
* smbfs.c: Allow username in URL (/#smb:[user@]machine) and
...
reformat changed functions.
(smbfs_get_host_and_username): Fix comment.
(smbfs_fill_names): Add username@ before hostname.
(smbfs_open_link): Use IPC$ if share is empty.
(smbfs_get_path): Pass remote_path to smbfs_open_link().
(smbfs_stat): Copy username@ to server_url if passed.
2002-10-09 13:18:10 +00:00
Pavel Roskin
604950704a
* ftpfs.c (linear_abort): Add a timeout after which a reconnect
...
is performed instead of further fetching of the remaining data.
2002-10-07 17:56:15 +00:00
Andrew V. Samoilov
3d95a5fa29
* smbfs.c: Don't define BOOL_DEFINED to fix compilation on SunOS 5.8.
2002-10-07 10:05:36 +00:00
Pavel Roskin
416008fc74
* direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
...
of non-portable snprintf().
Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
2002-10-07 05:32:45 +00:00
Pavel Roskin
8c39d20a57
* mcfs.c (mcfs_lseek): Explicity cast offset to int. This fixes
...
viewing and editing files on mcfs.
2002-10-05 01:55:58 +00:00
Pavel Roskin
70faf8a7c4
Comment change.
2002-10-05 01:54:20 +00:00
Pavel Roskin
b5e7441d98
* tcputil.c: Split mcfs-specific part to
...
* mcfsutil.c: ... this.
* tcputil.h: Split mcfs-specific part to
* mcfsutil.h: ... this.
* Makefile.am: Add mcfsutil.c and mcfsutil.h.
* mcserv.c: Define own got_sigpipe, which is always 0, since
mcserv doesn't call tcp_init().
2002-10-05 01:02:07 +00:00
Pavel Roskin
51a6434b44
* Makefile.am: Don't link mcserv with glib. It's unreasonable
...
to require a glib port for embedded systems mcserv may run on.
* mcserv.c: Replace all glib calls with standard libc calls.
* tcputil.c (rpc_get): Likewise.
2002-10-05 00:31:12 +00:00
Pavel Roskin
4d7cf0f3a7
* mcserv.c (get_client): Don't try to find the address family
...
from the hostname. Always use AF_INET, because everything else
is unsupported.
2002-10-04 23:35:54 +00:00
Andrew V. Samoilov
3d4ea6e96d
* sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
2002-10-04 13:24:10 +00:00
Andrew V. Samoilov
9740d2a810
(string_initial): Commented out.
...
(init_locals): Define as do nothing macro. Printing is not supported.
2002-10-03 17:00:23 +00:00
Andrew V. Samoilov
b9b33a4a39
Remove SMBRUN support
2002-10-02 11:03:08 +00:00
Pavel Roskin
8cdc2bcecd
Fix the date. My clock was 1 day ahead.
2002-10-01 21:45:25 +00:00
Andrew V. Samoilov
07f3c2f7af
* xdirentry.h: Comment out magic field everywhere.
2002-10-01 17:03:55 +00:00
Pavel Roskin
bd5da0af5e
* Makefile.am (VFSHDRS): Remove container.h.
2002-10-01 04:26:25 +00:00
Pavel Roskin
409994fe92
* tcputil.c (check_hooks): Remove, it does nothing. Also remove
...
all related data structures.
2002-10-01 04:18:38 +00:00
Pavel Roskin
379ea9b60d
* tcputil.c (get_remote_port): Move to mcfs.c.
...
(send_string): Move to mcserv.c.
(rpc_add_get_callback): Remove, it's unused.
2002-10-01 04:09:31 +00:00
Pavel Roskin
95ffa342bd
* container.h: Remove, it's unused.
2002-10-01 03:54:05 +00:00
Pavel Roskin
646e878d6b
Remove unused files.
2002-10-01 03:51:46 +00:00
Pavel Roskin
924c985630
* utilvfs.c: Remove tests, since get_host_and_username() is
...
missing.
* mcfs.c (open_tcp_link): Make static.
* tcputil.h: Remove unused definitions.
2002-10-01 03:47:46 +00:00
Pavel Roskin
0587a032ac
Remove obsolete comments.
2002-10-01 03:33:11 +00:00
Pavel Roskin
99800b2f24
* direntry.c (vfs_s_retrieve_file): Allow interrupt by Ctrl-C.
...
From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
2002-09-29 18:35:14 +00:00
Pavel Roskin
bd4b18731e
s/suplied/supplied/
...
s/duplicit/duplicate/
2002-09-27 00:17:10 +00:00
Pavel Roskin
b31f058eea
s/appropriative/suitable/
2002-09-26 23:40:03 +00:00
Pavel Roskin
da7e82d253
Global removal of RCS Id: flags.
2002-09-26 23:13:45 +00:00
Pavel Roskin
bbc35a31cf
* sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
...
messages in other places.
2002-09-26 22:51:27 +00:00
Pavel Roskin
d2417f2096
* vfs.c (vfs_parse_filemode): Fix parsing for filenames that
...
begin with a number.
From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2002-09-25 05:09:08 +00:00
Andrew V. Samoilov
e98d979a69
* smbfs.c: Undef USE_NCURSES - no needs to include *curces.h.
...
(smbfs_loaddir): Fix warning.
2002-09-24 15:26:55 +00:00
Pavel Roskin
966511399b
Move fcntl.h inclusion to global.h.
2002-09-23 06:45:32 +00:00
Pavel Roskin
b5700cf6f8
* configure.in: Remove support for HSC proxy - it's obsolete.
...
Remove all references to HSC proxy everywhere.
2002-09-22 06:14:16 +00:00
Pavel Roskin
748e028d05
* */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
...
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
b803c4463c
Typo fix.
2002-09-21 23:04:54 +00:00
Pavel Roskin
e90d91e7a0
* mcfs.c: Move config,h to the beginning.
2002-09-21 23:01:41 +00:00
Andrew V. Samoilov
50ac0519dd
* tcputil.c [!WITH_MCFS]: Disable mcfs related code.
...
* mcfs.c [!WITH_MCFS]: Disable all code.
2002-09-19 14:37:22 +00:00
Andrew V. Samoilov
72486652cb
* smbfs.c: Don't define BOOL_DEFINED to fix compilation on SunOS 5.8.
2002-09-16 14:20:04 +00:00