1 2001-10-20 Pavel Roskin <proski@gnu.org>
3 * fish.c (file_store): Fix incorrect format string
4 for print_vfs_message().
5 * ftpfs.c (file_store): Likewise.
7 2001-10-19 Pavel Roskin <proski@gnu.org>
9 * fish.c (command): Declare with the printf attribute to enable
11 (file_store): Cast all expressions with file sizes to unsigned
12 long. This should fix uploading when large file support is on.
13 File size is limited to 4096 * ULONG_MAX for now.
15 2001-10-18 Andrew V. Samoilov <kai@cmail.ru
17 * samba/configure.in: Don't check readline.h, history.h and
20 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
22 * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
23 "out of server memory" error. From samba 2.0.7 patchset.
25 2001-10-07 Pavel Roskin <proski@gnu.org>
27 * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
28 are not supported locally. Support Solaris doors, also fall
31 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
33 * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
36 2001-10-01 Pavel Roskin <proski@gnu.org>
38 * vfs.h [!USE_VFS]: Define macros with no effect to an empty
39 statement "do { } while (0)".
41 2001-09-30 Pavel Roskin <proski@gnu.org>
43 * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
45 2001-09-17 Pavel Roskin <proski@gnu.org>
47 * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
48 mc_fstat() because they don't expand correctly on Solaris 8 with
51 2001-09-10 Pavel Roskin <proski@gnu.org>
53 * Make-mc.in: Use USE_VFS conditional instead of relying on
56 2001-09-07 Pavel Roskin <proski@gnu.org>
58 * Make-mc.in: Include necessary parts of Make.common to
61 2001-08-23 Pavel Roskin <proski@gnu.org>
63 * names.c (finduname): Don't use HAVE_GETPWUID - it's never
64 defined. Don't redeclare getpwuid().
65 (findgname): Don't use HAVE_GETGRGID - it's never defined.
66 Don't redeclare getgrgid().
68 * fish.c: Remove useless semicolons after functions.
70 2001-08-19 Pavel Roskin <proski@gnu.org>
72 * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
73 Disallow st_nlink = 0.
75 2001-08-18 Pavel Roskin <proski@gnu.org>
77 * cpio.c (cpio_read_head): Check return value of cpio_find_head,
78 because it's not equal to super->u.cpio.type in case of errors.
80 2001-08-16 Pavel Roskin <proski@gnu.org>
82 * direntry.c (vfs_s_free_super): Remove i18n on commented out
85 * extfs.c (extfs_init): Internationalize error message, it's
88 2001-08-11 Pavel Roskin <proski@gnu.org>
90 * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
92 2001-08-07 Pavel Roskin <proski@gnu.org>
94 * extfs.h: Move private structures ...
97 * extfs.h (struct entry): Remove unused `has_changed' field.
98 It's only written but never read.
99 (struct inode): Likewise.
100 * extfs.c: All dependencies changed.
101 (extfs_open): Mark file as changed if it's open for writing.
103 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
105 * extfs/uzip: Update to version 1.4.0.
106 * extfs/README.uzip: Likewise.
108 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
110 * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
111 gives malloced filename, so this memory must be released after use.
113 (reconnect): Fix segmentation fault.
114 (smbfs_loadddir): Don't g_strdup path.
115 (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
116 smbfs_connections initialisation.
117 (smbfs_open_link): Likewise. Release host after get_master_browser.
118 (get_stat_info): Fix unneeded g_strdup/g_free calls.
119 (smbfs_mkdir): Release path after use.
120 (smbfs_mkdir): Likewise.
121 (smbfs_open): Fix memory leak.
122 (smbfs_unlink): Likewise. Fix error message.
123 (smbfs_rename): Fix memory leaks.
124 (smbfs_stat): Fix url parsing.
126 * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
127 (dos2unix_format): Likewise.
129 * ftpfs.c (ftpfs_fill_names): New function.
130 (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
132 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
134 * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
136 * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
137 * ftpfs.h (struct connection): Remove result_pending field.
139 * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
140 * smbfs.c (new_dir_entry): New function with repeated code from
141 browsing_helper, loaddir_helper and server_browsing_helper.
142 (browsing_helper): Use new_dir_entry.
143 (loaddir_helper): Likewise.
144 (server_browsing_helper): Likewise.
146 (cached_lstat_info): Eliminated.
147 (smbfs_readdir): Make dirent_dest static const.
148 Eliminate cached_lstat_info.
149 (smbfs_open_link): Make user parameter const. Fix memory leak.
150 (fake_server_stat): Make path parameter const. Symplify.
151 (smbfs_fstat): Set my_errno to EFAULT before return.
153 2001-08-01 Pavel Roskin <proski@gnu.org>
155 * Make-mc.in: Make it possible to run "make install" before
156 "make all". Use more Automake-compatible target names.
158 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
160 * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
161 (do_connect): Symplify.
162 (get_stat_info): Symplify. Eliminate another fake_stat.
163 (smbfs_chdir): Release remote_dir after use.
164 (smbfs_stat): Likewise. Fix another 2 memory leaks.
165 (smbfs_mkdir): Release remote_file after use.
166 (smbfs_rmdir): Likewise.
167 (smbfs_open): Likewise. Indentation fixes.
168 (smbfs_unlink): Likewise.
169 (smbfs_rename): Release rb and ra after use.
170 (search_dir_entry): Make text parameter const.
171 (smbfs_get_host_and_username): Make macro.
173 2001-07-20 Pavel Roskin <proski@gnu.org>
175 * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
176 From Ludovic Drolez <ludovic.drolez@freealter.com>.
178 2001-07-17 Pavel Roskin <proski@gnu.org>
180 * vfs.c (mc_return_cwd): Use g_get_current_dir().
182 2001-07-15 Pavel Roskin <proski@gnu.org>
184 * smbfs.c: Rename authinfo to smb_authinfo and
185 authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
186 and remove their definitions.
187 * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
189 2001-07-10 Pavel Roskin <proski@gnu.org>
191 * extfs.c: Include contents of shared_tar_ext.c - it's no
193 * shared_tar_ext.c: Remove.
194 * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
196 * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
197 filesystem. Don't translate it.
199 2001-07-09 Pavel Roskin <proski@gnu.org>
201 * tar.c (ReadStatus): Fix compilation on AIX.
202 From Dan McNichol <mcnichol@austin.ibm.com>.
204 * extfs/mailfs: Strip trailing DOS newlines from mail files.
205 From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
207 * fish.c (fish_chown): Do nothing and return success if
208 getpwuid() or getgrgid() fails.
210 2001-07-05 Pavel Roskin <proski@gnu.org>
212 * README.fish: Spelling fixes.
214 2001-06-29 Pavel Roskin <proski@gnu.org>
216 * Make-mc.in: Don't ever link mcserv with libintl - it must not
219 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
221 * smbfs.c: Include <config.h>. Make all internal variables static.
222 (get_stat_info): Eliminate fake_stat, memory leak fixed.
223 (IPC, URL_HEADER): Make static const.
224 (smbfs_stat): Fix segmentation violation.
225 (statfile_helper): Allocate memory for single_entry once. It is never
226 freed now, and only my_stat element of this structure is used.
228 2001-06-26 Pavel Roskin <proski@gnu.org>
230 * vfs.h: Don't include <config.h>.
232 2001-06-25 Pavel Roskin <proski@gnu.org>
234 * cpio.c: Include <config.h> before everything else.
235 * direntry.c: Likewise.
240 * utilvfs.h: Don't include <config.h> - it should be included
241 in all C files instead.
242 * xdirentry.h: Likewise.
244 2001-06-19 Pavel Roskin <proski@gnu.org>
246 * local.c (local_telldir): Warn and abort if telldir() is not
248 (local_seekdir): Warn and abort if seekdir() is not available.
250 2001-06-18 Pavel Roskin <proski@gnu.org>
252 * tcputil.c (sig_pipe): Use the same declaration with one int
253 argument - it's used everywhere else and it fixes a warning on
254 systems unlisted in the ifdef, e.g. OpenBSD.
256 2001-06-14 Pavel Roskin <proski@gnu.org>
258 * ftpfs.c: Declare functions without declarations static. Don't
259 omit `void' in declarations.
261 * direntry.c: Likewise.
267 * mcserv.c: Likewise. Remove unused functions.
269 * util-alone.c: Use indented #error.
270 * vfs.h: Use indented #warning instead of hiding it from non-gcc
273 2001-06-11 Pavel Roskin <proski@gnu.org>
275 * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
276 This avoids creating long filenames in dirent.c when the "name"
278 * extfs.c (vfs_extfs_ops): Likewise.
279 * fish.c (vfs_fish_ops): Likewise.
280 * ftpfs.c (vfs_ftpfs_ops): Likewise.
281 * local.c (vfs_local_ops): Likewise.
282 (vfs_nil_ops): Likewise.
283 * mcfs.c (vfs_mcfs_ops): Likewise.
284 * sfs.c (vfs_sfs_ops): Likewise.
285 * tar.c (vfs_tarfs_ops): Likewise.
286 * undelfs.c (vfs_undelfs_ops): Likewise.
288 2001-06-07 Pavel Roskin <proski@gnu.org>
290 * sfs.c (sfs_init): Change some warning messages to simplify
293 2001-06-06 Pavel Roskin <proski@gnu.org>
295 * shared_ftp_fish.c: Remove.
296 * Make-mc.in: Remove shared_ftp_fish.c.
297 * Makefile.am: Likewise.
299 2001-06-02 Pavel Roskin <proski@gnu.org>
301 * vfs.c (vfs_canon): s/canonize/canonicalize/.
303 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
305 * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
306 ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
308 * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
310 (is_week): Unmade week static.
311 (is_month): Unmade month static.
312 (vfs_parse_ls_lga): Optimize memory usage.
314 * .cvsignore: *.sor added.
315 * sfs.c (sfs_init): Optimized.
317 * vfs/samba/lib/util_sock.c (socket_options): Made static const.
319 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
321 * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
322 use mc_home to make mc relocatable.
323 * util-alone.c (shell): ... here
325 2001-05-27 Pavel Roskin <proski@gnu.org>
327 * fish.c: Redirect stderr of all commands to /dev/null.
329 2001-05-25 Pavel Roskin <proski@gnu.org>
331 * sfs.c (vfs_sfs_ops): Typo fix.
333 2001-05-22 Pavel Roskin <proski@gnu.org>
335 * vfs.c (vfs_split_text): Fill `columns' with zeroes before
336 writing new data into it.
338 * fish.c (free_archive): Use `exit' instead of `logout' - the
339 later fails under non-login shells.
340 (pipeopen): Redirect stderr of ssh to /dev/null.
342 (dir_load): Redirect stderr of ls to /dev/null.
343 (linear_start): Likewise.
345 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
347 * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
348 (clean): Remove *.so.
350 * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
351 ../src/tty.h and ../src/global.h.
353 (password, username): Made static.
354 (is_error): Commented out.
355 (loaddir_helper): Don't ignore hidden files, style fixes.
356 (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
358 (do_connect): Call cli_shutdown () and authinfo_remove () if
359 cli_session_setup () fails. It is not good idea to remember
360 wrong username/password.
362 (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
363 (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
365 2001-05-22 Pavel Roskin <proski@gnu.org>
367 * sfs.c (redirect): Don't free the filename after failed
368 mc_mkstemps() - it's not needed anymore.
370 2001-05-21 Pavel Roskin <proski@gnu.org>
372 * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
373 temporary file to reserve its name on the filesystem.
374 (vfs_s_retrieve_file): Use mc_mkstemps().
376 * extfs.c (extfs_open): Use mc_mkstemps().
377 * sfs.c (redirect): Likewise.
378 * shared_ftp_fish.c (_get_file_entry): Likewise.
379 (retrieve_file): Likewise.
380 * vfs.c (mc_def_getlocalcopy): Likewise.
381 * xdirentry.h: Remove declaration of g_tempnam().
383 2001-05-18 Pavel Roskin <proski@gnu.org>
385 * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
386 with NULL to suppress compiler warning.
388 2001-05-14 Pavel Roskin <proski@gnu.org>
390 * ftpfs.c: Warning fixes.
392 * utilvfs.h: Include background.h.
393 * cpio.c: Include utilvfs.h.
395 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
397 * Make-mc.in: add possibility to build libvfs.so
399 2001-04-19 Pavel Roskin <proski@gnu.org>
401 * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
402 rpm output varies between versions.
403 (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
404 filenames beginning with "./" - they are used in the version 4
407 2001-04-17 Pavel Roskin <proski@gnu.org>
409 * fish.c (open_archive_int): Redirect stderr of start_fish_server
410 to stdout so we don't get confused if it doesn't exist.
412 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
414 * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
415 NULL when appropriative error message can't be found as it is expected
416 in cli_errstr(). Return type changed to const char *
418 * smbfs.c (smbfs_fill_names): implemented
420 (smbfs_stat): unneeded g_strdup/g_free calls removed
421 (smbfs_loaddir): memory leaking fixed
423 * samba/libsmb/clientgen.c (rap_errmap, prots): constified
425 2001-04-06 Pavel Roskin <proski@gnu.org>
427 * Make-mc.in: Use a single variable SAMBA_DIST to hold all
428 distributable samba files.
430 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
432 * samba/libsmb/smbdes.c: undefine uchar before redefine it
434 * smbfs.c (smbfs_close): honour changed semantics for return value
435 (on error -1 is expected).
437 * (fs): it is at least strange use char * for counter. Changed to int
439 2001-03-14 Pavel Roskin <proski@gnu.org>
441 * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
442 Remove any knowledge of SAMBAFILES. Merge object files with
443 libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
444 to the `samba' directory. Don't ignore errors from ranlib.
446 * samba/Makefile.in: Make *clean targets Automake-compatible.
447 Don't ignore errors from `rm'.
449 * samba/configure.in: Use AC_CHECK_TOOL to find AR.
450 * samba/Makefile.in: Remove useless rules, including defunct
451 dependency tracking. Create libsamba.a from the object files.
453 2001-03-07 Pavel Roskin <proski@gnu.org>
455 * cpio.c (cpio_skip_padding): Warning fix.
456 * fish.c (dir_load): Likewise.
459 * extfs/uzip: New file from Oskar Liljeblad.
460 * extfs/README.uzip: Likewise.
461 * extfs/Makefile.am: Adjust for constant uzip.
463 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
465 * extfs/*uzip*: replace uzip with perl version by
466 Oskar Liljeblad <osk@hem.passagen.se>
468 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
470 * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
471 (vfs_strip_suffix_from_filename): filename constified
472 (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
475 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
477 * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
478 so use LC_ALL=C to override any locale
479 * smbfs.c (smbfs_open_link): service initialized
480 * (my_forget): new features of vfs_split_url used
482 2001-03-01 Pavel Roskin <proski@gnu.org>
484 * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
485 Reported by Christian Gennerat.
487 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
489 * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
491 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
493 * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
494 "K. Leif D. Van Horn" <leif@kaivo.com>)
496 2001-02-23 Pavel Roskin <proski@gnu.org>
498 * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
499 Don't hardcode gawk. Don't rely on the date format occupying a
500 fixed number of fields.
502 * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
503 the real file - check usage info instead. Use more robust checks
504 for valid lines. Suppress stderr from unzip. Workaround for jar
505 files - fix mode for files ending with slash.
507 2001-02-20 Pavel Roskin <proski@gnu.org>
509 * vfs.h: Include sys/timeb.h if it's present. Include time.h and
510 sys/time.h as recommended by Autoconf documentation.
511 * cpio.c: Remove all time-related includes - they are in vfs.h.
515 * mcserv.c: Likewise.
517 * util-alone.c: Likewise.
518 * vfs.c: Likewise. Include xdirentry.h.
520 * extfs.c: Include xdirentry.h. Undefine ERRNOR before
523 2001-02-19 Pavel Roskin <proski@gnu.org>
525 * shared_tar_ext.c (__find_entry): Make sure that the parent is a
526 directory even if the child is not.
528 * extfs/mailfs (parse_date): Correctly handle two-digit years
529 between 1970 and 1999.
531 2001-02-14 Pavel Roskin <proski@gnu.org>
533 * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
534 checking for ctime() format.
537 2001-02-11 Pavel Roskin <proski@gnu.org>
539 * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
540 for dates found in AOLMail(SM) messages. Accept single-digit
541 hours and missing seconds. Provide a fallback if cannot parse
543 (process_header): Typo fix. Use \s instead of space in regular
546 2001-02-10 Pavel Roskin <proski@gnu.org>
548 * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
549 including the directory bit. This fixes crashes on some FAT
552 2001-02-09 Pavel Roskin <proski@gnu.org>
554 * samba/configure.in: Remove more useless tests.
555 * samba/tests/crypttest.c: Remove.
556 * samba/tests/fcntl_lock.c: Likewise.
557 * samba/tests/shared_mmap.c: Likewise.
558 * samba/tests/sysv_ipc.c: Likewise.
559 * samba/samba-files: Likewise.
560 * samba/smbadduser: Likewise.
561 * Make-mc.in: Adjust for the above.
562 * samba/include/includes.h: Removed definitions related to the
565 * Make-mc.in: Eliminate ubiqx.
566 * samba/Makefile.in: Likewise. Remove some unused variables.
567 * samba/include/includes.h: Eliminate dependency on ubiqx.
568 * samba/include/nameserv.h: Likewise.
569 * samba/include/proto.h: Remove prototypes from nmbd/*.
570 * samba/ubiqx/*: Remove.
572 * samba/configure.in: More useless stuff removed.
573 * samba/Makefile.in: Likewise.
574 * Make-mc.in: Remove samba/smbwrapper directory.
575 * samba/smbwrapper/smbw.h: Remove.
576 * samba/include/includes.h: Don't include smbw.h.
578 * samba/configure.in: Don't check for things that are unused.
579 Remove support for building shared libraries.
580 * samba/Makefile.in: Remove support for shared libraries and
583 * samba/configure.in: Don't check for any 64-bit functions and
584 syscall() - they are not needed.
586 * samba/configure.in: Remove the test for
587 HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
588 the rest of the source that doesn't use explicit 64-bit calls.
590 * Make-mc.in: Always check for samba/Makefile before descending
591 there. Don't ever ignore errors from "cd". Use $(MAKE), not
592 make. Formatting changes.
594 2001-02-08 Pavel Roskin <proski@gnu.org>
596 * Make-mc.in: Undo previous fix. Don't run "make clean" in
597 samba/ if samba/Makefile is missing.
599 * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
600 may be missing. Clean using the rule from samba/Makefile.in.
602 * cpio.c: Eliminate C++ comments.
605 * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
606 since CVS Automake already creates that directory.
608 * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
609 testing - it breaks on HP-UX 10.20.
611 2001-02-07 Pavel Roskin <proski@gnu.org>
613 * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
614 samba/tests/ftruncroot.c.
616 * samba/configure.in: Remove tests for setresuid and setresgid.
617 * samba/include/includes.h: Remove declarations of setresuid and
620 * samba/configure.in: Don't check for root permissions. Don't
621 call tests/trapdoor.c and tests/ftruncroot.c.
622 * samba/tests/trapdoor.c: Remove.
623 * samba/tests/ftruncroot.c: Likewise.
624 * samba/tests/summary.c: Don't warn about trapdoor uid systems.
626 * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
629 * samba/aclocal.m4: Fix underquoting.
630 * samba/configure.in: Fix underquoting. Don't use loff_t as the
631 second argument to AC_CHECK_TYPE - it's not a builtin type.
633 * samba/configure.in: Remove checks for statvfs and friends -
634 they are irrelevant to the client code.
635 * samba/tests/summary.c: Likewise.
637 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
639 * extfs/urar.in (list): better solution to prevent duplication
641 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
643 * extfs/urar.in (LC_ALL): set to C to prevent localization,
644 (mcrarfs_list): directories placed first to prevent duplication
646 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
648 * ftpfs.c (dir_load): From Roland Mainz
649 <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
652 * *.c: From Roland: it is not possible to g_free() something
653 allocated by strdup(), because g_malloc might be different for
654 malloc. Therefore wrapped strdup into g_strdup() wrapper.
656 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
658 * samba/libsmb/nterr.c (nt_errs): constified
660 * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
663 (smb_errstr): err constified to avoid warnings
665 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
667 * ftpfs.c (open_data_connection): don't generate //filename, some
668 ftp servers can't store it;
670 (command): g_strdup_vprintf() and g_strconcat() replaced
671 by g_strdup_vprintf(), g_realloc() and strcpy()
672 to reduce memory usage when trailing "\r\n" added;
674 (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
675 value to log servers replies
677 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
679 * sfs.c (redirect): temporary file unlinked on error;
681 (sfs_init): warnings are localized
683 2000-10-05 Pavel Roskin <proski@gnu.org>
685 * extfs/rpm: If rpm indicates an error create a virtual file
686 ERROR and put error messages there.
688 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
690 * extfs/mcunarj.diff: better version from Christian Gennerat
691 <christian.gennerat@vz.cit.alcatel.fr>
693 2000-09-21 Pavel Roskin <proski@gnu.org>
695 * extfs/uzoo.in: Suppress output from grep. Don't use '~',
696 use $HOME instead - it's more portable.
698 2000-08-24 Pavel Roskin <proski@gnu.org>
700 * extfs/Makefile.am: all scripts should be executable
702 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
704 * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
705 override locale for dates
707 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
709 * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
711 2000-09-14 Pavel Roskin <proski@gnu.org>
713 * Make-mc.in: direntry.c was listed twice in VFSSRCS
715 * Make-mc.in: removed commands to build standalone libvfs -
716 they are now in Makefile.am. Create links in the build
717 directory - source directory may be read-only. Removed hack
718 with mcservx - it's no longer needed.
720 * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
722 2000-09-05 Pavel Roskin <proski@gnu.org>
724 * Make-mc.in: don't ignore errors in the distdir target
726 2000-08-24 Pavel Roskin <proski@gnu.org>
728 * extfs/Makefile.am: new file
729 * Make-mc.in: remove stuff pertinent to the extfs directory
731 2000-08-24 Pavel Roskin <proski@gnu.org>
733 * Make-mc.in: don't ignore error installing mcserv.
734 Create directories before installing into them.
736 2000-08-18 Pavel Roskin <proski@gnu.org>
738 * Make-mc.in: adjusted lists of distributed files.
739 Makefile rebuilding fixed.
741 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
743 * ftpfs.c (dir_load): taken it out, it needs to correctly provide
744 parent, this way it breaks things.
746 * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
747 display zip files in fat and ntf formats
749 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
751 * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
752 Roland.Mainz@informatik.med.uni-giessen.de
754 * util-alone.c (message_1s1d): added missing function
756 2000-08-03 Pavel Roskin <proski@gnu.org>
760 2000-08-02 Pavel Roskin <proski@gnu.org>
762 * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
763 distributed. Added some comments to prevent future errors.
764 "make distclean" now cleans generated filters.
766 * samba/configure.in: Fixed sloppy output. The fix also sent to
769 * samba/include/stamp-h.in: Added to CVS.
771 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
773 * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
775 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
777 * ftpfs.c: (my_get_host_and_username) space between macro name and
780 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
782 * tar.c (read_header): memory leaking for empty symlink's names fixed
784 * utilvfs.c (vfs_split_url): *host is not assigned if host is null
786 * ftpfs.c (login_server): new features of vfs_split_url () used,
787 my_get_host_and_username became macro
789 * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
790 removed (vfs_canon removes trailing '/')
792 * sfs.c (vfmake, redirect): allocated memory realeased on errors
794 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
796 * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
798 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
800 vfs/extfs/uha.in: add HSC type archives
802 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
804 * direntry.c (vfs_s_inode_from_path): fix for stating / directory
807 * vfs.c: == 0 is right test of eof.
809 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
811 * direntry.c (vfs_s_internal_stat): added ugly special case for /
812 of archive to always exist. It seems I'm hiding some underlying
815 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
817 * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
819 (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
821 * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
823 (ftpfs_directory_timeout): default value changed to 900
825 (netrc_next): "const char * const keywords" go to rodata and is shared
827 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
829 * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
830 deadlocks with podfuk
832 * direntry.c: fix behaviour when stating / directory of ftp
835 2000-04-15 Timur Bakeyev <mc@bat.ru>
837 * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
839 * ftpfs.c (dir_load): At last, found place, that broke handling
840 directories with spaces in name. Problem was in prepending "/"
841 to "." for current directory. Which was, obviously, wrong. Hacked
842 to make just "LIST -la ." instead.
844 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
846 * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
848 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
850 * extfs/audio: Added a way to browse audio CDs conviently
852 * undelfs.c: use NULLs instead of 0s when you assign to pointers!
854 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
856 * utilfs.c (vfs_split_url): don't assign *pass if pass is NULL
857 * fish.c (archive_open, archive_same): memory allocated by
858 vfs_split_url () must be released after use, don't strdup()
859 values allocated by vfs_split_url () and NULL passed to
860 vfs_split_url () when password value is unused
861 * ftpfs.c (archive_open, archive_same): ditto plus same for
862 ftpfs_get_proxy_host_and_port ()
864 2000-04-06 Timur Bakeyev <mc@bat.ru>
866 * ftpfs.c (netrc_next): Turned strange "const char * const keywords"
867 into more alike "const char const * keywords". Still, think, it's
870 * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba headers.
871 Libncurses(or slang?) defines BOOL and that can cause problems. (In fact,
872 I can't find references to that const, but sure, I hade reason to do that:)
874 * util-alone.h: Declare load_anon_passwd() to avoid warnings.
876 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
878 * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
879 crushes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
880 * fish.c (linear_start): name wasn't freed after usage
881 * cpio.c (cpio_ungetlocalcopy): return type changed to int,
882 function return 0 now
883 * direntry.c (vfs_s_close, vfs_s_resolve_symlink): memory, allocated
884 by vfs_s_fullpath () is freed after use
885 * ftpfs.c (linear_start): ditto;
887 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
889 * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
890 not strdupped(), so it must not be g_free'd.
892 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
894 * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
895 fish work better with files files like "this is sentence"
897 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
899 * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
900 locale to C so that rpm does not confuse us
902 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
904 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
906 * vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
907 these variables must be assigned in vfs_s_new_inode () or extfs
908 layer, so ftpfs subdirectories now can be copied.
910 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
912 Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
914 * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
915 mc_(un)?getlocalcopy): added const qualifier
916 (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
917 so, free() it, not g_free();
918 (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
920 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
922 * cpio.c: cpio.h is missing, so don't try to include it. (It is
923 not needed, anyway. Strange.)
925 * Makefile.in (NONETFILES): cpio added to compilation list
927 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
929 * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
930 with unexpected side effects (only when HSC_PROXY was
931 defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
934 (dir_load): Do not hard code the directory cache timeout to 10
935 seconds. Instead use the setting from Options/Virtual VFS ...
937 * fish.c (file_store): honour changed semantics for return value
938 (on error -1 is expected).
940 * ftpfs.c (file_store): dito
942 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
944 * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
945 it using code from tarfs.
947 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
949 * extfs/uzip.in (nam): y2k fixes (workarounds) by
950 christian.gennerat@vz.cit.alcatel.fr
952 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
954 * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
956 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
958 * xdirentry.h: added prototype for vfs_s_retrieve_file
960 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
962 * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
963 for broken symlinks like 2001 -> The Space Oddysea.
965 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
967 * ftpfs.c: vfs semantics has some problems with ~s. What will
968 happen if we just don't go to home directory of user? (We used to
969 have /#ftp:hobit/~/ mean home directory of anonymous at
970 hobit. Thats pretty broken.)
972 * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
975 * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
977 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
979 * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
980 from Andrew V. Samoilov
982 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
984 * extfs.c (extfs_chdir): removed unneeded statment, plus applied
985 cosmetics fixes from Andrew V. Samoilov
987 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
989 * extfs/deb.in: Change to the deb vfs. tar has changed, and
990 depending on the version, it saves files as "./filename" or
993 * From debian: added deba, debd, dpkg, apt script file systems.
995 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
997 * vfs.c (vfs_parse_filedate): don't decode last columns as year
1000 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
1002 * vfs/vfs.h: use #warning only for gcc. Not all compilers
1005 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1007 * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
1008 mostly internationalization + fixing stupid bugs of mine
1010 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1012 * ftpfs.c: basically replaced ftpfs with new one. Unlike the
1013 previous one, this uses new direntry.c layer, so shared_ftp_fish.c
1016 This is new code, so beware.
1018 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1020 * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
1021 value, too. This code is going to be killed, the sooner the better.
1023 * *.c (mc_[un]getlocalcopy): we really need some return value,
1024 because we can have errors
1026 * fish.c: don't use directory expiration, it does not work,
1027 use retrieve_file from direntry.c
1030 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
1032 * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
1033 name has to be malloced.
1035 1999-10-07 Miguel de Icaza <miguel@gnu.org>
1037 * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
1038 <lav@yars.free.net> that makes the code compliant to RFC959
1040 1999-08-30 Miguel de Icaza <miguel@gnu.org>
1042 * ftpfs.c (insert_dots): Use g_new here.
1044 * shared_ftpfs_fish.c: Style fixes and small fixes
1046 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
1048 * extfs/uzip.in: Better handling of zip-archives that contain files
1049 which contain spaces.
1051 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
1053 * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
1055 * mcserv.c: removed definition of mad_strconcat which is also
1058 1999-09-17 Federico Mena Quintero <federico@redhat.com>
1060 * smbfs.c: #define NO_CONFIG_H before including the samba
1061 includes; this way it will not re=define HAVE_LIBREADLINE. This
1062 situation sucks. Should we change the names of the widget.h
1063 history_*() functions?
1065 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
1067 * smbfs.c (various places): Store filenames in memory with the unix
1068 character set and convert it back to the dos character set when
1069 filenames are passed back to the samba server. If samba is configured
1070 correctly this will fix the problems with filenames which contain
1071 national characters.
1073 (bucket_set_authinfo): Set domain, username and password which will
1074 be used to log on and authenticate against the samba server and remember
1075 this information on a host/share basis. If set use PASSWD to get the
1076 password. If already authenticated against the host and share use this
1077 information. If already authenticated against host and IPC$ use this
1078 information. If neither of the former is true ask the user how to
1081 (authinfo_get_authinfo_from_user): New function. Query the user for
1082 domain, username and password to use for authentication.
1084 (authinfo_free): New function. Free memory in authentication structure.
1086 (authinfo_free_all): New function. Free the list used to remember
1087 authentication information.
1089 (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
1090 Helper functions used to search the authentication list.
1092 (authinfo_add): New function. Add one authentication entry to the
1095 (authinfo_remove): New function. Remove one entry from the authlist.
1097 (free_bucket): Free memory associated with one bucket.
1099 (smbfs_get_free_bucket): Initialize the complete connection array
1100 with 0. Free the memory allocated for a bucket and initialize the
1101 bucket before reusing it.
1103 (smbfs_open_link): use new functions to get authentication information
1105 (get_stat_info, smbfs_stat): remove unused variables.
1107 1999-08-31 Federico Mena Quintero <federico@redhat.com>
1109 * extfs/uzip.in: Handle filenames with spaces better. Thanks to
1110 Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
1113 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
1115 * ftpfs.c (translate_path): Remove static buffer from here.
1116 Return a strdupped string now.
1117 (send_ftp_command): Release translate_path result here.
1118 (open_data_connection): Release translate_path result here.
1119 (ftpfs_chdir_internal): Reease it here too.
1121 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
1123 * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
1124 have been written one slot past the supplied character array).
1126 * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
1127 strange symlinks (ls -la doesn't reveal where the symlink points to
1128 and ls -lLa doesn't resolve the symlink either)
1130 Added protection against recursive symbolic links.
1132 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
1134 * smbfs.c: added missing include file
1136 (browsing_helper): use g_strdup instead of g_new + pstrcpy
1137 (Btw. this is an example why the handholding of smblib gives a
1138 false security feeling. pstrcpy limits the number of characters
1139 copied and is used with a buffer which is smaler than the hard
1140 coded limit in pstrcpy)
1141 (loaddir_helper): ditto
1142 (server_browsing_helper): ditto
1144 (get_remote_stat): fixed memory leaks
1145 (smbfs_loaddir): ditto
1146 (get_stat_info): ditto
1149 (convert_path): rewritten, now it's much cleaner what it does.
1150 This rewrite was necessary because gcc -O2 choked on glibc 2.1
1151 systems. In that combination strncat is a macro which expands to
1152 strlen and strcat and in vfs/samba/include/includes.h the latter is
1153 defined to __ERROR__XX__NEVER_USE_STRCAT___;.
1155 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
1157 * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
1158 needed. In rare cases a pointer was freed twice. Pavel Machek
1159 pointed this out a while ago but obviously it hasn't been fixed yet.
1161 * sfs.c (vfmake): Quote characters with a special meaning to the
1162 shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
1163 your full path has the space character in it.).
1165 1999-08-17 Kjartan Maraas <kmaraas@online.no>
1169 1999-08-15 David Martin <dmartina@usa.net>
1171 * vfs.c (vfs_print_stats): Translate vfs stats
1173 * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
1175 * fish.c: Translate messages
1177 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
1179 * tar.c (read_header): Don't segfault when a symlink points to the
1182 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
1184 * vfs.c: Don't close a function definition with "};". SunCC from
1185 2.5.1 chokes on the extra semicolon
1187 (mc_munmap): Don't dereference function pointer when checking for
1188 NULL (this check is supposed to prevent a segfault instead of
1189 causing one). This haven't got noticed up to now becaue there's no
1190 file system with mmap but without munmap.
1192 Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
1194 * samba/include/config.h: Removed. Should be generated.
1196 Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
1198 * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
1199 when builddir != srcdir. Removed some junk after not coherent patching.
1201 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
1203 * Make-mc.in (distcopy): Added a bunch of new lists of files for
1204 the directories in vfs/samba. Use them in this rule, because
1205 plain wildcards will not work right.
1206 (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
1208 Added smbfs.[ch] to the list of sources.
1210 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
1212 * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
1213 as well as the dependencies.
1215 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
1217 * smbfs.c (get_remote_stat): Change debug level.
1219 (get_stat_info): 2 line fixes from Wayne to check the
1220 cache properly. WOOOOHOOOO! Works like a charm.
1222 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
1224 * vfs/smbfs.c: New file. Implements the Samba-based file system.
1226 * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
1228 * vfs/vfs.c (vfs_file_is_smb): implemented.
1229 (vfs_init) register smbfs.
1231 * vfs/samba: Incorporate SAMBA source code required for smbfs
1233 Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1235 * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
1236 make a difference between "LIST -la" and "LIST -lLa". If we find such
1237 a server don't use -lLa when resolving symbolic links.
1239 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
1241 * urar.in, uzip.in: patches to use in #urar and #uzip the new features
1242 added in mc-4.5.31 (unlink, mkdir, rmdir)
1244 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1246 * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
1249 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
1251 * extfs/uzip.in (nam): Handle new unzips.
1253 Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1255 * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
1256 (i.e. not even "." and "..") check whether the directory is empty
1257 or not existend (instead of failing with "ftpfs: failed").
1259 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1261 * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
1263 (vfs_parse_ls_lga): do not silently ignore parsing errors.
1265 Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1267 * extfs.c (extfs_open): tempnam returns a malloced string, no need
1270 (various places): use free instead of g_free to free string returned
1273 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1275 * urar.in, uzip.in: rolled in patches from "christian.gennerat"
1276 <christian.gennerat@vz.cit.alcatel.fr> for better handling of
1277 spaces and copyin-feature-addon.
1279 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
1281 * extfs.c (get_path_from_entry): Fix a crash here.
1283 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
1285 * extfs.c (extfs_unlink):
1288 (remove_entry): New functions.
1289 (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
1290 Add descriptions for these to the extfs README.
1292 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1294 * Make-mc.in (DISTVFS): try to distribute files needed for
1295 building libvfs.so alone
1296 (EXTFS_MISC): include uarj and unarj.diff in distribution
1298 1999-04-08 Owen Taylor <otaylor@redhat.com>
1300 * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
1301 up "TMP RACE" comments so they are at least secure,
1302 if not terribly robust.
1304 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
1306 * added copy_in capability to mtools filesystem
1308 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
1310 * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
1313 * mcserv.c: #include <sys/wait.h>
1314 (get_client): Put `#ifdef __EMX__' around an otherwise-unused
1317 * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
1318 comparing characters.
1320 * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
1322 * extfs.c (extfs_init): Assign `key' to c, not `&key'.
1324 Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1326 * vfs.h (vfs_translate_url): Fixed the macro which is used when
1327 compiling without vfs.
1329 1999-03-22 David Martin <dmartina@mailexcite.com>
1331 * ftpfs.c: Internationalize the messages that are displayed as
1334 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
1336 * extfs.c (extfs_init): Fix the code here: If the key is empty or
1337 only contains a new line, C would be pointing into an invalid location.
1339 Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
1341 * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
1343 Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
1345 * extfs/uha.in: Add support for ha archives.
1347 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
1349 * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
1352 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1354 * vfs.h: Make it compile in AIX. Boy do those guys polute the
1357 1999-03-09 Shooby Ban <bansz@szif.hu>
1359 * extfs/extfs.ini: Corrected rpms -> rpms:
1360 by Balazs Nagy <julian7@kva.hu>
1362 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1364 * vfs.c (parse_ls_lga): kill the messages on each error.
1366 Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
1368 * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
1369 of st_rdev. This makes stats on device files useless. Fixing
1370 this does not break anything, but adds the ability to copy
1371 device files properly. Ideally, both st_dev and st_rdev should
1372 be returned for those programs that use the vfs to properly
1373 recreate hardlinks. Whose idea was it to only return one of
1376 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
1378 * unlha.in: Fix the problem of having incorrect pathnames when
1379 pulling out files from the LHA file.
1381 Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1383 * tar.c (read_header): Treat hardlinks correctly.
1385 Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1387 * ftpfs.c (insert_dots): renamed from insert_dot. We have to
1388 insert ".." as well or directories from ftp servers which don't
1389 list "." and ".." are displayed with an additional "/".
1391 Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
1393 * tcputil.c: One more my bug with '\0' -> NULL. Oops..
1395 Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
1397 * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
1398 present. (BTW, bsdi uses it's own auth system..)
1400 Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
1402 * mcserv.c (do_auth): mcserv never auth properly on bsdi.
1403 (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
1406 * tcputil.c: use correct signal handler (void func(int)) on BSDI
1408 Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1410 * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
1411 to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
1413 Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1415 * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
1416 occurance of 0 with NULL should stop this stupidy. And replacing
1417 '\0' with NULL is plan wrong!!. Reverted this replacement.
1419 * ftpfs.c (load_no_proxy_list): ditto
1421 Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1423 * ftpfs.c (insert_dot): New function. Insert a "." into the linked
1424 list. Stat'ing the root directory of a ftpfs fails if the dot is
1427 (retrieve_dir): insert "." into the linked list if the ftp server
1430 Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1432 * The following changes make ftpfs work with a remote AmiTCP
1433 server are the result of somehow longish EMail debugging session. I
1434 don't know any public server of this kind but I was told the
1435 combination Unix/Amiga boxes are often used in intranets.
1437 * ftpfs.c (translate_path): New function. Translate a Unix path,
1438 i.e. MC's internal path representation (e.g. /somedir/somefile) to
1439 a path valid for the remote server. Every path transfered to the
1440 remote server has to be mangled by this function right prior to
1441 sending it. Currently only Amiga ftp servers are handled in a
1444 * ftpfs.c (various places): use translate_path
1446 * ftpfs.c (login_server): Assume we have to mangle pathnames if
1447 the greatings string from the server contains the word Amiga. If
1448 this assumption is wrong I have to find another way to turn on
1451 * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
1452 if it is missing. MC needs it as seperator between hostname and
1453 path in its internal url representation.
1455 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
1457 * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
1460 Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
1462 * All around the source: Changed copy_strings() to g_strconcat(). Modi-
1463 fy last parameter in concat_dir_and_file() to "" - to prevent stack from
1466 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
1468 * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
1469 * Make-mc.in (VFSHDRS): Likewise.
1471 Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
1473 * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
1474 gives the same effect.
1476 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
1478 * utilvfs.c (append_path_sep): Fixed, it was broken for paths
1479 which already have a / at the end.
1481 Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
1483 * undelfs.c: Found one more unconverted realloc() call.
1485 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
1487 * undelfs.c (undelfs_loaddel): Fix Timur's changes.
1489 Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
1491 * Actually commit all changes :>
1493 Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
1495 * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
1496 PATH_SEP_STR. Additionall cleanups of the memory code.
1498 * utilvfs.h: Added several defenitions for common sizes for buffers.
1499 It seems, most of us experience problems, when inventing size for new
1500 buffer. This is much better and portable way to eliminate the problem.
1502 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
1504 * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
1506 Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
1508 * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
1509 g_strdup()/g_free() routings. Also, copy_strings() replaced by
1510 g_strconcat(), and sprintf() by g_snprintf().
1512 * utilvfs.h: New header file. Introduced as a stock header, which keeps
1513 all includes in a right order, to avoid order-dependence mistakes.
1515 Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
1517 * direntry.c: vfs_s_find_entry_tree changed to follow
1518 symlinks properly. Symlinks are now always followed
1519 except for the last part of the filename.
1520 vfs_s_resolve_symlink() now converts absolute paths to
1521 ../../file notation so that they can be easily resolved
1524 * tar.c: . and .. are missing from directory entries,
1525 making it impossible to resolve links - fixed.
1527 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
1529 * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
1531 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
1533 * sfs.c (redirect): tempnam returns a malloc()ed buffer.
1535 Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1537 * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
1539 Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
1541 * sfs.c (sfs_free): Fixed wrong linked list handling (head was
1542 lost after the first iteration).
1544 (sfs_getid): dito, return value was wrong.
1546 Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
1548 * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
1549 Also, fixed some bugs in parsing (and add new ones:), which diasallowed
1550 proper parsing of device major and minor numbers. Some other fixes. Add
1551 several new is_*() functions to make code readable.
1553 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
1555 * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
1556 defines for non-vfs compilation.
1558 Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
1560 * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
1561 (where YY-MM-DD is parsed).
1563 Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
1565 * vfs.c (vfs_parse_filedate): If the date is less than 6 months
1566 in the past, it is shown without year. In this case MC assumed
1567 the current year which is wrong from Jan to Jun.
1569 Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
1571 * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
1573 Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1575 * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
1576 this filesystem and delete temporary files. This needs further
1579 * tar.c: deleted unused empty struct tar_super.
1581 Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1583 * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
1584 was used for external and internal reference count. This was wrong
1585 because we can free resources taken up by the vfs as soon as the
1586 external reference count (now fd_usage) is zero. The internal
1587 reference count (ino_usage) mustn't matter because the vfs has to
1588 clean up itself in the correct order.
1590 Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1592 * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
1593 and st_dev from vfs_s_default_stat.
1595 (vfs_s_default_stat): initialize st_ino and st_dev to zero
1597 * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
1600 Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1602 * tar.c: Deleted global variable tar_gzipped_memlimit.
1604 Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1606 * vfs.c (vfs_strip_suffix_from_filename): New function which strips
1607 known vfs suffixes from a filename and returns a malloced string
1608 which has to be freed. Possible improvement: strip vfs suffix from
1609 last path component.
1611 * extfs/*: added "umask 077" to every script.
1613 Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1615 * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
1616 safely w.r.t. symlinks in /tmp
1618 Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
1620 * direntry.c: Hopefully got want_stale_data right...
1622 Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
1624 * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
1625 this is neccessary for Solaris and probably others
1627 Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
1629 * vfs.c (vfs_type_from_op): removing unneccessary code
1631 Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1633 * extfs/rpm: commit fix for files with spaces in name by Marc
1634 Merlin (marcsoft@merlins.org)
1636 Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1638 * fish.c: default to normal ssh
1639 (open_archive_int): debugging hack killed
1641 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
1643 * Makefile.am (EXTRA_DIST): Distribute files that the
1644 BUILT_SOURCES depend on.
1645 (mad.c, mad.h): Don't use GNU make specific features in rule.
1646 (libvfs_la_SOURCES): Update from Make-mc.in.
1648 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
1650 * direntry.c (vfs_s_insert_super): This routine does not return
1653 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1655 * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
1658 * xdirentry.h (LINK_NO_FOLLOW):
1659 * tar.c (read_header):
1660 * direntry.c (vfs_s_resolve_symlink):
1661 (vfs_s_inode_from_path):
1662 (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
1663 LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
1664 NO_FOLLOW are defined in an enum.
1666 * vfs.h (ELAST): define it to 300, if not already defined, thats a
1667 bad hack, but what can we do....
1669 Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
1671 * direntry.c (vfs_s_new_super): Added the missing return value.
1673 Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
1675 * vfs.h: (Temporary?) fix to the compiling error: Some of the error
1676 codes, defined here are Linux specific and unknown to other systems.
1677 Changed to #ifdef's with assigning new codes by means ELAST+offset.
1679 Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
1681 * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
1682 which indicate a file with extented attributes (ACL)
1684 Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1686 * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
1687 we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
1689 (resolve_symlink_without_ls_options): that's resolve_symlinks
1690 we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
1691 directory cache fetching directories if necessary. We got some
1692 complaints about slower ftpfs in the above releases. Now this methode
1693 is no longer the default methode to resolve symbolic links. It is still
1694 needed for ftp servers which don't understand the LIST -lLa command.
1696 (resolve_symlink): Dispatch between the two methods to
1699 Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
1701 * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
1702 thanks to Pavel Roskin for reporting
1704 * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
1706 * utilvfs.c (vfs_split_url): initialize variables so that we do
1709 Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
1711 * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
1712 where unneccessary. I do not see why passing NULL to vfs_add_stamp
1713 should be invalid -> removed check.
1715 Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
1717 * direntry.c, xdirentry.h: should be now prepared to handle
1718 ftp-like filesystems. This is rather BIG change, altrough it does
1719 not look so. I hope I do not break too many things.
1721 Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1723 * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
1725 Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
1727 * extfs/rpm: Fix to display files belonging to users with
1728 excessively long usernames
1730 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
1732 * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
1733 is both safe and more correct, as there is no limit on the
1736 * ftpfs.c (command): Same as above.
1738 * util-alone.c (print_vfs_message): Same as above.
1740 Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1742 * ftpfs.c: report which directory you are listing, fix behaviour
1743 with servers that don't like LIST //. (Nowell) Fix behaviour even
1746 * direntry.c (vfs_s_automake): insert newly generated entry
1748 * direntry.c (vfs_s_free_entry): Debugging printf() killed.
1750 Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1752 * Make-mc.in: added xdirentry.h to VFSHDRS
1754 Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1756 * tar.c (tar_open_archive): do not double-free memory if you can
1757 not open archive, better error handling
1759 * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
1761 * sfs.c, tar.c: remove debugging messages (which really should not
1762 escape from my tree)
1764 Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
1766 * README: added. If you are using emacs or hacking libvfs, please
1769 * direntry.{c,h}: new library created, so that same entry/inode
1770 code does not have to be copied in every handler.
1772 * tar.c: converted to use direntry.c library, which means BIG changes.
1774 * ftpfs.c: small updates to make code look nicer
1776 Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
1778 * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
1779 which actually need it.
1781 * extfs.c: extfs_current_dir killed - it was unneccessary.
1783 * mcfs.c (mcfs_get_path): It is possible for path not to begin
1784 with /#mc:, for example if user does /etc/#mc:. (It is not
1785 correct, of course). Return error, but do not vfs_die().
1787 Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
1789 * lib/mc.ext.in: cpio support fixed. It was broken since time we
1790 started to do #ext syntax.
1792 Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
1794 * vfs.c (mc_open): die() if open is unsupported. If filesytem does
1795 not support open, it is probably stupid typo, so we want bug to be
1798 Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1800 * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
1801 free dcache while resolving symlinks (i.e. don't free some
1802 pointers which are in use by resolve_symlink).
1804 Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1806 * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
1808 Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1810 * shared_ftp_fish.c (s_write): stupid bug fixed
1812 Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
1814 * extfs/*: marked obvious security holes with FIXME: TMP RACE
1816 * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
1817 symlink attack, fixed memory leak along the path
1819 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
1821 * vfs.c, vfs.h: Indentation chages, ugly macros removed. I am
1822 going to split this file in the future.
1824 Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
1826 * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
1827 Borsenkow <borsenkow.msk@sni.de>
1829 Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1831 * vfs.h (vfs_struct): renamed to avoid namespace conflict
1833 Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
1835 * sfs.c: reuse mmap from local.c
1837 * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
1838 and replaced with open(,O_LINEAR); lseek() combination
1840 Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
1842 * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
1843 as it deals with portmapper, it is probably usefull for mcfs
1845 * vfs.h (MCERR_*): these are no longer needed
1847 * vfs.c (vfs_translate_url): translating of url's moved to vfs
1850 * all around: trying to reduce namespace pollution. All special
1851 functions (like extfs_run) should be done using mc_setctl()
1852 interface. At the end, all non-static functions in vfs layer
1853 should begin with vfs_ and should be declared in vfs.h (however
1854 that goal is far away).
1856 * all over the code: replace X_vfs_ops to vfs_X_ops
1858 Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
1860 * vfs.c: added stat to avoid hiding files by naming them
1861 #ftp:localhost and similar. Vfs will not treat files as local if
1862 they already exists, regardless of name.
1864 Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1866 * vfs.h: disable BROKEN_PATHS by default. See if you can live
1867 without cd .. from ftp tree putting you to last directory.
1869 Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1871 * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
1872 change, i.e. make it compile)
1874 Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1876 * ftpfs.c (resolve_symlink): minor speed enhancement
1878 Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
1880 * vfs.h: vfs_force_expire() was incorrectly #define'd
1882 Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
1884 * extfs.c, sfs.c: added few static's to prevent people from doing
1887 Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1889 * vfs.h (struct vfs): renamed errno to verrno because glibc2
1890 defines errno as macro (#define errno (*__errno_location ()))
1892 Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1894 * Makefile.in: search config.status in builddir and not in srcdir/..,
1895 i. e. make it compile for builddir != srcdir
1897 Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
1899 * COPYING.LGPL, all over the code: code is now under Library
1900 General Public License (instead of GPL), so non-free applications
1903 Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
1905 * all over the code: added (vfs *) as first argument for functions
1906 that have no other way to know what fs they belong to. This will
1907 be used by object-like tricks, which will allow us to do real
1908 code-sharing: I do not like #including of .c files.
1910 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
1912 * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
1915 Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
1917 * vfs.h (MIN, MAX): Only define if not already defined; glib.h
1920 Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
1922 * ftpfs.c: Fixed segfault caused by unitialized varialble
1924 Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
1926 * ftpfs.c: Special characters were printed via print_vfs_message.
1927 This caused funny effects if "XTerm hintbar" was on.
1929 Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
1931 * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
1932 files in sane way. copy_file_file will make temporary files for a
1933 while (fix pending).
1935 * tar.c: fixed bzip/bzip2 compressed archives
1937 Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
1939 * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
1941 * vfs.h: created ERRNOR() macro which sets my_errno and returns,
1942 which makes vfs's _much_ more readable
1944 Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
1946 * extfs.c: free() was called twice for the same place in memory
1949 Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
1951 * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
1952 If true we try to use 'LIST -la <path>'. When it fails we use the
1953 two commands 'CWD <path>' and 'LIST' instead.
1955 (resolve_symlink): rewritten. Don't get a second directory listing
1956 with `LIST -lLa'. Instead use the cache to get the file stat of
1957 symbolic links. If the directory the symlink points to isn't
1958 already in the cache the directory listing will be fetched and
1959 stored in the directory cache (without resolving symlinks
1961 The new method to resolve symlinks is faster if symlinks
1962 the same directory or the directory the symlink points to
1963 is already in the cache.
1964 This function was small and nice until I discovered that it was
1965 broken for symlinks to symlinks. Now it looks ugly and perhaps I
1966 will revert it to use "LIST -lLa" again. With a fast connection it
1967 doesn't matter which methode we use but with a slow connection I
1968 wouldn't hesitate to burn more cpu cycles on the client side.
1970 (retrieve_dir): Added parameter to tell whether to resolve
1971 symlinks (don't resolve symlinks in directory listings retrieved
1972 while resolving symlinks).
1973 When we don't get a directory listing with 'LIST -la <path>' then
1974 try to get it with `CWD <path>; LIST'.
1976 Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
1978 * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
1980 (retrieve_file_start2): Don't create target file O_EXCL, in
1981 copy_file_file we check existance of the target file and know
1982 that we want to truncate it (this change was already done a
1983 while back but it was reverted with the vfs-split).
1985 Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
1987 * ftpfs.h (struct connection): added boolean which indicates that
1988 the ftp server doesn't understand Unix ls options
1990 * ftpfs.h (struct dir): added enum to store symlink status of the
1991 in memory directory cache (directory has no symbolic links;
1992 symbolic links but not yet resolved; symbolic links which are resolved)
1994 Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
1996 * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
1997 honour the additional boolean parameter
1999 Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
2001 * vfs.h: add vfs_split() declaration, to make sfs.c happy.
2003 * Make-mc.in, Makefile.am: Updated to include fish.c
2005 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
2007 * sfs.c (sfs_free): assignment operator was used to check for equality
2009 Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
2011 * sfs.c: memory leak fixed
2013 * vfs.c: split parse_ls_lga into more functions
2015 * fish.c added, now you can access files over rsh/ssh connection
2017 * shared*.c: reworked a bit not to include so many of ugly X_'s
2019 Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
2021 * ftpfs.c: cleanup of code, few static's added
2023 * extfs/uarj: added, still, you need patches to unarj to make this
2026 * util-alone.c: now includes code from libvfs.c, so we can kill
2027 libvfs.c (which is good thing as it was non-standard in Makefiles)
2029 Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
2031 * undelfs.c: fixed, it has been broken for too long
2033 * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
2035 * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
2036 handling in case of NULL in *_vfs_ops.
2038 * extfs.c, ftpfs.c, tar.c: made use of above change
2040 * vfs.c: cleanup of macros generating mc_*()
2042 * libvfs.c: adding variable mc_home
2044 Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
2046 * extfs.c: mc_extfsdir was not defined in extfs_open()
2048 * Make-mc.in: sfs.c was not compiled, linked and copied out
2049 extfs/sfs.ini was not installed and copied out
2051 * Makefile.am: sfs.c was not linked to standalone VFS
2053 Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
2055 * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
2057 * Added single file filesystem (sfs)
2059 * Added vfs_flags so library users can disable selected
2062 * Minor shuffling of functions so garbage collection works for
2065 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
2067 * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
2070 Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
2072 * extfs/patchfs: %k replaced with more portable %H in the format
2075 * extfs/extfs.ini: Added patchfs and mailfs. Some comments
2078 Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
2080 * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
2081 lines without enf-of-line.
2083 Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
2085 * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
2088 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
2090 * ftpfs.c (ftpfs_open_socket): Potential security break fix.
2092 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
2094 * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
2095 Don't try building this, yet.
2097 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
2099 * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
2100 and $(EXTFS_OUT) because the first must be installed from
2101 $(srcdir) and the second from $(builddir).
2103 Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
2105 * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
2107 * Makefile.am: New file.
2108 * Make-mc.in: Renamed from Makefile.in.
2109 * Makefile.in: Removed.
2111 Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
2113 * Makefile.in: Rewritten stuff concerning extfs files.
2115 Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
2117 * Makefile.in: Remove arfs, since it doesn't seem to exist
2119 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
2120 * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
2121 are more logical (and so that things actually work, because new
2122 names are currently in extfs.ini).
2124 Wed Jun 17 Pavel Machek <pavel@ucw.cz>
2125 * Modified code to use tempnam() instead of tmpnam(), fixed
2126 tempnam() to use NULL instead of 0.
2128 Wed Jun 3 Pavel Machek <pavel@ucw.cz>
2130 * libvfs.c: adding libvfs.c which should contain things specific
2131 to stand-alone libvfs.so. (This file was missing from previous
2134 Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
2136 * ftpfs.c (ftpfs_fill_names): use right character to seperate
2139 Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
2140 * vfs.c (parse_ls_lga): allow a bit wider range of listings.
2142 * vfs.c (is_time, is_year): new functions
2144 Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
2146 * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
2148 Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
2150 * extfs.c, shared.c, tar.c: I changed semantics in my previous
2151 patch - _get_path() now modifies strings passed to it. I thought
2152 that I were carefull enough not to introduce bugs. You guessed it -
2153 I was not. [Many tar_ and extfs_ functions modify strings passed
2154 to them, but as they are only called from vfs layer, it does not
2156 So I renamed function to alert everyone that semantics changed.
2158 Fixed bugs in timestamping (and segfaults) when you entered tar
2159 inside zip file or similar.
2161 * vfs.c (mc_open): Die if the filesystem doesn't support open
2163 ??? Pavel Machek <pavel@ucw.cz>
2165 * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
2167 * util-alone.*: VFS should be able to compile stand-alone into
2168 libvfs.so usable by anyone. This is first step.
2170 * vfs.c & others: syntax change. We no longer use
2171 tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
2172 better defined meaning. Similar changes are done to all other
2173 protocols. This change touched really _many_ places of code.
2176 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
2178 * vfs.c (MC_DIROP): Macro now returns the proper value.
2180 1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
2182 * Makefile.in ('install' target): 'mcserv' not installed, if
2183 net-code is not enabled by 'configure'.
2185 Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
2187 * Makefile.in (LIBS): add @LINTL@
2189 Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
2191 * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
2192 optimation is wrong because for directories containing spaces we
2193 have to "CWD <pathname>" and "LIST -la" instead of
2194 "LIST -la <pathname>".
2195 I implemented a different optimation. Now ftpfs_chdir only stores
2196 the new working directory and sets a flag. __ftpfs_chdir is called
2197 when we really want to change the directory on the ftp server.
2199 (resolve_symlink): Log the directory listing to the logfile.
2201 * ftpfs.h (struct ftpfs_connection): Added a (per connection)
2204 Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
2206 * Makefile.in: Links to mad.c and mad.h were created wrong when
2207 srcdir != builddir and directory depth to srcdir and builddir were
2208 different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
2210 * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
2211 in copy_file_file we check existance of the target file and know
2212 that we want to truncate it.
2214 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
2216 * tar.c (read_header): Mark regular files with S_IFREG.
2218 Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
2220 * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
2221 my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
2224 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
2226 * ftpfs.c (retrieve_file_start2): Open file exclusively.
2227 (retrieve_file): likewise.
2229 1998-03-31 Philippe De Muyter <phdm@macqel.be>
2231 * vfs.h: compilation fix for m68k-motorola-sysv
2233 Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
2235 * extfs/hp48: Added a usage summary
2237 Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
2239 * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
2240 filesystem to view and copy files to/from the HP48.
2242 Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
2244 * extfs.c: Add support for writtable external file systems.
2245 Required for the httpfs.
2247 Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
2249 * extfs.c (open_extfs_archive): Pass the quoted argument to the
2252 * mailfs: new file system.
2254 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
2256 * tar.c: fix the bug which core dumps when trying to view tar file
2257 with many files (over 60000).
2259 Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
2261 * vfs.c (mc_opendir): Do not make conversions between int/void *
2262 to make the code compile and work on the Alpha correctly.
2263 Allocate a pointer to an int and use that instead.
2265 Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
2267 * extfs/rpm: Small fix for older RPM files.
2269 Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
2271 * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
2273 * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
2274 free the extfs buffers immediatly instead of waiting for the vfs-
2277 Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
2279 * vfs.c (vfs_canon): the "local:" case was consuming one extra
2280 character. This fixes the bug reported by Andrej. Also, handle
2281 the non-canonical case of arguments to local:
2283 Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
2285 * mcserv.c (get_client): The parent now waits for the first forked
2286 process, getting rid of the zombies.
2288 * utilvfs.c (open_tcp_link): If we can not contact the remote
2289 portmapper, set the protocol version to 1.
2291 Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
2293 * mc.spec: New spec file, this packages mc, mcserv and tkmc.
2295 * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
2297 * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
2298 more info currently displayed (changeslogs, Os, URL, packager
2300 Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
2302 * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
2303 force vfs scripts to be executable on those systems that use
2306 * src/utilunix.c: Implement socketpair for SCO flavored systems.
2308 Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
2310 * configure.in (--with-hsc): fix.
2312 * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
2313 passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
2314 passing it as integer)
2316 Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
2318 * extfs/lha: Updated the lha filesystem and included a command
2319 for running an executable from within an lha archive suggested
2320 by Zdenek Kabelac <kabi@informatics.muni.cz>
2322 * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
2323 config.in to create these VFS's for cleaner compilation