1 2004-08-31 Andrew V. Samoilov <sav@bcs.zp.ua>
3 * utilvfs.c (vfs_parse_ls_lga): Use atoll()/atof() instead of atol()
4 for st_size to show file sizes > 2G.
5 * fish.c (fish_dir_load): Likewise.
6 * extfs.c (struct inode): Use off_t for size.
8 Reported by Daradics Daniel <yotzo@freemail.hu>.
10 2004-08-29 Roland Illig <roland.illig@gmx.de>
12 * Code cleanup: Added const qualifier for variables and
13 function declarations where possible. No functional changes.
15 2004-08-27 Andrew V. Samoilov <sav@bcs.zp.ua>
17 * smbfs.c (smbfs_open_readwrite): Implement O_APPEND via smbfs_lseek().
19 2004-08-26 Roland Illig <roland.illig@gmx.de>
21 * undelfs.c (undelfs_lstat): Adjusted declaration.
22 (undelfs_stat): Defined to undelfs_lstat.
24 From Andrew V. Samoilov <sav@bcs.zp.ua>.
26 2004-08-26 Pavel S. Shirshov <pavelsh@mail.ru>
28 * direntry.c: Use g_strlcpy() instead of strncpy() to fix buffer
33 * utilvfs.c: Likewise.
35 2004-08-26 Roland Illig <roland.illig@gmx.de>
37 * vfs.c (mc_chdir): Fixed memory leak.
39 2004-08-22 Leonard den Ottolander <leonard * den ottolander nl>
41 * vfs/extfs/a.in: Quote parameters to calls to system/open that spawn
43 * vfs/extfs/apt.in: Likewise.
44 * vfs/extfs/debd.in: Likewise.
45 * vfs/extfs/dpkg.in: Likewise.
46 * vfs/extfs/deba.in: Clean up earlier fixes to quotation of parameters.
47 * vfs/extfs/deb.in: Likewise.
49 2004-08-24 Roland Illig <roland.illig@gmx.de>
51 * extfs.c (extfs_internal_stat): Fixed memory leaks introduced
52 by my change from 2004-08-16. (extfs_unlink): likewise.
54 * ftpfs.c (ftpfs_send_command): likewise.
56 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
58 * extfs/urar.in: Fix non-POSIX constructs.
60 From Koblinger Egmont <egmont@uhulinux.hu>
62 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
64 * extfs/rpm: Modified workaround for spaces and single quotes
67 Based on patch from Jakub Jelinek <jakub@redhat.com>
69 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
71 * extfs/rpm: Don't show cpio contents in main rpm view.
72 Also avoids copying files from main view instead of from
73 inside CONTENTS.cpio. The former is painfully slow as the whole
74 file is rpm2cpio'd on each copy.
76 From Jakub Jelinek <jakub@redhat.com>
78 2004-08-21 Pavel S. Shirshov <pavelsh@mail.ru>
80 * samba/lib/util.c (tmpdir): Use MC_TMPDIR environment variable.
81 (automount_lookup): More secure code.
83 2004-08-19 Roland Illig <roland.illig@gmx.de>
85 * extfs/deb.in (mcdebfs_list): Separated the use of quoted and
86 unquoted variables. (mcdebfs_copyout): likewise.
87 (mcdebfs_run): likewise.
89 From Leonard den Ottolander <leonard * den.ottolander.nl>
91 2004-08-19 Roland Illig <roland.illig@gmx.de>
93 * extfs/deba.in (list): Separated the use of quoted and unquoted
94 variables. (copyout): likewise. (run): likewise.
96 From Leonard den Ottolander <leonard * den.ottolander.nl>
98 2004-08-19 Roland Illig <roland.illig@gmx.de>
100 * extfs/deba.in (bt): deleted. (ft): deleted. (fm): deleted.
101 (ls): deleted. (list): correctly quoted shell command arguments.
102 (copyout): likewise. (run): likewise.
104 From Leonard den Ottolander <leonard * den.ottolander.nl>
106 2004-08-19 Roland Illig <roland.illig@gmx.de>
108 * smbfs.c: Modified smbfs_convert_path based on a patch sent by
109 Andrew V. Samoilov. Adjusted the calls to smbfs_convert_path.
110 Simplified string handling by using free_after from src/util.h.
111 Fixed one memory leak and one accidental modification.
113 2004-08-18 Pavel S. Shirshov <pavelsh@mail.ru>
115 * extfs/rpm: Command line parameters fix for UPGRADE.
116 Fix mcrpmfs_copyout for INFO/OBSOLETES and INFO/LICENSE
118 From Leonard den Ottolander <leonard * den.ottolander.nl>
120 2004-08-16 Roland Illig <roland.illig@gmx.de>
122 * cpio.c: Renamed various variables called "stat" into "st" to
123 avoid name conflicts with the POSIX function stat. No functional
126 * direntry.c: Added const modifier where appropriate. No functional
129 * extfs.c: Made the parameters constant, making local copies
134 * ftpfs.c: Changed most char * parameters to const char *, creating
135 local copies if necessary.
139 * local.c: Changed most char * parameters to const char *. No
148 * utilvfs.c: likewise.
150 * mcserv.c: Added guards around the #includes for <getopt.h> and
151 <security/pam_misc.h>. No functional changes.
153 * smbfs.h: Cleaned up header inclusion guard.
155 * vfs.h: Has been split up into vfs.h (for clients) and vfs-impl.h
156 (for filesystem implementors).
158 2004-08-16 Pavel S. Shirshov <pavelsh@mail.ru>
160 * extfs/deb.in: Security fix patch. Fix insecure temporary file and
161 directory creations. (CAN-2004-0231).
163 * extfs/uar.in: Likewise.
164 * extfs/uha.in: Likewise.
165 * extfs/ulha.in: Likewise.
166 * extfs/urar.in: Likewise.
167 * extfs/uzip.in: Likewise.
168 * extfs/uzoo.in: Likewise.
170 2004-08-14 Andrew V. Samoilov <sav@bcs.zp.ua>
172 * extfs.c (extfs_init): Fix possible off-by-one buffer underflow
173 for empty lines in extfs.ini.
174 * sfs.c (sfs_init): Fix possible buffer overflows for invalid sfs.ini.
176 2004-06-14 Pavel Roskin <proski@gnu.org>
178 * tar.c: Eliminate struct hstat, use stack arguments instead.
180 2004-03-07 Andrew V. Samoilov <sav@bcs.zp.ua>
182 * utilvfs.c (vfs_parse_ls_lga): Handle device without whitespace(s)
183 between major and minor.
185 * direntry.c (vfs_s_resolve_symlink): Check vfs_s_fullpath()
186 return value to avoid NULL dereference.
187 Reported by wwp <subscript@free.fr>.
189 * vfs.c (mc_def_ungetlocalcopy): Fix missed "%s".
190 * utilvfs.c (vfs_parse_ls_lga): Likewise.
192 * samba/lib/debug.c (Debug1): Don't try to open/create logfile
193 if debugf is empty string.
195 2004-01-27 Pavel Roskin <proski@gnu.org>
197 * smbfs.c (smbfs_reconnect): Revert changes in a translated
200 2004-01-23 Andrew V. Samoilov <sav@bcs.zp.ua>
202 * extfs/rpm: Workaround for spaces and single quotes in the path
205 2004-01-22 Pavel Roskin <proski@gnu.org>
207 * mcserv.c: Use HAVE_CRYPT instead of USE_CRYPT. Remove
208 references to HAVE_LIBCRYPT and HAVE_LIBCRYPT_I. Reported by
209 Christian Laubscher <christian.laubscher@tiscalinet.ch>
211 * samba/configure.in: Rename to ...
212 * samba/configure.ac: ... this. Adjust dependencies.
214 2003-12-05 Andrew V. Samoilov <sav@bcs.zp.ua>
216 * fish.c (fish_open_archive_int): Save some stack and place -C
219 2003-11-28 Pavel Roskin <proski@gnu.org>
221 * undelfs.c: Use ext2fs/ext2_fs.h instead of linux/ext2_fs.h
224 2003-11-26 Pavel Roskin <proski@gnu.org>
226 * gc.c (vfs_ncs_getid): Merge with vfs_getid().
228 * gc.c: Eliminate all code for timestamping parent filesystems.
229 It's broken and undocumented. Adjust all dependencies.
231 2003-11-24 Andrew V. Samoilov <sav@bcs.zp.ua>
233 * direntry.c (vfs_s_resolve_symlink): Eliminate
235 (vfs_s_fullpath): Likewise.
237 2003-11-21 Pavel Roskin <proski@gnu.org>
239 * ftpfs.c (ftpfs_login_server): Explicit password should have
240 priority over the netrc password and the anonymous password.
241 Reported by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
243 2003-11-14 Andrew V. Samoilov <sav@bcs.zp.ua>
245 * undelfs.c (undelfs_loaddel): Use g_try_malloc()/g_try_realloc()
246 since we want to recover and not abort the program if we don't
248 (com_err): Fix implementation.
250 2003-11-14 Pavel Roskin <proski@gnu.org>
252 * vfs.c (vfs_split): Deconstify.
253 * direntry.c (vfs_s_get_path_mangle): Likewise. "mangle" is in
254 the name for a reason. Use vfs_s_get_path() instead where the
255 path should be preserved.
256 * extfs.c (extfs_get_path_mangle): Likewise.
257 * sfs.c (sfs_vfmake): Protect against changes in vfs_split().
259 2003-11-13 Pavel Roskin <proski@gnu.org>
261 * vfs.h: Constify chdir() and opendir() methods. Adjust all
263 * vfs.c (mc_chdir): Constify, eliminate protection against
264 broken implementations of chdir() method.
265 (mc_opendir): Constify.
267 * direntry.c (vfs_s_stamp_me): Generalize and move ...
268 * gc.c (vfs_stamp_create): ... here. Use whenever possible.
270 2003-11-12 Pavel Roskin <proski@gnu.org>
272 * gc.c: Use NULL instead of -1 for empty vfsid. Adjust all
274 * undelfs.c (undelfs_get_path): Don't shadow static ext2_fname.
275 (undelfs_getid): Likewise. Use fs for non-empty vfsid.
277 2003-11-12 Andrew V. Samoilov <sav@bcs.zp.ua>
279 * cpio.c (cpio_create_entry): Fix possible buffer underflow
282 2003-11-08 Pavel Roskin <proski@gnu.org>
284 * gc.c: Make getid(), nothingisopen() and free() methods
285 optional. Eliminate trivial implementations.
286 (vfs_getid): New function - safe wrapper around getid(). Use
288 (vfs_ncs_getid): Remove dead code, improve readability.
290 2003-11-07 Pavel Roskin <proski@gnu.org>
292 * vfs.c: Split garbage collection code into ...
294 * vfs.h: Corresponding code moved ...
296 * Makefile.am: Adjustments for the above.
298 2003-11-05 Pavel Roskin <proski@gnu.org>
300 * vfs.c: Eliminate MC_OP. Reorder other MC_* macros for
303 * vfs.c: Move all parsing code, vfs_die() and vfs_get_password()
304 to utilvfs.c, vfs_print_stats() to direntry.c.
305 * utilvfs.c (vfs_parse_ls_lga): Disable caching current date,
306 it's done incorrectly.
308 2003-11-04 Pavel Roskin <proski@gnu.org>
310 * vfs.c: Allocate handles dynamically.
311 (get_bucket): Rewrite as vfs_new_handle().
312 (vfs_op): Make a function.
313 (vfs_info): Likewise.
314 (vfs_free_bucket): Replace with vfs_free_handle().
315 (mc_readdir): Expand, eliminate MC_DIROP.
317 2003-10-30 Pavel Roskin <proski@gnu.org>
319 * HACKING: New file - technical documentation for VFS.
320 * Makefile.am: Distribute it.
322 * vfs.c (vfs_rmstamp): Rescan the tree after the parents have
323 been removed. Otherwise using old data causes data corruption
324 in some combinations (e.g. extfs inside tarfs).
326 2003-10-29 Pavel Roskin <proski@gnu.org>
328 * extfs.c: Remove current_dir field, its role was purely
329 decorative. Rename names starting with underscore.
333 * Makefile.am: Remove extfs.h.
335 * ftpfs.c: Use HAVE_STRUCT_LINGER_L_LINGER instead of
338 * Makefile.am: Compile utilvfs.c even without USE_VFS_NET.
339 * utilvfs.c (vfs_split_url): Only compile with USE_NETCODE
342 2003-10-28 Pavel Roskin <proski@gnu.org>
344 * fish.c (fish_fh_open): Use vfs_mkstemps() for write buffers as
345 well, since the file can be reopened for reading later.
346 * ftpfs.c (ftpfs_fh_open): Likewise.
348 * utilvfs.c (vfs_mkstemps): New function - create temporary file
349 with the name resembling the original, but safe for scripts.
350 * direntry.c (vfs_s_open): Use it.
351 (vfs_s_retrieve_file): Likewise.
352 * extfs.c (extfs_open): Likewise.
353 * sfs.c (sfs_redirect): Likewise.
355 * vfs.c (mc_ungetlocalcopy): Free local path here, not in class
357 * vfs.h (struct vfs_s_class): Constify "local" argument for
358 ungetlocalcopy. Adjust all implementations.
360 * direntry.c (vfs_s_init_class): Use our getlocalcopy for remote
361 filesystems that cache files, not for archives.
362 (vfs_s_getlocalcopy): Corresponding changes.
364 * direntry.c (vfs_s_init_class): Improve interface to allow more
365 code reuse. Change all callers.
366 (vfs_s_getlocalcopy): New implementation. Don't use
367 mc_def_getlocalcopy(). Use vfs_s_open() to create local copy.
368 (vfs_s_ungetlocalcopy): New function.
369 * xdirentry.h: Add new field "flags" to struct vfs_s_subclass.
370 * extfs.c (extfs_ungetlocalcopy): Don't use
371 mc_def_ungetlocalcopy() in the dead branch.
372 * vfs.c (mc_def_getlocalcopy): Make static.
373 (mc_def_ungetlocalcopy): Likewise.
375 2003-10-27 Pavel Roskin <proski@gnu.org>
377 * vfs.h: Constify some arguments for many functions.
378 * xdirentry.h: Likewise. Adjust all dependencies.
380 * *.c: Rename functions that don't have an a prefix indicating
381 what file they are defined in. This simplifies debugging.
383 * vfs.c (mc_def_getlocalcopy): Use O_LINEAR when retrieving the
384 remote file. This avoids an extra temporary file.
386 * cpio.c (cpio_ungetlocalcopy): Remove.
387 * tar.c (tar_ungetlocalcopy): Likewise.
388 * vfs.c (mc_def_ungetlocalcopy): Add support for read-only
391 2003-10-26 Pavel Roskin <proski@gnu.org>
393 * direntry.c (vfs_s_find_inode): Only allow search from root.
394 Change second argument to superblock to prevent abuse.
396 * direntry.c (vfs_s_find_entry_tree): Eliminate buffer of fixed
397 size. Don't prepare path for vfs_s_resolve_symlink().
398 (vfs_s_resolve_symlink): Remove unused argument "path".
400 * direntry.c (vfs_s_add_dots): Remove. Fix all callers.
401 (vfs_s_free_inode): Remove support for "." and ".." entries.
402 * ftpfs.c (dir_load): Likewise.
403 Support for "." and ".." entries was a hack that could make the
404 cache non-traversable from inodes to the root and cause infinite
405 loop in vfs_s_fullpath().
406 Reported by Frédéric L. W. Meunier <lists1@pervalidus.net>
408 2003-10-25 Pavel Roskin <proski@gnu.org>
410 * tar.h: Merge into tar.c, as it doesn't provide any external
412 * Makefile.am: Remove tar.h.
414 * vfs.h: Remove redundant declaration of init_localfs().
416 * mcserv.c: Don't use HAVE_CRYPT from extraconf.h.
417 * samba/include/includes.h: Likewise.
419 2003-10-24 Pavel Roskin <proski@gnu.org>
421 * ftpfs.c: Remove the rest of source routing code.
422 * xdirentry.h: Likewise.
424 * ftpfs.c (setup_source_route): Remove. It's a badly
425 implemented hack that was never enabled.
427 2003-10-16 Pavel Roskin <proski@gnu.org>
429 * direntry.c (vfs_s_find_entry_tree): Canonicalize path.
431 * direntry.c (vfs_s_resolve_symlink): Don't use buffers of fixed
432 size. This fixes a security hole. Always start from the root.
433 Remove broken code for making symlinks relative.
434 (vfs_s_find_entry_tree): Protect against long path, since this
435 function uses a buffer of fixed size.
436 (vfs_s_fullpath): Implement support for archives (real trees).
438 2003-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
440 * vfs.c (mc_open): Fix rare memory leak on failure.
442 2003-10-16 Pavel Roskin <proski@gnu.org>
444 * direntry.c (vfs_s_setctl): Implement VFS_SETCTL_FLUSH.
445 * ftpfs.c: Remove ftpfs_flushdir. Use MEDATA->flush.
446 * fish.c: Use MEDATA->flush.
448 * direntry.c (vfs_s_setctl): Add support to VFS_SETCTL_LOGFILE.
449 * ftpfs.c (ftpfs_set_debug): Remove.
452 * utilvfs.c: ... here.
454 * utilvfs.h: ... here.
455 * Makefile.am: Remove references to names.c and names.h.
457 * xdirentry.h: Rename vfs_s_data to vfs_s_subclass.
458 * cpio.c: Initialize only non-zero fields in vfs_s_subclass.
463 * vfs.h: Rename commands for mc_ctl() and mc_setctl() to make it
464 clear which function they are used with.
465 * vfs.c (mc_ctl): Change last argument to (void*).
467 Adjust all dependencies.
469 * xdirentry.h: Move system includes to the files that need them.
471 * xdirentry.h: Fix typos in field names.
473 * xdirentry.h: Cleanup unused or write-only fields. Adjust all
476 * xdirentry.h: Remove magic numbers. Move some constants ...
479 2003-10-15 Pavel Roskin <proski@gnu.org>
481 * samba/lib/doscalls.c: Remove. Remove all references to it.
483 2003-10-14 Pavel Roskin <proski@gnu.org>
485 * vfs.h: Remove all references to seekdir and telldir. Adjust
488 2003-10-13 Pavel Roskin <proski@gnu.org>
490 * vfs.c (_vfs_add_noncurrent_stamps): Fix incorrect casts.
492 2003-10-12 Pavel Roskin <proski@gnu.org>
494 * extfs.c: Switch to self-registration.
498 * undelfs.c: Likewise.
499 * vfs.s (_vfs_add_noncurrent_stamps): Temporary disable code
500 that uses vfs_extfs_ops.
501 (vfs_file_is_smb): Remove.
503 * local.c: Switch to self-registration.
504 * vfs.c: Cache localfs class for the use in vfs_get_class().
506 2003-10-11 Pavel Roskin <proski@gnu.org>
508 * xdirentry.h: Remove all typedefs, there is no need to hide the
509 fact that structures are structures. Fix all dependencies.
511 * vfs.h: Remove typedef vfs, it's too ambiguous. Massive
512 changes to use struct vfs_class instead.
514 * vfs.c (vfs_setup_wd): Initialize current_vfs here, not
516 (vfs_type_from_op): Rename to vfs_prefix_to_class(), avoid using
518 (vfs_strip_suffix_from_filename): Don't use vfs_local_fs.
520 * vfs.h (ftpfs_hint_reread): Remove, it's unused.
522 * vfs.c (vfs_add_noncurrent_stamps): Call vfs_rm_parents() at
523 the end. Change all callers not to call it.
524 (vfs_rm_parents): Make static.
526 * direntry.c: Don't use vfs_local_fs directly, use VFSF_LOCAL.
528 * vfs.c (vfs_addstamp): Likewise.
529 (vfs_init): Register vfs_local_fs like other classes.
531 * direntry.c: Make more functions static. They are filled in in
532 vfs_s_init_class() now and don't need to be exported.
534 * tarfs.c: Switch to self-registration.
536 * extfs.c: Don't include xdirentry.h.
539 * ftpfs.c: Switch to self-registration.
541 * vfs.h: Remove parts used only when USE_VFS is not defined.
543 * vfs.h: Introduce new VFS flags instead of the old unused ones.
544 * vfs.c (vfs_file_class_flags): New function.
545 (vfs_file_is_ftp): Eliminate.
546 (vfs_file_is_smb): Likewise.
547 (vfs_file_is_local): Likewise.
548 (vfs_current_is_local): Use new VFSF_LOCAL flag.
550 * vfs.c: Constify arguments of many functions.
552 * undelfs.c (undelfs_get_path): Constify first argument.
553 * vfs.h (struct vfs_class): Constify path. Fix all dependencies.
555 * vfs.c (vfs_release_path): New function, code taken from
557 (vfs_ncs_getid): Make static.
559 * vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
560 avoid using internal vfs type. Adjust all dependencies.
561 (vfs_rosplit): Rename to _vfs_get_class().
563 * cpio.c (init_cpiofs): Set vfs_cpiofs_ops.setctl to NULL, or
564 bad things happen after unsuccessful deletion.
566 * vfs.h: Remove obsolete code.
568 2003-10-10 Pavel Roskin <proski@gnu.org>
570 * vfs.c (vfs_flags): Eliminate, it's never assigned a non-zero
572 * vfs.h: Eliminate unused VFS flags.
573 * local.c (vfs_nil_ops): Eliminate, it's unused now.
575 * fish.c: Convert to calling vfs_register_class().
576 * fish.h: Eliminate. Adjust all dependencies.
577 * direntry.c (vfs_s_init_class): Add missing vfs_s_setctl().
579 * vfs.h: Rename "struct _vfs" to "struct vfs_class". Allow
580 calling vfs_register() in the file defining the VFS class.
581 * vfs.c (vfs_init): Register cpiofs in cpio.c.
582 (vfs_register): Rename to vfs_register_class(), remove "static".
583 * direntry.c (vfs_s_init_class): New function - generic VFS
584 class registration for vfs_s descendants.
585 * cpio.c: Register VFS class locally.
587 2003-10-07 Pavel Roskin <proski@gnu.org>
589 * direntry.c: Make functions static when possible.
590 * xdirentry.h: Remove unneeded declarations.
592 2003-09-28 Pavel Roskin <proski@gnu.org>
594 * vfs.c (vfs_type_from_op): Check if vfs->prefix is NULL before
595 calling strlen() on it.
596 (vfs_strip_suffix_from_filename): Likewise.
597 (mc_chdir): Don't panic if no chdir function is defined. This
600 2003-09-23 Pavel Roskin <proski@gnu.org>
602 * vfs.c (vfs_canon): Remove tilde expansion. mc_chdir() should
603 act like chdir() of localfs, which doesn't expand tilde.
604 Reported by Doncho Gunchev <mr700@globalnet.bg>
606 2003-09-22 Pavel Roskin <proski@gnu.org>
608 * vfs.c (mc_get_current_wd): Use g_strlcpy() to avoid unneeded
609 padding and silence Valgrind.
611 2003-09-09 Andrew V. Samoilov <sav@bcs.zp.ua>
613 * samba/libsmb/namequery.c (_interpret_node_status): Comment
616 2003-09-03 Pavel Roskin <proski@gnu.org>
618 * samba/include/charset.h: Remove declaration already present in
620 * samba/include/proto.h: Run through uniq.
622 2003-08-30 Pavel Roskin <proski@gnu.org>
624 * samba/tests/summary.c: Remove. The test is now included ...
625 * samba/configure.in: ... here.
626 * samba/tests/README: Remove, it's irrelevant.
627 * samba/architecture.doc: Likewise.
628 * samba/include/dlinklist.h: Remove, it's unused. Adjust
630 * samba/libsmb/namequery.c (name_status): Remove, it's unused.
631 * Makefile.am: Remove unused Samba files.
633 * samba/include/smb.h: Remove unneeded includes.
634 * samba/include/ntdomain.h: Remove, it's unused.
635 * samba/include/rpc*.h: Likewise.
636 * samba/lib/util_unistr.c: Remove unused code.
637 * samba/include/proto.h: Regenerate.
638 * Makefile.am: Remove unused Samba headers.
640 2003-08-29 Pavel Roskin <proski@gnu.org>
642 * samba/lib/system.c: Remove all unused code.
643 * samba/include/proto.h: Remove some unused prototypes.
644 * samba/include/includes.h: Don't include sys/capability.h,
646 * samba/configure.in: Remove tests for capabilities and groups,
647 which are unused now. Also remove the trivial test.
648 * Makefile.am: Remove unused Samba tests.
650 2003-08-29 Andrew V. Samoilov <sav@bcs.zp.ua>
652 * direntry.c (vfs_s_dump): Commented out.
653 * extfs.c (s_readlink): Fix return value and possible buffer
655 * mcfs.c (mcfs_readlink): Fix return value.
656 * mcserv.c (do_readlink): Fix possible off-by-one.
657 (commands): Make const array and remove needless comma.
659 2003-08-29 Pavel Roskin <proski@gnu.org>
661 * ftpfs.c (initconn): Use more portable initialization.
662 * xdirentry.h: Use safer definition of ERRNOR.
664 2003-08-18 Oskar Liljeblad <oskar@osk.mine.nu>
666 * extfs/uzip.in: Fix error in parsing size of files over 9999999
669 2003-08-08 Pavel Roskin <proski@gnu.org>
671 * extfs/audio.in: Further portability fixes. Use current date
673 Partly from Andrew V. Samoilov <sav@bcs.zp.ua>
675 * extfs/audio.in: Fix non-POSIX constructs.
676 From GoTaR <gotar@poczta.onet.pl>
678 2003-07-28 Andrew V. Samoilov <sav@bcs.zp.ua>
680 * ftpfs.c (login_server): Undo last change.
682 2003-07-23 Andrew V. Samoilov <sav@bcs.zp.ua>
684 * ftpfs.c (login_server): Fix memory leak.
685 (linear_abort): Close dsock before reconnect().
686 (ftpfs_done): Release no_proxy list.
688 2003-07-21 Andrew V. Samoilov <sav@bcs.zp.ua>
690 * ftpfs.c (load_no_proxy_list): Fix infinitive loop if ferror().
691 (initconn): Reset variables if setup_passive() fails.
692 (open_data_connection): Set my_errno to errno before close()
694 (dir_load): Optimize cd_first calculation.
696 2003-06-24 Andrew V. Samoilov <sav@bcs.zp.ua>
698 * extfs/lslR.in: Portability fixes.
700 2003-06-21 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
702 * ftpfs.c (command): Fix misuse of the status variable. Don't
703 cache the value of SUP.sock before reconnect.
705 2003-06-05 Pavel Roskin <proski@gnu.org>
707 * vfs.c: Rename mc_return_cwd() to _vfs_get_cwd(). Move
708 related functions closer to each other, add comments.
710 * ftpfs.c (ftpfs_done): New function. Free ftpfs_proxy_host and
711 ftpfs_anonymous_passwd.
713 2003-05-30 Pavel Roskin <proski@gnu.org>
715 * extfs/trpm: Fix compatibility with the secure temporary
716 filenames used by extfs. Filter rpm messages from the listing.
718 2003-05-08 Pavel Roskin <proski@gnu.org>
720 * fish.c (file_store): Use block size 1. It's slower, but much
721 safer. GNU dd is not persistent enough when reading data.
723 * extfs/rpm: If rpm doesn't support --info as in Red Hat 9,
724 ignore it and don't show HEADER in the listing.
726 2003-04-29 Michael Shigorin <mike@osdn.org.ua>
728 * extfs/iso9660.in: Determine presence of Rock Ridge and Joliet
729 extensions by running "isoinfo -R". Use current charset for
732 2003-04-29 Pavel Roskin <proski@gnu.org>
734 * extfs/iso9660.in: New filesystem for ISO-9660 images.
735 From Michael Shigorin <mike@altlinux.org>
736 * extfs/extfs.ini: Add iso9660.
737 * extfs/Makefile.am: Add extfs/iso9660.in.
739 2003-04-03 Andrew V. Samoilov <sav@bcs.zp.ua>
741 * smbfs.c (open_readwrite): New function to replace open_read()
742 and open_write(). Use cli_close() if cli_qfileinfo() or
745 (smbfs_open): Use open_readwrite(). Free remote_handle if
746 open_readwrite() fails.
748 2003-03-24 Adam Byrtek <alpha@debian.org>
750 * extfs/patchfs.in: Treat '\ No newline at end of file' line
751 as valid diff contents.
753 2003-03-14 Lorinczy Zsigmond <lzsiga@mail.ahiv.hu>
755 * ftpfs.c (login_server): Ask user for account if the server
758 2003-03-13 Andrew V. Samoilov <sav@bcs.zp.ua>
760 * samba/libsmb/clientgen.c (cli_session_setup): Convert
761 username from Unix to DOS codepage before sending.
763 2003-03-10 Adam Byrtek <alpha@debian.org>
765 * extfs/patchfs.in: Minor cleanups.
767 2003-03-10 Pavel Roskin <proski@gnu.org>
769 * extfs.c (extfs_cmd): Quote localname - it's based on the entry
770 name, so it can contain dangerous symbols like "&".
772 2003-02-26 Adam Byrtek <alpha@debian.org>
774 * extfs.c (extfs_open): Retain original filename as a suffix
775 for the temporary filename.
776 * vfs.c (mc_def_getlocalcopy): Likewise.
778 2003-02-24 Adam Byrtek <alpha@debian.org>
780 * extfs/patchfs.in: rm and proper copyin support, more
781 functions to make code more clear.
783 2003-02-19 Andrew V. Samoilov <sav@bcs.zp.ua>
785 * smbfs.c (smbfs_lseek): Backport from Samba 2.2.7 Suite.
786 (fake_server_stat): Warning fix for SunOS. Reformat function.
787 (fake_share_stat): Likewise.
788 (smbfs_mkdir): Likewise.
789 * direntry.c (vfs_s_dump): Likewise.
791 * vfs.c (is_localized_month): New function for locale's
792 abbreviated month name as any 3 bytes long string without digits
793 and control characters.
794 (vfs_parse_filedate): Fallback to is_localized_month() if
795 is_month() and is_dos_date() fail and set date to Jan 1 1970.
796 (vfs_parse_ls_lga): Use is_localized_month().
798 2003-01-24 Pavel Roskin <proski@gnu.org>
800 * smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
801 (smbfs_free): Likewise.
803 2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
805 * extfs/urar.in: Search $PATH for unrar, fallback to rar.
807 2003-01-13 Adam Byrtek <alpha@debian.org>
809 * extfs/patchfs.in: context diff format support, regular
810 expressions precompiled, some minor fixes.
812 2002-12-29 Andrew V. Samoilov <sav@bcs.zp.ua>
814 * extfs/rpm: Use --nosignature only if rpm supports this.
816 2002-12-25 Pavel Roskin <proski@gnu.org>
818 * extfs.c (read_archive): Free archive if the "list" command
819 returned non-zero, return -1.
820 Initial implementation from Adam Byrtek <alpha@debian.org>
822 2002-12-24 Pavel Roskin <proski@gnu.org>
824 * direntry.c (vfs_s_open): If the filesystem is read-only,
825 disable file creation.
827 * vfs.c (mc_chdir): Don't change current directory until the
828 low-level chdir succeeds.
830 * vfs.c (vfs_name): Eliminate - it's unused and wrong.
832 2002-12-24 Andrew V. Samoilov <sav@bcs.zp.ua>
834 * extfs/mailfs.in: Quote filename when opening mailbox.
836 2002-12-24 Adam Byrtek <alpha@debian.org>
838 * extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file.
840 2002-12-20 Andrew V. Samoilov <sav@bcs.zp.ua>
842 * smbfs.c: Resurrect and use myumask for generated permissions.
844 2002-12-19 Adam Byrtek <alpha@debian.org>
846 * extfs/patchfs.in: Fix patch size calculation. Use bytes to
847 count size in bytes, not characters (in multibyte encodings char
848 can be two or more bytes wide).
850 2002-12-19 Andrew V. Samoilov <sav@bcs.zp.ua>
852 * extfs/patchfs.in: Don't rely on tell() - it doesn't always
853 work on pipes. Determine patch size by adding together the line
856 2002-12-19 Adam Byrtek <alpha@debian.org>
858 * extfs/patchfs.in: Allow diffs with function names after "@@".
859 Don't consider an empty newline as the end of the diff.
861 2002-12-18 Andrew V. Samoilov <sav@bcs.zp.ua>
863 * extfs/patchfs.in (openread): Use quoted $archive when opening
865 (list): Set $archive to quoted $_[0].
867 2002-12-16 Pavel Roskin <proski@gnu.org>
869 * extfs/rpm: Don't check package signatures - it creates a lot
870 of noise on stderr if the signature is missing.
872 2002-12-14 Adam Byrtek <alpha@debian.org>
874 * extfs/mailfs.in: Fixed bug when opening empty mailbox. Added
875 proper message size (not number of lines, like before) counting.
877 2002-12-13 Pavel Roskin <proski@gnu.org>
879 * extfs/uha.in (mchafs_list): Don't parse the month, use
881 (mchafs_copyout): Use cat, not mv, because the files can be on
882 different filesystems. Use "q" and don't suppress stderr.
884 * extfs/ulha.in: Don't suppress stderr.
886 * extfs/uzoo.in: Always use "q" option to avoid processing junk.
887 Always create symlink, do it in a safer directory.
889 * extfs/uarj.in: New script working with open-source ARJ.
890 Contributed by Viatcheslav Odintsov.
891 * extfs/uarj: Remove.
892 * extfs/hp48: Rename to ...
893 * extfs/hp48.in: ... this. It needs awk substitution.
894 * extfs/Makefile.am: Adjust for the above.
896 * extfs/ulha.in: Strengthen quoting.
898 * extfs/uha.in: Strengthen quoting. Remove unnecessary space
899 after filename. Update URL. Use safer temporary directory.
901 * extfs/uarj: New list-only implementation that doesn't need
903 * extfs/unarj.diff: Remove.
904 * extfs/Makefile.am: Remove extfs/unarj.diff.
906 2002-12-13 Adam Byrtek <alpha@debian.org>
908 * extfs/patchfs.in: "copyin" method added (with compressed files
909 support). Files inside archive now have '.diff' extension.
910 Temporary file not needed any more. Proper handling of
911 "/dev/null" filenames, filename heuristics based on diff info
912 page. Set files owner and group as the archive.
913 * extfs/audio.in: CDDB_TIMEOUT variable added.
915 2002-12-12 Pavel Roskin <proski@gnu.org>
917 * vfs.c (is_dos_date): Allow 4-digit years.
918 (vfs_parse_filedate): Don't limit length of the year field for
919 DOS dates, subtract 1900 if necessary.
921 * extfs/apt.in: Fix Y2K bug.
922 * extfs/deba.in: Likewise.
923 * extfs/debd.in: Likewise.
924 * extfs/dpkg.in: Likewise.
925 Reported by Adam Byrtek <alpha@debian.org>
927 * extfs/patchfs.in: Print 4-digit year. If str2time is not
928 available, use current time, not 0.
930 2002-12-12 Andrew V. Samoilov <sav@bcs.zp.ua>
932 * extfs/urar.in: rar lists directories after files, so sort "list"
933 command output by names to prevent duplications.
935 2002-12-12 Pavel Roskin <proski@gnu.org>
937 * extfs/urar.in: Strengthen quoting. Don't use full path to rar
938 and unrar. Don't redirect stderr to /dev/null.
940 * extfs/uar.in: Simplify "list" command, don't use current year.
941 Use more careful quoting.
943 2002-12-12 Adam Byrtek <alpha@debian.org>
945 * extfs/apt.in: Add non-interactive remove using dpkg.
947 2002-12-11 Adam Byrtek <alpha@debian.org>
949 * extfs/apt.in: Add 1 to the month number. Perl localtime()
950 uses range 0..11 while extfs expects range 1..12.
951 * extfs/deba.in: Likewise.
952 * extfs/debd.in: Likewise.
953 * extfs/dpkg.in: Likewise.
955 * extfs/audio: Move ...
956 * extfs/audio.in: ... here. Add CDDB support.
957 * extfs/Makefile.am: Adjust for the above.
959 2002-12-11 Pavel Roskin <proski@gnu.org>
961 * extfs/mailfs: Try using UnixDate() from Date::Manip if it's
962 available. Warning fix.
964 2002-12-11 Andrew V. Samoilov <sav@bcs.zp.ua>
966 * extfs/patchfs: Use quotemeta() before giving filename to
969 * vfs.c (mc_stat): Make first argument const.
970 (mc_lstat): Likewise.
971 * vfs.h: Adjust declarations and remove some useless defines.
973 2002-12-10 Pavel Roskin <proski@gnu.org>
975 * extfs/a: Enable Perl warnings. Ignore entries without a date.
976 Warning fixes. Don't redirect stderr to /dev/null - it doesn't
979 2002-12-09 Adam Byrtek <alpha@debian.org>
981 * extfs/patchfs: Rewritten in Perl. File size is now displayed
984 2002-12-09 Pavel Roskin <proski@gnu.org>
986 * extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
987 * extfs/ucpio.in: Remove, it's obsoleted by cpio.c.
988 * extfs/Makefile.am: Remove all references to them.
989 * extfs/extfs.ini: Likewise.
991 * extfs.c (__find_entry): When creating entries for regular
992 files, set initial permissions to S_IFREG | 0666. This fixes
993 problems with viewing and editing newly added files.
995 * extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
997 2002-12-08 Pavel Roskin <proski@gnu.org>
999 * extfs/uar.in: Fix "copyin" command.
1001 2002-12-06 Pavel Roskin <proski@gnu.org>
1003 * extfs.c (extfs_open): Don't run "copyout" if the file just has
1004 been created or O_TRUNC is given in the flags.
1005 Reported by Adam Byrtek 'alpha' <alpha@irc.pl>
1007 * extfs/uar.in: Implement "copyin" and "rm" commands.
1009 2002-12-06 Andrew V. Samoilov <sav@bcs.zp.ua>
1011 * extfs.c: Don't include ../src/profile.h.
1012 (extfs_open): Remove local_filename if copyout fails.
1014 2002-12-05 Pavel Roskin <proski@gnu.org>
1016 * extfs.h: Remove "extfsstat" from struct archive - it's unused
1017 outside open_archive(). Adjust the dependencies.
1018 * extfs.c: Make hstat local variable.
1020 * sfs.c: Remove "uid" from struct cachedfile - it's unused now.
1022 * vfs.h: Remove vfs_uid and vfs_gid. Fix all dependencies.
1024 2002-12-05 Andrew V. Samoilov <sav@bcs.zp.ua>
1026 * extfs.c (open_archive): Use open_error_pipe before popen() and
1027 close_error_pipe() if popen() fails to handle stderr.
1028 (read_archive): Use close_error_pipe() after pclose().
1030 2002-12-05 Pavel Roskin <proski@gnu.org>
1032 * ftpfs.c: Define INADDR_NONE if it's not already defined.
1033 Needed for Solaris 9.
1034 Reported by Roman Dorokhin <dorokhin@cybermail.net>
1036 2002-12-03 Andrew V. Samoilov <sav@bcs.zp.ua>
1038 * extfs.c (open_archive): Don't use open_error_pipe() and
1039 close_error_pipe() - it gets stuck on output that exceeds 4
1042 2002-12-01 Andrew V. Samoilov <sav@bcs.zp.ua>
1044 * extfs.c (open_archive): Use open_error_pipe() and
1045 close_error_pipe() to prevent stderr from extfs scripts pollute
1047 (extfs_cmd): New function to run extfs scripts and handle stderr
1049 (extfs_open): Use extfs_cmd().
1050 (extfs_close): Likewise.
1051 (extfs_unlink): Likewise.
1052 (extfs_mkdir): Likewise.
1053 (extfs_rmdir): Likewise.
1055 2002-12-01 Pavel Roskin <proski@gnu.org>
1057 * extfs/Makefile.am: Add uzip to EXTFS_OUT.
1059 2002-11-16 Pavel Roskin <proski@gnu.org>
1061 * mcserv.c (do_classic_auth): Restore support for shadow
1062 passwords. Use crypt() instead of pw_encrypt() - the later is
1063 missing on Slackware 8.0. Reported by
1064 Christian Laubscher <christian.laubscher@tiscalinet.ch>
1066 * Makefile.am: Consolidate mcserv libraries into MCSERVLIBS.
1068 2002-11-15 Pavel Roskin <proski@gnu.org>
1070 * mcserv.c: Include getopt.h, don't redefine optarg.
1072 * names.c: Only leave actually used functions.
1074 * ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1.
1076 2002-11-12 Pavel Roskin <proski@gnu.org>
1078 * fish.c (fish_which): Remove.
1080 2002-11-12 Andrew V. Samoilov <sav@bcs.zp.ua>
1082 * ftpfs.c (linear_abort): Close data socket dsock.
1084 2002-11-11 Pavel Roskin <proski@gnu.org>
1086 * vfs.h [USE_VFS] (mc_setctl): Specify argument types.
1088 * cpio.c (cpiofs_data): Warning fix in initialization.
1089 * tar.c (tarfs_data): Likewise.
1091 * vfs.c: Leave only necessary includes from ../src.
1093 2002-11-10 Pavel Roskin <proski@gnu.org>
1095 * vfs.c: Make the last argument to MC_OP non-empty in the
1096 definition of MC_HANDLEOP. Needed for Mac OS X.
1097 Reported by Wim Rijnders <wimrijnders@home.nl>
1099 2002-11-08 Pavel Roskin <proski@gnu.org>
1101 * extfs/a: Set environment to force date and time format
1102 suitable for VFS. Fix support for long filenames with spaces.
1104 2002-11-06 Andrew V. Samoilov <sav@bcs.zp.ua>
1106 * smbfs.c (new_dir_entry): Initialize st_ino, so recursive
1107 directory copying is possible now.
1108 * vfs.c (mc_get_current_wd): Make sure returned string is null
1111 2002-11-03 Pavel Roskin <proski@gnu.org>
1113 * vfs.c: Remove unused code.
1114 * vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
1116 2002-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
1118 * fish.c: Use name_quote() to quote filenames.
1119 (file_store): Close localname on error.
1121 2002-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
1123 * ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
1124 expects the client to close it.
1126 2002-10-13 Pavel Roskin <proski@gnu.org>
1128 * vfs.h: Remove tar_gzipped_memlimit.
1129 From Christian Laubscher <christian.laubscher@tiscalinet.ch>
1131 2002-10-11 Andrew V. Samoilov <sav@bcs.zp.ua>
1133 * smbfs.c (fake_share_stat): Make sure share exists by
1134 smbfs_get_path() and fill buf with realistic data
1135 if current_share_info is NULL. Reformat function.
1136 (smbfs_get_path): Add const qualifier to path.
1138 2002-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
1140 * smbfs.c: Allow username in URL (/#smb:[user@]machine) and
1141 reformat changed functions.
1142 (smbfs_get_host_and_username): Fix comment.
1143 (smbfs_fill_names): Add username@ before hostname.
1144 (smbfs_open_link): Use IPC$ if share is empty.
1145 (smbfs_get_path): Pass remote_path to smbfs_open_link().
1146 (smbfs_stat): Copy username@ to server_url if passed.
1148 2002-10-07 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
1150 * ftpfs.c (linear_abort): Add a timeout after which a reconnect
1151 is performed instead of further fetching of the remaining data.
1153 2002-10-07 Pavel Roskin <proski@gnu.org>
1155 * direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
1156 of non-portable snprintf().
1157 Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
1159 2002-10-04 Pavel Roskin <proski@gnu.org>
1161 * mcfs.c (mcfs_lseek): Explicitly cast offset to int. This fixes
1162 viewing and editing files on mcfs.
1164 * tcputil.c: Split mcfs-specific part to
1165 * mcfsutil.c: ... this.
1166 * tcputil.h: Split mcfs-specific part to
1167 * mcfsutil.h: ... this.
1168 * Makefile.am: Add mcfsutil.c and mcfsutil.h.
1169 * mcserv.c: Define own got_sigpipe, which is always 0, since
1170 mcserv doesn't call tcp_init().
1172 * Makefile.am: Don't link mcserv with glib. It's unreasonable
1173 to require a glib port for embedded systems mcserv may run on.
1174 * mcserv.c: Replace all glib calls with standard libc calls.
1175 * tcputil.c (rpc_get): Likewise.
1177 * mcserv.c (get_client): Don't try to find the address family
1178 from the hostname. Always use AF_INET, because everything else
1181 2002-10-04 Andrew V. Samoilov <sav@bcs.zp.ua>
1183 * sfs.c (vfmake): Use open_error_pipe() and close_error_pipe().
1185 2002-10-01 Andrew V. Samoilov <sav@bcs.zp.ua>
1187 * xdirentry.h: Comment out magic field everywhere.
1189 2002-10-01 Pavel Roskin <proski@gnu.org>
1191 * Makefile.am (VFSHDRS): Remove container.h.
1193 * tcputil.c (check_hooks): Remove, it does nothing. Also remove
1194 all related data structures.
1196 * tcputil.c (get_remote_port): Move to mcfs.c.
1197 (send_string): Move to mcserv.c.
1198 (rpc_add_get_callback): Remove, it's unused.
1200 * container.h: Remove, it's unused.
1202 * utilvfs.c: Remove tests, since get_host_and_username() is
1204 * mcfs.c (open_tcp_link): Make static.
1205 * tcputil.h: Remove unused definitions.
1207 2002-09-29 Pavel Roskin <proski@gnu.org>
1209 * direntry.c (vfs_s_retrieve_file): Allow interrupt by Ctrl-C.
1210 From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
1212 2002-09-26 Pavel Roskin <proski@gnu.org>
1214 * sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
1215 messages in other places.
1217 2002-09-25 Pavel Roskin <proski@gnu.org>
1219 * vfs.c (vfs_parse_filemode): Fix parsing for filenames that
1220 begin with a number.
1221 From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
1223 2002-09-24 Andrew V. Samoilov <sav@bcs.zp.ua>
1225 * smbfs.c: Undef USE_NCURSES - no needs to include *curses.h.
1226 (smbfs_loaddir): Fix warning.
1228 2002-09-21 Pavel Roskin <proski@gnu.org>
1230 * mcfs.c: Move config.h to the beginning.
1232 2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
1234 * tcputil.c [!WITH_MCFS]: Disable mcfs related code.
1235 * mcfs.c [!WITH_MCFS]: Disable all code.
1237 2002-09-16 Andrew V. Samoilov <sav@bcs.zp.ua>
1239 * smbfs.c: Don't define BOOL_DEFINED to fix compilation on
1242 2002-09-13 Andrew V. Samoilov <sav@bcs.zp.ua>
1244 * (get_stat_info): Fix some possible NULL dereferences.
1245 * smbfs.c (smbfs_set_debugf): New function to specify
1247 * smbfs.h: Declare smbfs_set_debugf().
1249 2002-09-12 Pavel Roskin <proski@gnu.org>
1251 * mcserv.c: Declare crypt if crypt.h is missing and we are not
1254 2002-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
1256 * smbfs.c (statfile_helper): Merge with loaddir_helper().
1257 (get_remote_stat): Use loaddir_helper(). Care about
1258 single_entry instead of eliminated statfile_helper().
1260 * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
1261 parameter to (*fn)() and void *state parameter.
1262 (cli_list): Likewise.
1263 (cli_RNetShareEnum): Likewise. Return int.
1264 * samba/include/proto.h: Adjust declarations.
1265 * smbfs.c: Adjust all helpers and dependencies.
1266 From Samba patchsets.
1268 * smbfs.c (loaddir_helper): Remove write permissions if file
1269 has readonly attribute. Add execute permissions for directory.
1270 Reformat whole function.
1271 (statfile_helper): Likewise.
1272 (server_browsing_helper): Add execute permissions. Reformat.
1273 (browsing_helper): Likewise.
1275 2002-09-10 Pavel Roskin <proski@gnu.org>
1277 * vfs.h: Remove BROKEN_PATHS, it's unused.
1279 * Make-alone.am: Get rid of all standalone code, it has been
1280 unmaintained for years.
1282 2002-09-05 Pavel Roskin <proski@gnu.org>
1284 * direntry.c [!USE_NETCODE]: Disable functions used in networked
1287 * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
1289 * ftpfs.c: Check for existence of arpa/inet.h when using it.
1291 * mcserv.c: Likewise.
1292 * tcputil.c: Likewise.
1293 * utilvfs.c: Likewise.
1295 2002-09-03 Pavel Roskin <proski@gnu.org>
1297 * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
1300 2002-09-02 Andrew V. Samoilov <sav@bcs.zp.ua>
1302 * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
1303 set my_errno to EINVAL - temporary fix. Reformat function.
1305 2002-09-01 Andrew V. Samoilov <sav@bcs.zp.ua>
1307 * samba/param/loadparm.c: Add global_scope variable.
1308 (parm_table): Add netbios scope parameter.
1309 * samba/lib/util.c: Remove scope variable. Use global_scope instead.
1310 * samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
1311 use global_scope instead.
1312 * samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
1313 * samba/include/proto.h: Adjust make_nmb_name() declaration.
1315 From samba 2.0.7 patchset.
1317 * samba/param/loadparm.c (lp_adduser_script): Commented out.
1318 (lp_deluser_script): Likewise.
1319 (lp_add_printer): Likewise.
1320 (lp_add_one_printer): Likewise.
1321 * samba/lib/util.c (reduce_name): Likewise.
1322 (transfer_file): Likewise.
1324 * smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
1326 2002-08-26 Pavel Roskin <proski@gnu.org>
1328 * extfs/urar.in: Use rar if unrar is missing.
1329 From PLD Linux Distribution.
1331 * extfs/a: Use more portable way to redirect all output to
1332 /dev/null. From PLD Linux Distribution.
1334 2002-08-24 Pavel Roskin <proski@gnu.org>
1336 * vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
1339 2002-08-23 Pavel Roskin <proski@gnu.org>
1341 * Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
1344 2002-08-22 Pavel Roskin <proski@gnu.org>
1346 * mcserv.c: Remove old-style Linux-only support for shadow
1348 * Makefile.am: Remove reference to SHADOWLIB.
1350 2002-08-21 Andrew V. Samoilov <sav@bcs.zp.ua>
1352 * ftpfs.c (dir_load): Don't handle empty remote_path in special
1355 2002-08-19 Pavel Roskin <proski@gnu.org>
1357 * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow.
1359 * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
1360 child if execvp() fails.
1362 * sfs.c: Don't use flag EXECUTE_SETUID because it's being
1363 removed as insecure and EXECUTE_WAIT because it has no effect.
1364 * extfs.c: Likewise.
1366 * mcfs.c [!WITH_MCFS]: Disable most code.
1368 2002-08-18 Pavel Roskin <proski@gnu.org>
1370 * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit.
1372 2002-08-15 Pavel Roskin <proski@gnu.org>
1374 * vfs.c (mc_def_getlocalcopy): Preserve existing extension.
1376 * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
1379 * extfs.c (s_readdir): Simplify.
1380 * direntry.c (vfs_s_readdir): Use vfs_dirent.
1381 * mcfs.c (mcfs_readdir): Likewise.
1382 * smbfs.c (smbfs_readdir): Likewise.
1383 * undelfs.c (undelfs_readdir): Use vfs_dirent and
1386 * vfs.h: Introduce union vfs_dirent to ensure that we have
1387 enough space for the filename.
1388 * extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
1390 * direntry.c (vfs_s_readdir): Use compute_namelen().
1391 * extfs.c (s_readdir): Likewise.
1392 * mcfs.c (mcfs_readdir): Likewise.
1393 * smbfs.c (smbfs_readdir): Likewise.
1395 2002-08-14 Pavel Roskin <proski@gnu.org>
1397 * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
1400 2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
1402 * smbfs.c (myumask): Removed. It is only written and never read.
1403 (smbfs_init): Use PATH_SEP_STR and reformat.
1405 2002-08-01 Pavel Roskin <proski@gnu.org>
1407 * mcserv.c: Remove all references to MAD.
1410 2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
1412 * samba/libsmb/clientgen.c (cli_send_tconX): Add missing
1414 (cli_printjob_del): Commented out.
1415 (cli_print_queue): Ditto.
1416 * samba/lib/system.c (sys_waitpid): Ditto.
1417 * samba/lib/util.c (reg_split_key): Ditto.
1418 (reg_get_subkey): Ditto.
1420 2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
1422 * samba/configure.in: Don't check for union semun.
1423 * samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
1424 declare union semun.
1426 2002-07-26 Pavel Roskin <proski@gnu.org>
1428 * direntry.c (vfs_s_find_entry_linear): Canonicalize path before
1431 2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
1433 * xdirentry.h (vfs_s_fh.u.fish): Add append field.
1434 * fish.c (fish_fh_open): Care about append.
1435 (linear_open): Likewise.
1436 (fish_store): Append data to target file if append is true.
1438 * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
1439 file to fix compilation.
1440 (main): Add mad_init() and mad_finalize().
1442 2002-07-19 Pavel Roskin <proski@gnu.org>
1444 * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
1446 (dir_load): Update SUP.cwdir.
1447 * xdirentry.h: Remove "home" field for fish and ftpfs.
1449 * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
1450 * direntry.c: Likewise.
1452 * ftpfs.c: Likewise.
1454 * fish.c (fish_fill_names): New function, replacement for
1455 generic vfs_s_fill_names() which didn't work right with fish.
1457 * undelfs.c (undelfs_opendir): Use parametrized messages without
1458 VFS name for success and failure.
1459 * fish.c (dir_load): Use new messages from undelfs.c, indicate
1460 success by printing "done".
1461 * ftpfs.c (dir_load): Likewise.
1463 2002-07-15 Pavel Roskin <proski@gnu.org>
1465 * cpio.c (cpio_read_crc_head): Undo change in the error message.
1467 * ftpfs.c: Replace bzero and bcopy with memset and memcpy.
1469 * mcserv.c: Likewise.
1470 * smbfs.c: Likewise.
1473 2002-07-14 Pavel Roskin <proski@gnu.org>
1475 * fish.c (open_archive_int): Don't combine "export" and
1476 assignment into one command - it's not portable. Set LC_TIME
1479 * fish.c (open_archive_int): Set remote locale to C, otherwise
1480 timestamps cannot be parsed in some locales.
1482 2002-07-12 Pavel Roskin <proski@gnu.org>
1484 * fish.c (file_store): Reduce input block size to 256 bytes,
1485 otherwise dd gets partial blocks.
1487 * ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
1489 * ftpfs.c (ftp_split_url): Implement looking up password in
1490 .netrc for known user.
1492 * ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
1494 (netrc_has_incorrect_mode): Don't free anything, it can result
1495 in freeing some variables twice.
1496 (find_machine): New function to find matching "machine" or
1498 (lookup_netrc): Eliminate external loop - scan for login and
1499 password, but don't fallback to another string in case of
1502 * ftpfs.c: Introduce enum keyword_t to improve readability.
1503 (netrc_next): Fix return value for unknown keywords.
1504 (lookup_netrc): Remove special processing of "*netrc*".
1506 * ftpfs.c (ftp_split_url): Move protection against pass being
1508 (lookup_netrc): ... here.
1510 2002-07-11 Pavel Roskin <proski@gnu.org>
1512 * xdirentry.h: Eliminate use_proxy field.
1513 * ftpfs.c (open_archive_int): Use SUP.proxy instead of
1515 (open_archive): Set SUP.proxy to ftpfs_proxy_host.
1516 * ftpfs.h: Eliminate unused structures.
1518 * vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
1519 * utilvfs.c (vfs_split_url): Return NULL as username if
1520 URL_ALLOW_ANON is set and no username is found in the URL,
1521 otherwise use current name.
1522 * ftpfs.c (ftp_split_url): New function - split URL and look up
1523 username and password if needed.
1524 (login_server): Use ftp_split_url().
1525 (archive_same): Likewise.
1527 2002-07-10 Pavel Roskin <proski@gnu.org>
1529 * tcputil.h: Move use_netrc declaration ...
1531 * ftpfs.c: Implement .netrc support unconditionally.
1532 (lookup_netrc): Make static.
1533 * utilvfs.c: Initialize default_is_netrc.
1534 From Thomas Zajic <zlatko@gmx.at>
1536 * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
1537 this flag is for VFS only, and causes side effects in Cygwin.
1538 * extfs.c (extfs_open): Likewise.
1539 * sfs.c (sfs_open): Likewise.
1540 Reported by Pavel Tsekov <ptsekov@gmx.net>
1542 2002-07-03 Pavel Roskin <proski@gnu.org>
1544 * ftpfs.c (setup_passive): Cast arguments to isdigit() to
1545 unsigned char for compatibility with non-GNU libc.
1546 * tar.c (from_oct): Likewise with isspace().
1547 Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
1549 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
1551 * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
1552 instead of #vfsname/filename/dir. Use PATH_SEP_STR.
1554 * sfs.c (sfs_free): Fix memory leak.
1555 (sfs_init): Use PATH_SEP_STR.
1557 2002-07-03 Pavel Roskin <proski@gnu.org>
1559 * cpio.c (cpio_open_cpio_file): Fix type initialization.
1560 From Andrew V. Samoilov <kai@cmail.ru>
1562 2002-07-02 Pavel Roskin <proski@gnu.org>
1564 * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
1565 extfs. Remove parts that are now handled by samba/Makefile.
1566 * samba/Makefile.in: Add more empty targets for Automake
1569 * ftpfs.c (send_ftp_command): Use "anonymous@" as default
1571 From Eduardo Perez Ureta <eperez@it.uc3m.es>
1573 2002-06-25 Pavel Roskin <proski@gnu.org>
1575 * vfs.c: Add protection against NULL strings to all is_*()
1578 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
1580 * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
1581 PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
1582 before including "samba/include/config.h" to prevent warnings.
1583 (smbfs_init): Set DEBUGLEVEL to 0.
1584 (do_connect): Rename to ...
1585 (smbfs_do_connect): ... this to avoid namespace clash and
1586 make static. Make server const. Adjust all callers.
1587 (smbfs_add_dots): Remove.
1588 (smbfs_stat): Remove code duplication.
1589 (smbfs_lstat): Define as smbfs_stat.
1591 * samba/lib/system.c (sys_ftruncate): Commented out.
1592 * samba/lib/util.c (set_filelen): Likewise.
1593 (setbuffer): Likewise.
1595 * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
1596 * samba/tests/ftruncate.c: Removed.
1597 * samba/configure.in: Don't check if ftruncate() can
1600 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
1602 * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
1603 of char*[]. Remove unneeded casts. Fix error message.
1604 (cpio_create_entry): G_free name. Fix offset calculation
1607 2002-05-22 Pavel Roskin <proski@gnu.org>
1609 * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
1610 it breaks "make distcheck".
1612 * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
1613 to override the default.
1615 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
1617 * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
1618 (vfs_s_data.file_store): Change second argument
1620 * direntry.c (vfs_s_close): Adjust.
1621 * fish.c (file_store): Likewise.
1622 * ftpfs.c (file_store): Likewise. Use "APPE" if
1623 fh->u.ftp.append is true.
1624 (linear_start): Care about fh->u.ftp.append.
1625 (ftpfs_fh_open): Likewise.
1627 * fish.c (fish_fh_open): Generate fh->ino->localname
1628 if this one is NULL and file is opened for writing only.
1629 * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
1632 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
1634 * direntry.c (vfs_s_retrieve_file): Please, care about
1636 * fish.c (linear_close): ... here.
1638 * ftpfs.c (linear_read): Unset control_connection_buzy on EOF.
1639 (ftpfs_fh_close): Call vfs_s_invalidate ().
1641 * fish.c (fish_fh_open): Don't retrieve file if it is
1642 opened for writing only.
1644 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
1646 * xdirentry.h (vfs_s_super): Add control_connection_buzy
1647 field to ftp struct.
1649 * ftpfs.c (linear_start): Set control_connection_buzy.
1650 (linear_abort): Unset control_connection_buzy.
1651 (ftpfs_fh_open): Don't retrieve file if it is
1652 opened for writing only. Open data connection as
1653 fh->handle and unlink/unset local temporary file
1654 if control connection isn't buzy.
1655 (ftpfs_fh_close): New function to serve opened in
1656 ftpfs_fh_open() data connection. Unset fh->changed
1657 to prevent MEDATA->file_store() call from vfs_s_close().
1659 * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
1660 (vfs_s_open): ... here.
1662 * samba/include/includes.h: Eliminate all references to
1665 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
1667 * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
1668 if USE_SAMBA_FS is true.
1669 (libvfs-mc.a): Don't merge object files with libsamba.a.
1671 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
1673 * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
1675 * vfs.c (MC_RENAMEOP): Make arguments const.
1676 * vfs.h (mc_rename): Adjust declaration.
1677 (mc_link): Likewise.
1679 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
1681 * samba/configure.in: Add AC_SYS_LARGEFILE.
1682 Don't check atexit, setreuid, setregid, setegid and setluid.
1684 2002-04-31 Pavel Roskin <proski@gnu.org>
1686 * samba/acconfig.h: Remove.
1687 * Makefile.am: Remove references to samba/acconfig.h.
1688 * samba/Makefile.in: Likewise.
1689 * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
1690 * samba/configure.in: Add descriptions to AC_DEFINE calls.
1691 Remove unused tests.
1692 * samba/include/includes.h: Cleanup for the symbols that
1693 samba/configure.in doesn't define.
1694 * samba/lib/netmask.c: Likewise.
1696 * samba/include/includes.h: Eliminate all references to
1697 HAVE_EXPLICIT_LARGEFILE_SUPPORT.
1698 * samba/lib/system.c: Likewise.
1700 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
1702 * vfs.c (vfs_print_stats): s/transfered/transferred/
1704 * samba/lib/signal.c: Remove.
1706 * samba/lib/debug.c (sig_usr2): Commented out.
1707 (sig_usr1): Likewise.
1708 * samba/lib/util_file.c (gotalarm): Commented out.
1709 (gotalarm_sig): Likewise.
1710 (do_file_lock): Likewise.
1711 (file_lock): Likewise.
1712 (file_unlock): Likewise.
1713 (startfilepwent): Likewise.
1714 (endfilepwent): Likewise.
1716 * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
1717 * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
1719 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
1721 * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
1723 2002-04-12 Pavel Roskin <proski@gnu.org>
1725 * extfs/trpm: update to work with rpm 4.x.
1726 Reported by m.lusini@palazzochigi.it
1727 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
1729 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
1731 * cpio.c (cpio_skip_padding): Handle old ASCII format.
1733 2002-04-08 Pavel Roskin <proski@gnu.org>
1735 * samba/configure.in: Require Autoconf 2.52 to make Debian
1736 wrapper around Autoconf happy.
1737 From Björn Eriksson <bjorn@bjornen.nu>
1739 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
1741 * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
1742 (vfs_s_retrieve_file): Set fh->handle to -1.
1743 (vfs_s_read): Don't manipulate with FH->handle if it is -1.
1744 (vfs_s_write): Likewise.
1745 (vfs_s_close): Likewise.
1747 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
1749 * samba/lib/debug.c: Remove syslog support.
1751 2002-02-19 Pavel Roskin <proski@gnu.org>
1753 * Makefile.am: Don't compile mcserv if VFS is disabled.
1754 * extfs/Makefile.am: Don't install anything if VFS is disabled.
1756 * extfs.c (extfs_open): Only create a new entry if it has not
1757 been found and O_CREAT is set. Consider file as changed only
1758 if it has been successfully created.
1759 (extfs_getlocalcopy): Open file only for reading. This prevents
1760 marking file as changed. Actually use the has_changed argument.
1761 Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
1763 2002-02-12 Pavel Roskin <proski@gnu.org>
1765 * extfs/lslR.in: Fix parsing of old entries (with year number).
1766 From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
1768 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
1770 * direntry.c (vfs_s_retrieve_file): Use off_t for total
1772 (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
1774 * vfs.c (vfs_print_stats): Use off_t for have and need.
1775 Cast `have' to double to eliminate negative percent(s).
1776 Fix print_vfs_message string formats.
1778 * vfs.h (vfs_print_stats): Adjust declaration.
1780 * ftpfs.c (file_store): Use off_t for total.
1781 Fix print_vfs_message string format.
1783 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
1785 * ftpfs.c (dir_load): Speed up cd_first calculation.
1786 (ftpfs_flushdir): Resurrect.
1788 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
1790 * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
1791 to eliminate problem with wu-ftpd.
1792 Close sock on error. Eliminate goto.
1794 (ftpfs_chmod): Don't ignore errors.
1796 (reconnect): Restore cwdir if login_server fails.
1798 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
1800 * ftpfs.c (translate_path): Remove leading slash(es) more
1802 (initconn): Check getsockname() return value.
1804 (linear_abort): Make ipbuf const array.
1806 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
1808 * ftpfs.c (reconnect): New function to restore closed connection.
1809 (command): Use reconnect if EPIPE received.
1810 (dir_load): Eliminate recursion.
1811 (login_server): Constify netrcpass parameter.
1812 (is_same_dir): Constify path parameter.
1814 * samba/lib/charset.c (cp_850): Make const array.
1816 (codepage_p): Likewise.
1817 * samba/lib/debug.c (priority_map): Make const array.
1818 * samba/lib/username.c (get_home_dir): Make pass auto.
1819 * samba/lib/util.c (become_daemon): Commented out.
1822 2002-01-24 Pavel Roskin <proski@gnu.org>
1824 * cpio.c: Don't include glib.h directly.
1826 2002-01-22 Pavel Roskin <proski@gnu.org>
1828 * extfs/uzip: Fix unsafe printf.
1829 Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
1831 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
1833 * ftpfs.c (ftpfs_chmod): Add missed '/'.
1835 2002-01-21 Pavel Roskin <proski@gnu.org>
1837 * vfs.h: Remove all tricks with system headers, they all should
1839 * cpio.c: Include utilvfs.h earlier.
1842 * vfs.h: Include dirent.h only if it's present.
1844 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
1847 * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
1848 returns. Make mc_return_cwd static const char *.
1849 Reorder if statement to eliminate unneeded mc_stat calls.
1851 2002-01-17 Pavel Roskin <proski@gnu.org>
1853 * vfs.h: Remove OS/2 specific code.
1855 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
1857 * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
1858 if smbfs support is enabled.
1860 * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
1862 2002-01-02 Pavel Roskin <proski@gnu.org>
1864 * Makefile.am: Add *clean-local targets to take care of the
1867 * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
1868 this setting is not inherited from the top-level configure.
1870 2001-12-31 Pavel Roskin <proski@gnu.org>
1872 * Make-mc.in: convert to ...
1873 * Makefile.am: ... this.
1875 * Makefile.am: rename to ...
1876 * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
1877 and Makefile.am to coexist peacefully unless the former is
1878 generated from the later.
1879 * Make-mc.in: Remove all references to the standalone VFS.
1881 2001-12-18 Pavel Roskin <proski@gnu.org>
1883 * extfs/ulha.in: Support for "[unknown]" and other permissions
1884 in brackets. Pass the date unchanged - mc can now deal with it.
1885 Use "lha lq" to list the archive and don't remove headers and
1886 footers of the listing.
1888 2001-11-14 Pavel Roskin <proski@gnu.org>
1890 * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
1893 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
1895 * samba/acconfig.h: Remove WITH_SYSLOG.
1896 * samba/lib/system.c (sys_chroot): Removed.
1897 * samba/configure.in: Remove RUNPROG. Don't check
1898 for chroot and execl functions.
1899 Remove syslog logging support.
1900 Add --with-codepagedir and --with-configdir from samba 2.2.2.
1902 * samba/Makefile.in: Use configdir and codepagedir.
1904 2001-11-08 Pavel Roskin <proski@gnu.org>
1906 * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
1908 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
1910 * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
1911 entries into the linked list.
1912 (smbfs_loaddir): Call smbfs_add_dots() for shares or servers.
1913 (smbfs_get_free_bucket): Eliminate time.
1914 (fake_share_stat): Make path const.
1916 * samba/configure.in: Don't check whether getpass
1919 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
1921 * vfs.c (mc_return_cwd): Memory leak fixed.
1923 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
1925 * samba/smblib/pwd_cache.c (pwd_read): Commented out.
1926 * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
1927 * samba/lib/getsmbpass.c: Removed.
1929 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
1931 * smbfs.c: Include <config.h> before everything else.
1932 Don't include "tcputil.h".
1933 (myhostname): Declare extern.
1935 (loaddir): Simplify.
1936 (fake_share_stat): Declare server_url const.
1937 Use "%4o" for st_mode.
1938 (fake_server_stat): Likewise. Return -1 if server_list != True.
1940 (get_master_browser): Declare ipzero extern.
1941 By David Kaelbling <drk@sgi.com>.
1942 http://bugzilla.gnome.org/show_bug.cgi?id=60933
1944 * cpio.c (cpio_read_bin_head): Release name if mc_read() fails.
1945 (cpio_read_crc_head): Likewise.
1947 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
1949 * cpio.c (cpio_read_crc_head): Fix buffer overflow.
1950 (cpio_read_oldc_head): Likewise.
1951 By David Kaelbling <drk@sgi.com>.
1952 http://bugzilla.gnome.org/show_bug.cgi?id=60933
1954 * (cpio_read_oldc_head): Release name if mc_read() fails.
1956 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
1958 * tcputil.c (rpc_get): Add missing va_end()s.
1960 * smbfs.h: Declare smbfs_set_debug().
1962 2001-10-20 Pavel Roskin <proski@gnu.org>
1964 * ftpfs.c (command): Declare with the printf attribute.
1965 * undelfs.c: Remove declaration of print_vfs_message().
1967 * fish.c (file_store): Fix incorrect format string
1968 for print_vfs_message().
1969 * ftpfs.c (file_store): Likewise.
1971 2001-10-19 Pavel Roskin <proski@gnu.org>
1973 * fish.c (command): Declare with the printf attribute to enable
1975 (file_store): Cast all expressions with file sizes to unsigned
1976 long. This should fix uploading when large file support is on.
1977 File size is limited to 4096 * ULONG_MAX for now.
1979 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
1981 * samba/configure.in: Don't check readline.h, history.h and
1984 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
1986 * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
1987 "out of server memory" error. From samba 2.0.7 patchset.
1989 2001-10-07 Pavel Roskin <proski@gnu.org>
1991 * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
1992 are not supported locally. Support Solaris doors, also fall
1995 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
1997 * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
2000 2001-10-01 Pavel Roskin <proski@gnu.org>
2002 * vfs.h [!USE_VFS]: Define macros with no effect to an empty
2003 statement "do { } while (0)".
2005 2001-09-30 Pavel Roskin <proski@gnu.org>
2007 * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
2009 2001-09-17 Pavel Roskin <proski@gnu.org>
2011 * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
2012 mc_fstat() because they don't expand correctly on Solaris 8 with
2015 2001-09-10 Pavel Roskin <proski@gnu.org>
2017 * Make-mc.in: Use USE_VFS conditional instead of relying on
2020 2001-09-07 Pavel Roskin <proski@gnu.org>
2022 * Make-mc.in: Include necessary parts of Make.common to
2023 eliminate the later.
2025 2001-08-23 Pavel Roskin <proski@gnu.org>
2027 * names.c (finduname): Don't use HAVE_GETPWUID - it's never
2028 defined. Don't redeclare getpwuid().
2029 (findgname): Don't use HAVE_GETGRGID - it's never defined.
2030 Don't redeclare getgrgid().
2032 * fish.c: Remove useless semicolons after functions.
2034 2001-08-19 Pavel Roskin <proski@gnu.org>
2036 * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
2037 Disallow st_nlink = 0.
2039 2001-08-18 Pavel Roskin <proski@gnu.org>
2041 * cpio.c (cpio_read_head): Check return value of cpio_find_head,
2042 because it's not equal to super->u.cpio.type in case of errors.
2044 2001-08-16 Pavel Roskin <proski@gnu.org>
2046 * direntry.c (vfs_s_free_super): Remove i18n on commented out
2047 developer-only code.
2049 * extfs.c (extfs_init): Internationalize error message, it's
2052 2001-08-11 Pavel Roskin <proski@gnu.org>
2054 * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
2056 2001-08-07 Pavel Roskin <proski@gnu.org>
2058 * extfs.h: Move private structures ...
2059 * extfs.c: ... here.
2061 * extfs.h (struct entry): Remove unused `has_changed' field.
2062 It's only written but never read.
2063 (struct inode): Likewise.
2064 * extfs.c: All dependencies changed.
2065 (extfs_open): Mark file as changed if it's open for writing.
2067 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
2069 * extfs/uzip: Update to version 1.4.0.
2070 * extfs/README.uzip: Likewise.
2072 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
2074 * smbfs.c: Eliminate smbfs_get_free_bucket_init(). convert_path()
2075 gives malloc()ed filename, so this memory must be released after use.
2077 (reconnect): Fix segmentation fault.
2078 (smbfs_loaddir): Don't g_stirrup() path.
2079 (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init() and
2080 smbfs_connections initialization.
2081 (smbfs_open_link): Likewise. Release host after get_master_browser().
2082 (get_stat_info): Fix unneeded g_startup/g_free calls.
2083 (smbfs_mkdir): Release path after use.
2084 (smbfs_mkdir): Likewise.
2085 (smbfs_open): Fix memory leak.
2086 (smbfs_unlink): Likewise. Fix error message.
2087 (smbfs_rename): Fix memory leaks.
2088 (smbfs_stat): Fix url parsing.
2090 * samba/lib/charging.c (unix2dos_format): Fix possible buffer overflow.
2091 (dos2unix_format): Likewise.
2093 * ftpfs.c (ftpfs_fill_names): New function.
2094 (vfs_ftpfs_ops): Use ftpfs_fill_names instead of vfs_s_fill_names.
2096 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
2098 * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
2100 * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
2101 * ftpfs.h (struct connection): Remove result_pending field.
2103 * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
2104 * smbfs.c (new_dir_entry): New function with repeated code from
2105 browsing_helper(), loaddir_helper() and server_browsing_helper().
2106 (browsing_helper): Use new_dir_entry().
2107 (loaddir_helper): Likewise.
2108 (server_browsing_helper): Likewise.
2110 (cached_lstat_info): Eliminated.
2111 (smbfs_readdir): Make dirent_dest static const.
2112 Eliminate cached_lstat_info.
2113 (smbfs_open_link): Make user parameter const. Fix memory leak.
2114 (fake_server_stat): Make path parameter const. Simplify.
2115 (smbfs_fstat): Set my_errno to EFAULT before return.
2117 2001-08-01 Pavel Roskin <proski@gnu.org>
2119 * Make-mc.in: Make it possible to run "make install" before
2120 "make all". Use more Automake-compatible target names.
2122 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
2124 * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
2125 (do_connect): Simplify.
2126 (get_stat_info): Simplify. Eliminate another fake_stat.
2127 (smbfs_chdir): Release remote_dir after use.
2128 (smbfs_stat): Likewise. Fix another 2 memory leaks.
2129 (smbfs_mkdir): Release remote_file after use.
2130 (smbfs_rmdir): Likewise.
2131 (smbfs_open): Likewise. Indentation fixes.
2132 (smbfs_unlink): Likewise.
2133 (smbfs_rename): Release rb and ra after use.
2134 (search_dir_entry): Make text parameter const.
2135 (smbfs_get_host_and_username): Make macro.
2137 2001-07-20 Pavel Roskin <proski@gnu.org>
2139 * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
2140 From Ludovic Drolez <ludovic.drolez@freealter.com>.
2142 2001-07-17 Pavel Roskin <proski@gnu.org>
2144 * vfs.c (mc_return_cwd): Use g_get_current_dir().
2146 2001-07-15 Pavel Roskin <proski@gnu.org>
2148 * smbfs.c: Rename authinfo to smb_authinfo and
2149 authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
2150 and remove their definitions.
2151 * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
2153 2001-07-10 Pavel Roskin <proski@gnu.org>
2155 * extfs.c: Include contents of shared_tar_ext.c - it's no
2157 * shared_tar_ext.c: Remove.
2158 * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
2160 * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
2161 filesystem. Don't translate it.
2163 2001-07-09 Pavel Roskin <proski@gnu.org>
2165 * tar.c (ReadStatus): Fix compilation on AIX.
2166 From Dan McNichol <mcnichol@austin.ibm.com>.
2168 * extfs/mailfs: Strip trailing DOS newlines from mail files.
2169 From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
2171 * fish.c (fish_chown): Do nothing and return success if
2172 getpwuid() or getgrgid() fails.
2174 2001-07-05 Pavel Roskin <proski@gnu.org>
2176 * README.fish: Spelling fixes.
2178 2001-06-29 Pavel Roskin <proski@gnu.org>
2180 * Make-mc.in: Don't ever link mcserv with libintl - it must not
2183 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
2185 * smbfs.c: Include <config.h>. Make all internal variables static.
2186 (get_stat_info): Eliminate fake_stat, memory leak fixed.
2187 (IPC, URL_HEADER): Make static const.
2188 (smbfs_stat): Fix segmentation violation.
2189 (statfile_helper): Allocate memory for single_entry once. It is never
2190 freed now, and only my_stat element of this structure is used.
2192 2001-06-26 Pavel Roskin <proski@gnu.org>
2194 * vfs.h: Don't include <config.h>.
2196 2001-06-25 Pavel Roskin <proski@gnu.org>
2198 * cpio.c: Include <config.h> before everything else.
2199 * direntry.c: Likewise.
2201 * ftpfs.c: Likewise.
2202 * local.c: Likewise.
2204 * utilvfs.h: Don't include <config.h> - it should be included
2205 in all C files instead.
2206 * xdirentry.h: Likewise.
2208 2001-06-19 Pavel Roskin <proski@gnu.org>
2210 * local.c (local_telldir): Warn and abort if telldir() is not
2212 (local_seekdir): Warn and abort if seekdir() is not available.
2214 2001-06-18 Pavel Roskin <proski@gnu.org>
2216 * tcputil.c (sig_pipe): Use the same declaration with one int
2217 argument - it's used everywhere else and it fixes a warning on
2218 systems unlisted in the ifdef, e.g. OpenBSD.
2220 2001-06-14 Pavel Roskin <proski@gnu.org>
2222 * ftpfs.c: Declare functions without declarations static. Don't
2223 omit `void' in declarations.
2225 * direntry.c: Likewise.
2226 * extfs.c: Likewise.
2231 * mcserv.c: Likewise. Remove unused functions.
2233 * util-alone.c: Use indented #error.
2234 * vfs.h: Use indented #warning instead of hiding it from non-gcc
2237 2001-06-11 Pavel Roskin <proski@gnu.org>
2239 * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
2240 This avoids creating long filenames in dirent.c when the "name"
2242 * extfs.c (vfs_extfs_ops): Likewise.
2243 * fish.c (vfs_fish_ops): Likewise.
2244 * ftpfs.c (vfs_ftpfs_ops): Likewise.
2245 * local.c (vfs_local_ops): Likewise.
2246 (vfs_nil_ops): Likewise.
2247 * mcfs.c (vfs_mcfs_ops): Likewise.
2248 * sfs.c (vfs_sfs_ops): Likewise.
2249 * tar.c (vfs_tarfs_ops): Likewise.
2250 * undelfs.c (vfs_undelfs_ops): Likewise.
2252 2001-06-07 Pavel Roskin <proski@gnu.org>
2254 * sfs.c (sfs_init): Change some warning messages to simplify
2257 2001-06-06 Pavel Roskin <proski@gnu.org>
2259 * shared_ftp_fish.c: Remove.
2260 * Make-mc.in: Remove shared_ftp_fish.c.
2261 * Makefile.am: Likewise.
2263 2001-06-02 Pavel Roskin <proski@gnu.org>
2265 * vfs.c (vfs_canon): s/canonize/canonicalize/.
2267 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
2269 * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds,
2270 ftpfs_first_cd_then_ls, ftpfs_use_passive_connections and
2271 ftpfs_use_unix_list_options.
2273 * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
2275 (is_week): Unmade week static.
2276 (is_month): Unmade month static.
2277 (vfs_parse_ls_lga): Optimize memory usage.
2279 * .cvsignore: *.sor added.
2280 * sfs.c (sfs_init): Optimized.
2282 * vfs/samba/lib/util_sock.c (socket_options): Made static const.
2284 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
2286 * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
2287 use mc_home to make mc relocatable.
2288 * util-alone.c (shell): ... here
2290 2001-05-27 Pavel Roskin <proski@gnu.org>
2292 * fish.c: Redirect stderr of all commands to /dev/null.
2294 2001-05-25 Pavel Roskin <proski@gnu.org>
2296 * sfs.c (vfs_sfs_ops): Typo fix.
2298 2001-05-22 Pavel Roskin <proski@gnu.org>
2300 * vfs.c (vfs_split_text): Fill `columns' with zeroes before
2301 writing new data into it.
2303 * fish.c (free_archive): Use `exit' instead of `logout' - the
2304 later fails under non-login shells.
2305 (pipeopen): Redirect stderr of ssh to /dev/null.
2307 (dir_load): Redirect stderr of ls to /dev/null.
2308 (linear_start): Likewise.
2310 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
2312 * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
2313 (clean): Remove *.so.
2315 * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
2316 ../src/tty.h and ../src/global.h.
2318 (password, username): Made static.
2319 (is_error): Commented out.
2320 (loaddir_helper): Don't ignore hidden files, style fixes.
2321 (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
2323 (do_connect): Call cli_shutdown() and authinfo_remove() if
2324 cli_session_setup() fails. It is not good idea to remember
2325 wrong username/password.
2327 (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
2328 (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
2330 2001-05-22 Pavel Roskin <proski@gnu.org>
2332 * sfs.c (redirect): Don't free the filename after failed
2333 mc_mkstemps() - it's not needed anymore.
2335 2001-05-21 Pavel Roskin <proski@gnu.org>
2337 * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
2338 temporary file to reserve its name on the filesystem.
2339 (vfs_s_retrieve_file): Use mc_mkstemps().
2340 (g_tempnam): Remove.
2341 * extfs.c (extfs_open): Use mc_mkstemps().
2342 * sfs.c (redirect): Likewise.
2343 * shared_ftp_fish.c (_get_file_entry): Likewise.
2344 (retrieve_file): Likewise.
2345 * vfs.c (mc_def_getlocalcopy): Likewise.
2346 * xdirentry.h: Remove declaration of g_tempnam().
2348 2001-05-18 Pavel Roskin <proski@gnu.org>
2350 * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
2351 with NULL to suppress compiler warning.
2353 2001-05-14 Pavel Roskin <proski@gnu.org>
2355 * ftpfs.c: Warning fixes.
2357 * utilvfs.h: Include background.h.
2358 * cpio.c: Include utilvfs.h.
2360 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
2362 * Make-mc.in: add possibility to build libvfs.so
2364 2001-04-19 Pavel Roskin <proski@gnu.org>
2366 * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
2367 rpm output varies between versions.
2368 (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
2369 filenames beginning with "./" - they are used in the version 4
2372 2001-04-17 Pavel Roskin <proski@gnu.org>
2374 * fish.c (open_archive_int): Redirect stderr of start_fish_server
2375 to stdout so we don't get confused if it doesn't exist.
2377 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
2379 * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
2380 NULL when suitable error message can't be found as it is expected
2381 in cli_errstr(). Return type changed to const char *
2383 * smbfs.c (smbfs_fill_names): implemented
2385 (smbfs_stat): unneeded g_strdup/g_free calls removed
2386 (smbfs_loaddir): memory leaking fixed
2388 * samba/libsmb/clientgen.c (rap_errmap, prots): constified
2390 2001-04-06 Pavel Roskin <proski@gnu.org>
2392 * Make-mc.in: Use a single variable SAMBA_DIST to hold all
2393 distributable samba files.
2395 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
2397 * samba/libsmb/smbdes.c: Undefine uchar before redefine it
2399 * smbfs.c (smbfs_close): Honor changed semantics for return value
2400 (on error -1 is expected).
2402 * (fs): It is at least strange use char * for counter. Changed to int
2404 2001-03-14 Pavel Roskin <proski@gnu.org>
2406 * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
2407 Remove any knowledge of SAMBAFILES. Merge object files with
2408 libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
2409 to the `samba' directory. Don't ignore errors from ranlib.
2411 * samba/Makefile.in: Make *clean targets Automake-compatible.
2412 Don't ignore errors from `rm'.
2414 * samba/configure.in: Use AC_CHECK_TOOL to find AR.
2415 * samba/Makefile.in: Remove useless rules, including defunct
2416 dependency tracking. Create libsamba.a from the object files.
2418 2001-03-07 Pavel Roskin <proski@gnu.org>
2420 * cpio.c (cpio_skip_padding): Warning fix.
2421 * fish.c (dir_load): Likewise.
2424 * extfs/uzip: New file from Oskar Liljeblad.
2425 * extfs/README.uzip: Likewise.
2426 * extfs/Makefile.am: Adjust for constant uzip.
2428 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
2430 * extfs/*uzip*: replace uzip with perl version by
2431 Oskar Liljeblad <osk@hem.passagen.se>
2433 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
2435 * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
2436 (vfs_strip_suffix_from_filename): filename constified
2437 (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
2440 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
2442 * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
2443 so use LC_ALL=C to override any locale
2444 * smbfs.c (smbfs_open_link): service initialized
2445 * (my_forget): new features of vfs_split_url used
2447 2001-03-01 Pavel Roskin <proski@gnu.org>
2449 * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
2450 Reported by Christian Gennerat.
2452 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
2454 * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
2456 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
2458 * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
2459 "K. Leif D. Van Horn" <leif@kaivo.com>)
2461 2001-02-23 Pavel Roskin <proski@gnu.org>
2463 * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
2464 Don't hardcode gawk. Don't rely on the date format occupying a
2465 fixed number of fields.
2467 * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
2468 the real file - check usage info instead. Use more robust checks
2469 for valid lines. Suppress stderr from unzip. Workaround for jar
2470 files - fix mode for files ending with slash.
2472 2001-02-20 Pavel Roskin <proski@gnu.org>
2474 * vfs.h: Include sys/timeb.h if it's present. Include time.h and
2475 sys/time.h as recommended by Autoconf documentation.
2476 * cpio.c: Remove all time-related includes - they are in vfs.h.
2477 * extfs.c: Likewise.
2478 * ftpfs.c: Likewise.
2480 * mcserv.c: Likewise.
2482 * util-alone.c: Likewise.
2483 * vfs.c: Likewise. Include xdirentry.h.
2485 * extfs.c: Include xdirentry.h. Undefine ERRNOR before
2488 2001-02-19 Pavel Roskin <proski@gnu.org>
2490 * shared_tar_ext.c (__find_entry): Make sure that the parent is a
2491 directory even if the child is not.
2493 * extfs/mailfs (parse_date): Correctly handle two-digit years
2494 between 1970 and 1999.
2496 2001-02-14 Pavel Roskin <proski@gnu.org>
2498 * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
2499 checking for ctime() format.
2502 2001-02-11 Pavel Roskin <proski@gnu.org>
2504 * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
2505 for dates found in AOLMail(SM) messages. Accept single-digit
2506 hours and missing seconds. Provide a fallback if cannot parse
2508 (process_header): Typo fix. Use \s instead of space in regular
2511 2001-02-10 Pavel Roskin <proski@gnu.org>
2513 * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
2514 including the directory bit. This fixes crashes on some FAT
2517 2001-02-09 Pavel Roskin <proski@gnu.org>
2519 * samba/configure.in: Remove more useless tests.
2520 * samba/tests/crypttest.c: Remove.
2521 * samba/tests/fcntl_lock.c: Likewise.
2522 * samba/tests/shared_mmap.c: Likewise.
2523 * samba/tests/sysv_ipc.c: Likewise.
2524 * samba/samba-files: Likewise.
2525 * samba/smbadduser: Likewise.
2526 * Make-mc.in: Adjust for the above.
2527 * samba/include/includes.h: Removed definitions related to the
2530 * Make-mc.in: Eliminate ubiqx.
2531 * samba/Makefile.in: Likewise. Remove some unused variables.
2532 * samba/include/includes.h: Eliminate dependency on ubiqx.
2533 * samba/include/nameserv.h: Likewise.
2534 * samba/include/proto.h: Remove prototypes from nmbd/*.
2535 * samba/ubiqx/*: Remove.
2537 * samba/configure.in: More useless stuff removed.
2538 * samba/Makefile.in: Likewise.
2539 * Make-mc.in: Remove samba/smbwrapper directory.
2540 * samba/smbwrapper/smbw.h: Remove.
2541 * samba/include/includes.h: Don't include smbw.h.
2543 * samba/configure.in: Don't check for things that are unused.
2544 Remove support for building shared libraries.
2545 * samba/Makefile.in: Remove support for shared libraries and
2548 * samba/configure.in: Don't check for any 64-bit functions and
2549 syscall() - they are not needed.
2551 * samba/configure.in: Remove the test for
2552 HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
2553 the rest of the source that doesn't use explicit 64-bit calls.
2555 * Make-mc.in: Always check for samba/Makefile before descending
2556 there. Don't ever ignore errors from "cd". Use $(MAKE), not
2557 make. Formatting changes.
2559 2001-02-08 Pavel Roskin <proski@gnu.org>
2561 * Make-mc.in: Undo previous fix. Don't run "make clean" in
2562 samba/ if samba/Makefile is missing.
2564 * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
2565 may be missing. Clean using the rule from samba/Makefile.in.
2567 * cpio.c: Eliminate C++ comments.
2570 * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
2571 since CVS Automake already creates that directory.
2573 * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
2574 testing - it breaks on HP-UX 10.20.
2576 2001-02-07 Pavel Roskin <proski@gnu.org>
2578 * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
2579 samba/tests/ftruncroot.c.
2581 * samba/configure.in: Remove tests for setresuid and setresgid.
2582 * samba/include/includes.h: Remove declarations of setresuid and
2585 * samba/configure.in: Don't check for root permissions. Don't
2586 call tests/trapdoor.c and tests/ftruncroot.c.
2587 * samba/tests/trapdoor.c: Remove.
2588 * samba/tests/ftruncroot.c: Likewise.
2589 * samba/tests/summary.c: Don't warn about trapdoor uid systems.
2591 * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
2594 * samba/aclocal.m4: Fix underquoting.
2595 * samba/configure.in: Fix underquoting. Don't use loff_t as the
2596 second argument to AC_CHECK_TYPE - it's not a builtin type.
2598 * samba/configure.in: Remove checks for statvfs and friends -
2599 they are irrelevant to the client code.
2600 * samba/tests/summary.c: Likewise.
2602 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
2604 * extfs/urar.in (list): better solution to prevent duplication
2606 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
2608 * extfs/urar.in (LC_ALL): set to C to prevent localization,
2609 (mcrarfs_list): directories placed first to prevent duplication
2611 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2613 * ftpfs.c (dir_load): From Roland Mainz
2614 <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
2617 * *.c: From Roland: it is not possible to g_free() something
2618 allocated by strdup(), because g_malloc might be different for
2619 malloc. Therefore wrapped strdup into g_strdup() wrapper.
2621 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
2623 * samba/libsmb/nterr.c (nt_errs): constified
2625 * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
2628 (smb_errstr): err constified to avoid warnings
2630 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
2632 * ftpfs.c (open_data_connection): don't generate //filename, some
2633 ftp servers can't store it;
2635 (command): g_strdup_vprintf() and g_strconcat() replaced
2636 by g_strdup_vprintf(), g_realloc() and strcpy()
2637 to reduce memory usage when trailing "\r\n" added;
2639 (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
2640 value to log servers replies
2642 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
2644 * sfs.c (redirect): temporary file unlinked on error;
2646 (sfs_init): warnings are localized
2648 2000-10-05 Pavel Roskin <proski@gnu.org>
2650 * extfs/rpm: If rpm indicates an error create a virtual file
2651 ERROR and put error messages there.
2653 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2655 * extfs/mcunarj.diff: better version from Christian Gennerat
2656 <christian.gennerat@vz.cit.alcatel.fr>
2658 2000-09-21 Pavel Roskin <proski@gnu.org>
2660 * extfs/uzoo.in: Suppress output from grep. Don't use '~',
2661 use $HOME instead - it's more portable.
2663 2000-08-24 Pavel Roskin <proski@gnu.org>
2665 * extfs/Makefile.am: all scripts should be executable
2667 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2669 * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
2670 override locale for dates
2672 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
2674 * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
2676 2000-09-14 Pavel Roskin <proski@gnu.org>
2678 * Make-mc.in: direntry.c was listed twice in VFSSRCS
2680 * Make-mc.in: removed commands to build standalone libvfs -
2681 they are now in Makefile.am. Create links in the build
2682 directory - source directory may be read-only. Removed hack
2683 with mcservx - it's no longer needed.
2685 * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
2687 2000-09-05 Pavel Roskin <proski@gnu.org>
2689 * Make-mc.in: don't ignore errors in the distdir target
2691 2000-08-24 Pavel Roskin <proski@gnu.org>
2693 * extfs/Makefile.am: new file
2694 * Make-mc.in: remove stuff pertinent to the extfs directory
2696 2000-08-24 Pavel Roskin <proski@gnu.org>
2698 * Make-mc.in: don't ignore error installing mcserv.
2699 Create directories before installing into them.
2701 2000-08-18 Pavel Roskin <proski@gnu.org>
2703 * Make-mc.in: adjusted lists of distributed files.
2704 Makefile rebuilding fixed.
2706 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2708 * ftpfs.c (dir_load): taken it out, it needs to correctly provide
2709 parent, this way it breaks things.
2711 * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
2712 display zip files in fat and ntf formats
2714 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2716 * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
2717 Roland.Mainz@informatik.med.uni-giessen.de
2719 * util-alone.c (message_1s1d): added missing function
2721 2000-08-03 Pavel Roskin <proski@gnu.org>
2723 * undelfs.h: Removed
2725 2000-08-02 Pavel Roskin <proski@gnu.org>
2727 * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
2728 distributed. Added some comments to prevent future errors.
2729 "make distclean" now cleans generated filters.
2731 * samba/configure.in: Fixed sloppy output. The fix also sent to
2734 * samba/include/stamp-h.in: Added to CVS.
2736 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
2738 * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
2740 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
2742 * ftpfs.c: (my_get_host_and_username) space between macro name and
2745 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
2747 * tar.c (read_header): memory leaking for empty symlink's names fixed
2749 * utilvfs.c (vfs_split_url): *host is not assigned if host is null
2751 * ftpfs.c (login_server): new features of vfs_split_url () used,
2752 my_get_host_and_username became macro
2754 * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
2755 removed (vfs_canon removes trailing '/')
2757 * sfs.c (vfmake, redirect): allocated memory released on errors
2759 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2761 * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
2763 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
2765 vfs/extfs/uha.in: add HSC type archives
2767 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
2769 * direntry.c (vfs_s_inode_from_path): fix for stating / directory
2772 * vfs.c: == 0 is right test of eof.
2774 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2776 * direntry.c (vfs_s_internal_stat): added ugly special case for /
2777 of archive to always exist. It seems I'm hiding some underlying
2780 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
2782 * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
2784 (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
2786 * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
2788 (ftpfs_directory_timeout): default value changed to 900
2790 (netrc_next): "const char * const keywords" go to rodata and is shared
2792 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
2794 * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
2795 deadlocks with podfuk
2797 * direntry.c: fix behavior when stating / directory of ftp
2800 2000-04-15 Timur Bakeyev <mc@bat.ru>
2802 * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
2804 * ftpfs.c (dir_load): At last, found place, that broke handling
2805 directories with spaces in name. Problem was in prepending "/"
2806 to "." for current directory. Which was, obviously, wrong. Hacked
2807 to make just "LIST -la ." instead.
2809 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2811 * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
2813 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2815 * extfs/audio: Added a way to browse audio CDs conveniently
2817 * undelfs.c: use NULLs instead of 0s when you assign to pointers!
2819 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
2821 * utilfs.c (vfs_split_url): Don't assign *pass if pass is NULL
2822 * fish.c (archive_open, archive_same): memory allocated by
2823 vfs_split_url() must be released after use, don't strdup()
2824 values allocated by vfs_split_url() and NULL passed to
2825 vfs_split_url() when password value is unused
2826 * ftpfs.c (archive_open, archive_same): ditto plus same for
2827 ftpfs_get_proxy_host_and_port()
2829 2000-04-06 Timur Bakeyev <mc@bat.ru>
2831 * ftpfs.c (netrc_next): Turned strange "const char * const
2832 keywords" into more alike "const char const * keywords". Still,
2833 think, it's too strict.
2835 * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba
2836 headers. Libncurses(or slang?) defines BOOL and that can cause
2837 problems. (In fact, I can't find references to that const, but
2838 sure, I had a reason to do that:)
2840 * util-alone.h: Declare load_anon_passwd() to avoid warnings.
2842 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
2844 * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
2845 crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
2846 * fish.c (linear_start): Name wasn't freed after usage.
2847 * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
2848 function return 0 now.
2849 * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
2850 by vfs_s_fullpath() is freed after use.
2851 * ftpfs.c (linear_start): Ditto.
2853 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2855 * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
2856 not strdupped(), so it must not be g_free'd.
2858 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2860 * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
2861 fish work better with files files like "this is sentence"
2863 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2865 * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
2866 locale to C so that rpm does not confuse us
2868 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2870 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
2872 * vfs.c (vfs_parse_ls_lga): Don't hard code st_ino and st_dev to
2873 0's, these variables must be assigned in vfs_s_new_inode() or
2874 extfs layer, so ftpfs subdirectories now can be copied.
2876 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2878 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
2880 * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
2881 mc_(un)?getlocalcopy): added const qualifier
2882 (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
2883 so, free() it, not g_free();
2884 (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
2886 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2888 * cpio.c: cpio.h is missing, so don't try to include it. (It is
2889 not needed, anyway. Strange.)
2891 * Makefile.in (NONETFILES): cpio added to compilation list
2893 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
2895 * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
2896 with unexpected side effects (only when HSC_PROXY was
2897 defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
2900 (dir_load): Do not hard code the directory cache timeout to 10
2901 seconds. Instead use the setting from Options/Virtual VFS ...
2903 * fish.c (file_store): Honor changed semantics for return value
2904 (on error -1 is expected).
2906 * ftpfs.c (file_store): ditto
2908 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2910 * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
2911 it using code from tarfs.
2913 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2915 * extfs/uzip.in (nam): y2k fixes (workarounds) by
2916 christian.gennerat@vz.cit.alcatel.fr
2918 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2920 * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
2922 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
2924 * xdirentry.h: added prototype for vfs_s_retrieve_file
2926 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
2928 * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
2929 for broken symlinks like 2001 -> The Space Oddysea.
2931 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2933 * ftpfs.c: vfs semantics has some problems with ~s. What will
2934 happen if we just don't go to home directory of user? (We used to
2935 have /#ftp:hobit/~/ mean home directory of anonymous at
2936 hobit. Thats pretty broken.)
2938 * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
2941 * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
2943 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2945 * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
2946 from Andrew V. Samoilov
2948 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2950 * extfs.c (extfs_chdir): removed unneeded statement, plus applied
2951 cosmetics fixes from Andrew V. Samoilov
2953 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
2955 * extfs/deb.in: Change to the deb vfs. tar has changed, and
2956 depending on the version, it saves files as "./filename" or
2959 * From debian: added deba, debd, dpkg, apt script file systems.
2961 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
2963 * vfs.c (vfs_parse_filedate): don't decode last columns as year
2966 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
2968 * vfs/vfs.h: use #warning only for gcc. Not all compilers
2971 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2973 * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
2974 mostly internationalization + fixing stupid bugs of mine
2976 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2978 * ftpfs.c: basically replaced ftpfs with new one. Unlike the
2979 previous one, this uses new direntry.c layer, so shared_ftp_fish.c
2982 This is new code, so beware.
2984 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
2986 * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
2987 value, too. This code is going to be killed, the sooner the better.
2989 * *.c (mc_[un]getlocalcopy): we really need some return value,
2990 because we can have errors
2992 * fish.c: don't use directory expiration, it does not work,
2993 use retrieve_file from direntry.c
2996 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
2998 * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
2999 name has to be malloced.
3001 1999-10-07 Miguel de Icaza <miguel@gnu.org>
3003 * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
3004 <lav@yars.free.net> that makes the code compliant to RFC959
3006 1999-08-30 Miguel de Icaza <miguel@gnu.org>
3008 * ftpfs.c (insert_dots): Use g_new here.
3010 * shared_ftpfs_fish.c: Style fixes and small fixes
3012 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
3014 * extfs/uzip.in: Better handling of zip-archives that contain files
3015 which contain spaces.
3017 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
3019 * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
3021 * mcserv.c: removed definition of mad_strconcat which is also
3024 1999-09-17 Federico Mena Quintero <federico@redhat.com>
3026 * smbfs.c: #define NO_CONFIG_H before including the samba
3027 includes; this way it will not re=define HAVE_LIBREADLINE. This
3028 situation sucks. Should we change the names of the widget.h
3029 history_*() functions?
3031 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
3033 * smbfs.c (various places): Store filenames in memory with the unix
3034 character set and convert it back to the dos character set when
3035 filenames are passed back to the samba server. If samba is configured
3036 correctly this will fix the problems with filenames which contain
3037 national characters.
3039 (bucket_set_authinfo): Set domain, username and password which will
3040 be used to log on and authenticate against the samba server and remember
3041 this information on a host/share basis. If set use PASSWD to get the
3042 password. If already authenticated against the host and share use this
3043 information. If already authenticated against host and IPC$ use this
3044 information. If neither of the former is true ask the user how to
3047 (authinfo_get_authinfo_from_user): New function. Query the user for
3048 domain, username and password to use for authentication.
3050 (authinfo_free): New function. Free memory in authentication structure.
3052 (authinfo_free_all): New function. Free the list used to remember
3053 authentication information.
3055 (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
3056 Helper functions used to search the authentication list.
3058 (authinfo_add): New function. Add one authentication entry to the
3061 (authinfo_remove): New function. Remove one entry from the authlist.
3063 (free_bucket): Free memory associated with one bucket.
3065 (smbfs_get_free_bucket): Initialize the complete connection array
3066 with 0. Free the memory allocated for a bucket and initialize the
3067 bucket before reusing it.
3069 (smbfs_open_link): use new functions to get authentication information
3071 (get_stat_info, smbfs_stat): remove unused variables.
3073 1999-08-31 Federico Mena Quintero <federico@redhat.com>
3075 * extfs/uzip.in: Handle filenames with spaces better. Thanks to
3076 Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
3079 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
3081 * ftpfs.c (translate_path): Remove static buffer from here.
3082 Return a strdupped string now.
3083 (send_ftp_command): Release translate_path result here.
3084 (open_data_connection): Release translate_path result here.
3085 (ftpfs_chdir_internal): Release it here too.
3087 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
3089 * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
3090 have been written one slot past the supplied character array).
3092 * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
3093 strange symlinks (ls -la doesn't reveal where the symlink points to
3094 and ls -lLa doesn't resolve the symlink either)
3096 Added protection against recursive symbolic links.
3098 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
3100 * smbfs.c: added missing include file
3102 (browsing_helper): use g_strdup instead of g_new + pstrcpy
3103 (Btw. this is an example why the handholding of smblib gives a
3104 false security feeling. pstrcpy limits the number of characters
3105 copied and is used with a buffer which is smaller than the hard
3106 coded limit in pstrcpy)
3107 (loaddir_helper): ditto
3108 (server_browsing_helper): ditto
3110 (get_remote_stat): fixed memory leaks
3111 (smbfs_loaddir): ditto
3112 (get_stat_info): ditto
3115 (convert_path): rewritten, now it's much cleaner what it does.
3116 This rewrite was necessary because gcc -O2 choked on glibc 2.1
3117 systems. In that combination strncat is a macro which expands to
3118 strlen and strcat and in vfs/samba/include/includes.h the latter is
3119 defined to __ERROR__XX__NEVER_USE_STRCAT___;.
3121 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
3123 * direntry.c (vfs_s_getlocalcopy): There's an additional strdup
3124 needed. In rare cases a pointer was freed twice. Pavel Machek
3125 pointed this out a while ago but obviously it hasn't been fixed yet.
3127 * sfs.c (vfmake): Quote characters with a special meaning to the
3128 shell in filenames/paths (Fix Bug #1931, VFS will not work if
3129 your full path has the space character in it.).
3131 1999-08-17 Kjartan Maraas <kmaraas@online.no>
3135 1999-08-15 David Martin <dmartina@usa.net>
3137 * vfs.c (vfs_print_stats): Translate vfs stats
3139 * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
3141 * fish.c: Translate messages
3143 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
3145 * tar.c (read_header): Don't segfault when a symlink points to the
3148 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
3150 * vfs.c: Don't close a function definition with "};". SunCC from
3151 2.5.1 chokes on the extra semicolon
3153 (mc_munmap): Don't dereference function pointer when checking for
3154 NULL (this check is supposed to prevent a segfault instead of
3155 causing one). This haven't got noticed up to now because there's no
3156 file system with mmap but without munmap.
3158 Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
3160 * samba/include/config.h: Removed. Should be generated.
3162 Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
3164 * Make-mc.in (XCPPFLAGS): Add necessary paths to allow compile sambafs
3165 when builddir != srcdir. Removed some junk after not coherent patching.
3167 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
3169 * Make-mc.in (distcopy): Added a bunch of new lists of files for
3170 the directories in vfs/samba. Use them in this rule, because
3171 plain wildcards will not work right.
3172 (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
3174 Added smbfs.[ch] to the list of sources.
3176 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
3178 * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
3179 as well as the dependencies.
3181 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
3183 * smbfs.c (get_remote_stat): Change debug level.
3185 (get_stat_info): 2 line fixes from Wayne to check the
3186 cache properly. WOOOOHOOOO! Works like a charm.
3188 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
3190 * vfs/smbfs.c: New file. Implements the Samba-based file system.
3192 * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
3194 * vfs/vfs.c (vfs_file_is_smb): implemented.
3195 (vfs_init) register smbfs.
3197 * vfs/samba: Incorporate SAMBA source code required for smbfs
3199 Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3201 * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
3202 make a difference between "LIST -la" and "LIST -lLa". If we find such
3203 a server don't use -lLa when resolving symbolic links.
3205 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
3207 * urar.in, uzip.in: patches to use in #urar and #uzip the new features
3208 added in mc-4.5.31 (unlink, mkdir, rmdir)
3210 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
3212 * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
3213 by debian maintainer
3215 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
3217 * extfs/uzip.in (nam): Handle new unzips.
3219 Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3221 * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
3222 (i.e. not even "." and "..") check whether the directory is empty
3223 or non-existent (instead of failing with "ftpfs: failed").
3225 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
3227 * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
3229 (vfs_parse_ls_lga): do not silently ignore parsing errors.
3231 Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3233 * extfs.c (extfs_open): tempnam returns a malloced string, no need
3236 (various places): use free instead of g_free to free string returned
3239 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
3241 * urar.in, uzip.in: rolled in patches from "christian.gennerat"
3242 <christian.gennerat@vz.cit.alcatel.fr> for better handling of
3243 spaces and copyin-feature-addon.
3245 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
3247 * extfs.c (get_path_from_entry): Fix a crash here.
3249 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
3251 * extfs.c (extfs_unlink):
3254 (remove_entry): New functions.
3255 (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
3256 Add descriptions for these to the extfs README.
3258 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
3260 * Make-mc.in (DISTVFS): try to distribute files needed for
3261 building libvfs.so alone
3262 (EXTFS_MISC): include uarj and unarj.diff in distribution
3264 1999-04-08 Owen Taylor <otaylor@redhat.com>
3266 * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
3267 up "TMP RACE" comments so they are at least secure,
3268 if not terribly robust.
3270 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
3272 * added copy_in capability to mtools filesystem
3274 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3276 * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
3279 * mcserv.c: #include <sys/wait.h>
3280 (get_client): Put `#ifdef __EMX__' around an otherwise-unused
3283 * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
3284 comparing characters.
3286 * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
3288 * extfs.c (extfs_init): Assign `key' to c, not `&key'.
3290 Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3292 * vfs.h (vfs_translate_url): Fixed the macro which is used when
3293 compiling without vfs.
3295 1999-03-22 David Martin <dmartina@mailexcite.com>
3297 * ftpfs.c: Internationalize the messages that are displayed as
3300 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
3302 * extfs.c (extfs_init): Fix the code here: If the key is empty or
3303 only contains a new line, C would be pointing into an invalid location.
3305 Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
3307 * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
3309 Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
3311 * extfs/uha.in: Add support for ha archives.
3313 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
3315 * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
3318 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
3320 * vfs.h: Make it compile in AIX. Boy do those guys pollute the
3323 1999-03-09 Shooby Ban <bansz@szif.hu>
3325 * extfs/extfs.ini: Corrected rpms -> rpms:
3326 by Balazs Nagy <julian7@kva.hu>
3328 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
3330 * vfs.c (parse_ls_lga): kill the messages on each error.
3332 Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
3334 * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
3335 of st_rdev. This makes stats on device files useless. Fixing
3336 this does not break anything, but adds the ability to copy
3337 device files properly. Ideally, both st_dev and st_rdev should
3338 be returned for those programs that use the vfs to properly
3339 recreate hardlinks. Whose idea was it to only return one of
3342 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
3344 * unlha.in: Fix the problem of having incorrect pathnames when
3345 pulling out files from the LHA file.
3347 Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3349 * tar.c (read_header): Treat hardlinks correctly.
3351 Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3353 * ftpfs.c (insert_dots): renamed from insert_dot. We have to
3354 insert ".." as well or directories from ftp servers which don't
3355 list "." and ".." are displayed with an additional "/".
3357 Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
3359 * tcputil.c: One more my bug with '\0' -> NULL. Oops..
3361 Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
3363 * mcserv.c: If setuid() is available, use it, even, streuid() also
3364 present. (BTW, bsdi uses it's own auth system..)
3366 Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
3368 * mcserv.c (do_auth): mcserv never auth properly on bsdi.
3369 (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
3372 * tcputil.c: use correct signal handler (void func(int)) on BSDI
3374 Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3376 * mcserv.c (do_link): Removed duplicate invocation of link. Thanks
3377 to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
3379 Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3381 * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
3382 occurrence of 0 with NULL should stop this stupidity. And replacing
3383 '\0' with NULL is plan wrong!!. Reverted this replacement.
3385 * ftpfs.c (load_no_proxy_list): ditto
3387 Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3389 * ftpfs.c (insert_dot): New function. Insert a "." into the linked
3390 list. Stat'ing the root directory of a ftpfs fails if the dot is
3393 (retrieve_dir): insert "." into the linked list if the ftp server
3396 Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3398 * The following changes make ftpfs work with a remote AmiTCP
3399 server are the result of somehow longish EMail debugging session. I
3400 don't know any public server of this kind but I was told the
3401 combination Unix/Amiga boxes are often used in intranets.
3403 * ftpfs.c (translate_path): New function. Translate a Unix path,
3404 i.e. MC's internal path representation (e.g. /somedir/somefile) to
3405 a path valid for the remote server. Every path transfered to the
3406 remote server has to be mangled by this function right prior to
3407 sending it. Currently only Amiga ftp servers are handled in a
3410 * ftpfs.c (various places): use translate_path
3412 * ftpfs.c (login_server): Assume we have to mangle pathnames if
3413 the greetings string from the server contains the word Amiga. If
3414 this assumption is wrong I have to find another way to turn on
3417 * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
3418 if it is missing. MC needs it as separator between hostname and
3419 path in its internal url representation.
3421 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
3423 * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
3426 Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
3428 * All around the source: Changed copy_strings() to g_strconcat(). Modi-
3429 fy last parameter in concat_dir_and_file() to "" - to prevent stack from
3432 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
3434 * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
3435 * Make-mc.in (VFSHDRS): Likewise.
3437 Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
3439 * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
3440 gives the same effect.
3442 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
3444 * utilvfs.c (append_path_sep): Fixed, it was broken for paths
3445 which already have a / at the end.
3447 Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
3449 * undelfs.c: Found one more unconverted realloc() call.
3451 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
3453 * undelfs.c (undelfs_loaddel): Fix Timur's changes.
3455 Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
3457 * Actually commit all changes :>
3459 Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
3461 * Converted all occurrences of DIR_SEP_CHAR and "/" to PATH_SEP and
3462 PATH_SEP_STR. Additional cleanups of the memory code.
3464 * utilvfs.h: Added several definitions for common sizes for buffers.
3465 It seems, most of us experience problems, when inventing size for new
3466 buffer. This is much better and portable way to eliminate the problem.
3468 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
3470 * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
3472 Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
3474 * Converted memory management to Glib. Now we use g_new()/g_malloc()/
3475 g_strdup()/g_free() routings. Also, copy_strings() replaced by
3476 g_strconcat(), and sprintf() by g_snprintf().
3478 * utilvfs.h: New header file. Introduced as a stock header, which keeps
3479 all includes in a right order, to avoid order-dependence mistakes.
3481 Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
3483 * direntry.c: vfs_s_find_entry_tree changed to follow
3484 symlinks properly. Symlinks are now always followed
3485 except for the last part of the filename.
3486 vfs_s_resolve_symlink() now converts absolute paths to
3487 ../../file notation so that they can be easily resolved
3490 * tar.c: . and .. are missing from directory entries,
3491 making it impossible to resolve links - fixed.
3493 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
3495 * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
3497 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
3499 * sfs.c (redirect): tempnam returns a malloc()ed buffer.
3501 Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3503 * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
3505 Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
3507 * sfs.c (sfs_free): Fixed wrong linked list handling (head was
3508 lost after the first iteration).
3510 (sfs_getid): ditto, return value was wrong.
3512 Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
3514 * vfs.c (parse_ls_lga): Rewrite function to make it more straight.
3515 Also, fixed some bugs in parsing (and add new ones:), which disallowed
3516 proper parsing of device major and minor numbers. Some other fixes. Add
3517 several new is_*() functions to make code readable.
3519 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
3521 * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
3522 defines for non-vfs compilation.
3524 Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
3526 * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
3527 (where YY-MM-DD is parsed).
3529 Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
3531 * vfs.c (vfs_parse_filedate): If the date is less than 6 months
3532 in the past, it is shown without year. In this case MC assumed
3533 the current year which is wrong from Jan to Jun.
3535 Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
3537 * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
3539 Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3541 * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
3542 this filesystem and delete temporary files. This needs further
3545 * tar.c: deleted unused empty struct tar_super.
3547 Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3549 * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
3550 was used for external and internal reference count. This was wrong
3551 because we can free resources taken up by the vfs as soon as the
3552 external reference count (now fd_usage) is zero. The internal
3553 reference count (ino_usage) mustn't matter because the vfs has to
3554 clean up itself in the correct order.
3556 Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3558 * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
3559 and st_dev from vfs_s_default_stat.
3561 (vfs_s_default_stat): initialize st_ino and st_dev to zero
3563 * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
3566 Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3568 * tar.c: Deleted global variable tar_gzipped_memlimit.
3570 Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3572 * vfs.c (vfs_strip_suffix_from_filename): New function which strips
3573 known vfs suffixes from a filename and returns a malloced string
3574 which has to be freed. Possible improvement: strip vfs suffix from
3575 last path component.
3577 * extfs/*: added "umask 077" to every script.
3579 Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3581 * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
3582 safely w.r.t. symlinks in /tmp
3584 Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
3586 * direntry.c: Hopefully got want_stale_data right...
3588 Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
3590 * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
3591 this is necessary for Solaris and probably others
3593 Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
3595 * vfs.c (vfs_type_from_op): removing unnecessary code
3597 Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3599 * extfs/rpm: commit fix for files with spaces in name by Marc
3600 Merlin (marcsoft@merlins.org)
3602 Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3604 * fish.c: default to normal ssh
3605 (open_archive_int): debugging hack killed
3607 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
3609 * Makefile.am (EXTRA_DIST): Distribute files that the
3610 BUILT_SOURCES depend on.
3611 (mad.c, mad.h): Don't use GNU make specific features in rule.
3612 (libvfs_la_SOURCES): Update from Make-mc.in.
3614 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3616 * direntry.c (vfs_s_insert_super): This routine does not return
3619 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
3621 * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
3624 * xdirentry.h (LINK_NO_FOLLOW):
3625 * tar.c (read_header):
3626 * direntry.c (vfs_s_resolve_symlink):
3627 (vfs_s_inode_from_path):
3628 (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
3629 LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
3630 NO_FOLLOW are defined in an enum.
3632 * vfs.h (ELAST): define it to 300, if not already defined, thats a
3633 bad hack, but what can we do....
3635 Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
3637 * direntry.c (vfs_s_new_super): Added the missing return value.
3639 Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
3641 * vfs.h: (Temporary?) fix to the compiling error: Some of the error
3642 codes, defined here are Linux specific and unknown to other systems.
3643 Changed to #ifdef's with assigning new codes by means ELAST+offset.
3645 Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
3647 * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
3648 which indicate a file with extended attributes (ACL)
3650 Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3652 * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
3653 we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
3655 (resolve_symlink_without_ls_options): that's resolve_symlinks
3656 we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
3657 directory cache fetching directories if necessary. We got some
3658 complaints about slower ftpfs in the above releases. Now this method
3659 is no longer the default method to resolve symbolic links. It is still
3660 needed for ftp servers which don't understand the LIST -lLa command.
3662 (resolve_symlink): Dispatch between the two methods to
3665 Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
3667 * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
3668 thanks to Pavel Roskin for reporting
3670 * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
3672 * utilvfs.c (vfs_split_url): initialize variables so that we do
3675 Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
3677 * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
3678 where unnecessary. I do not see why passing NULL to vfs_add_stamp
3679 should be invalid -> removed check.
3681 Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
3683 * direntry.c, xdirentry.h: should be now prepared to handle
3684 ftp-like filesystems. This is rather BIG change, although it does
3685 not look so. I hope I do not break too many things.
3687 Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3689 * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
3691 Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
3693 * extfs/rpm: Fix to display files belonging to users with
3694 excessively long usernames
3696 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
3698 * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
3699 is both safe and more correct, as there is no limit on the
3702 * ftpfs.c (command): Same as above.
3704 * util-alone.c (print_vfs_message): Same as above.
3706 Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3708 * ftpfs.c: report which directory you are listing, fix behavior
3709 with servers that don't like LIST //. (Nowell) Fix behavior even
3712 * direntry.c (vfs_s_automake): insert newly generated entry
3714 * direntry.c (vfs_s_free_entry): Debugging printf() killed.
3716 Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3718 * Make-mc.in: added xdirentry.h to VFSHDRS
3720 Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3722 * tar.c (tar_open_archive): do not double-free memory if you can
3723 not open archive, better error handling
3725 * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
3727 * sfs.c, tar.c: remove debugging messages (which really should not
3728 escape from my tree)
3730 Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
3732 * README: added. If you are using emacs or hacking libvfs, please
3735 * direntry.{c,h}: new library created, so that same entry/inode
3736 code does not have to be copied in every handler.
3738 * tar.c: converted to use direntry.c library, which means BIG changes.
3740 * ftpfs.c: small updates to make code look nicer
3742 Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
3744 * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
3745 which actually need it.
3747 * extfs.c: extfs_current_dir killed - it was unnecessary.
3749 * mcfs.c (mcfs_get_path): It is possible for path not to begin
3750 with /#mc:, for example if user does /etc/#mc:. (It is not
3751 correct, of course). Return error, but do not vfs_die().
3753 Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
3755 * lib/mc.ext.in: cpio support fixed. It was broken since time we
3756 started to do #ext syntax.
3758 Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
3760 * vfs.c (mc_open): die() if open is unsupported. If filesystem does
3761 not support open, it is probably stupid typo, so we want bug to be
3764 Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3766 * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
3767 free dcache while resolving symlinks (i.e. don't free some
3768 pointers which are in use by resolve_symlink).
3770 Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3772 * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
3774 Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3776 * shared_ftp_fish.c (s_write): stupid bug fixed
3778 Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
3780 * extfs/*: marked obvious security holes with FIXME: TMP RACE
3782 * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
3783 symlink attack, fixed memory leak along the path
3785 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
3787 * vfs.c, vfs.h: Indentation changes, ugly macros removed. I am
3788 going to split this file in the future.
3790 Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
3792 * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
3793 Borsenkow <borsenkow.msk@sni.de>
3795 Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3797 * vfs.h (vfs_struct): renamed to avoid namespace conflict
3799 Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
3801 * sfs.c: reuse mmap from local.c
3803 * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
3804 and replaced with open(,O_LINEAR); lseek() combination
3806 Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
3808 * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
3809 as it deals with portmapper, it is probably useful for mcfs
3811 * vfs.h (MCERR_*): these are no longer needed
3813 * vfs.c (vfs_translate_url): translating of url's moved to vfs
3816 * all around: trying to reduce namespace pollution. All special
3817 functions (like extfs_run) should be done using mc_setctl()
3818 interface. At the end, all non-static functions in vfs layer
3819 should begin with vfs_ and should be declared in vfs.h (however
3820 that goal is far away).
3822 * all over the code: replace X_vfs_ops to vfs_X_ops
3824 Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
3826 * vfs.c: added stat to avoid hiding files by naming them
3827 #ftp:localhost and similar. Vfs will not treat files as local if
3828 they already exists, regardless of name.
3830 Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3832 * vfs.h: disable BROKEN_PATHS by default. See if you can live
3833 without cd .. from ftp tree putting you to last directory.
3835 Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3837 * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
3838 change, i.e. make it compile)
3840 Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3842 * ftpfs.c (resolve_symlink): minor speed enhancement
3844 Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
3846 * vfs.h: vfs_force_expire() was incorrectly #define'd
3848 Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
3850 * extfs.c, sfs.c: added few static's to prevent people from doing
3853 Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3855 * vfs.h (struct vfs): renamed errno to verrno because glibc2
3856 defines errno as macro (#define errno (*__errno_location ()))
3858 Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3860 * Makefile.in: search config.status in builddir and not in srcdir/..,
3861 i. e. make it compile for builddir != srcdir
3863 Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
3865 * COPYING.LGPL, all over the code: code is now under Library
3866 General Public License (instead of GPL), so non-free applications
3869 Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
3871 * all over the code: added (vfs *) as first argument for functions
3872 that have no other way to know what fs they belong to. This will
3873 be used by object-like tricks, which will allow us to do real
3874 code-sharing: I do not like #including of .c files.
3876 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
3878 * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
3881 Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
3883 * vfs.h (MIN, MAX): Only define if not already defined; glib.h
3886 Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
3888 * ftpfs.c: Fixed segfault caused by uninitialized variable.
3890 Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
3892 * ftpfs.c: Special characters were printed via print_vfs_message.
3893 This caused funny effects if "XTerm hintbar" was on.
3895 Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
3897 * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
3898 files in sane way. copy_file_file will make temporary files for a
3899 while (fix pending).
3901 * tar.c: fixed bzip/bzip2 compressed archives
3903 Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
3905 * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
3907 * vfs.h: created ERRNOR() macro which sets my_errno and returns,
3908 which makes vfs's _much_ more readable
3910 Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
3912 * extfs.c: free() was called twice for the same place in memory
3915 Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
3917 * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
3918 If true we try to use 'LIST -la <path>'. When it fails we use the
3919 two commands 'CWD <path>' and 'LIST' instead.
3921 (resolve_symlink): rewritten. Don't get a second directory listing
3922 with `LIST -lLa'. Instead use the cache to get the file stat of
3923 symbolic links. If the directory the symlink points to isn't
3924 already in the cache the directory listing will be fetched and
3925 stored in the directory cache (without resolving symlinks
3927 The new method to resolve symlinks is faster if symlinks
3928 the same directory or the directory the symlink points to
3929 is already in the cache.
3930 This function was small and nice until I discovered that it was
3931 broken for symlinks to symlinks. Now it looks ugly and perhaps I
3932 will revert it to use "LIST -lLa" again. With a fast connection it
3933 doesn't matter which method we use but with a slow connection I
3934 wouldn't hesitate to burn more CPU cycles on the client side.
3936 (retrieve_dir): Added parameter to tell whether to resolve
3937 symlinks (don't resolve symlinks in directory listings retrieved
3938 while resolving symlinks).
3939 When we don't get a directory listing with 'LIST -la <path>' then
3940 try to get it with `CWD <path>; LIST'.
3942 Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
3944 * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
3946 (retrieve_file_start2): Don't create target file O_EXCL, in
3947 copy_file_file we check existence of the target file and know
3948 that we want to truncate it (this change was already done a
3949 while back but it was reverted with the vfs-split).
3951 Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
3953 * ftpfs.h (struct connection): added boolean which indicates that
3954 the ftp server doesn't understand Unix ls options
3956 * ftpfs.h (struct dir): added enum to store symlink status of the
3957 in memory directory cache (directory has no symbolic links;
3958 symbolic links but not yet resolved; symbolic links which are resolved)
3960 Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
3962 * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
3963 honor the additional boolean parameter
3965 Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
3967 * vfs.h: add vfs_split() declaration, to make sfs.c happy.
3969 * Make-mc.in, Makefile.am: Updated to include fish.c
3971 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
3973 * sfs.c (sfs_free): assignment operator was used to check for equality
3975 Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
3977 * sfs.c: memory leak fixed
3979 * vfs.c: split parse_ls_lga into more functions
3981 * fish.c added, now you can access files over rsh/ssh connection
3983 * shared*.c: reworked a bit not to include so many of ugly X_'s
3985 Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
3987 * ftpfs.c: cleanup of code, few static's added
3989 * extfs/uarj: added, still, you need patches to unarj to make this
3992 * util-alone.c: now includes code from libvfs.c, so we can kill
3993 libvfs.c (which is good thing as it was non-standard in Makefiles)
3995 Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
3997 * undelfs.c: fixed, it has been broken for too long
3999 * vfs.c, ../src/cmd.c: necessary minor fixes to make undelfs work
4001 * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
4002 handling in case of NULL in *_vfs_ops.
4004 * extfs.c, ftpfs.c, tar.c: made use of above change
4006 * vfs.c: cleanup of macros generating mc_*()
4008 * libvfs.c: adding variable mc_home
4010 Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
4012 * extfs.c: mc_extfsdir was not defined in extfs_open()
4014 * Make-mc.in: sfs.c was not compiled, linked and copied out
4015 extfs/sfs.ini was not installed and copied out
4017 * Makefile.am: sfs.c was not linked to standalone VFS
4019 Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
4021 * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
4023 * Added single file filesystem (sfs)
4025 * Added vfs_flags so library users can disable selected
4028 * Minor shuffling of functions so garbage collection works for
4031 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
4033 * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
4036 Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
4038 * extfs/patchfs: %k replaced with more portable %H in the format
4041 * extfs/extfs.ini: Added patchfs and mailfs. Some comments
4044 Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
4046 * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
4047 lines without end-of-line.
4049 Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
4051 * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
4054 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
4056 * ftpfs.c (ftpfs_open_socket): Potential security break fix.
4058 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
4060 * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
4061 Don't try building this, yet.
4063 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
4065 * Make-mc.in (install.extfs): Split install of $(EXTFS_CONST)
4066 and $(EXTFS_OUT) because the first must be installed from
4067 $(srcdir) and the second from $(builddir).
4069 Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
4071 * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
4073 * Makefile.am: New file.
4074 * Make-mc.in: Renamed from Makefile.in.
4075 * Makefile.in: Removed.
4077 Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
4079 * Makefile.in: Rewritten stuff concerning extfs files.
4081 Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
4083 * Makefile.in: Remove arfs, since it doesn't seem to exist
4085 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
4086 * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
4087 are more logical (and so that things actually work, because new
4088 names are currently in extfs.ini).
4090 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
4091 * Modified code to use tempnam() instead of tmpnam(), fixed
4092 tempnam() to use NULL instead of 0.
4094 Wed Jun 3 Pavel Machek <pavel@ucw.cz>
4096 * libvfs.c: adding libvfs.c which should contain things specific
4097 to stand-alone libvfs.so. (This file was missing from previous
4100 Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
4102 * ftpfs.c (ftpfs_fill_names): use right character to separate
4105 Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
4106 * vfs.c (parse_ls_lga): allow a bit wider range of listings.
4108 * vfs.c (is_time, is_year): new functions
4110 Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
4112 * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
4114 Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
4116 * extfs.c, shared.c, tar.c: I changed semantics in my previous
4117 patch - _get_path() now modifies strings passed to it. I thought
4118 that I were careful enough not to introduce bugs. You guessed it -
4119 I was not. [Many tar_ and extfs_ functions modify strings passed
4120 to them, but as they are only called from vfs layer, it does not
4122 So I renamed function to alert everyone that semantics changed.
4124 Fixed bugs in timestamping (and segfaults) when you entered tar
4125 inside zip file or similar.
4127 * vfs.c (mc_open): Die if the filesystem doesn't support open
4129 ??? Pavel Machek <pavel@ucw.cz>
4131 * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
4133 * util-alone.*: VFS should be able to compile stand-alone into
4134 libvfs.so usable by anyone. This is first step.
4136 * vfs.c & others: syntax change. We no longer use
4137 tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
4138 better defined meaning. Similar changes are done to all other
4139 protocols. This change touched really _many_ places of code.
4142 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
4144 * vfs.c (MC_DIROP): Macro now returns the proper value.
4146 1998-05-18 Tamasi Gyorgy (gt_cosy@usa.net)
4148 * Makefile.in ('install' target): 'mcserv' not installed, if
4149 net-code is not enabled by 'configure'.
4151 Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
4153 * Makefile.in (LIBS): add @LINTL@
4155 Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
4157 * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
4158 optimization is wrong because for directories containing spaces we
4159 have to "CWD <pathname>" and "LIST -la" instead of
4160 "LIST -la <pathname>".
4161 I implemented a different optimization. Now ftpfs_chdir only stores
4162 the new working directory and sets a flag. __ftpfs_chdir is called
4163 when we really want to change the directory on the ftp server.
4165 (resolve_symlink): Log the directory listing to the logfile.
4167 * ftpfs.h (struct ftpfs_connection): Added a (per connection)
4170 Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
4172 * Makefile.in: Links to mad.c and mad.h were created wrong when
4173 srcdir != builddir and directory depth to srcdir and builddir were
4174 different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
4176 * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
4177 in copy_file_file we check existence of the target file and know
4178 that we want to truncate it.
4180 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
4182 * tar.c (read_header): Mark regular files with S_IFREG.
4184 Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
4186 * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
4187 my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
4190 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
4192 * ftpfs.c (retrieve_file_start2): Open file exclusively.
4193 (retrieve_file): likewise.
4195 1998-03-31 Philippe De Muyter <phdm@macqel.be>
4197 * vfs.h: compilation fix for m68k-motorola-sysv
4199 Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
4201 * extfs/hp48: Added a usage summary
4203 Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
4205 * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
4206 filesystem to view and copy files to/from the HP48.
4208 Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
4210 * extfs.c: Add support for writable external file systems.
4211 Required for the httpfs.
4213 Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
4215 * extfs.c (open_extfs_archive): Pass the quoted argument to the
4218 * mailfs: new file system.
4220 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
4222 * tar.c: fix the bug which core dumps when trying to view tar file
4223 with many files (over 60000).
4225 Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
4227 * vfs.c (mc_opendir): Do not make conversions between int/void *
4228 to make the code compile and work on the Alpha correctly.
4229 Allocate a pointer to an int and use that instead.
4231 Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
4233 * extfs/rpm: Small fix for older RPM files.
4235 Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
4237 * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
4239 * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
4240 free the extfs buffers immediately instead of waiting for the vfs-
4243 Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
4245 * vfs.c (vfs_canon): the "local:" case was consuming one extra
4246 character. This fixes the bug reported by Andrej. Also, handle
4247 the non-canonical case of arguments to local:
4249 Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
4251 * mcserv.c (get_client): The parent now waits for the first forked
4252 process, getting rid of the zombies.
4254 * utilvfs.c (open_tcp_link): If we can not contact the remote
4255 portmapper, set the protocol version to 1.
4257 Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
4259 * mc.spec: New spec file, this packages mc, mcserv and tkmc.
4261 * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
4263 * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
4264 more info currently displayed (ChangeLog, OS, URL, packager).
4266 Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
4268 * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
4269 force vfs scripts to be executable on those systems that use
4272 * src/utilunix.c: Implement socketpair for SCO flavored systems.
4274 Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
4276 * configure.in (--with-hsc): fix.
4278 * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
4279 passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
4280 passing it as integer)
4282 Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
4284 * extfs/lha: Updated the lha filesystem and included a command
4285 for running an executable from within an lha archive suggested
4286 by Zdenek Kabelac <kabi@informatics.muni.cz>
4288 * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
4289 config.in to create these VFS's for cleaner compilation