1 2002-11-03 Pavel Roskin <proski@gnu.org>
3 * vfs.c: Remove unused code.
4 * vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
6 2002-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
8 * fish.c: Use name_quote() to quote filenames.
9 (file_store): Close localname on error.
11 2002-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
13 * ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
14 expects the client to close it.
16 2002-10-13 Pavel Roskin <proski@gnu.org>
18 * vfs.h: Remove tar_gzipped_memlimit.
19 From Christian Laubscher <christian.laubscher@tiscalinet.ch>
21 2002-10-11 Andrew V. Samoilov <sav@bcs.zp.ua>
23 * smbfs.c (fake_share_stat): Make sure share exists by
24 smbfs_get_path() and fill buf with realistic data
25 if current_share_info is NULL. Reformat function.
26 (smbfs_get_path): Add const qualifier to path.
28 2002-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
30 * smbfs.c: Allow username in URL (/#smb:[user@]machine) and
31 reformat changed functions.
32 (smbfs_get_host_and_username): Fix comment.
33 (smbfs_fill_names): Add username@ before hostname.
34 (smbfs_open_link): Use IPC$ if share is empty.
35 (smbfs_get_path): Pass remote_path to smbfs_open_link().
36 (smbfs_stat): Copy username@ to server_url if passed.
38 2002-10-07 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
40 * ftpfs.c (linear_abort): Add a timeout after which a reconnect
41 is performed instead of further fetching of the remaining data.
43 2002-10-07 Pavel Roskin <proski@gnu.org>
45 * direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
46 of non-portable snprintf().
47 Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
49 2002-10-04 Pavel Roskin <proski@gnu.org>
51 * mcfs.c (mcfs_lseek): Explicity cast offset to int. This fixes
52 viewing and editing files on mcfs.
54 * tcputil.c: Split mcfs-specific part to
55 * mcfsutil.c: ... this.
56 * tcputil.h: Split mcfs-specific part to
57 * mcfsutil.h: ... this.
58 * Makefile.am: Add mcfsutil.c and mcfsutil.h.
59 * mcserv.c: Define own got_sigpipe, which is always 0, since
60 mcserv doesn't call tcp_init().
62 * Makefile.am: Don't link mcserv with glib. It's unreasonable
63 to require a glib port for embedded systems mcserv may run on.
64 * mcserv.c: Replace all glib calls with standard libc calls.
65 * tcputil.c (rpc_get): Likewise.
67 * mcserv.c (get_client): Don't try to find the address family
68 from the hostname. Always use AF_INET, because everything else
71 2002-10-04 Andrew V. Samoilov <sav@bcs.zp.ua>
73 * sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
75 2002-10-01 Andrew V. Samoilov <sav@bcs.zp.ua>
77 * xdirentry.h: Comment out magic field everywhere.
79 2002-10-01 Pavel Roskin <proski@gnu.org>
81 * Makefile.am (VFSHDRS): Remove container.h.
83 * tcputil.c (check_hooks): Remove, it does nothing. Also remove
84 all related data structures.
86 * tcputil.c (get_remote_port): Move to mcfs.c.
87 (send_string): Move to mcserv.c.
88 (rpc_add_get_callback): Remove, it's unused.
90 * container.h: Remove, it's unused.
92 * utilvfs.c: Remove tests, since get_host_and_username() is
94 * mcfs.c (open_tcp_link): Make static.
95 * tcputil.h: Remove unused definitions.
97 2002-09-29 Pavel Roskin <proski@gnu.org>
99 * direntry.c (vfs_s_retrieve_file): Allow interrupt by Ctrl-C.
100 From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
102 2002-09-26 Pavel Roskin <proski@gnu.org>
104 * sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
105 messages in other places.
107 2002-09-25 Pavel Roskin <proski@gnu.org>
109 * vfs.c (vfs_parse_filemode): Fix parsing for filenames that
111 From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
113 2002-09-24 Andrew V. Samoilov <sav@bcs.zp.ua>
115 * smbfs.c: Undef USE_NCURSES - no needs to include *curses.h.
116 (smbfs_loaddir): Fix warning.
118 2002-09-21 Pavel Roskin <proski@gnu.org>
120 * mcfs.c: Move config.h to the beginning.
122 2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
124 * tcputil.c [!WITH_MCFS]: Disable mcfs related code.
125 * mcfs.c [!WITH_MCFS]: Disable all code.
127 2002-09-16 Andrew V. Samoilov <sav@bcs.zp.ua>
129 * smbfs.c: Don't define BOOL_DEFINED to fix compilation on
132 2002-09-13 Andrew V. Samoilov <sav@bcs.zp.ua>
134 * (get_stat_info): Fix some possible NULL dereferences.
135 * smbfs.c (smbfs_set_debugf): New function to specify
137 * smbfs.h: Declare smbfs_set_debugf().
139 2002-09-12 Pavel Roskin <proski@gnu.org>
141 * mcserv.c: Declare crypt if crypt.h is missing and we are not
144 2002-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
146 * smbfs.c (statfile_helper): Merge with loaddir_helper().
147 (get_remote_stat): Use loaddir_helper(). Care about
148 single_entry instead of eliminated statfile_helper().
150 * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
151 parameter to (*fn)() and void *state parameter.
152 (cli_list): Likewise.
153 (cli_RNetShareEnum): Likewise. Return int.
154 * samba/include/proto.h: Adjust declarations.
155 * smbfs.c: Adjust all helpers and dependencies.
156 From Samba patchsets.
158 * smbfs.c (loaddir_helper): Remove write permissions if file
159 has readonly attribute. Add execute permissions for directory.
160 Reformat whole function.
161 (statfile_helper): Likewise.
162 (server_browsing_helper): Add execute permissions. Reformat.
163 (browsing_helper): Likewise.
165 2002-09-10 Pavel Roskin <proski@gnu.org>
167 * vfs.h: Remove BROKEN_PATHS, it's unused.
169 * Make-alone.am: Get rid of all standalone code, it has been
170 unmaintained for years.
172 2002-09-05 Pavel Roskin <proski@gnu.org>
174 * direntry.c [!USE_NETCODE]: Disable functions used in networked
177 * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
179 * ftpfs.c: Check for existance of arpa/inet.h when using it.
181 * mcserv.c: Likewise.
182 * tcputil.c: Likewise.
183 * utilvfs.c: Likewise.
185 2002-09-03 Pavel Roskin <proski@gnu.org>
187 * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
190 2002-09-02 Andrew V. Samoilov <sav@bcs.zp.ua>
192 * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
193 set my_errno to EINVAL - temporary fix. Reformat function.
195 2002-09-01 Andrew V. Samoilov <sav@bcs.zp.ua>
197 * samba/param/loadparm.c: Add global_scope variable.
198 (parm_table): Add netbios scope parameter.
199 * samba/lib/util.c: Remove scope variable. Use global_scope instead.
200 * samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
201 use global_scope instead.
202 * samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
203 * samba/include/proto.h: Adjust make_nmb_name() declaration.
205 From samba 2.0.7 patchset.
207 * samba/param/loadparm.c (lp_adduser_script): Commented out.
208 (lp_deluser_script): Likewise.
209 (lp_add_printer): Likewise.
210 (lp_add_one_printer): Likewise.
211 * samba/lib/util.c (reduce_name): Likewise.
212 (transfer_file): Likewise.
214 * smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
216 2002-08-26 Pavel Roskin <proski@gnu.org>
218 * extfs/urar.in: Use rar if unrar is missing.
219 From PLD Linux Distribution.
221 * extfs/a: Use more portable way to redirect all output to
222 /dev/null. From PLD Linux Distribution.
224 2002-08-24 Pavel Roskin <proski@gnu.org>
226 * vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
229 2002-08-23 Pavel Roskin <proski@gnu.org>
231 * Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
234 2002-08-22 Pavel Roskin <proski@gnu.org>
236 * mcserv.c: Remove old-style Linux-only support for shadow
238 * Makefile.am: Remove reference to SHADOWLIB.
240 2002-08-21 Andrew V. Samoilov <sav@bcs.zp.ua>
242 * ftpfs.c (dir_load): Don't handle empty remote_path in special
245 2002-08-19 Pavel Roskin <proski@gnu.org>
247 * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow.
249 * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
250 child if execvp() fails.
252 * sfs.c: Don't use flag EXECUTE_SETUID because it's being
253 removed as insecure and EXECUTE_WAIT because it has no effect.
256 * mcfs.c [!WITH_MCFS]: Disable most code.
258 2002-08-18 Pavel Roskin <proski@gnu.org>
260 * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit.
262 2002-08-15 Pavel Roskin <proski@gnu.org>
264 * vfs.c (mc_def_getlocalcopy): Preserve existing extension.
266 * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
269 * extfs.c (s_readdir): Simplify.
270 * direntry.c (vfs_s_readdir): Use vfs_dirent.
271 * mcfs.c (mcfs_readdir): Likewise.
272 * smbfs.c (smbfs_readdir): Likewise.
273 * undelfs.c (undelfs_readdir): Use vfs_dirent and
276 * vfs.h: Introduce union vfs_dirent to ensure that we have
277 enough space for the filename.
278 * extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
280 * direntry.c (vfs_s_readdir): Use compute_namelen().
281 * extfs.c (s_readdir): Likewise.
282 * mcfs.c (mcfs_readdir): Likewise.
283 * smbfs.c (smbfs_readdir): Likewise.
285 2002-08-14 Pavel Roskin <proski@gnu.org>
287 * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
290 2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
292 * smbfs.c (myumask): Removed. It is only written and never read.
293 (smbfs_init): Use PATH_SEP_STR and reformat.
295 2002-08-01 Pavel Roskin <proski@gnu.org>
297 * mcserv.c: Remove all references to MAD.
300 2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
302 * samba/libsmb/clientgen.c (cli_send_tconX): Add missing
304 (cli_printjob_del): Commented out.
305 (cli_print_queue): Ditto.
306 * samba/lib/system.c (sys_waitpid): Ditto.
307 * samba/lib/util.c (reg_split_key): Ditto.
308 (reg_get_subkey): Ditto.
310 2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
312 * samba/configure.in: Don't check for union semun.
313 * samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
316 2002-07-26 Pavel Roskin <proski@gnu.org>
318 * direntry.c (vfs_s_find_entry_linear): Canonicalize path before
321 2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
323 * xdirentry.h (vfs_s_fh.u.fish): Add append field.
324 * fish.c (fish_fh_open): Care about append.
325 (linear_open): Likewise.
326 (fish_store): Append data to target file if append is true.
328 * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
329 file to fix compilation.
330 (main): Add mad_init() and mad_finalize().
332 2002-07-19 Pavel Roskin <proski@gnu.org>
334 * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
336 (dir_load): Update SUP.cwdir.
337 * xdirentry.h: Remove "home" field for fish and ftpfs.
339 * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
340 * direntry.c: Likewise.
344 * fish.c (fish_fill_names): New function, replacement for
345 generic vfs_s_fill_names() which didn't work right with fish.
347 * undelfs.c (undelfs_opendir): Use parametrized messages without
348 VFS name for success and failure.
349 * fish.c (dir_load): Use new messages from undelfs.c, indicate
350 success by printing "done".
351 * ftpfs.c (dir_load): Likewise.
353 2002-07-15 Pavel Roskin <proski@gnu.org>
355 * cpio.c (cpio_read_crc_head): Undo change in the error message.
357 * ftpfs.c: Replace bzero and bcopy with memset and memcpy.
359 * mcserv.c: Likewise.
363 2002-07-14 Pavel Roskin <proski@gnu.org>
365 * fish.c (open_archive_int): Don't combine "export" and
366 assignment into one command - it's not portable. Set LC_TIME
369 * fish.c (open_archive_int): Set remote locale to C, otherwise
370 timestamps cannot be parsed in some locales.
372 2002-07-12 Pavel Roskin <proski@gnu.org>
374 * fish.c (file_store): Reduce input block size to 256 bytes,
375 otherwise dd gets partial blocks.
377 * ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
379 * ftpfs.c (ftp_split_url): Implement looking up password in
380 .netrc for known user.
382 * ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
384 (netrc_has_incorrect_mode): Don't free anything, it can result
385 in freeing some variables twice.
386 (find_machine): New function to find matching "machine" or
388 (lookup_netrc): Eliminate external loop - scan for login and
389 password, but don't fallback to another string in case of
392 * ftpfs.c: Introduce enum keyword_t to improve readability.
393 (netrc_next): Fix return value for unknown keywords.
394 (lookup_netrc): Remove special processing of "*netrc*".
396 * ftpfs.c (ftp_split_url): Move protection against pass being
398 (lookup_netrc): ... here.
400 2002-07-11 Pavel Roskin <proski@gnu.org>
402 * xdirentry.h: Eliminate use_proxy field.
403 * ftpfs.c (open_archive_int): Use SUP.proxy instead of
405 (open_archive): Set SUP.proxy to ftpfs_proxy_host.
406 * ftpfs.h: Eliminate unused structures.
408 * vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
409 * utilvfs.c (vfs_split_url): Return NULL as username if
410 URL_ALLOW_ANON is set and no username is found in the URL,
411 otherwise use current name.
412 * ftpfs.c (ftp_split_url): New function - split URL and look up
413 username and password if needed.
414 (login_server): Use ftp_split_url().
415 (archive_same): Likewise.
417 2002-07-10 Pavel Roskin <proski@gnu.org>
419 * tcputil.h: Move use_netrc declaration ...
421 * ftpfs.c: Implement .netrc support unconditionally.
422 (lookup_netrc): Make static.
423 * utilvfs.c: Initialize default_is_netrc.
424 From Thomas Zajic <zlatko@gmx.at>
426 * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
427 this flag is for VFS only, and causes side effects in Cygwin.
428 * extfs.c (extfs_open): Likewise.
429 * sfs.c (sfs_open): Likewise.
430 Reported by Pavel Tsekov <ptsekov@gmx.net>
432 2002-07-03 Pavel Roskin <proski@gnu.org>
434 * ftpfs.c (setup_passive): Cast arguments to isdigit() to
435 unsigned char for compatibility with non-GNU libc.
436 * tar.c (from_oct): Likewise with isspace().
437 Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
439 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
441 * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
442 instead of #vfsname/filename/dir. Use PATH_SEP_STR.
444 * sfs.c (sfs_free): Fix memory leak.
445 (sfs_init): Use PATH_SEP_STR.
447 2002-07-03 Pavel Roskin <proski@gnu.org>
449 * cpio.c (cpio_open_cpio_file): Fix type initialization.
450 From Andrew V. Samoilov <kai@cmail.ru>
452 2002-07-02 Pavel Roskin <proski@gnu.org>
454 * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
455 extfs. Remove parts that are now handled by samba/Makefile.
456 * samba/Makefile.in: Add more empty targets for Automake
459 * ftpfs.c (send_ftp_command): Use "anonymous@" as default
461 From Eduardo Perez Ureta <eperez@it.uc3m.es>
463 2002-06-25 Pavel Roskin <proski@gnu.org>
465 * vfs.c: Add protection against NULL strings to all is_*()
468 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
470 * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
471 PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
472 before including "samba/include/config.h" to prevent warnings.
473 (smbfs_init): Set DEBUGLEVEL to 0.
474 (do_connect): Rename to ...
475 (smbfs_do_connect): ... this to avoid namespace clash and
476 make static. Make server const. Adjust all callers.
477 (smbfs_add_dots): Remove.
478 (smbfs_stat): Remove code duplication.
479 (smbfs_lstat): Define as smbfs_stat.
481 * samba/lib/system.c (sys_ftruncate): Commented out.
482 * samba/lib/util.c (set_filelen): Likewise.
483 (setbuffer): Likewise.
485 * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
486 * samba/tests/ftruncate.c: Removed.
487 * samba/configure.in: Don't check if ftruncate() can
490 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
492 * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
493 of char*[]. Remove unneeded casts. Fix error message.
494 (cpio_create_entry): G_free name. Fix offset calculation
497 2002-05-22 Pavel Roskin <proski@gnu.org>
499 * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
500 it breaks "make distcheck".
502 * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
503 to override the default.
505 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
507 * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
508 (vfs_s_data.file_store): Change second argument
510 * direntry.c (vfs_s_close): Adjust.
511 * fish.c (file_store): Likewise.
512 * ftpfs.c (file_store): Likewise. Use "APPE" if
513 fh->u.ftp.append is true.
514 (linear_start): Care about fh->u.ftp.append.
515 (ftpfs_fh_open): Likewise.
517 * fish.c (fish_fh_open): Generate fh->ino->localname
518 if this one is NULL and file is opened for writting only.
519 * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
522 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
524 * direntry.c (vfs_s_retrieve_file): Please, care about
526 * fish.c (linear_close): ... here.
528 * ftpfs.c (linear_read): Unset control_connection_buzy on EOF.
529 (ftpfs_fh_close): Call vfs_s_invalidate ().
531 * fish.c (fish_fh_open): Don't retrieve file if it is
532 opened for writting only.
534 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
536 * xdirentry.h (vfs_s_super): Add control_connection_buzy
539 * ftpfs.c (linear_start): Set control_connection_buzy.
540 (linear_abort): Unset control_connection_buzy.
541 (ftpfs_fh_open): Don't retrieve file if it is
542 opened for writting only. Open data connection as
543 fh->handle and unlink/unset local temporary file
544 if control connection isn't buzy.
545 (ftpfs_fh_close): New function to serve opened in
546 ftpfs_fh_open() data connection. Unset fh->changed
547 to prevent MEDATA->file_store() call from vfs_s_close().
549 * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
550 (vfs_s_open): ... here.
552 * samba/include/includes.h: Eliminate all references to
555 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
557 * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
558 if USE_SAMBA_FS is true.
559 (libvfs-mc.a): Don't merge object files with libsamba.a.
561 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
563 * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
565 * vfs.c (MC_RENAMEOP): Make arguments const.
566 * vfs.h (mc_rename): Adjust declaration.
569 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
571 * samba/configure.in: Add AC_SYS_LARGEFILE.
572 Don't check atexit, setreuid, setregid, setegid and setluid.
574 2002-04-31 Pavel Roskin <proski@gnu.org>
576 * samba/acconfig.h: Remove.
577 * Makefile.am: Remove references to samba/acconfig.h.
578 * samba/Makefile.in: Likewise.
579 * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
580 * samba/configure.in: Add descriptions to AC_DEFINE calls.
582 * samba/include/includes.h: Cleanup for the symbols that
583 samba/configure.in doesn't define.
584 * samba/lib/netmask.c: Likewise.
586 * samba/include/includes.h: Eliminate all references to
587 HAVE_EXPLICIT_LARGEFILE_SUPPORT.
588 * samba/lib/system.c: Likewise.
590 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
592 * vfs.c (vfs_print_stats): s/transfered/transferred/
594 * samba/lib/signal.c: Remove.
596 * samba/lib/debug.c (sig_usr2): Commented out.
597 (sig_usr1): Likewise.
598 * samba/lib/util_file.c (gotalarm): Commented out.
599 (gotalarm_sig): Likewise.
600 (do_file_lock): Likewise.
601 (file_lock): Likewise.
602 (file_unlock): Likewise.
603 (startfilepwent): Likewise.
604 (endfilepwent): Likewise.
606 * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
607 * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
609 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
611 * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
613 2002-04-12 Pavel Roskin <proski@gnu.org>
615 * extfs/trpm: update to work with rpm 4.x.
616 Reported by m.lusini@palazzochigi.it
617 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
619 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
621 * cpio.c (cpio_skip_padding): Handle old ASCII format.
623 2002-04-08 Pavel Roskin <proski@gnu.org>
625 * samba/configure.in: Require Autoconf 2.52 to make Debian
626 wrapper around Autoconf happy.
627 From Björn Eriksson <bjorn@bjornen.nu>
629 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
631 * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
632 (vfs_s_retrieve_file): Set fh->handle to -1.
633 (vfs_s_read): Don't manipulate with FH->handle if it is -1.
634 (vfs_s_write): Likewise.
635 (vfs_s_close): Likewise.
637 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
639 * samba/lib/debug.c: Remove syslog support.
641 2002-02-19 Pavel Roskin <proski@gnu.org>
643 * Makefile.am: Don't compile mcserv if VFS is disabled.
644 * extfs/Makefile.am: Don't install anything if VFS is disabled.
646 * extfs.c (extfs_open): Only create a new entry if it has not
647 been found and O_CREAT is set. Consider file as changed only
648 if it has been successfully created.
649 (extfs_getlocalcopy): Open file only for reading. This prevents
650 marking file as changed. Actually use the has_changed argument.
651 Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
653 2002-02-12 Pavel Roskin <proski@gnu.org>
655 * extfs/lslR.in: Fix parsing of old entries (with year number).
656 From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
658 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
660 * direntry.c (vfs_s_retrieve_file): Use off_t for total
662 (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
664 * vfs.c (vfs_print_stats): Use off_t for have and need.
665 Cast `have' to double to eliminate negative percent(s).
666 Fix print_vfs_message string formats.
668 * vfs.h (vfs_print_stats): Adjust declaration.
670 * ftpfs.c (file_store): Use off_t for total.
671 Fix print_vfs_message string format.
673 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
675 * ftpfs.c (dir_load): Speed up cd_first calculation.
676 (ftpfs_flushdir): Resurrect.
678 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
680 * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
681 to eliminate problem with wu-ftpd.
682 Close sock on error. Eliminate goto.
684 (ftpfs_chmod): Don't ignore errors.
686 (reconnect): Restore cwdir if login_server fails.
688 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
690 * ftpfs.c (translate_path): Remove leading slash(es) more
692 (initconn): Check getsockname() return value.
694 (linear_abort): Make ipbuf const array.
696 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
698 * ftpfs.c (reconnect): New function to restore closed connection.
699 (command): Use reconnect if EPIPE received.
700 (dir_load): Eliminate recursion.
701 (login_server): Constify netrcpass parameter.
702 (is_same_dir): Constify path parameter.
704 * samba/lib/charset.c (cp_850): Make const array.
706 (codepage_p): Likewise.
707 * samba/lib/debug.c (priority_map): Make const array.
708 * samba/lib/username.c (get_home_dir): Make pass auto.
709 * samba/lib/util.c (become_daemon): Commented out.
712 2002-01-24 Pavel Roskin <proski@gnu.org>
714 * cpio.c: Don't include glib.h directly.
716 2002-01-22 Pavel Roskin <proski@gnu.org>
718 * extfs/uzip: Fix unsafe printf.
719 Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
721 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
723 * ftpfs.c (ftpfs_chmod): Add missed '/'.
725 2002-01-21 Pavel Roskin <proski@gnu.org>
727 * vfs.h: Remove all tricks with system headers, they all should
729 * cpio.c: Include utilvfs.h earlier.
732 * vfs.h: Include dirent.h only if it's present.
734 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
737 * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
738 returns. Make mc_return_cwd static const char *.
739 Reorder if statement to eliminate unneeded mc_stat calls.
741 2002-01-17 Pavel Roskin <proski@gnu.org>
743 * vfs.h: Remove OS/2 specific code.
745 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
747 * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
748 if smbfs support is enabled.
750 * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
752 2002-01-02 Pavel Roskin <proski@gnu.org>
754 * Makefile.am: Add *clean-local targets to take care of the
757 * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
758 this setting is not inherited from the top-level configure.
760 2001-12-31 Pavel Roskin <proski@gnu.org>
762 * Make-mc.in: convert to ...
763 * Makefile.am: ... this.
765 * Makefile.am: rename to ...
766 * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
767 and Makefile.am to coexist peacefully unless the former is
768 generated from the later.
769 * Make-mc.in: Remove all references to the standalone VFS.
771 2001-12-18 Pavel Roskin <proski@gnu.org>
773 * extfs/ulha.in: Support for "[unknown]" and other permissions
774 in brackets. Pass the date unchanged - mc can now deal with it.
775 Use "lha lq" to list the archive and don't remove headers and
776 footers of the listing.
778 2001-11-14 Pavel Roskin <proski@gnu.org>
780 * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
783 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
785 * samba/acconfig.h: Remove WITH_SYSLOG.
786 * samba/lib/system.c (sys_chroot): Removed.
787 * samba/configure.in: Remove RUNPROG. Don't check
788 for chroot and execl functions.
789 Remove syslog logging support.
790 Add --with-codepagedir and --with-configdir from samba 2.2.2.
792 * samba/Makefile.in: Use configdir and codepagedir.
794 2001-11-08 Pavel Roskin <proski@gnu.org>
796 * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
798 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
800 * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
801 entries into the linked list.
802 (smbfs_loaddir): Call smbfs_add_dots for shares or servers.
803 (smbfs_get_free_bucket): Eliminate time.
804 (fake_share_stat): Make path const.
806 * samba/configure.in: Don't check whether getpass
809 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
811 * vfs.c (mc_return_cwd): Memory leak fixed.
813 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
815 * samba/smblib/pwd_cache.c (pwd_read): Commented out.
816 * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
817 * samba/lib/getsmbpass.c: Removed.
819 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
821 * smbfs.c: Include <config.h> before everything else.
822 Don't include "tcputil.h".
823 (myhostname): Declare extern.
826 (fake_share_stat): Declare server_url const.
827 Use "%4o" for st_mode.
828 (fake_server_stat): Likewise. Return -1 if server_list != True.
830 (get_master_browser): Declare ipzero extern.
831 By David Kaelbling <drk@sgi.com>.
832 http://bugzilla.gnome.org/show_bug.cgi?id=60933
834 * cpio.c (cpio_read_bin_head): Release name if mc_read fails.
835 (cpio_read_crc_head): Likewise.
837 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
839 * cpio.c (cpio_read_crc_head): Fix buffer overflow.
840 (cpio_read_oldc_head): Likewise.
841 By David Kaelbling <drk@sgi.com>.
842 http://bugzilla.gnome.org/show_bug.cgi?id=60933
844 * (cpio_read_oldc_head): Release name if mc_read fails.
846 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
848 * tcputil.c (rpc_get): Add missing va_end()s.
850 * smbfs.h: Declare smbfs_set_debug.
852 2001-10-20 Pavel Roskin <proski@gnu.org>
854 * ftpfs.c (command): Declare with the printf attribute.
855 * undelfs.c: Remove declaration of print_vfs_message().
857 * fish.c (file_store): Fix incorrect format string
858 for print_vfs_message().
859 * ftpfs.c (file_store): Likewise.
861 2001-10-19 Pavel Roskin <proski@gnu.org>
863 * fish.c (command): Declare with the printf attribute to enable
865 (file_store): Cast all expressions with file sizes to unsigned
866 long. This should fix uploading when large file support is on.
867 File size is limited to 4096 * ULONG_MAX for now.
869 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
871 * samba/configure.in: Don't check readline.h, history.h and
874 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
876 * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
877 "out of server memory" error. From samba 2.0.7 patchset.
879 2001-10-07 Pavel Roskin <proski@gnu.org>
881 * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
882 are not supported locally. Support Solaris doors, also fall
885 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
887 * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
890 2001-10-01 Pavel Roskin <proski@gnu.org>
892 * vfs.h [!USE_VFS]: Define macros with no effect to an empty
893 statement "do { } while (0)".
895 2001-09-30 Pavel Roskin <proski@gnu.org>
897 * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
899 2001-09-17 Pavel Roskin <proski@gnu.org>
901 * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
902 mc_fstat() because they don't expand correctly on Solaris 8 with
905 2001-09-10 Pavel Roskin <proski@gnu.org>
907 * Make-mc.in: Use USE_VFS conditional instead of relying on
910 2001-09-07 Pavel Roskin <proski@gnu.org>
912 * Make-mc.in: Include necessary parts of Make.common to
915 2001-08-23 Pavel Roskin <proski@gnu.org>
917 * names.c (finduname): Don't use HAVE_GETPWUID - it's never
918 defined. Don't redeclare getpwuid().
919 (findgname): Don't use HAVE_GETGRGID - it's never defined.
920 Don't redeclare getgrgid().
922 * fish.c: Remove useless semicolons after functions.
924 2001-08-19 Pavel Roskin <proski@gnu.org>
926 * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
927 Disallow st_nlink = 0.
929 2001-08-18 Pavel Roskin <proski@gnu.org>
931 * cpio.c (cpio_read_head): Check return value of cpio_find_head,
932 because it's not equal to super->u.cpio.type in case of errors.
934 2001-08-16 Pavel Roskin <proski@gnu.org>
936 * direntry.c (vfs_s_free_super): Remove i18n on commented out
939 * extfs.c (extfs_init): Internationalize error message, it's
942 2001-08-11 Pavel Roskin <proski@gnu.org>
944 * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
946 2001-08-07 Pavel Roskin <proski@gnu.org>
948 * extfs.h: Move private structures ...
951 * extfs.h (struct entry): Remove unused `has_changed' field.
952 It's only written but never read.
953 (struct inode): Likewise.
954 * extfs.c: All dependencies changed.
955 (extfs_open): Mark file as changed if it's open for writing.
957 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
959 * extfs/uzip: Update to version 1.4.0.
960 * extfs/README.uzip: Likewise.
962 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
964 * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
965 gives malloced filename, so this memory must be released after use.
967 (reconnect): Fix segmentation fault.
968 (smbfs_loadddir): Don't g_strdup path.
969 (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
970 smbfs_connections initialisation.
971 (smbfs_open_link): Likewise. Release host after get_master_browser.
972 (get_stat_info): Fix unneeded g_strdup/g_free calls.
973 (smbfs_mkdir): Release path after use.
974 (smbfs_mkdir): Likewise.
975 (smbfs_open): Fix memory leak.
976 (smbfs_unlink): Likewise. Fix error message.
977 (smbfs_rename): Fix memory leaks.
978 (smbfs_stat): Fix url parsing.
980 * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
981 (dos2unix_format): Likewise.
983 * ftpfs.c (ftpfs_fill_names): New function.
984 (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
986 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
988 * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
990 * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
991 * ftpfs.h (struct connection): Remove result_pending field.
993 * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
994 * smbfs.c (new_dir_entry): New function with repeated code from
995 browsing_helper, loaddir_helper and server_browsing_helper.
996 (browsing_helper): Use new_dir_entry.
997 (loaddir_helper): Likewise.
998 (server_browsing_helper): Likewise.
1000 (cached_lstat_info): Eliminated.
1001 (smbfs_readdir): Make dirent_dest static const.
1002 Eliminate cached_lstat_info.
1003 (smbfs_open_link): Make user parameter const. Fix memory leak.
1004 (fake_server_stat): Make path parameter const. Symplify.
1005 (smbfs_fstat): Set my_errno to EFAULT before return.
1007 2001-08-01 Pavel Roskin <proski@gnu.org>
1009 * Make-mc.in: Make it possible to run "make install" before
1010 "make all". Use more Automake-compatible target names.
1012 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
1014 * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
1015 (do_connect): Symplify.
1016 (get_stat_info): Symplify. Eliminate another fake_stat.
1017 (smbfs_chdir): Release remote_dir after use.
1018 (smbfs_stat): Likewise. Fix another 2 memory leaks.
1019 (smbfs_mkdir): Release remote_file after use.
1020 (smbfs_rmdir): Likewise.
1021 (smbfs_open): Likewise. Indentation fixes.
1022 (smbfs_unlink): Likewise.
1023 (smbfs_rename): Release rb and ra after use.
1024 (search_dir_entry): Make text parameter const.
1025 (smbfs_get_host_and_username): Make macro.
1027 2001-07-20 Pavel Roskin <proski@gnu.org>
1029 * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
1030 From Ludovic Drolez <ludovic.drolez@freealter.com>.
1032 2001-07-17 Pavel Roskin <proski@gnu.org>
1034 * vfs.c (mc_return_cwd): Use g_get_current_dir().
1036 2001-07-15 Pavel Roskin <proski@gnu.org>
1038 * smbfs.c: Rename authinfo to smb_authinfo and
1039 authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
1040 and remove their definitions.
1041 * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
1043 2001-07-10 Pavel Roskin <proski@gnu.org>
1045 * extfs.c: Include contents of shared_tar_ext.c - it's no
1047 * shared_tar_ext.c: Remove.
1048 * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
1050 * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
1051 filesystem. Don't translate it.
1053 2001-07-09 Pavel Roskin <proski@gnu.org>
1055 * tar.c (ReadStatus): Fix compilation on AIX.
1056 From Dan McNichol <mcnichol@austin.ibm.com>.
1058 * extfs/mailfs: Strip trailing DOS newlines from mail files.
1059 From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
1061 * fish.c (fish_chown): Do nothing and return success if
1062 getpwuid() or getgrgid() fails.
1064 2001-07-05 Pavel Roskin <proski@gnu.org>
1066 * README.fish: Spelling fixes.
1068 2001-06-29 Pavel Roskin <proski@gnu.org>
1070 * Make-mc.in: Don't ever link mcserv with libintl - it must not
1073 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
1075 * smbfs.c: Include <config.h>. Make all internal variables static.
1076 (get_stat_info): Eliminate fake_stat, memory leak fixed.
1077 (IPC, URL_HEADER): Make static const.
1078 (smbfs_stat): Fix segmentation violation.
1079 (statfile_helper): Allocate memory for single_entry once. It is never
1080 freed now, and only my_stat element of this structure is used.
1082 2001-06-26 Pavel Roskin <proski@gnu.org>
1084 * vfs.h: Don't include <config.h>.
1086 2001-06-25 Pavel Roskin <proski@gnu.org>
1088 * cpio.c: Include <config.h> before everything else.
1089 * direntry.c: Likewise.
1091 * ftpfs.c: Likewise.
1092 * local.c: Likewise.
1094 * utilvfs.h: Don't include <config.h> - it should be included
1095 in all C files instead.
1096 * xdirentry.h: Likewise.
1098 2001-06-19 Pavel Roskin <proski@gnu.org>
1100 * local.c (local_telldir): Warn and abort if telldir() is not
1102 (local_seekdir): Warn and abort if seekdir() is not available.
1104 2001-06-18 Pavel Roskin <proski@gnu.org>
1106 * tcputil.c (sig_pipe): Use the same declaration with one int
1107 argument - it's used everywhere else and it fixes a warning on
1108 systems unlisted in the ifdef, e.g. OpenBSD.
1110 2001-06-14 Pavel Roskin <proski@gnu.org>
1112 * ftpfs.c: Declare functions without declarations static. Don't
1113 omit `void' in declarations.
1115 * direntry.c: Likewise.
1116 * extfs.c: Likewise.
1121 * mcserv.c: Likewise. Remove unused functions.
1123 * util-alone.c: Use indented #error.
1124 * vfs.h: Use indented #warning instead of hiding it from non-gcc
1127 2001-06-11 Pavel Roskin <proski@gnu.org>
1129 * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
1130 This avoids creating long filenames in dirent.c when the "name"
1132 * extfs.c (vfs_extfs_ops): Likewise.
1133 * fish.c (vfs_fish_ops): Likewise.
1134 * ftpfs.c (vfs_ftpfs_ops): Likewise.
1135 * local.c (vfs_local_ops): Likewise.
1136 (vfs_nil_ops): Likewise.
1137 * mcfs.c (vfs_mcfs_ops): Likewise.
1138 * sfs.c (vfs_sfs_ops): Likewise.
1139 * tar.c (vfs_tarfs_ops): Likewise.
1140 * undelfs.c (vfs_undelfs_ops): Likewise.
1142 2001-06-07 Pavel Roskin <proski@gnu.org>
1144 * sfs.c (sfs_init): Change some warning messages to simplify
1147 2001-06-06 Pavel Roskin <proski@gnu.org>
1149 * shared_ftp_fish.c: Remove.
1150 * Make-mc.in: Remove shared_ftp_fish.c.
1151 * Makefile.am: Likewise.
1153 2001-06-02 Pavel Roskin <proski@gnu.org>
1155 * vfs.c (vfs_canon): s/canonize/canonicalize/.
1157 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
1159 * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
1160 ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
1162 * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
1164 (is_week): Unmade week static.
1165 (is_month): Unmade month static.
1166 (vfs_parse_ls_lga): Optimize memory usage.
1168 * .cvsignore: *.sor added.
1169 * sfs.c (sfs_init): Optimized.
1171 * vfs/samba/lib/util_sock.c (socket_options): Made static const.
1173 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
1175 * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
1176 use mc_home to make mc relocatable.
1177 * util-alone.c (shell): ... here
1179 2001-05-27 Pavel Roskin <proski@gnu.org>
1181 * fish.c: Redirect stderr of all commands to /dev/null.
1183 2001-05-25 Pavel Roskin <proski@gnu.org>
1185 * sfs.c (vfs_sfs_ops): Typo fix.
1187 2001-05-22 Pavel Roskin <proski@gnu.org>
1189 * vfs.c (vfs_split_text): Fill `columns' with zeroes before
1190 writing new data into it.
1192 * fish.c (free_archive): Use `exit' instead of `logout' - the
1193 later fails under non-login shells.
1194 (pipeopen): Redirect stderr of ssh to /dev/null.
1196 (dir_load): Redirect stderr of ls to /dev/null.
1197 (linear_start): Likewise.
1199 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
1201 * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
1202 (clean): Remove *.so.
1204 * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
1205 ../src/tty.h and ../src/global.h.
1207 (password, username): Made static.
1208 (is_error): Commented out.
1209 (loaddir_helper): Don't ignore hidden files, style fixes.
1210 (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
1212 (do_connect): Call cli_shutdown () and authinfo_remove () if
1213 cli_session_setup () fails. It is not good idea to remember
1214 wrong username/password.
1216 (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
1217 (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
1219 2001-05-22 Pavel Roskin <proski@gnu.org>
1221 * sfs.c (redirect): Don't free the filename after failed
1222 mc_mkstemps() - it's not needed anymore.
1224 2001-05-21 Pavel Roskin <proski@gnu.org>
1226 * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
1227 temporary file to reserve its name on the filesystem.
1228 (vfs_s_retrieve_file): Use mc_mkstemps().
1229 (g_tempnam): Remove.
1230 * extfs.c (extfs_open): Use mc_mkstemps().
1231 * sfs.c (redirect): Likewise.
1232 * shared_ftp_fish.c (_get_file_entry): Likewise.
1233 (retrieve_file): Likewise.
1234 * vfs.c (mc_def_getlocalcopy): Likewise.
1235 * xdirentry.h: Remove declaration of g_tempnam().
1237 2001-05-18 Pavel Roskin <proski@gnu.org>
1239 * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
1240 with NULL to suppress compiler warning.
1242 2001-05-14 Pavel Roskin <proski@gnu.org>
1244 * ftpfs.c: Warning fixes.
1246 * utilvfs.h: Include background.h.
1247 * cpio.c: Include utilvfs.h.
1249 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
1251 * Make-mc.in: add possibility to build libvfs.so
1253 2001-04-19 Pavel Roskin <proski@gnu.org>
1255 * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
1256 rpm output varies between versions.
1257 (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
1258 filenames beginning with "./" - they are used in the version 4
1261 2001-04-17 Pavel Roskin <proski@gnu.org>
1263 * fish.c (open_archive_int): Redirect stderr of start_fish_server
1264 to stdout so we don't get confused if it doesn't exist.
1266 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
1268 * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
1269 NULL when suitable error message can't be found as it is expected
1270 in cli_errstr(). Return type changed to const char *
1272 * smbfs.c (smbfs_fill_names): implemented
1274 (smbfs_stat): unneeded g_strdup/g_free calls removed
1275 (smbfs_loaddir): memory leaking fixed
1277 * samba/libsmb/clientgen.c (rap_errmap, prots): constified
1279 2001-04-06 Pavel Roskin <proski@gnu.org>
1281 * Make-mc.in: Use a single variable SAMBA_DIST to hold all
1282 distributable samba files.
1284 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
1286 * samba/libsmb/smbdes.c: undefine uchar before redefine it
1288 * smbfs.c (smbfs_close): honour changed semantics for return value
1289 (on error -1 is expected).
1291 * (fs): it is at least strange use char * for counter. Changed to int
1293 2001-03-14 Pavel Roskin <proski@gnu.org>
1295 * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
1296 Remove any knowledge of SAMBAFILES. Merge object files with
1297 libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
1298 to the `samba' directory. Don't ignore errors from ranlib.
1300 * samba/Makefile.in: Make *clean targets Automake-compatible.
1301 Don't ignore errors from `rm'.
1303 * samba/configure.in: Use AC_CHECK_TOOL to find AR.
1304 * samba/Makefile.in: Remove useless rules, including defunct
1305 dependency tracking. Create libsamba.a from the object files.
1307 2001-03-07 Pavel Roskin <proski@gnu.org>
1309 * cpio.c (cpio_skip_padding): Warning fix.
1310 * fish.c (dir_load): Likewise.
1313 * extfs/uzip: New file from Oskar Liljeblad.
1314 * extfs/README.uzip: Likewise.
1315 * extfs/Makefile.am: Adjust for constant uzip.
1317 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
1319 * extfs/*uzip*: replace uzip with perl version by
1320 Oskar Liljeblad <osk@hem.passagen.se>
1322 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
1324 * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
1325 (vfs_strip_suffix_from_filename): filename constified
1326 (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
1329 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
1331 * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
1332 so use LC_ALL=C to override any locale
1333 * smbfs.c (smbfs_open_link): service initialized
1334 * (my_forget): new features of vfs_split_url used
1336 2001-03-01 Pavel Roskin <proski@gnu.org>
1338 * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
1339 Reported by Christian Gennerat.
1341 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
1343 * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
1345 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
1347 * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
1348 "K. Leif D. Van Horn" <leif@kaivo.com>)
1350 2001-02-23 Pavel Roskin <proski@gnu.org>
1352 * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
1353 Don't hardcode gawk. Don't rely on the date format occupying a
1354 fixed number of fields.
1356 * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
1357 the real file - check usage info instead. Use more robust checks
1358 for valid lines. Suppress stderr from unzip. Workaround for jar
1359 files - fix mode for files ending with slash.
1361 2001-02-20 Pavel Roskin <proski@gnu.org>
1363 * vfs.h: Include sys/timeb.h if it's present. Include time.h and
1364 sys/time.h as recommended by Autoconf documentation.
1365 * cpio.c: Remove all time-related includes - they are in vfs.h.
1366 * extfs.c: Likewise.
1367 * ftpfs.c: Likewise.
1369 * mcserv.c: Likewise.
1371 * util-alone.c: Likewise.
1372 * vfs.c: Likewise. Include xdirentry.h.
1374 * extfs.c: Include xdirentry.h. Undefine ERRNOR before
1377 2001-02-19 Pavel Roskin <proski@gnu.org>
1379 * shared_tar_ext.c (__find_entry): Make sure that the parent is a
1380 directory even if the child is not.
1382 * extfs/mailfs (parse_date): Correctly handle two-digit years
1383 between 1970 and 1999.
1385 2001-02-14 Pavel Roskin <proski@gnu.org>
1387 * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
1388 checking for ctime() format.
1391 2001-02-11 Pavel Roskin <proski@gnu.org>
1393 * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
1394 for dates found in AOLMail(SM) messages. Accept single-digit
1395 hours and missing seconds. Provide a fallback if cannot parse
1397 (process_header): Typo fix. Use \s instead of space in regular
1400 2001-02-10 Pavel Roskin <proski@gnu.org>
1402 * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
1403 including the directory bit. This fixes crashes on some FAT
1406 2001-02-09 Pavel Roskin <proski@gnu.org>
1408 * samba/configure.in: Remove more useless tests.
1409 * samba/tests/crypttest.c: Remove.
1410 * samba/tests/fcntl_lock.c: Likewise.
1411 * samba/tests/shared_mmap.c: Likewise.
1412 * samba/tests/sysv_ipc.c: Likewise.
1413 * samba/samba-files: Likewise.
1414 * samba/smbadduser: Likewise.
1415 * Make-mc.in: Adjust for the above.
1416 * samba/include/includes.h: Removed definitions related to the
1419 * Make-mc.in: Eliminate ubiqx.
1420 * samba/Makefile.in: Likewise. Remove some unused variables.
1421 * samba/include/includes.h: Eliminate dependency on ubiqx.
1422 * samba/include/nameserv.h: Likewise.
1423 * samba/include/proto.h: Remove prototypes from nmbd/*.
1424 * samba/ubiqx/*: Remove.
1426 * samba/configure.in: More useless stuff removed.
1427 * samba/Makefile.in: Likewise.
1428 * Make-mc.in: Remove samba/smbwrapper directory.
1429 * samba/smbwrapper/smbw.h: Remove.
1430 * samba/include/includes.h: Don't include smbw.h.
1432 * samba/configure.in: Don't check for things that are unused.
1433 Remove support for building shared libraries.
1434 * samba/Makefile.in: Remove support for shared libraries and
1437 * samba/configure.in: Don't check for any 64-bit functions and
1438 syscall() - they are not needed.
1440 * samba/configure.in: Remove the test for
1441 HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
1442 the rest of the source that doesn't use explicit 64-bit calls.
1444 * Make-mc.in: Always check for samba/Makefile before descending
1445 there. Don't ever ignore errors from "cd". Use $(MAKE), not
1446 make. Formatting changes.
1448 2001-02-08 Pavel Roskin <proski@gnu.org>
1450 * Make-mc.in: Undo previous fix. Don't run "make clean" in
1451 samba/ if samba/Makefile is missing.
1453 * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
1454 may be missing. Clean using the rule from samba/Makefile.in.
1456 * cpio.c: Eliminate C++ comments.
1459 * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
1460 since CVS Automake already creates that directory.
1462 * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
1463 testing - it breaks on HP-UX 10.20.
1465 2001-02-07 Pavel Roskin <proski@gnu.org>
1467 * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
1468 samba/tests/ftruncroot.c.
1470 * samba/configure.in: Remove tests for setresuid and setresgid.
1471 * samba/include/includes.h: Remove declarations of setresuid and
1474 * samba/configure.in: Don't check for root permissions. Don't
1475 call tests/trapdoor.c and tests/ftruncroot.c.
1476 * samba/tests/trapdoor.c: Remove.
1477 * samba/tests/ftruncroot.c: Likewise.
1478 * samba/tests/summary.c: Don't warn about trapdoor uid systems.
1480 * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
1483 * samba/aclocal.m4: Fix underquoting.
1484 * samba/configure.in: Fix underquoting. Don't use loff_t as the
1485 second argument to AC_CHECK_TYPE - it's not a builtin type.
1487 * samba/configure.in: Remove checks for statvfs and friends -
1488 they are irrelevant to the client code.
1489 * samba/tests/summary.c: Likewise.
1491 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
1493 * extfs/urar.in (list): better solution to prevent duplication
1495 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
1497 * extfs/urar.in (LC_ALL): set to C to prevent localization,
1498 (mcrarfs_list): directories placed first to prevent duplication
1500 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1502 * ftpfs.c (dir_load): From Roland Mainz
1503 <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
1506 * *.c: From Roland: it is not possible to g_free() something
1507 allocated by strdup(), because g_malloc might be different for
1508 malloc. Therefore wrapped strdup into g_strdup() wrapper.
1510 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
1512 * samba/libsmb/nterr.c (nt_errs): constified
1514 * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
1517 (smb_errstr): err constified to avoid warnings
1519 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
1521 * ftpfs.c (open_data_connection): don't generate //filename, some
1522 ftp servers can't store it;
1524 (command): g_strdup_vprintf() and g_strconcat() replaced
1525 by g_strdup_vprintf(), g_realloc() and strcpy()
1526 to reduce memory usage when trailing "\r\n" added;
1528 (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
1529 value to log servers replies
1531 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
1533 * sfs.c (redirect): temporary file unlinked on error;
1535 (sfs_init): warnings are localized
1537 2000-10-05 Pavel Roskin <proski@gnu.org>
1539 * extfs/rpm: If rpm indicates an error create a virtual file
1540 ERROR and put error messages there.
1542 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1544 * extfs/mcunarj.diff: better version from Christian Gennerat
1545 <christian.gennerat@vz.cit.alcatel.fr>
1547 2000-09-21 Pavel Roskin <proski@gnu.org>
1549 * extfs/uzoo.in: Suppress output from grep. Don't use '~',
1550 use $HOME instead - it's more portable.
1552 2000-08-24 Pavel Roskin <proski@gnu.org>
1554 * extfs/Makefile.am: all scripts should be executable
1556 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1558 * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
1559 override locale for dates
1561 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
1563 * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
1565 2000-09-14 Pavel Roskin <proski@gnu.org>
1567 * Make-mc.in: direntry.c was listed twice in VFSSRCS
1569 * Make-mc.in: removed commands to build standalone libvfs -
1570 they are now in Makefile.am. Create links in the build
1571 directory - source directory may be read-only. Removed hack
1572 with mcservx - it's no longer needed.
1574 * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
1576 2000-09-05 Pavel Roskin <proski@gnu.org>
1578 * Make-mc.in: don't ignore errors in the distdir target
1580 2000-08-24 Pavel Roskin <proski@gnu.org>
1582 * extfs/Makefile.am: new file
1583 * Make-mc.in: remove stuff pertinent to the extfs directory
1585 2000-08-24 Pavel Roskin <proski@gnu.org>
1587 * Make-mc.in: don't ignore error installing mcserv.
1588 Create directories before installing into them.
1590 2000-08-18 Pavel Roskin <proski@gnu.org>
1592 * Make-mc.in: adjusted lists of distributed files.
1593 Makefile rebuilding fixed.
1595 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1597 * ftpfs.c (dir_load): taken it out, it needs to correctly provide
1598 parent, this way it breaks things.
1600 * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
1601 display zip files in fat and ntf formats
1603 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1605 * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
1606 Roland.Mainz@informatik.med.uni-giessen.de
1608 * util-alone.c (message_1s1d): added missing function
1610 2000-08-03 Pavel Roskin <proski@gnu.org>
1612 * undelfs.h: Removed
1614 2000-08-02 Pavel Roskin <proski@gnu.org>
1616 * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
1617 distributed. Added some comments to prevent future errors.
1618 "make distclean" now cleans generated filters.
1620 * samba/configure.in: Fixed sloppy output. The fix also sent to
1623 * samba/include/stamp-h.in: Added to CVS.
1625 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
1627 * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
1629 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
1631 * ftpfs.c: (my_get_host_and_username) space between macro name and
1634 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
1636 * tar.c (read_header): memory leaking for empty symlink's names fixed
1638 * utilvfs.c (vfs_split_url): *host is not assigned if host is null
1640 * ftpfs.c (login_server): new features of vfs_split_url () used,
1641 my_get_host_and_username became macro
1643 * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
1644 removed (vfs_canon removes trailing '/')
1646 * sfs.c (vfmake, redirect): allocated memory realeased on errors
1648 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1650 * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
1652 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
1654 vfs/extfs/uha.in: add HSC type archives
1656 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
1658 * direntry.c (vfs_s_inode_from_path): fix for stating / directory
1661 * vfs.c: == 0 is right test of eof.
1663 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1665 * direntry.c (vfs_s_internal_stat): added ugly special case for /
1666 of archive to always exist. It seems I'm hiding some underlying
1669 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
1671 * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
1673 (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
1675 * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
1677 (ftpfs_directory_timeout): default value changed to 900
1679 (netrc_next): "const char * const keywords" go to rodata and is shared
1681 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
1683 * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
1684 deadlocks with podfuk
1686 * direntry.c: fix behaviour when stating / directory of ftp
1689 2000-04-15 Timur Bakeyev <mc@bat.ru>
1691 * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
1693 * ftpfs.c (dir_load): At last, found place, that broke handling
1694 directories with spaces in name. Problem was in prepending "/"
1695 to "." for current directory. Which was, obviously, wrong. Hacked
1696 to make just "LIST -la ." instead.
1698 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1700 * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
1702 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1704 * extfs/audio: Added a way to browse audio CDs conviently
1706 * undelfs.c: use NULLs instead of 0s when you assign to pointers!
1708 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
1710 * utilfs.c (vfs_split_url): Don't assign *pass if pass is NULL
1711 * fish.c (archive_open, archive_same): memory allocated by
1712 vfs_split_url() must be released after use, don't strdup()
1713 values allocated by vfs_split_url() and NULL passed to
1714 vfs_split_url() when password value is unused
1715 * ftpfs.c (archive_open, archive_same): ditto plus same for
1716 ftpfs_get_proxy_host_and_port()
1718 2000-04-06 Timur Bakeyev <mc@bat.ru>
1720 * ftpfs.c (netrc_next): Turned strange "const char * const
1721 keywords" into more alike "const char const * keywords". Still,
1722 think, it's too strict.
1724 * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba
1725 headers. Libncurses(or slang?) defines BOOL and that can cause
1726 problems. (In fact, I can't find references to that const, but
1727 sure, I hade reason to do that:)
1729 * util-alone.h: Declare load_anon_passwd() to avoid warnings.
1731 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
1733 * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
1734 crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
1735 * fish.c (linear_start): Name wasn't freed after usage.
1736 * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
1737 function return 0 now.
1738 * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
1739 by vfs_s_fullpath() is freed after use.
1740 * ftpfs.c (linear_start): Ditto.
1742 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1744 * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
1745 not strdupped(), so it must not be g_free'd.
1747 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1749 * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
1750 fish work better with files files like "this is sentence"
1752 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1754 * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
1755 locale to C so that rpm does not confuse us
1757 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1759 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
1761 * vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
1762 these variables must be assigned in vfs_s_new_inode () or extfs
1763 layer, so ftpfs subdirectories now can be copied.
1765 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1767 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
1769 * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
1770 mc_(un)?getlocalcopy): added const qualifier
1771 (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
1772 so, free() it, not g_free();
1773 (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
1775 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1777 * cpio.c: cpio.h is missing, so don't try to include it. (It is
1778 not needed, anyway. Strange.)
1780 * Makefile.in (NONETFILES): cpio added to compilation list
1782 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
1784 * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
1785 with unexpected side effects (only when HSC_PROXY was
1786 defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
1789 (dir_load): Do not hard code the directory cache timeout to 10
1790 seconds. Instead use the setting from Options/Virtual VFS ...
1792 * fish.c (file_store): honour changed semantics for return value
1793 (on error -1 is expected).
1795 * ftpfs.c (file_store): dito
1797 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1799 * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
1800 it using code from tarfs.
1802 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1804 * extfs/uzip.in (nam): y2k fixes (workarounds) by
1805 christian.gennerat@vz.cit.alcatel.fr
1807 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1809 * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
1811 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
1813 * xdirentry.h: added prototype for vfs_s_retrieve_file
1815 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
1817 * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
1818 for broken symlinks like 2001 -> The Space Oddysea.
1820 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1822 * ftpfs.c: vfs semantics has some problems with ~s. What will
1823 happen if we just don't go to home directory of user? (We used to
1824 have /#ftp:hobit/~/ mean home directory of anonymous at
1825 hobit. Thats pretty broken.)
1827 * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
1830 * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
1832 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1834 * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
1835 from Andrew V. Samoilov
1837 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1839 * extfs.c (extfs_chdir): removed unneeded statment, plus applied
1840 cosmetics fixes from Andrew V. Samoilov
1842 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
1844 * extfs/deb.in: Change to the deb vfs. tar has changed, and
1845 depending on the version, it saves files as "./filename" or
1848 * From debian: added deba, debd, dpkg, apt script file systems.
1850 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
1852 * vfs.c (vfs_parse_filedate): don't decode last columns as year
1855 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
1857 * vfs/vfs.h: use #warning only for gcc. Not all compilers
1860 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1862 * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
1863 mostly internationalization + fixing stupid bugs of mine
1865 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1867 * ftpfs.c: basically replaced ftpfs with new one. Unlike the
1868 previous one, this uses new direntry.c layer, so shared_ftp_fish.c
1871 This is new code, so beware.
1873 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1875 * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
1876 value, too. This code is going to be killed, the sooner the better.
1878 * *.c (mc_[un]getlocalcopy): we really need some return value,
1879 because we can have errors
1881 * fish.c: don't use directory expiration, it does not work,
1882 use retrieve_file from direntry.c
1885 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
1887 * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
1888 name has to be malloced.
1890 1999-10-07 Miguel de Icaza <miguel@gnu.org>
1892 * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
1893 <lav@yars.free.net> that makes the code compliant to RFC959
1895 1999-08-30 Miguel de Icaza <miguel@gnu.org>
1897 * ftpfs.c (insert_dots): Use g_new here.
1899 * shared_ftpfs_fish.c: Style fixes and small fixes
1901 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
1903 * extfs/uzip.in: Better handling of zip-archives that contain files
1904 which contain spaces.
1906 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
1908 * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
1910 * mcserv.c: removed definition of mad_strconcat which is also
1913 1999-09-17 Federico Mena Quintero <federico@redhat.com>
1915 * smbfs.c: #define NO_CONFIG_H before including the samba
1916 includes; this way it will not re=define HAVE_LIBREADLINE. This
1917 situation sucks. Should we change the names of the widget.h
1918 history_*() functions?
1920 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
1922 * smbfs.c (various places): Store filenames in memory with the unix
1923 character set and convert it back to the dos character set when
1924 filenames are passed back to the samba server. If samba is configured
1925 correctly this will fix the problems with filenames which contain
1926 national characters.
1928 (bucket_set_authinfo): Set domain, username and password which will
1929 be used to log on and authenticate against the samba server and remember
1930 this information on a host/share basis. If set use PASSWD to get the
1931 password. If already authenticated against the host and share use this
1932 information. If already authenticated against host and IPC$ use this
1933 information. If neither of the former is true ask the user how to
1936 (authinfo_get_authinfo_from_user): New function. Query the user for
1937 domain, username and password to use for authentication.
1939 (authinfo_free): New function. Free memory in authentication structure.
1941 (authinfo_free_all): New function. Free the list used to remember
1942 authentication information.
1944 (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
1945 Helper functions used to search the authentication list.
1947 (authinfo_add): New function. Add one authentication entry to the
1950 (authinfo_remove): New function. Remove one entry from the authlist.
1952 (free_bucket): Free memory associated with one bucket.
1954 (smbfs_get_free_bucket): Initialize the complete connection array
1955 with 0. Free the memory allocated for a bucket and initialize the
1956 bucket before reusing it.
1958 (smbfs_open_link): use new functions to get authentication information
1960 (get_stat_info, smbfs_stat): remove unused variables.
1962 1999-08-31 Federico Mena Quintero <federico@redhat.com>
1964 * extfs/uzip.in: Handle filenames with spaces better. Thanks to
1965 Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
1968 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
1970 * ftpfs.c (translate_path): Remove static buffer from here.
1971 Return a strdupped string now.
1972 (send_ftp_command): Release translate_path result here.
1973 (open_data_connection): Release translate_path result here.
1974 (ftpfs_chdir_internal): Reease it here too.
1976 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
1978 * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
1979 have been written one slot past the supplied character array).
1981 * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
1982 strange symlinks (ls -la doesn't reveal where the symlink points to
1983 and ls -lLa doesn't resolve the symlink either)
1985 Added protection against recursive symbolic links.
1987 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
1989 * smbfs.c: added missing include file
1991 (browsing_helper): use g_strdup instead of g_new + pstrcpy
1992 (Btw. this is an example why the handholding of smblib gives a
1993 false security feeling. pstrcpy limits the number of characters
1994 copied and is used with a buffer which is smaler than the hard
1995 coded limit in pstrcpy)
1996 (loaddir_helper): ditto
1997 (server_browsing_helper): ditto
1999 (get_remote_stat): fixed memory leaks
2000 (smbfs_loaddir): ditto
2001 (get_stat_info): ditto
2004 (convert_path): rewritten, now it's much cleaner what it does.
2005 This rewrite was necessary because gcc -O2 choked on glibc 2.1
2006 systems. In that combination strncat is a macro which expands to
2007 strlen and strcat and in vfs/samba/include/includes.h the latter is
2008 defined to __ERROR__XX__NEVER_USE_STRCAT___;.
2010 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
2012 * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
2013 needed. In rare cases a pointer was freed twice. Pavel Machek
2014 pointed this out a while ago but obviously it hasn't been fixed yet.
2016 * sfs.c (vfmake): Quote characters with a special meaning to the
2017 shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
2018 your full path has the space character in it.).
2020 1999-08-17 Kjartan Maraas <kmaraas@online.no>
2024 1999-08-15 David Martin <dmartina@usa.net>
2026 * vfs.c (vfs_print_stats): Translate vfs stats
2028 * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
2030 * fish.c: Translate messages
2032 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
2034 * tar.c (read_header): Don't segfault when a symlink points to the
2037 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
2039 * vfs.c: Don't close a function definition with "};". SunCC from
2040 2.5.1 chokes on the extra semicolon
2042 (mc_munmap): Don't dereference function pointer when checking for
2043 NULL (this check is supposed to prevent a segfault instead of
2044 causing one). This haven't got noticed up to now becaue there's no
2045 file system with mmap but without munmap.
2047 Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
2049 * samba/include/config.h: Removed. Should be generated.
2051 Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
2053 * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
2054 when builddir != srcdir. Removed some junk after not coherent patching.
2056 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
2058 * Make-mc.in (distcopy): Added a bunch of new lists of files for
2059 the directories in vfs/samba. Use them in this rule, because
2060 plain wildcards will not work right.
2061 (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
2063 Added smbfs.[ch] to the list of sources.
2065 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
2067 * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
2068 as well as the dependencies.
2070 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
2072 * smbfs.c (get_remote_stat): Change debug level.
2074 (get_stat_info): 2 line fixes from Wayne to check the
2075 cache properly. WOOOOHOOOO! Works like a charm.
2077 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
2079 * vfs/smbfs.c: New file. Implements the Samba-based file system.
2081 * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
2083 * vfs/vfs.c (vfs_file_is_smb): implemented.
2084 (vfs_init) register smbfs.
2086 * vfs/samba: Incorporate SAMBA source code required for smbfs
2088 Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2090 * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
2091 make a difference between "LIST -la" and "LIST -lLa". If we find such
2092 a server don't use -lLa when resolving symbolic links.
2094 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
2096 * urar.in, uzip.in: patches to use in #urar and #uzip the new features
2097 added in mc-4.5.31 (unlink, mkdir, rmdir)
2099 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2101 * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
2104 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
2106 * extfs/uzip.in (nam): Handle new unzips.
2108 Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2110 * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
2111 (i.e. not even "." and "..") check whether the directory is empty
2112 or not existend (instead of failing with "ftpfs: failed").
2114 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2116 * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
2118 (vfs_parse_ls_lga): do not silently ignore parsing errors.
2120 Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2122 * extfs.c (extfs_open): tempnam returns a malloced string, no need
2125 (various places): use free instead of g_free to free string returned
2128 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2130 * urar.in, uzip.in: rolled in patches from "christian.gennerat"
2131 <christian.gennerat@vz.cit.alcatel.fr> for better handling of
2132 spaces and copyin-feature-addon.
2134 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
2136 * extfs.c (get_path_from_entry): Fix a crash here.
2138 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
2140 * extfs.c (extfs_unlink):
2143 (remove_entry): New functions.
2144 (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
2145 Add descriptions for these to the extfs README.
2147 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2149 * Make-mc.in (DISTVFS): try to distribute files needed for
2150 building libvfs.so alone
2151 (EXTFS_MISC): include uarj and unarj.diff in distribution
2153 1999-04-08 Owen Taylor <otaylor@redhat.com>
2155 * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
2156 up "TMP RACE" comments so they are at least secure,
2157 if not terribly robust.
2159 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
2161 * added copy_in capability to mtools filesystem
2163 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
2165 * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
2168 * mcserv.c: #include <sys/wait.h>
2169 (get_client): Put `#ifdef __EMX__' around an otherwise-unused
2172 * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
2173 comparing characters.
2175 * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
2177 * extfs.c (extfs_init): Assign `key' to c, not `&key'.
2179 Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2181 * vfs.h (vfs_translate_url): Fixed the macro which is used when
2182 compiling without vfs.
2184 1999-03-22 David Martin <dmartina@mailexcite.com>
2186 * ftpfs.c: Internationalize the messages that are displayed as
2189 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
2191 * extfs.c (extfs_init): Fix the code here: If the key is empty or
2192 only contains a new line, C would be pointing into an invalid location.
2194 Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
2196 * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
2198 Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
2200 * extfs/uha.in: Add support for ha archives.
2202 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2204 * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
2207 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
2209 * vfs.h: Make it compile in AIX. Boy do those guys polute the
2212 1999-03-09 Shooby Ban <bansz@szif.hu>
2214 * extfs/extfs.ini: Corrected rpms -> rpms:
2215 by Balazs Nagy <julian7@kva.hu>
2217 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
2219 * vfs.c (parse_ls_lga): kill the messages on each error.
2221 Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
2223 * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
2224 of st_rdev. This makes stats on device files useless. Fixing
2225 this does not break anything, but adds the ability to copy
2226 device files properly. Ideally, both st_dev and st_rdev should
2227 be returned for those programs that use the vfs to properly
2228 recreate hardlinks. Whose idea was it to only return one of
2231 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
2233 * unlha.in: Fix the problem of having incorrect pathnames when
2234 pulling out files from the LHA file.
2236 Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2238 * tar.c (read_header): Treat hardlinks correctly.
2240 Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2242 * ftpfs.c (insert_dots): renamed from insert_dot. We have to
2243 insert ".." as well or directories from ftp servers which don't
2244 list "." and ".." are displayed with an additional "/".
2246 Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
2248 * tcputil.c: One more my bug with '\0' -> NULL. Oops..
2250 Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
2252 * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
2253 present. (BTW, bsdi uses it's own auth system..)
2255 Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
2257 * mcserv.c (do_auth): mcserv never auth properly on bsdi.
2258 (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
2261 * tcputil.c: use correct signal handler (void func(int)) on BSDI
2263 Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2265 * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
2266 to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
2268 Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2270 * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
2271 occurance of 0 with NULL should stop this stupidy. And replacing
2272 '\0' with NULL is plan wrong!!. Reverted this replacement.
2274 * ftpfs.c (load_no_proxy_list): ditto
2276 Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2278 * ftpfs.c (insert_dot): New function. Insert a "." into the linked
2279 list. Stat'ing the root directory of a ftpfs fails if the dot is
2282 (retrieve_dir): insert "." into the linked list if the ftp server
2285 Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2287 * The following changes make ftpfs work with a remote AmiTCP
2288 server are the result of somehow longish EMail debugging session. I
2289 don't know any public server of this kind but I was told the
2290 combination Unix/Amiga boxes are often used in intranets.
2292 * ftpfs.c (translate_path): New function. Translate a Unix path,
2293 i.e. MC's internal path representation (e.g. /somedir/somefile) to
2294 a path valid for the remote server. Every path transfered to the
2295 remote server has to be mangled by this function right prior to
2296 sending it. Currently only Amiga ftp servers are handled in a
2299 * ftpfs.c (various places): use translate_path
2301 * ftpfs.c (login_server): Assume we have to mangle pathnames if
2302 the greatings string from the server contains the word Amiga. If
2303 this assumption is wrong I have to find another way to turn on
2306 * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
2307 if it is missing. MC needs it as seperator between hostname and
2308 path in its internal url representation.
2310 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2312 * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
2315 Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
2317 * All around the source: Changed copy_strings() to g_strconcat(). Modi-
2318 fy last parameter in concat_dir_and_file() to "" - to prevent stack from
2321 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
2323 * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
2324 * Make-mc.in (VFSHDRS): Likewise.
2326 Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
2328 * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
2329 gives the same effect.
2331 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2333 * utilvfs.c (append_path_sep): Fixed, it was broken for paths
2334 which already have a / at the end.
2336 Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
2338 * undelfs.c: Found one more unconverted realloc() call.
2340 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
2342 * undelfs.c (undelfs_loaddel): Fix Timur's changes.
2344 Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
2346 * Actually commit all changes :>
2348 Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
2350 * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
2351 PATH_SEP_STR. Additionall cleanups of the memory code.
2353 * utilvfs.h: Added several defenitions for common sizes for buffers.
2354 It seems, most of us experience problems, when inventing size for new
2355 buffer. This is much better and portable way to eliminate the problem.
2357 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
2359 * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
2361 Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
2363 * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
2364 g_strdup()/g_free() routings. Also, copy_strings() replaced by
2365 g_strconcat(), and sprintf() by g_snprintf().
2367 * utilvfs.h: New header file. Introduced as a stock header, which keeps
2368 all includes in a right order, to avoid order-dependence mistakes.
2370 Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
2372 * direntry.c: vfs_s_find_entry_tree changed to follow
2373 symlinks properly. Symlinks are now always followed
2374 except for the last part of the filename.
2375 vfs_s_resolve_symlink() now converts absolute paths to
2376 ../../file notation so that they can be easily resolved
2379 * tar.c: . and .. are missing from directory entries,
2380 making it impossible to resolve links - fixed.
2382 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2384 * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
2386 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
2388 * sfs.c (redirect): tempnam returns a malloc()ed buffer.
2390 Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2392 * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
2394 Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2396 * sfs.c (sfs_free): Fixed wrong linked list handling (head was
2397 lost after the first iteration).
2399 (sfs_getid): dito, return value was wrong.
2401 Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
2403 * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
2404 Also, fixed some bugs in parsing (and add new ones:), which diasallowed
2405 proper parsing of device major and minor numbers. Some other fixes. Add
2406 several new is_*() functions to make code readable.
2408 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
2410 * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
2411 defines for non-vfs compilation.
2413 Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
2415 * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
2416 (where YY-MM-DD is parsed).
2418 Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
2420 * vfs.c (vfs_parse_filedate): If the date is less than 6 months
2421 in the past, it is shown without year. In this case MC assumed
2422 the current year which is wrong from Jan to Jun.
2424 Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
2426 * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
2428 Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2430 * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
2431 this filesystem and delete temporary files. This needs further
2434 * tar.c: deleted unused empty struct tar_super.
2436 Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2438 * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
2439 was used for external and internal reference count. This was wrong
2440 because we can free resources taken up by the vfs as soon as the
2441 external reference count (now fd_usage) is zero. The internal
2442 reference count (ino_usage) mustn't matter because the vfs has to
2443 clean up itself in the correct order.
2445 Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2447 * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
2448 and st_dev from vfs_s_default_stat.
2450 (vfs_s_default_stat): initialize st_ino and st_dev to zero
2452 * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
2455 Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2457 * tar.c: Deleted global variable tar_gzipped_memlimit.
2459 Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2461 * vfs.c (vfs_strip_suffix_from_filename): New function which strips
2462 known vfs suffixes from a filename and returns a malloced string
2463 which has to be freed. Possible improvement: strip vfs suffix from
2464 last path component.
2466 * extfs/*: added "umask 077" to every script.
2468 Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2470 * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
2471 safely w.r.t. symlinks in /tmp
2473 Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
2475 * direntry.c: Hopefully got want_stale_data right...
2477 Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
2479 * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
2480 this is neccessary for Solaris and probably others
2482 Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
2484 * vfs.c (vfs_type_from_op): removing unneccessary code
2486 Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2488 * extfs/rpm: commit fix for files with spaces in name by Marc
2489 Merlin (marcsoft@merlins.org)
2491 Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2493 * fish.c: default to normal ssh
2494 (open_archive_int): debugging hack killed
2496 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
2498 * Makefile.am (EXTRA_DIST): Distribute files that the
2499 BUILT_SOURCES depend on.
2500 (mad.c, mad.h): Don't use GNU make specific features in rule.
2501 (libvfs_la_SOURCES): Update from Make-mc.in.
2503 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
2505 * direntry.c (vfs_s_insert_super): This routine does not return
2508 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
2510 * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
2513 * xdirentry.h (LINK_NO_FOLLOW):
2514 * tar.c (read_header):
2515 * direntry.c (vfs_s_resolve_symlink):
2516 (vfs_s_inode_from_path):
2517 (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
2518 LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
2519 NO_FOLLOW are defined in an enum.
2521 * vfs.h (ELAST): define it to 300, if not already defined, thats a
2522 bad hack, but what can we do....
2524 Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
2526 * direntry.c (vfs_s_new_super): Added the missing return value.
2528 Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
2530 * vfs.h: (Temporary?) fix to the compiling error: Some of the error
2531 codes, defined here are Linux specific and unknown to other systems.
2532 Changed to #ifdef's with assigning new codes by means ELAST+offset.
2534 Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
2536 * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
2537 which indicate a file with extented attributes (ACL)
2539 Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2541 * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
2542 we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
2544 (resolve_symlink_without_ls_options): that's resolve_symlinks
2545 we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
2546 directory cache fetching directories if necessary. We got some
2547 complaints about slower ftpfs in the above releases. Now this methode
2548 is no longer the default methode to resolve symbolic links. It is still
2549 needed for ftp servers which don't understand the LIST -lLa command.
2551 (resolve_symlink): Dispatch between the two methods to
2554 Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
2556 * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
2557 thanks to Pavel Roskin for reporting
2559 * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
2561 * utilvfs.c (vfs_split_url): initialize variables so that we do
2564 Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
2566 * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
2567 where unneccessary. I do not see why passing NULL to vfs_add_stamp
2568 should be invalid -> removed check.
2570 Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
2572 * direntry.c, xdirentry.h: should be now prepared to handle
2573 ftp-like filesystems. This is rather BIG change, altrough it does
2574 not look so. I hope I do not break too many things.
2576 Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2578 * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
2580 Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
2582 * extfs/rpm: Fix to display files belonging to users with
2583 excessively long usernames
2585 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
2587 * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
2588 is both safe and more correct, as there is no limit on the
2591 * ftpfs.c (command): Same as above.
2593 * util-alone.c (print_vfs_message): Same as above.
2595 Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2597 * ftpfs.c: report which directory you are listing, fix behaviour
2598 with servers that don't like LIST //. (Nowell) Fix behaviour even
2601 * direntry.c (vfs_s_automake): insert newly generated entry
2603 * direntry.c (vfs_s_free_entry): Debugging printf() killed.
2605 Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2607 * Make-mc.in: added xdirentry.h to VFSHDRS
2609 Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2611 * tar.c (tar_open_archive): do not double-free memory if you can
2612 not open archive, better error handling
2614 * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
2616 * sfs.c, tar.c: remove debugging messages (which really should not
2617 escape from my tree)
2619 Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
2621 * README: added. If you are using emacs or hacking libvfs, please
2624 * direntry.{c,h}: new library created, so that same entry/inode
2625 code does not have to be copied in every handler.
2627 * tar.c: converted to use direntry.c library, which means BIG changes.
2629 * ftpfs.c: small updates to make code look nicer
2631 Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
2633 * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
2634 which actually need it.
2636 * extfs.c: extfs_current_dir killed - it was unneccessary.
2638 * mcfs.c (mcfs_get_path): It is possible for path not to begin
2639 with /#mc:, for example if user does /etc/#mc:. (It is not
2640 correct, of course). Return error, but do not vfs_die().
2642 Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
2644 * lib/mc.ext.in: cpio support fixed. It was broken since time we
2645 started to do #ext syntax.
2647 Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
2649 * vfs.c (mc_open): die() if open is unsupported. If filesytem does
2650 not support open, it is probably stupid typo, so we want bug to be
2653 Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2655 * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
2656 free dcache while resolving symlinks (i.e. don't free some
2657 pointers which are in use by resolve_symlink).
2659 Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2661 * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
2663 Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2665 * shared_ftp_fish.c (s_write): stupid bug fixed
2667 Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
2669 * extfs/*: marked obvious security holes with FIXME: TMP RACE
2671 * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
2672 symlink attack, fixed memory leak along the path
2674 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
2676 * vfs.c, vfs.h: Indentation chages, ugly macros removed. I am
2677 going to split this file in the future.
2679 Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
2681 * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
2682 Borsenkow <borsenkow.msk@sni.de>
2684 Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2686 * vfs.h (vfs_struct): renamed to avoid namespace conflict
2688 Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
2690 * sfs.c: reuse mmap from local.c
2692 * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
2693 and replaced with open(,O_LINEAR); lseek() combination
2695 Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
2697 * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
2698 as it deals with portmapper, it is probably usefull for mcfs
2700 * vfs.h (MCERR_*): these are no longer needed
2702 * vfs.c (vfs_translate_url): translating of url's moved to vfs
2705 * all around: trying to reduce namespace pollution. All special
2706 functions (like extfs_run) should be done using mc_setctl()
2707 interface. At the end, all non-static functions in vfs layer
2708 should begin with vfs_ and should be declared in vfs.h (however
2709 that goal is far away).
2711 * all over the code: replace X_vfs_ops to vfs_X_ops
2713 Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
2715 * vfs.c: added stat to avoid hiding files by naming them
2716 #ftp:localhost and similar. Vfs will not treat files as local if
2717 they already exists, regardless of name.
2719 Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2721 * vfs.h: disable BROKEN_PATHS by default. See if you can live
2722 without cd .. from ftp tree putting you to last directory.
2724 Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2726 * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
2727 change, i.e. make it compile)
2729 Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2731 * ftpfs.c (resolve_symlink): minor speed enhancement
2733 Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
2735 * vfs.h: vfs_force_expire() was incorrectly #define'd
2737 Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
2739 * extfs.c, sfs.c: added few static's to prevent people from doing
2742 Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2744 * vfs.h (struct vfs): renamed errno to verrno because glibc2
2745 defines errno as macro (#define errno (*__errno_location ()))
2747 Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2749 * Makefile.in: search config.status in builddir and not in srcdir/..,
2750 i. e. make it compile for builddir != srcdir
2752 Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
2754 * COPYING.LGPL, all over the code: code is now under Library
2755 General Public License (instead of GPL), so non-free applications
2758 Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
2760 * all over the code: added (vfs *) as first argument for functions
2761 that have no other way to know what fs they belong to. This will
2762 be used by object-like tricks, which will allow us to do real
2763 code-sharing: I do not like #including of .c files.
2765 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
2767 * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
2770 Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
2772 * vfs.h (MIN, MAX): Only define if not already defined; glib.h
2775 Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
2777 * ftpfs.c: Fixed segfault caused by unitialized varialble
2779 Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
2781 * ftpfs.c: Special characters were printed via print_vfs_message.
2782 This caused funny effects if "XTerm hintbar" was on.
2784 Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
2786 * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
2787 files in sane way. copy_file_file will make temporary files for a
2788 while (fix pending).
2790 * tar.c: fixed bzip/bzip2 compressed archives
2792 Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
2794 * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
2796 * vfs.h: created ERRNOR() macro which sets my_errno and returns,
2797 which makes vfs's _much_ more readable
2799 Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
2801 * extfs.c: free() was called twice for the same place in memory
2804 Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
2806 * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
2807 If true we try to use 'LIST -la <path>'. When it fails we use the
2808 two commands 'CWD <path>' and 'LIST' instead.
2810 (resolve_symlink): rewritten. Don't get a second directory listing
2811 with `LIST -lLa'. Instead use the cache to get the file stat of
2812 symbolic links. If the directory the symlink points to isn't
2813 already in the cache the directory listing will be fetched and
2814 stored in the directory cache (without resolving symlinks
2816 The new method to resolve symlinks is faster if symlinks
2817 the same directory or the directory the symlink points to
2818 is already in the cache.
2819 This function was small and nice until I discovered that it was
2820 broken for symlinks to symlinks. Now it looks ugly and perhaps I
2821 will revert it to use "LIST -lLa" again. With a fast connection it
2822 doesn't matter which methode we use but with a slow connection I
2823 wouldn't hesitate to burn more cpu cycles on the client side.
2825 (retrieve_dir): Added parameter to tell whether to resolve
2826 symlinks (don't resolve symlinks in directory listings retrieved
2827 while resolving symlinks).
2828 When we don't get a directory listing with 'LIST -la <path>' then
2829 try to get it with `CWD <path>; LIST'.
2831 Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
2833 * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
2835 (retrieve_file_start2): Don't create target file O_EXCL, in
2836 copy_file_file we check existance of the target file and know
2837 that we want to truncate it (this change was already done a
2838 while back but it was reverted with the vfs-split).
2840 Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
2842 * ftpfs.h (struct connection): added boolean which indicates that
2843 the ftp server doesn't understand Unix ls options
2845 * ftpfs.h (struct dir): added enum to store symlink status of the
2846 in memory directory cache (directory has no symbolic links;
2847 symbolic links but not yet resolved; symbolic links which are resolved)
2849 Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
2851 * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
2852 honour the additional boolean parameter
2854 Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
2856 * vfs.h: add vfs_split() declaration, to make sfs.c happy.
2858 * Make-mc.in, Makefile.am: Updated to include fish.c
2860 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
2862 * sfs.c (sfs_free): assignment operator was used to check for equality
2864 Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
2866 * sfs.c: memory leak fixed
2868 * vfs.c: split parse_ls_lga into more functions
2870 * fish.c added, now you can access files over rsh/ssh connection
2872 * shared*.c: reworked a bit not to include so many of ugly X_'s
2874 Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
2876 * ftpfs.c: cleanup of code, few static's added
2878 * extfs/uarj: added, still, you need patches to unarj to make this
2881 * util-alone.c: now includes code from libvfs.c, so we can kill
2882 libvfs.c (which is good thing as it was non-standard in Makefiles)
2884 Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
2886 * undelfs.c: fixed, it has been broken for too long
2888 * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
2890 * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
2891 handling in case of NULL in *_vfs_ops.
2893 * extfs.c, ftpfs.c, tar.c: made use of above change
2895 * vfs.c: cleanup of macros generating mc_*()
2897 * libvfs.c: adding variable mc_home
2899 Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
2901 * extfs.c: mc_extfsdir was not defined in extfs_open()
2903 * Make-mc.in: sfs.c was not compiled, linked and copied out
2904 extfs/sfs.ini was not installed and copied out
2906 * Makefile.am: sfs.c was not linked to standalone VFS
2908 Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
2910 * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
2912 * Added single file filesystem (sfs)
2914 * Added vfs_flags so library users can disable selected
2917 * Minor shuffling of functions so garbage collection works for
2920 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
2922 * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
2925 Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
2927 * extfs/patchfs: %k replaced with more portable %H in the format
2930 * extfs/extfs.ini: Added patchfs and mailfs. Some comments
2933 Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
2935 * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
2936 lines without enf-of-line.
2938 Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
2940 * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
2943 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
2945 * ftpfs.c (ftpfs_open_socket): Potential security break fix.
2947 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
2949 * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
2950 Don't try building this, yet.
2952 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
2954 * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
2955 and $(EXTFS_OUT) because the first must be installed from
2956 $(srcdir) and the second from $(builddir).
2958 Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
2960 * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
2962 * Makefile.am: New file.
2963 * Make-mc.in: Renamed from Makefile.in.
2964 * Makefile.in: Removed.
2966 Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
2968 * Makefile.in: Rewritten stuff concerning extfs files.
2970 Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
2972 * Makefile.in: Remove arfs, since it doesn't seem to exist
2974 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
2975 * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
2976 are more logical (and so that things actually work, because new
2977 names are currently in extfs.ini).
2979 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
2980 * Modified code to use tempnam() instead of tmpnam(), fixed
2981 tempnam() to use NULL instead of 0.
2983 Wed Jun 3 Pavel Machek <pavel@ucw.cz>
2985 * libvfs.c: adding libvfs.c which should contain things specific
2986 to stand-alone libvfs.so. (This file was missing from previous
2989 Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
2991 * ftpfs.c (ftpfs_fill_names): use right character to seperate
2994 Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
2995 * vfs.c (parse_ls_lga): allow a bit wider range of listings.
2997 * vfs.c (is_time, is_year): new functions
2999 Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
3001 * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
3003 Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
3005 * extfs.c, shared.c, tar.c: I changed semantics in my previous
3006 patch - _get_path() now modifies strings passed to it. I thought
3007 that I were carefull enough not to introduce bugs. You guessed it -
3008 I was not. [Many tar_ and extfs_ functions modify strings passed
3009 to them, but as they are only called from vfs layer, it does not
3011 So I renamed function to alert everyone that semantics changed.
3013 Fixed bugs in timestamping (and segfaults) when you entered tar
3014 inside zip file or similar.
3016 * vfs.c (mc_open): Die if the filesystem doesn't support open
3018 ??? Pavel Machek <pavel@ucw.cz>
3020 * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
3022 * util-alone.*: VFS should be able to compile stand-alone into
3023 libvfs.so usable by anyone. This is first step.
3025 * vfs.c & others: syntax change. We no longer use
3026 tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
3027 better defined meaning. Similar changes are done to all other
3028 protocols. This change touched really _many_ places of code.
3031 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
3033 * vfs.c (MC_DIROP): Macro now returns the proper value.
3035 1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
3037 * Makefile.in ('install' target): 'mcserv' not installed, if
3038 net-code is not enabled by 'configure'.
3040 Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
3042 * Makefile.in (LIBS): add @LINTL@
3044 Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
3046 * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
3047 optimation is wrong because for directories containing spaces we
3048 have to "CWD <pathname>" and "LIST -la" instead of
3049 "LIST -la <pathname>".
3050 I implemented a different optimation. Now ftpfs_chdir only stores
3051 the new working directory and sets a flag. __ftpfs_chdir is called
3052 when we really want to change the directory on the ftp server.
3054 (resolve_symlink): Log the directory listing to the logfile.
3056 * ftpfs.h (struct ftpfs_connection): Added a (per connection)
3059 Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
3061 * Makefile.in: Links to mad.c and mad.h were created wrong when
3062 srcdir != builddir and directory depth to srcdir and builddir were
3063 different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
3065 * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
3066 in copy_file_file we check existance of the target file and know
3067 that we want to truncate it.
3069 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
3071 * tar.c (read_header): Mark regular files with S_IFREG.
3073 Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
3075 * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
3076 my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
3079 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
3081 * ftpfs.c (retrieve_file_start2): Open file exclusively.
3082 (retrieve_file): likewise.
3084 1998-03-31 Philippe De Muyter <phdm@macqel.be>
3086 * vfs.h: compilation fix for m68k-motorola-sysv
3088 Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
3090 * extfs/hp48: Added a usage summary
3092 Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
3094 * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
3095 filesystem to view and copy files to/from the HP48.
3097 Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
3099 * extfs.c: Add support for writtable external file systems.
3100 Required for the httpfs.
3102 Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
3104 * extfs.c (open_extfs_archive): Pass the quoted argument to the
3107 * mailfs: new file system.
3109 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
3111 * tar.c: fix the bug which core dumps when trying to view tar file
3112 with many files (over 60000).
3114 Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
3116 * vfs.c (mc_opendir): Do not make conversions between int/void *
3117 to make the code compile and work on the Alpha correctly.
3118 Allocate a pointer to an int and use that instead.
3120 Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
3122 * extfs/rpm: Small fix for older RPM files.
3124 Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
3126 * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
3128 * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
3129 free the extfs buffers immediatly instead of waiting for the vfs-
3132 Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
3134 * vfs.c (vfs_canon): the "local:" case was consuming one extra
3135 character. This fixes the bug reported by Andrej. Also, handle
3136 the non-canonical case of arguments to local:
3138 Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
3140 * mcserv.c (get_client): The parent now waits for the first forked
3141 process, getting rid of the zombies.
3143 * utilvfs.c (open_tcp_link): If we can not contact the remote
3144 portmapper, set the protocol version to 1.
3146 Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
3148 * mc.spec: New spec file, this packages mc, mcserv and tkmc.
3150 * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
3152 * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
3153 more info currently displayed (changeslogs, Os, URL, packager
3155 Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
3157 * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
3158 force vfs scripts to be executable on those systems that use
3161 * src/utilunix.c: Implement socketpair for SCO flavored systems.
3163 Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
3165 * configure.in (--with-hsc): fix.
3167 * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
3168 passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
3169 passing it as integer)
3171 Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
3173 * extfs/lha: Updated the lha filesystem and included a command
3174 for running an executable from within an lha archive suggested
3175 by Zdenek Kabelac <kabi@informatics.muni.cz>
3177 * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
3178 config.in to create these VFS's for cleaner compilation