Traslated some chmod mgs related (for win32 support? not shure)
[midnight-commander.git] / vfs / ChangeLog
blobc0bbf9e9b65c203312545e75cc8ae641c982b5d5
1 2002-01-22  Pavel Roskin  <proski@gnu.org>
3         * extfs/uzip: Fix unsafe printf.
4         Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
6 2002-01-22  Andrew V. Samoilov  <kai@cmail.ru>
8         * ftpfs.c (ftpfs_chmod): Add missed '/'.
10 2002-01-21  Pavel Roskin  <proski@gnu.org>
12         * vfs.h: Remove all tricks with system headers, they all should
13         be in global.h.
14         * cpio.c: Include utilvfs.h earlier.
15         * tar.c: Likewise.
17         * vfs.h: Include dirent.h only if it's present.
19 2002-01-21  Andrew V. Samoilov  <kai@cmail.ru>
21         * vfs.h: Spelled.
22         * vfs.c (mc_return_cwd): Fix comment.  Check whatever mc_stat
23         returns.  Make mc_return_cwd static const char *.
24         Reorder if statement to eliminate unneeded mc_stat calls.
26 2002-01-17  Pavel Roskin  <proski@gnu.org>
28         * vfs.h: Remove OS/2 specific code.
30 2002-01-11  Andrew V. Samoilov  <kai@cmail.ru>
32         * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
33         if smbfs support is enabled.
35         * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
37 2002-01-02  Pavel Roskin  <proski@gnu.org>
39         * Makefile.am: Add *clean-local targets to take care of the
40         samba directory.
42         * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
43         this setting is not inherited from the top-level configure.
45 2001-12-31  Pavel Roskin  <proski@gnu.org>
47         * Make-mc.in: convert to ...
48         * Makefile.am: ... this.
50         * Makefile.am: rename to ...
51         * Make-alone.am: ... this.  Automake 1.5b doesn't allow Makefile
52         and Makefile.am to coexist peacefully unless the former is
53         generated from the later.
54         * Make-mc.in: Remove all references to the standalone VFS.
56 2001-12-18  Pavel Roskin  <proski@gnu.org>
58         * extfs/ulha.in: Support for "[unknown]" and other permissions
59         in brackets.  Pass the date unchanged - mc can now deal with it.
60         Use "lha lq" to list the archive and don't remove headers and
61         footers of the listing.
63 2001-11-14  Pavel Roskin  <proski@gnu.org>
65         * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
66         1.20 and newer.
68 2001-11-13  Andrew V. Samoilov  <kai@cmail.ru>
70         * samba/acconfig.h: Remove WITH_SYSLOG.
71         * samba/lib/system.c (sys_chroot): Removed.
72         * samba/configure.in: Remove RUNPROG.  Don't check
73         for chroot and execl functions.
74         Remove syslog logging support.
75         Add --with-codepagedir and --with-configdir from samba 2.2.2.
77         * samba/Makefile.in: Use configdir and codepagedir.
79 2001-11-08  Pavel Roskin  <proski@gnu.org>
81         * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
83 2001-11-05  Andrew V. Samoilov  <kai@cmail.ru>
85         * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
86         entries into the linked list.
87         (smbfs_loaddir): Call smbfs_add_dots for shares or servers.
88         (smbfs_get_free_bucket): Eliminate time.
89         (fake_share_stat): Make path const.
91         * samba/configure.in: Don't check whether getpass
92         should be replaced.
94 2001-11-02  Andrew V. Samoilov  <kai@cmail.ru>
96         * vfs.c (mc_return_cwd): Memory leak fixed.
98 2001-11-01  Andrew V. Samoilov  <kai@cmail.ru>
100         * samba/smblib/pwd_cache.c (pwd_read): Commented out.
101         * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
102         * samba/lib/getsmbpass.c: Removed.
104 2001-10-30  Andrew V. Samoilov  <kai@cmail.ru>
106         * smbfs.c: Include <config.h> before everything else.
107         Don't include "tcputil.h".
108         (myhostname): Declare extern.
110         (loaddir): Symplify.
111         (fake_share_stat): Declare server_url const.
112         Use "%4o" for st_mode.
113         (fake_server_stat): Likewise.  Return -1 if server_list != True.
115         (get_master_browser): Declare ipzero extern.
116         By David Kaelbling <drk@sgi.com>.
117         http://bugzilla.gnome.org/show_bug.cgi?id=60933
119         * cpio.c (cpio_read_bin_head): Release name if mc_read fails.
120         (cpio_read_crc_head): Likewise.
122 2001-10-25  Andrew V. Samoilov  <kai@cmail.ru>
124         * cpio.c (cpio_read_crc_head): Fix buffer overflow.
125         (cpio_read_oldc_head): Likewise.
126         By David Kaelbling <drk@sgi.com>.
127         http://bugzilla.gnome.org/show_bug.cgi?id=60933
129         * (cpio_read_oldc_head): Release name if mc_read fails.
131 2001-10-24  Andrew V. Samoilov  <kai@cmail.ru>
133         * tcputil.c (rpc_get): Add missing va_end()s.
134         Fix memory leaking.
135         * smbfs.h: Declare smbfs_set_debug.
137 2001-10-20  Pavel Roskin  <proski@gnu.org>
139         * ftpfs.c (command): Declare with the printf attribute.
140         * undelfs.c: Remove declaration of print_vfs_message().
142         * fish.c (file_store): Fix incorrect format string
143         for print_vfs_message().
144         * ftpfs.c (file_store): Likewise.
146 2001-10-19  Pavel Roskin  <proski@gnu.org>
148         * fish.c (command): Declare with the printf attribute to enable
149         warnings in gcc.
150         (file_store): Cast all expressions with file sizes to unsigned
151         long.  This should fix uploading when large file support is on.
152         File size is limited to 4096 * ULONG_MAX for now.
154 2001-10-18  Andrew V. Samoilov  <kai@cmail.ru>
156         * samba/configure.in: Don't check readline.h, history.h and
157         libreadline.
159 2001-10-16  Andrew V. Samoilov  <kai@cmail.ru>
161         * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
162         "out of server memory" error. From samba 2.0.7 patchset.
164 2001-10-07  Pavel Roskin  <proski@gnu.org>
166         * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
167         are not supported locally.  Support Solaris doors, also fall
168         back to fifo.
170 2001-10-02  Andrew V. Samoilov  <kai@cmail.ru>
172         * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
173         instead.
175 2001-10-01  Pavel Roskin  <proski@gnu.org>
177         * vfs.h [!USE_VFS]: Define macros with no effect to an empty
178         statement "do { } while (0)".
180 2001-09-30  Pavel Roskin  <proski@gnu.org>
182         * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
184 2001-09-17  Pavel Roskin  <proski@gnu.org>
186         * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
187         mc_fstat() because they don't expand correctly on Solaris 8 with
188         large file support.
190 2001-09-10  Pavel Roskin  <proski@gnu.org>
192         * Make-mc.in: Use USE_VFS conditional instead of relying on
193         LIBVFS.
195 2001-09-07  Pavel Roskin  <proski@gnu.org>
197         * Make-mc.in: Include necessary parts of Make.common to
198         eliminate the later.
200 2001-08-23  Pavel Roskin  <proski@gnu.org>
202         * names.c (finduname): Don't use HAVE_GETPWUID - it's never
203         defined.  Don't redeclare getpwuid().
204         (findgname): Don't use HAVE_GETGRGID - it's never defined.
205         Don't redeclare getgrgid().
207         * fish.c: Remove useless semicolons after functions.
209 2001-08-19  Pavel Roskin  <proski@gnu.org>
211         * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
212         Disallow st_nlink = 0.
214 2001-08-18  Pavel Roskin  <proski@gnu.org>
216         * cpio.c (cpio_read_head): Check return value of cpio_find_head,
217         because it's not equal to super->u.cpio.type in case of errors.
219 2001-08-16  Pavel Roskin  <proski@gnu.org>
221         * direntry.c (vfs_s_free_super): Remove i18n on commented out
222         developer-only code.
224         * extfs.c (extfs_init): Internationalize error message, it's
225         already in sfs.c.
227 2001-08-11  Pavel Roskin  <proski@gnu.org>
229         * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
231 2001-08-07  Pavel Roskin  <proski@gnu.org>
233         * extfs.h: Move private structures ...
234         * extfs.c: ... here.
236         * extfs.h (struct entry): Remove unused `has_changed' field.
237         It's only written but never read.
238         (struct inode): Likewise.
239         * extfs.c: All dependencies changed.
240         (extfs_open): Mark file as changed if it's open for writing.
242 2001-08-07  Oskar Liljeblad  <osk@hem.passagen.se>
244         * extfs/uzip: Update to version 1.4.0.
245         * extfs/README.uzip: Likewise.
247 2001-08-06  Andrew V. Samoilov  <kai@cmail.ru>
249         * smbfs.c: Eliminate smbfs_get_free_bucket_init.  convert_path
250         gives malloced filename, so this memory must be released after use.
252         (reconnect): Fix segmentation fault.
253         (smbfs_loadddir): Don't g_strdup path.
254         (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
255         smbfs_connections initialisation.
256         (smbfs_open_link): Likewise. Release host after get_master_browser.
257         (get_stat_info): Fix unneeded g_strdup/g_free calls.
258         (smbfs_mkdir): Release path after use.
259         (smbfs_mkdir): Likewise.
260         (smbfs_open): Fix memory leak.
261         (smbfs_unlink): Likewise. Fix error message.
262         (smbfs_rename): Fix memory leaks.
263         (smbfs_stat): Fix url parsing.
265         * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
266         (dos2unix_format): Likewise.
268         * ftpfs.c (ftpfs_fill_names): New function.
269         (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
271 2001-08-03  Andrew V. Samoilov  <kai@cmail.ru>
273         * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
275         * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
276         * ftpfs.h (struct connection): Remove result_pending field.
278         * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
279         * smbfs.c (new_dir_entry): New function with repeated code from
280         browsing_helper, loaddir_helper and server_browsing_helper.
281         (browsing_helper): Use new_dir_entry.
282         (loaddir_helper): Likewise.
283         (server_browsing_helper): Likewise.
285         (cached_lstat_info): Eliminated.
286         (smbfs_readdir): Make dirent_dest static const.
287         Eliminate cached_lstat_info.
288         (smbfs_open_link): Make user parameter const. Fix memory leak.
289         (fake_server_stat): Make path parameter const. Symplify.
290         (smbfs_fstat): Set my_errno to EFAULT before return.
292 2001-08-01  Pavel Roskin  <proski@gnu.org>
294         * Make-mc.in: Make it possible to run "make install" before
295         "make all".  Use more Automake-compatible target names.
297 2001-08-01  Andrew V. Samoilov  <kai@cmail.ru>
299         * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
300         (do_connect): Symplify.
301         (get_stat_info): Symplify. Eliminate another fake_stat.
302         (smbfs_chdir): Release remote_dir after use.
303         (smbfs_stat): Likewise. Fix another 2 memory leaks.
304         (smbfs_mkdir): Release remote_file after use.
305         (smbfs_rmdir): Likewise.
306         (smbfs_open): Likewise. Indentation fixes.
307         (smbfs_unlink): Likewise.
308         (smbfs_rename): Release rb and ra after use.
309         (search_dir_entry): Make text parameter const.
310         (smbfs_get_host_and_username): Make macro.
312 2001-07-20  Pavel Roskin  <proski@gnu.org>
314         * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
315         From Ludovic Drolez <ludovic.drolez@freealter.com>.
317 2001-07-17  Pavel Roskin  <proski@gnu.org>
319         * vfs.c (mc_return_cwd): Use g_get_current_dir().
321 2001-07-15  Pavel Roskin  <proski@gnu.org>
323         * smbfs.c: Rename authinfo to smb_authinfo and
324         authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
325         and remove their definitions.
326         * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
328 2001-07-10  Pavel Roskin  <proski@gnu.org>
330         * extfs.c: Include contents of shared_tar_ext.c - it's no
331         longer shared.
332         * shared_tar_ext.c: Remove.
333         * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
335         * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
336         filesystem. Don't translate it.
338 2001-07-09  Pavel Roskin  <proski@gnu.org>
340         * tar.c (ReadStatus): Fix compilation on AIX.
341         From Dan McNichol <mcnichol@austin.ibm.com>.
343         * extfs/mailfs: Strip trailing DOS newlines from mail files.
344         From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
346         * fish.c (fish_chown): Do nothing and return success if
347         getpwuid() or getgrgid() fails.
349 2001-07-05  Pavel Roskin  <proski@gnu.org>
351         * README.fish: Spelling fixes.
353 2001-06-29  Pavel Roskin  <proski@gnu.org>
355         * Make-mc.in: Don't ever link mcserv with libintl - it must not
356         depend on it.
358 2001-06-27  Andrew V. Samoilov  <sav@bcs.zp.ua>
360         * smbfs.c: Include <config.h>. Make all internal variables static.
361         (get_stat_info): Eliminate fake_stat, memory leak fixed.
362         (IPC, URL_HEADER): Make static const.
363         (smbfs_stat): Fix segmentation violation.
364         (statfile_helper): Allocate memory for single_entry once. It is never
365         freed now, and only my_stat element of this structure is used.
367 2001-06-26  Pavel Roskin  <proski@gnu.org>
369         * vfs.h: Don't include <config.h>.
371 2001-06-25  Pavel Roskin  <proski@gnu.org>
373         * cpio.c: Include <config.h> before everything else.
374         * direntry.c: Likewise.
375         * fish.c: Likewise.
376         * ftpfs.c: Likewise.
377         * local.c: Likewise.
378         * tar.c: Likewise.
379         * utilvfs.h: Don't include <config.h> - it should be included
380         in all C files instead.
381         * xdirentry.h: Likewise.
383 2001-06-19  Pavel Roskin  <proski@gnu.org>
385         * local.c (local_telldir): Warn and abort if telldir() is not
386         available.
387         (local_seekdir): Warn and abort if seekdir() is not available.
389 2001-06-18  Pavel Roskin  <proski@gnu.org>
391         * tcputil.c (sig_pipe): Use the same declaration with one int
392         argument - it's used everywhere else and it fixes a warning on
393         systems unlisted in the ifdef, e.g. OpenBSD.
395 2001-06-14  Pavel Roskin  <proski@gnu.org>
397         * ftpfs.c: Declare functions without declarations static. Don't
398         omit `void' in declarations.
399         * cpio.c: Likewise.
400         * direntry.c: Likewise.
401         * extfs.c: Likewise.
402         * mcfs.c: Likewise.
403         * tar.c: Likewise.
404         * vfs.c: Likewise.
405         * vfs.h: Likewise.
406         * mcserv.c: Likewise. Remove unused functions.
408         * util-alone.c: Use indented #error.
409         * vfs.h: Use indented #warning instead of hiding it from non-gcc
410         compilers.
412 2001-06-11  Pavel Roskin  <proski@gnu.org>
414         * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
415         This avoids creating long filenames in dirent.c when the "name"
416         field is used.
417         * extfs.c (vfs_extfs_ops): Likewise.
418         * fish.c (vfs_fish_ops): Likewise.
419         * ftpfs.c (vfs_ftpfs_ops): Likewise.
420         * local.c (vfs_local_ops): Likewise.
421         (vfs_nil_ops): Likewise.
422         * mcfs.c (vfs_mcfs_ops): Likewise.
423         * sfs.c (vfs_sfs_ops): Likewise.
424         * tar.c (vfs_tarfs_ops): Likewise.
425         * undelfs.c (vfs_undelfs_ops): Likewise.
427 2001-06-07  Pavel Roskin  <proski@gnu.org>
429         * sfs.c (sfs_init): Change some warning messages to simplify
430         their translation.
432 2001-06-06  Pavel Roskin  <proski@gnu.org>
434         * shared_ftp_fish.c: Remove.
435         * Make-mc.in: Remove shared_ftp_fish.c.
436         * Makefile.am: Likewise.
438 2001-06-02  Pavel Roskin  <proski@gnu.org>
440         * vfs.c (vfs_canon): s/canonize/canonicalize/.
442 2001-06-01  Andrew V. Samoilov  <sav@bcs.zp.ua>
444         * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
445         ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
447         * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
448         exclusive now.
449         (is_week): Unmade week static.
450         (is_month): Unmade month static.
451         (vfs_parse_ls_lga): Optimize memory usage.
453         * .cvsignore: *.sor added.
454         * sfs.c (sfs_init): Optimized.
456         * vfs/samba/lib/util_sock.c (socket_options): Made static const.
458 2001-05-30  Ludovic Drolez  <ludovic.drolez@freealter.com>
460         * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
461         use mc_home to make mc relocatable.
462         * util-alone.c (shell): ... here
464 2001-05-27  Pavel Roskin  <proski@gnu.org>
466         * fish.c: Redirect stderr of all commands to /dev/null.
468 2001-05-25  Pavel Roskin  <proski@gnu.org>
470         * sfs.c (vfs_sfs_ops): Typo fix.
472 2001-05-22  Pavel Roskin  <proski@gnu.org>
474         * vfs.c (vfs_split_text): Fill `columns' with zeroes before
475         writing new data into it.
477         * fish.c (free_archive): Use `exit' instead of `logout' - the
478         later fails under non-login shells.
479         (pipeopen): Redirect stderr of ssh to /dev/null.
480         From Rich Roth:
481         (dir_load): Redirect stderr of ls to /dev/null.
482         (linear_start): Likewise.
484 2001-05-22  Andrew V. Samoilov  <sav@bcs.zp.ua>
486         * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
487         (clean): Remove *.so.
489         * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
490         ../src/tty.h and ../src/global.h.
492         (password, username): Made static.
493         (is_error): Commented out.
494         (loaddir_helper): Don't ignore hidden files, style fixes.
495         (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
497         (do_connect): Call cli_shutdown () and authinfo_remove () if
498         cli_session_setup () fails. It is not good idea to remember
499         wrong username/password.
501         (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
502         (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
504 2001-05-22  Pavel Roskin  <proski@gnu.org>
506         * sfs.c (redirect): Don't free the filename after failed
507         mc_mkstemps() - it's not needed anymore.
509 2001-05-21  Pavel Roskin  <proski@gnu.org>
511         * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
512         temporary file to reserve its name on the filesystem.
513         (vfs_s_retrieve_file): Use mc_mkstemps().
514         (g_tempnam): Remove.
515         * extfs.c (extfs_open): Use mc_mkstemps().
516         * sfs.c (redirect): Likewise.
517         * shared_ftp_fish.c (_get_file_entry): Likewise.
518         (retrieve_file): Likewise.
519         * vfs.c (mc_def_getlocalcopy): Likewise.
520         * xdirentry.h: Remove declaration of g_tempnam().
522 2001-05-18  Pavel Roskin  <proski@gnu.org>
524         * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
525         with NULL to suppress compiler warning.
527 2001-05-14  Pavel Roskin  <proski@gnu.org>
529         * ftpfs.c: Warning fixes.
531         * utilvfs.h: Include background.h.
532         * cpio.c: Include utilvfs.h.
534 2001-05-14  Pavel Machek  <pavel@bug.ucw.cz>
536         * Make-mc.in: add possibility to build libvfs.so
538 2001-04-19  Pavel Roskin  <proski@gnu.org>
540         * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
541         rpm output varies between versions.
542         (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
543         filenames beginning with "./" - they are used in the version 4
544         packages.
546 2001-04-17  Pavel Roskin  <proski@gnu.org>
548         * fish.c (open_archive_int): Redirect stderr of start_fish_server
549         to stdout so we don't get confused if it doesn't exist.
551 2001-04-09  Andrew V. Samoilov  <sav@bcs.zp.ua>
553         * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
554         NULL when appropriative error message can't be found as it is expected
555         in cli_errstr(). Return type changed to const char *
557         * smbfs.c (smbfs_fill_names): implemented
559         (smbfs_stat): unneeded g_strdup/g_free calls removed
560         (smbfs_loaddir): memory leaking fixed
562         * samba/libsmb/clientgen.c (rap_errmap, prots): constified
564 2001-04-06  Pavel Roskin  <proski@gnu.org>
566         * Make-mc.in: Use a single variable SAMBA_DIST to hold all
567         distributable samba files.
569 2001-03-15  Andrew V. Samoilov  <sav@bcs.zp.ua>
571         * samba/libsmb/smbdes.c: undefine uchar before redefine it
573         * smbfs.c (smbfs_close): honour changed semantics for return value
574         (on error -1 is expected).
576         * (fs): it is at least strange use char * for counter. Changed to int
578 2001-03-14  Pavel Roskin  <proski@gnu.org>
580         * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
581         Remove any knowledge of SAMBAFILES. Merge object files with
582         libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
583         to the `samba' directory. Don't ignore errors from ranlib.
585         * samba/Makefile.in: Make *clean targets Automake-compatible.
586         Don't ignore errors from `rm'.
588         * samba/configure.in: Use AC_CHECK_TOOL to find AR.
589         * samba/Makefile.in: Remove useless rules, including defunct
590         dependency tracking. Create libsamba.a from the object files.
592 2001-03-07  Pavel Roskin  <proski@gnu.org>
594         * cpio.c (cpio_skip_padding): Warning fix.
595         * fish.c (dir_load): Likewise.
596         * mcfs.c: Likewise.
598         * extfs/uzip: New file from Oskar Liljeblad.
599         * extfs/README.uzip: Likewise.
600         * extfs/Makefile.am: Adjust for constant uzip.
602 2001-03-07  Pavel Machek  <pavel@bug.ucw.cz>
604         * extfs/*uzip*: replace uzip with perl version by
605         Oskar Liljeblad <osk@hem.passagen.se>
607 2001-03-05  Andrew V. Samoilov  <sav@bcs.zp.ua>
609         * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
610         (vfs_strip_suffix_from_filename): filename constified
611         (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
612         chomping unified
614 2001-03-04  Andrew V. Samoilov  <sav@bcs.zp.ua>
616         * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
617         so use LC_ALL=C to override any locale
618         * smbfs.c (smbfs_open_link): service initialized
619         * (my_forget): new features of vfs_split_url used
621 2001-03-01  Pavel Roskin  <proski@gnu.org>
623         * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
624         Reported by Christian Gennerat.
626 2001-02-28  Pavel Machek  <pavel@bug.ucw.cz>
628         * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
630 2001-02-27  Pavel Machek  <pavel@bug.ucw.cz>
632         * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
633         "K. Leif D. Van Horn" <leif@kaivo.com>)
635 2001-02-23  Pavel Roskin  <proski@gnu.org>
637         * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
638         Don't hardcode gawk. Don't rely on the date format occupying a
639         fixed number of fields.
641         * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
642         the real file - check usage info instead. Use more robust checks
643         for valid lines. Suppress stderr from unzip. Workaround for jar
644         files - fix mode for files ending with slash.
646 2001-02-20  Pavel Roskin  <proski@gnu.org>
648         * vfs.h: Include sys/timeb.h if it's present. Include time.h and
649         sys/time.h as recommended by Autoconf documentation.
650         * cpio.c: Remove all time-related includes - they are in vfs.h.
651         * extfs.c: Likewise.
652         * ftpfs.c: Likewise.
653         * mcfs.c: Likewise.
654         * mcserv.c: Likewise.
655         * tar.c: Likewise.
656         * util-alone.c: Likewise.
657         * vfs.c: Likewise. Include xdirentry.h.
659         * extfs.c: Include xdirentry.h. Undefine ERRNOR before
660         redefining it.
662 2001-02-19  Pavel Roskin  <proski@gnu.org>
664         * shared_tar_ext.c (__find_entry): Make sure that the parent is a
665         directory even if the child is not.
667         * extfs/mailfs (parse_date): Correctly handle two-digit years
668         between 1970 and 1999.
670 2001-02-14  Pavel Roskin  <proski@gnu.org>
672         * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
673         checking for ctime() format.
674         From Peter Daum.
676 2001-02-11  Pavel Roskin  <proski@gnu.org>
678         * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
679         for dates found in AOLMail(SM) messages. Accept single-digit
680         hours and missing seconds. Provide a fallback if cannot parse
681         the date.
682         (process_header): Typo fix. Use \s instead of space in regular
683         expressions.
685 2001-02-10  Pavel Roskin  <proski@gnu.org>
687         * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
688         including the directory bit. This fixes crashes on some FAT
689         archives.
691 2001-02-09  Pavel Roskin  <proski@gnu.org>
693         * samba/configure.in: Remove more useless tests.
694         * samba/tests/crypttest.c: Remove.
695         * samba/tests/fcntl_lock.c: Likewise.
696         * samba/tests/shared_mmap.c: Likewise.
697         * samba/tests/sysv_ipc.c: Likewise.
698         * samba/samba-files: Likewise.
699         * samba/smbadduser: Likewise.
700         * Make-mc.in: Adjust for the above.
701         * samba/include/includes.h: Removed definitions related to the
702         above tests.
704         * Make-mc.in: Eliminate ubiqx.
705         * samba/Makefile.in: Likewise. Remove some unused variables.
706         * samba/include/includes.h: Eliminate dependency on ubiqx.
707         * samba/include/nameserv.h: Likewise.
708         * samba/include/proto.h: Remove prototypes from nmbd/*.
709         * samba/ubiqx/*: Remove.
711         * samba/configure.in: More useless stuff removed.
712         * samba/Makefile.in: Likewise.
713         * Make-mc.in: Remove samba/smbwrapper directory.
714         * samba/smbwrapper/smbw.h: Remove.
715         * samba/include/includes.h: Don't include smbw.h.
717         * samba/configure.in: Don't check for things that are unused.
718         Remove support for building shared libraries.
719         * samba/Makefile.in: Remove support for shared libraries and
720         quota.
722         * samba/configure.in: Don't check for any 64-bit functions and
723         syscall() - they are not needed.
725         * samba/configure.in: Remove the test for
726         HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
727         the rest of the source that doesn't use explicit 64-bit calls.
729         * Make-mc.in: Always check for samba/Makefile before descending
730         there. Don't ever ignore errors from "cd". Use $(MAKE), not
731         make. Formatting changes.
733 2001-02-08  Pavel Roskin  <proski@gnu.org>
735         * Make-mc.in: Undo previous fix. Don't run "make clean" in
736         samba/ if samba/Makefile is missing.
738         * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
739         may be missing. Clean using the rule from samba/Makefile.in.
741         * cpio.c: Eliminate C++ comments.
742         * fish.c: Likewise.
744         * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
745         since CVS Automake already creates that directory.
747         * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
748         testing - it breaks on HP-UX 10.20.
750 2001-02-07  Pavel Roskin  <proski@gnu.org>
752         * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
753         samba/tests/ftruncroot.c.
755         * samba/configure.in: Remove tests for setresuid and setresgid.
756         * samba/include/includes.h: Remove declarations of setresuid and
757         setresgid.
759         * samba/configure.in: Don't check for root permissions. Don't
760         call tests/trapdoor.c and tests/ftruncroot.c.
761         * samba/tests/trapdoor.c: Remove.
762         * samba/tests/ftruncroot.c: Likewise.
763         * samba/tests/summary.c: Don't warn about trapdoor uid systems.
765         * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
766         not used.
768         * samba/aclocal.m4: Fix underquoting.
769         * samba/configure.in: Fix underquoting. Don't use loff_t as the
770         second argument to AC_CHECK_TYPE - it's not a builtin type.
772         * samba/configure.in: Remove checks for statvfs and friends -
773         they are irrelevant to the client code.
774         * samba/tests/summary.c: Likewise.
776 2000-12-15  Andrew V. Samoilov  <sav@bcs.zp.ua>
778         * extfs/urar.in (list): better solution to prevent duplication
780 2000-12-14  Andrew V. Samoilov  <sav@bcs.zp.ua>
782         * extfs/urar.in (LC_ALL): set to C to prevent localization,
783         (mcrarfs_list): directories placed first to prevent duplication
785 2000-10-31  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
787         * ftpfs.c (dir_load): From Roland Mainz
788         <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
789         directories
791         * *.c: From Roland: it is not possible to g_free() something
792         allocated by strdup(), because g_malloc might be different for
793         malloc. Therefore wrapped strdup into g_strdup() wrapper.
795 2000-10-22  Andrew V. Samoilov  <sav@bcs.zp.ua>
797         * samba/libsmb/nterr.c (nt_errs): constified
799         * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
800         err_classes): ditto
802         (smb_errstr): err constified to avoid warnings
804 2000-10-16  Andrew V. Samoilov  <sav@bcs.zp.ua>
806         * ftpfs.c (open_data_connection): don't generate //filename, some
807         ftp servers can't store it;
809         (command): g_strdup_vprintf() and g_strconcat() replaced
810         by g_strdup_vprintf(), g_realloc() and strcpy()
811         to reduce memory usage when trailing "\r\n" added;
813         (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
814         value to log servers replies
816 2000-10-09  Andrew V. Samoilov  <sav@bcs.zp.ua>
818         * sfs.c (redirect): temporary file unlinked on error;
820         (sfs_init): warnings are localized
822 2000-10-05  Pavel Roskin  <proski@gnu.org>
824         * extfs/rpm: If rpm indicates an error create a virtual file
825         ERROR and put error messages there.
827 2000-09-25  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
829         * extfs/mcunarj.diff: better version from Christian Gennerat
830         <christian.gennerat@vz.cit.alcatel.fr>
832 2000-09-21  Pavel Roskin  <proski@gnu.org>
834         * extfs/uzoo.in: Suppress output from grep. Don't use '~',
835         use $HOME instead - it's more portable.
837 2000-08-24  Pavel Roskin  <proski@gnu.org>
839         * extfs/Makefile.am: all scripts should be executable
841 2000-09-18  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
843         * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
844         override locale for dates
846 2000-09-14  Pavel Machek  <pavel@bug.ucw.cz>
848         * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
850 2000-09-14  Pavel Roskin  <proski@gnu.org>
852         * Make-mc.in: direntry.c was listed twice in VFSSRCS
854         * Make-mc.in: removed commands to build standalone libvfs -
855         they are now in Makefile.am. Create links in the build
856         directory - source directory may be read-only. Removed hack
857         with mcservx - it's no longer needed.
859         * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
861 2000-09-05  Pavel Roskin  <proski@gnu.org>
863         * Make-mc.in: don't ignore errors in the distdir target
865 2000-08-24  Pavel Roskin  <proski@gnu.org>
867         * extfs/Makefile.am: new file
868         * Make-mc.in: remove stuff pertinent to the extfs directory
870 2000-08-24  Pavel Roskin  <proski@gnu.org>
872         * Make-mc.in: don't ignore error installing mcserv.
873         Create directories before installing into them.
875 2000-08-18  Pavel Roskin  <proski@gnu.org>
877         * Make-mc.in: adjusted lists of distributed files.
878         Makefile rebuilding fixed.
880 2000-08-08  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
882         * ftpfs.c (dir_load): taken it out, it needs to correctly provide
883         parent, this way it breaks things.
885         * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
886         display zip files in fat and ntf formats
888 2000-08-04  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
890         * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
891         Roland.Mainz@informatik.med.uni-giessen.de
893         * util-alone.c (message_1s1d): added missing function
895 2000-08-03  Pavel Roskin  <proski@gnu.org>
897         * undelfs.h: Removed
899 2000-08-02  Pavel Roskin  <proski@gnu.org>
901         * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
902         distributed. Added some comments to prevent future errors.
903         "make distclean" now cleans generated filters.
905         * samba/configure.in: Fixed sloppy output. The fix also sent to
906         the Samba team.
908         * samba/include/stamp-h.in: Added to CVS.
910 2000-05-23  Andrew V. Samoilov  <sav@bcs.zp.ua>
912         * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
914 2000-05-18  Andrew V. Samoilov  <sav@bcs.zp.ua>
916         * ftpfs.c: (my_get_host_and_username) space between macro name and
917           parentheses removed
919 2000-05-15  Andrew V. Samoilov  <sav@bcs.zp.ua>
921         * tar.c (read_header): memory leaking for empty symlink's names fixed
923         * utilvfs.c (vfs_split_url): *host is not assigned if host is null
925         * ftpfs.c (login_server): new features of vfs_split_url () used,
926           my_get_host_and_username became macro
928         * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
929           removed (vfs_canon removes trailing '/')
931         * sfs.c (vfmake, redirect): allocated memory realeased on errors
933 2000-05-10  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
935         * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
937 2000-05-08  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>
939         vfs/extfs/uha.in: add HSC type archives
941 2000-05-01  Pavel Machek  <pavel@bug.ucw.cz>
943         * direntry.c (vfs_s_inode_from_path): fix for stating / directory
944         done properly
946         * vfs.c: == 0 is right test of eof.
948 2000-04-28  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
950         * direntry.c (vfs_s_internal_stat): added ugly special case for /
951         of archive to always exist. It seems I'm hiding some underlying
952         problem :-(.
954 2000-04-26  Andrew V. Samoilov  <sav@bcs.zp.ua>
956         * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
958         (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
960         * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
962         (ftpfs_directory_timeout): default value changed to 900
964         (netrc_next): "const char * const keywords" go to rodata and is shared
966 2000-04-16  Pavel Machek  <pavel@bug.ucw.cz>
968         * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
969         deadlocks with podfuk
971         * direntry.c: fix behaviour when stating / directory of ftp
972         archive
974 2000-04-15  Timur Bakeyev  <mc@bat.ru>
976         * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
978         * ftpfs.c (dir_load): At last, found place, that broke handling
979         directories with spaces in name. Problem was in prepending "/"
980         to "." for current directory. Which was, obviously, wrong. Hacked
981         to make just "LIST -la ." instead.
983 2000-04-12  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
985         * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
987 2000-04-10  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
989         * extfs/audio: Added a way to browse audio CDs conviently
991         * undelfs.c: use NULLs instead of 0s when you assign to pointers!
993 2000-04-05  Andrew V. Samoilov  <sav@bcs.zp.ua>
995         * utilfs.c (vfs_split_url): don't assign *pass if pass is NULL
996         * fish.c (archive_open, archive_same): memory allocated by
997           vfs_split_url () must be released after use, don't strdup()
998           values allocated by vfs_split_url () and NULL passed to
999           vfs_split_url () when password value is unused
1000         * ftpfs.c (archive_open, archive_same): ditto plus same for
1001           ftpfs_get_proxy_host_and_port ()
1003 2000-04-06  Timur Bakeyev  <mc@bat.ru>
1005         * ftpfs.c (netrc_next): Turned strange "const char * const keywords"
1006         into more alike "const char const * keywords". Still, think, it's
1007         too strict.
1009         * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba headers.
1010         Libncurses(or slang?) defines BOOL and that can cause problems. (In fact,
1011         I can't find references to that const, but sure, I hade reason to do that:)
1013         * util-alone.h: Declare load_anon_passwd() to avoid warnings.
1015 2000-03-31  Andrew V. Samoilov  <sav@bcs.zp.ua>
1017         * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
1018         crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
1019         * fish.c (linear_start): Name wasn't freed after usage.
1020         * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
1021         function return 0 now.
1022         * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
1023         by vfs_s_fullpath() is freed after use.
1024         * ftpfs.c (linear_start): Ditto.
1026 2000-04-03  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1028         * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
1029         not strdupped(), so it must not be g_free'd.
1031 2000-03-29  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1033         * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
1034         fish work better with files files like "this is sentence"
1036 2000-03-28  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1038         * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
1039         locale to C so that rpm does not confuse us
1041 2000-03-06  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1043         Patch by  Andrew V. Samoilov <sav@bcs.zp.ua>
1045         * vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
1046           these variables must be assigned in vfs_s_new_inode () or extfs
1047           layer, so ftpfs subdirectories now can be copied.
1049 2000-02-25  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1051         Patch by  Andrew V. Samoilov <sav@bcs.zp.ua>
1053         * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
1054           mc_(un)?getlocalcopy): added const qualifier
1055         (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
1056           so, free() it, not g_free();
1057         (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
1059 2000-02-23  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1061         * cpio.c: cpio.h is missing, so don't try to include it. (It is
1062         not needed, anyway. Strange.)
1064         * Makefile.in (NONETFILES): cpio added to compilation list
1066 2000-02-23  Norbert Warmuth  <nwarmuth@privat.circular.de>
1068         * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
1069         with unexpected side effects (only when HSC_PROXY was
1070         defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
1071         where appropriate.
1073         (dir_load): Do not hard code the directory cache timeout to 10
1074         seconds. Instead use the setting from Options/Virtual VFS ...
1076         * fish.c (file_store): honour changed semantics for return value
1077         (on error -1 is expected).
1079         * ftpfs.c (file_store): dito
1081 2000-02-22  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1083         * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
1084         it using code from tarfs.
1086 2000-02-21  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1088         * extfs/uzip.in (nam): y2k fixes (workarounds) by
1089         christian.gennerat@vz.cit.alcatel.fr
1091 2000-02-04  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1093         * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
1095 2000-02-03  Andrew V. Samoilov  <sav@bcs.zp.ua>
1097         * xdirentry.h: added prototype for vfs_s_retrieve_file
1099 2000-01-31  Andrew V. Samoilov  <sav@bcs.zp.ua>
1101         * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
1102         for broken symlinks like 2001 -> The Space Oddysea.
1104 2000-01-24  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1106         * ftpfs.c: vfs semantics has some problems with ~s. What will
1107         happen if we just don't go to home directory of user? (We used to
1108         have /#ftp:hobit/~/ mean home directory of anonymous at
1109         hobit. Thats pretty broken.)
1111         * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
1112         message
1114         * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
1116 2000-01-18  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1118         * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
1119         from Andrew V. Samoilov
1121 2000-01-13  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1123         * extfs.c (extfs_chdir): removed unneeded statment, plus applied
1124         cosmetics fixes from Andrew V. Samoilov
1126 2000-01-02  Martin Bialasinski  <martin@internet-treff.uni-koeln.de>
1128         * extfs/deb.in: Change to the deb vfs. tar has changed, and
1129         depending on the version, it saves files as "./filename" or
1130         "filename".
1132         * From debian: added deba, debd, dpkg, apt script file systems.
1134 1999-12-28  Andrew V. Samoilov  <sav@bcs.zp.ua>
1136         * vfs.c (vfs_parse_filedate): don't decode last columns as year
1139 1999-12-21  Pavel Roskin  <pavel_roskin@geocities.com>
1141         * vfs/vfs.h: use #warning only for gcc. Not all compilers
1142         understand it
1144 1999-12-15  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1146         * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
1147         mostly internationalization + fixing stupid bugs of mine
1149 1999-12-08  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1151         * ftpfs.c: basically replaced ftpfs with new one. Unlike the
1152         previous one, this uses new direntry.c layer, so shared_ftp_fish.c
1153         can be killed.
1155         This is new code, so beware.
1157 1999-11-11  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1159         * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
1160         value, too. This code is going to be killed, the sooner the better.
1162         * *.c (mc_[un]getlocalcopy): we really need some return value,
1163         because we can have errors
1165         * fish.c: don't use directory expiration, it does not work,
1166                 use retrieve_file from direntry.c
1169 1999-02-17  Pavel Machek  <pavel@bug.ucw.cz>
1171         * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
1172         name has to be malloced.
1174 1999-10-07  Miguel de Icaza  <miguel@gnu.org>
1176         * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
1177         <lav@yars.free.net> that makes the code compliant to RFC959
1179 1999-08-30  Miguel de Icaza  <miguel@gnu.org>
1181         * ftpfs.c (insert_dots): Use g_new here.
1183         * shared_ftpfs_fish.c: Style fixes and small fixes
1185 1999-09-22  Bjorn Eriksson  <mdeans@algonet.se>
1187         * extfs/uzip.in: Better handling of zip-archives that contain files
1188         which contain spaces.
1190 1999-09-19  Norbert Warmuth  <nwarmuth@privat.circular.de>
1192         * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
1194         * mcserv.c: removed definition of mad_strconcat which is also
1195         in mad.c.
1197 1999-09-17  Federico Mena Quintero  <federico@redhat.com>
1199         * smbfs.c: #define NO_CONFIG_H before including the samba
1200         includes; this way it will not re=define HAVE_LIBREADLINE.  This
1201         situation sucks.  Should we change the names of the widget.h
1202         history_*() functions?
1204 1999-09-14  Norbert Warmuth  <nwarmuth@privat.circular.de>
1206         * smbfs.c (various places): Store filenames in memory with the unix
1207         character set and convert it back to the dos character set when
1208         filenames are passed back to the samba server. If samba is configured
1209         correctly this will fix the problems with filenames which contain
1210         national characters.
1212         (bucket_set_authinfo): Set domain, username and password which will
1213         be used to log on and authenticate against the samba server and remember
1214         this information on a host/share basis. If set use PASSWD to get the
1215         password. If already authenticated against the host and share use this
1216         information. If already authenticated against host and IPC$ use this
1217         information. If neither of the former is true ask the user how to
1218         log on.
1220         (authinfo_get_authinfo_from_user): New function. Query the user for
1221         domain, username and password to use for authentication.
1223         (authinfo_free): New function. Free memory in authentication structure.
1225         (authinfo_free_all): New function. Free the list used to remember
1226         authentication information.
1228         (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
1229         Helper functions used to search the authentication list.
1231         (authinfo_add): New function. Add one authentication entry to the
1232         authlist.
1234         (authinfo_remove): New function. Remove one entry from the authlist.
1236         (free_bucket): Free memory associated with one bucket.
1238         (smbfs_get_free_bucket): Initialize the complete connection array
1239         with 0. Free the memory allocated for a bucket and initialize the
1240         bucket before reusing it.
1242         (smbfs_open_link): use new functions to get authentication information
1244         (get_stat_info, smbfs_stat): remove unused variables.
1246 1999-08-31  Federico Mena Quintero  <federico@redhat.com>
1248         * extfs/uzip.in: Handle filenames with spaces better.  Thanks to
1249         Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
1250         for the patch.
1252 1999-08-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1254         * ftpfs.c (translate_path): Remove static buffer from here.
1255         Return a strdupped string now.
1256         (send_ftp_command): Release translate_path result here.
1257         (open_data_connection): Release translate_path result here.
1258         (ftpfs_chdir_internal): Reease it here too.
1260 1999-08-30  Norbert Warmuth  <nwarmuth@privat.circular.de>
1262         * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
1263         have been written one slot past the supplied character array).
1265         * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
1266         strange symlinks (ls -la doesn't reveal where the symlink points to
1267         and ls -lLa doesn't resolve the symlink either)
1269         Added protection against recursive symbolic links.
1271 1999-08-19  Norbert Warmuth  <nwarmuth@privat.circular.de>
1273         * smbfs.c: added missing include file
1275         (browsing_helper): use g_strdup instead of g_new + pstrcpy
1276         (Btw. this is an example why the handholding of smblib gives a
1277         false security feeling. pstrcpy limits the number of characters
1278         copied and is used with a buffer which is smaler than the hard
1279         coded limit in pstrcpy)
1280         (loaddir_helper): ditto
1281         (server_browsing_helper): ditto
1283         (get_remote_stat): fixed memory leaks
1284         (smbfs_loaddir): ditto
1285         (get_stat_info): ditto
1286         (smbfs_stat): ditto
1288         (convert_path): rewritten, now it's much cleaner what it does.
1289         This rewrite was necessary because gcc -O2 choked on glibc 2.1
1290         systems. In that combination strncat is a macro which expands to
1291         strlen and strcat and in vfs/samba/include/includes.h the latter is
1292         defined to __ERROR__XX__NEVER_USE_STRCAT___;.
1294 1999-08-18  Norbert Warmuth  <nwarmuth@privat.circular.de>
1296         * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
1297         needed. In rare cases a pointer was freed twice. Pavel Machek
1298         pointed this out a while ago but obviously it hasn't been fixed yet.
1300         * sfs.c (vfmake): Quote characters with a special meaning to the
1301         shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
1302         your full path has the space character in it.).
1304 1999-08-17  Kjartan Maraas  <kmaraas@online.no>
1306         * fish.c: Fix typo.
1308 1999-08-15  David Martin  <dmartina@usa.net>
1310         * vfs.c (vfs_print_stats): Translate vfs stats
1312         * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
1314         * fish.c: Translate messages
1316 1999-08-06  Norbert Warmuth  <nwarmuth@privat.circular.de>
1318         * tar.c (read_header): Don't segfault when a symlink points to the
1319         root directory.
1321 1999-08-01  Norbert Warmuth  <nwarmuth@privat.circular.de>
1323         * vfs.c: Don't close a function definition with "};". SunCC from
1324         2.5.1 chokes on the extra semicolon
1326         (mc_munmap): Don't dereference function pointer when checking for
1327         NULL (this check is supposed to prevent a segfault instead of
1328         causing one). This haven't got noticed up to now becaue there's no
1329         file system with mmap but without munmap.
1331 Tue Jul  6 11:22:40 1999  Timur I. Bakeyev  <mc@bat.ru>
1333         * samba/include/config.h: Removed. Should be generated.
1335 Tue Jul  6 11:18:45 1999  Timur I. Bakeyev  <mc@bat.ru>
1337         * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
1338         when builddir != srcdir. Removed some junk after not coherent patching.
1340 1999-07-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1342         * Make-mc.in (distcopy): Added a bunch of new lists of files for
1343         the directories in vfs/samba.  Use them in this rule, because
1344         plain wildcards will not work right.
1345         (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
1346         files.
1347         Added smbfs.[ch] to the list of sources.
1349 1999-07-02  Tuomas J. Lukka  <lukka@iki.fi>
1351         * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
1352         as well as the dependencies.
1354 1999-06-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1356         * smbfs.c       (get_remote_stat): Change debug level.
1358         (get_stat_info): 2 line fixes from Wayne to check the
1359         cache properly.  WOOOOHOOOO!  Works like a charm.
1361 1999-06-14  Wayne Roberts  <wroberts1@cx983858-b.orng1.occa.home.com>
1363         * vfs/smbfs.c: New file.  Implements the Samba-based file system.
1365         * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
1367         * vfs/vfs.c (vfs_file_is_smb): implemented.
1368         (vfs_init) register smbfs.
1370         * vfs/samba: Incorporate SAMBA source code required for smbfs
1372 Fri Jun 18 11:49:05 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1374         * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
1375         make a difference between "LIST -la" and "LIST -lLa". If we find such
1376         a server don't use -lLa when resolving symbolic links.
1378 1999-05-12  Christian GENNERAT  <christian.gennerat@alcatel.fr>
1380         * urar.in, uzip.in: patches to use in #urar and #uzip the new features
1381         added in mc-4.5.31 (unlink, mkdir, rmdir)
1383 1999-04-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1385         * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
1386         by debian mantainer
1388 1999-04-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1390         * extfs/uzip.in (nam): Handle new unzips.
1392 Fri Apr 23 21:02:32 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1394         * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
1395         (i.e. not even "." and "..") check whether the directory is empty
1396         or not existend (instead of failing with "ftpfs: failed").
1398 1999-04-23  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1400         * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
1401         instead of 'S'.
1402         (vfs_parse_ls_lga): do not silently ignore parsing errors.
1404 Wed Apr 21 21:59:50 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1406         * extfs.c (extfs_open): tempnam returns a malloced string, no need
1407         to strdup it
1409         (various places): use free instead of g_free to free string returned
1410         by tempnam.
1412 1999-04-21  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1414         * urar.in, uzip.in: rolled in patches from "christian.gennerat"
1415         <christian.gennerat@vz.cit.alcatel.fr> for better handling of
1416         spaces and copyin-feature-addon.
1418 1999-04-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1420         * extfs.c (get_path_from_entry): Fix a crash here.
1422 1999-04-12  Andrew T. Veliath  <andrewtv@usa.net>
1424         * extfs.c (extfs_unlink):
1425         (extfs_mkdir):
1426         (extfs_rmdir):
1427         (remove_entry): New functions.
1428         (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
1429         Add descriptions for these to the extfs README.
1431 1999-04-12  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1433         * Make-mc.in (DISTVFS): try to distribute files needed for
1434         building libvfs.so alone
1435         (EXTFS_MISC): include uarj and unarj.diff in distribution
1437 1999-04-08  Owen Taylor  <otaylor@redhat.com>
1439         * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
1440         up "TMP RACE" comments so they are at least secure,
1441         if not terribly robust.
1443 1999-03-31 Serge Winitzki  <swinitzk@hotmail.com>
1445         * added copy_in capability to mtools filesystem
1447 1999-03-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1449         * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
1450         if they exist.
1452         * mcserv.c: #include <sys/wait.h>
1453         (get_client): Put `#ifdef __EMX__' around an otherwise-unused
1454         variable.
1456         * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
1457         comparing characters.
1459         * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
1461         * extfs.c (extfs_init): Assign `key' to c, not `&key'.
1463 Sun Mar 28 23:50:47 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1465         * vfs.h (vfs_translate_url): Fixed the macro which is used when
1466         compiling without vfs.
1468 1999-03-22  David Martin  <dmartina@mailexcite.com>
1470         * ftpfs.c: Internationalize the messages that are displayed as
1471         hints.
1473 1999-03-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1475         * extfs.c (extfs_init): Fix the code here:  If the key is empty or
1476         only contains a new line, C would be pointing into an invalid location.
1478 Mon Mar 22 02:56:23 1999  Timur I. Bakeyev  <mc@bat.ru>
1480         * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
1482 Mon Mar 22 02:00:16 1999  Valery Kornienkov  <vlk@st.simbirsk.su>
1484         * extfs/uha.in: Add support for ha archives.
1486 1999-03-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1488         * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
1489         set to zero.
1491 1999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1493         * vfs.h: Make it compile in AIX.  Boy do those guys polute the
1494         name space.
1496 1999-03-09  Shooby Ban  <bansz@szif.hu>
1498         * extfs/extfs.ini: Corrected rpms -> rpms:
1499         by Balazs Nagy <julian7@kva.hu>
1501 1999-03-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1503         * vfs.c (parse_ls_lga): kill the messages on each error.
1505 Tue Feb 16 12:11:04 1999 Paul Sheer  <psheer@obsidian.co.za>
1507         * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
1508         of st_rdev. This makes stats on device files useless. Fixing
1509         this does not break anything, but adds the ability to copy
1510         device files properly. Ideally, both st_dev and st_rdev should
1511         be returned for those programs that use the vfs to properly
1512         recreate hardlinks. Whose idea was it to only return one of
1513         these???
1515 1999-02-12  Sergey Korshunoff  <seyko@p5.f434.n5020.z2.fidonet.org>
1517         * unlha.in: Fix the problem of having incorrect pathnames when
1518         pulling out files from the LHA file.
1520 Sat Feb  6 23:44:28 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1522         * tar.c (read_header): Treat hardlinks correctly.
1524 Mon Feb  1 19:32:12 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1526         * ftpfs.c (insert_dots): renamed from insert_dot. We have to
1527         insert ".." as well or directories from ftp servers which don't
1528         list "." and ".." are displayed with an additional "/".
1530 Mon Feb  1 02:55:07 1999  Timur I. Bakeyev  <mc@bat.ru>
1532         * tcputil.c: One more my bug with '\0' -> NULL. Oops..
1534 Mon Feb  1 01:45:08 1999  Timur I. Bakeyev  <mc@bat.ru>
1536         * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
1537         present. (BTW, bsdi uses it's own auth system..)
1539 Sun Jan 31 20:51:17 1999  Alexander Savelyev  <fano@vcom.kiev.ua>
1541         * mcserv.c (do_auth): mcserv never auth properly on bsdi.
1542         (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
1543         setreuid()).
1545         * tcputil.c: use correct signal handler (void func(int)) on BSDI
1547 Sun Jan 31 20:41:00 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1549         * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
1550         to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
1552 Sun Jan 31 20:04:13 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1554         * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
1555         occurance of 0 with NULL should stop this stupidy. And replacing
1556         '\0' with NULL is plan wrong!!. Reverted this replacement.
1558         * ftpfs.c (load_no_proxy_list): ditto
1560 Sun Jan 31 19:57:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1562         * ftpfs.c (insert_dot): New function. Insert a "." into the linked
1563         list. Stat'ing the root directory of a ftpfs fails if the dot is
1564         missing.
1566         (retrieve_dir): insert "." into the linked list if the ftp server
1567         haven't send it.
1569 Sun Jan 31 19:50:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1571         * The following changes make ftpfs work with a remote AmiTCP
1572         server are the result of somehow longish EMail debugging session. I
1573         don't know any public server of this kind but I was told the
1574         combination Unix/Amiga boxes are often used in intranets.
1576         * ftpfs.c (translate_path): New function. Translate a Unix path,
1577         i.e. MC's internal path representation (e.g. /somedir/somefile) to
1578         a path valid for the remote server. Every path transfered to the
1579         remote server has to be mangled by this function right prior to
1580         sending it. Currently only Amiga ftp servers are handled in a
1581         special manner.
1583         * ftpfs.c (various places): use translate_path
1585         * ftpfs.c (login_server): Assume we have to mangle pathnames if
1586         the greatings string from the server contains the word Amiga. If
1587         this assumption is wrong I have to find another way to turn on
1588         path translation.
1590         * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
1591         if it is missing. MC needs it as seperator between hostname and
1592         path in its internal url representation.
1594 1999-01-26  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
1596         * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
1597         Notwell 4
1599 Wed Jan 27 03:09:48 1999  Timur I. Bakeyev  <mc@bat.ru>
1601         * All around the source: Changed copy_strings() to g_strconcat(). Modi-
1602         fy last parameter in concat_dir_and_file() to "" - to prevent stack from
1603         disbalancing.
1605 1999-01-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1607         * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
1608         * Make-mc.in (VFSHDRS): Likewise.
1610 Sat Jan 23 18:40:19 1999  Timur I. Bakeyev  <mc@bat.ru>
1612         * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
1613         gives the same effect.
1615 1999-01-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1617         * utilvfs.c (append_path_sep): Fixed, it was broken for paths
1618         which already have a / at the end.
1620 Fri Jan 22 01:41:25 1999  Timur I. Bakeyev  <mc@bat.ru>
1622         * undelfs.c: Found one more unconverted realloc() call.
1624 1999-01-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1626         * undelfs.c (undelfs_loaddel): Fix Timur's changes.
1628 Thu Jan 21 00:58:12 1999  Timur I. Bakeyev  <mc@bat.ru>
1630         * Actually commit all changes :>
1632 Tue Jan 19 05:15:49 1999  Timur I. Bakeyev  <mc@bat.ru>
1634         * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
1635         PATH_SEP_STR. Additionall cleanups of the memory code.
1637         * utilvfs.h: Added several defenitions for common sizes for buffers.
1638         It seems, most of us experience problems, when inventing size for new
1639         buffer. This is much better and portable way to eliminate the problem.
1641 1999-01-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1643         * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
1645 Sun Jan 17 16:19:48 1999  Timur I. Bakeyev  <mc@bat.ru>
1647         * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
1648         g_strdup()/g_free() routings. Also, copy_strings() replaced by
1649         g_strconcat(), and sprintf() by g_snprintf().
1651         * utilvfs.h: New header file. Introduced as a stock header, which keeps
1652         all includes in a right order, to avoid order-dependence mistakes.
1654 Sun Jan 17 15:49:39 1999  Paul Sheer  <psheer@obsidian.co.za>
1656         * direntry.c: vfs_s_find_entry_tree changed to follow
1657         symlinks properly. Symlinks are now always followed
1658         except for the last part of the filename.
1659         vfs_s_resolve_symlink() now converts absolute paths to
1660         ../../file notation so that they can be easily resolved
1661         within the tree.
1663         * tar.c: . and .. are missing from directory entries,
1664         making it impossible to resolve links - fixed.
1666 1999-01-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1668         * vfs.c (mc_get_current_wd): Do not die.  Truncate the pathname.
1670 1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1672         * sfs.c (redirect): tempnam returns a malloc()ed buffer.
1674 Sat Jan  9 19:15:00 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1676         * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
1678 Sat Jan  9 19:13:28 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>
1680         * sfs.c (sfs_free): Fixed wrong linked list handling (head was
1681         lost after the first iteration).
1683         (sfs_getid): dito, return value was wrong.
1685 Sat Jan  9 22:49:02 1999  Timur I. Bakeyev  <mc@bat.ru>
1687         * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
1688         Also, fixed some bugs in parsing (and add new ones:), which diasallowed
1689         proper parsing of device major and minor numbers. Some other fixes. Add
1690         several new is_*() functions to make code readable.
1692 1999-01-08  Ilya Zakharevich  <ilya@math.ohio-state.edu>
1694         * vfs.h (vfs_strip_suffix_from_filename): Typo fix.  Include
1695         defines for non-vfs compilation.
1697 Fri Jan  8 20:03:36 1999  Andrej Borsenkow  <borsenkow.msk@sni.de>
1699         * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
1700         (where YY-MM-DD is parsed).
1702 Thu Jan  7 06:24:25 1999  Andrej Borsenkow  <borsenkow.msk@sni.de>
1704         * vfs.c (vfs_parse_filedate): If the date is less than 6 months
1705         in the past, it is shown without year. In this case MC assumed
1706         the current year which is wrong from Jan to Jun.
1708 Thu Jan  7 03:47:35 1999  Timur I. Bakeyev  <mc@bat.ru>
1710         * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
1712 Thu Dec 31 08:47:15 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1714         * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
1715         this filesystem and delete temporary files. This needs further
1716         investigation.
1718         * tar.c: deleted unused empty struct tar_super.
1720 Thu Dec 31 08:40:44 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1722         * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
1723         was used for external and internal reference count. This was wrong
1724         because we can free resources taken up by the vfs as soon as the
1725         external reference count (now fd_usage) is zero. The internal
1726         reference count (ino_usage) mustn't matter because the vfs has to
1727         clean up itself in the correct order.
1729 Fri Dec 25 21:48:51 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1731         * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
1732         and st_dev from vfs_s_default_stat.
1734         (vfs_s_default_stat): initialize st_ino and st_dev to zero
1736         * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
1737         new archive.
1739 Mon Dec 21 22:55:48 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1741         * tar.c: Deleted global variable tar_gzipped_memlimit.
1743 Wed Dec 16 06:36:42 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1745         * vfs.c (vfs_strip_suffix_from_filename): New function which strips
1746         known vfs suffixes from a filename and returns a malloced string
1747         which has to be freed. Possible improvement: strip vfs suffix from
1748         last path component.
1750         * extfs/*: added "umask 077" to every script.
1752 Tue Dec 15 16:41:50 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1754         * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
1755         safely w.r.t. symlinks in /tmp
1757 Mon Nov 30 23:49:11 1998  Pavel Machek  <pavel@bug.ucw.cz>
1759         * direntry.c: Hopefully got want_stale_data right...
1761 Wed Nov 25 23:54:23 1998  Pavel Machek  <pavel@bug.ucw.cz>
1763         * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
1764         this is neccessary for Solaris and probably others
1766 Mon Nov 23 17:39:33 1998  Pavel Machek  <pavel@bug.ucw.cz>
1768         * vfs.c (vfs_type_from_op): removing unneccessary code
1770 Wed Dec  9 12:24:52 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1772         * extfs/rpm: commit fix for files with spaces in name by Marc
1773         Merlin (marcsoft@merlins.org)
1775 Mon Dec  7 11:04:57 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1777         * fish.c: default to normal ssh
1778         (open_archive_int): debugging hack killed
1780 1998-12-02  Raja R Harinath  <harinath@cs.umn.edu>
1782         * Makefile.am (EXTRA_DIST): Distribute files that the
1783         BUILT_SOURCES depend on.
1784         (mad.c, mad.h): Don't use GNU make specific features in rule.
1785         (libvfs_la_SOURCES): Update from Make-mc.in.
1787 1998-12-02  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1789         * direntry.c (vfs_s_insert_super): This routine does not return
1790         anything.
1792 1998-12-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
1794         * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
1795         used anyway.
1797         * xdirentry.h (LINK_NO_FOLLOW):
1798         * tar.c (read_header):
1799         * direntry.c (vfs_s_resolve_symlink):
1800         (vfs_s_inode_from_path):
1801         (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
1802         LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
1803         NO_FOLLOW are defined in an enum.
1805         * vfs.h (ELAST): define it to 300, if not already defined, thats a
1806         bad hack, but what can we do....
1808 Wed Dec  2 14:06:49 KST 1998  Sung-Hyun Nam  <namsh@lgic.co.kr>
1810         * direntry.c (vfs_s_new_super): Added the missing return value.
1812 Sun Nov 29 02:54:54 1998  Timur I. Bakeyev  <mc@bat.ru>
1814         * vfs.h: (Temporary?) fix to the compiling error: Some of the error
1815         codes, defined here are Linux specific and unknown to other systems.
1816         Changed to #ifdef's with assigning new codes by means ELAST+offset.
1818 Tue 24 Nov 12:43:20 1998  Peter Kleiweg  <kleiweg@let.rug.nl>
1820         * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
1821         which indicate a file with extented attributes (ACL)
1823 Mon Nov 23 21:19:43 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1825         * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
1826         we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
1828         (resolve_symlink_without_ls_options): that's resolve_symlinks
1829         we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
1830         directory cache fetching directories if necessary. We got some
1831         complaints about slower ftpfs in the above releases. Now this methode
1832         is no longer the default methode to resolve symbolic links. It is still
1833         needed for ftp servers which don't understand the LIST -lLa command.
1835         (resolve_symlink): Dispatch between the two methods to
1836         resolve symlinks.
1838 Sat Nov 21 21:38:08 1998  Pavel Machek  <pavel@bug.ucw.cz>
1840         * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
1841         thanks to Pavel Roskin for reporting
1843         * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
1845         * utilvfs.c (vfs_split_url): initialize variables so that we do
1846         not return garbage
1848 Sat Nov  7 20:19:14 1998  Pavel Machek  <pavel@bug.ucw.cz>
1850         * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
1851         where unneccessary. I do not see why passing NULL to vfs_add_stamp
1852         should be invalid -> removed check.
1854 Mon Nov  2 23:09:55 1998  Pavel Machek  <pavel@bug.ucw.cz>
1856         * direntry.c, xdirentry.h: should be now prepared to handle
1857         ftp-like filesystems. This is rather BIG change, altrough it does
1858         not look so. I hope I do not break too many things.
1860 Mon Nov 16 16:39:39 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1862         * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
1864 Thu Nov 12 11:28:48 1998  Pavel Roskin  <pavel_roskin@geocities.com>
1866         * extfs/rpm: Fix to display files belonging to users with
1867         excessively long usernames
1869 1998-10-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1871         * fish.c (command): Replace vnsprintf with g_strdup_vprintf.  This
1872         is both safe and more correct, as there is no limit on the
1873         pathname.
1875         * ftpfs.c (command): Same as above.
1877         * util-alone.c (print_vfs_message): Same as above.
1879 Wed Oct 28 17:06:57 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1881         * ftpfs.c: report which directory you are listing, fix behaviour
1882         with servers that don't like LIST //. (Nowell) Fix behaviour even
1883         with NT.
1885         * direntry.c (vfs_s_automake): insert newly generated entry
1887         * direntry.c (vfs_s_free_entry): Debugging printf() killed.
1889 Mon Oct 26 00:38:30 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1891         * Make-mc.in: added xdirentry.h to VFSHDRS
1893 Fri Oct 23 12:29:48 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1895         * tar.c (tar_open_archive): do not double-free memory if you can
1896         not open archive, better error handling
1898         * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
1900         * sfs.c, tar.c: remove debugging messages (which really should not
1901         escape from my tree)
1903 Thu Oct 22 22:24:44 1998  Pavel Machek  <pavel@bug.ucw.cz>
1905         * README: added. If you are using emacs or hacking libvfs, please
1906         read this one.
1908         * direntry.{c,h}: new library created, so that same entry/inode
1909         code does not have to be copied in every handler.
1911         * tar.c: converted to use direntry.c library, which means BIG changes.
1913         * ftpfs.c: small updates to make code look nicer
1915 Mon Oct 19 19:40:58 1998  Pavel Machek  <pavel@bug.ucw.cz>
1917         * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
1918         which actually need it.
1920         * extfs.c: extfs_current_dir killed - it was unneccessary.
1922         * mcfs.c (mcfs_get_path): It is possible for path not to begin
1923         with /#mc:, for example if user does /etc/#mc:. (It is not
1924         correct, of course). Return error, but do not vfs_die().
1926 Sun Oct 18 23:48:00 1998  Pavel Machek  <pavel@bug.ucw.cz>
1928         * lib/mc.ext.in: cpio support fixed. It was broken since time we
1929         started to do #ext syntax.
1931 Sat Oct 17 20:43:20 1998  Pavel Machek  <pavel@bug.ucw.cz>
1933         * vfs.c (mc_open): die() if open is unsupported. If filesytem does
1934         not support open, it is probably stupid typo, so we want bug to be
1935         fixed.
1937 Thu Oct 22 20:30:28 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
1939         * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
1940         free dcache while resolving symlinks (i.e. don't free some
1941         pointers which are in use by resolve_symlink).
1943 Mon Oct 19 11:44:47 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1945         * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
1947 Thu Oct 15 17:17:17 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1949         * shared_ftp_fish.c (s_write): stupid bug fixed
1951 Tue Oct 13 00:22:52 1998  Pavel Machek  <pavel@bug.ucw.cz>
1953         * extfs/*: marked obvious security holes with FIXME: TMP RACE
1955         * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
1956         symlink attack, fixed memory leak along the path
1958 1998-10-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1960         * vfs.c, vfs.h: Indentation chages, ugly macros removed.  I am
1961         going to split this file in the future.
1963 Tue Oct 13 18:43:18 1998  Pavel Machek  <pavel@lomikel.karlin.mff.cuni.cz>
1965         * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
1966         Borsenkow <borsenkow.msk@sni.de>
1968 Tue Oct 13 12:42:10 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
1970         * vfs.h (vfs_struct): renamed to avoid namespace conflict
1972 Mon Oct 12 22:42:30 1998  Pavel Machek  <pavel@bug.ucw.cz>
1974         * sfs.c: reuse mmap from local.c
1976         * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
1977         and replaced with open(,O_LINEAR); lseek() combination
1979 Sun Oct 11 01:44:37 1998  Pavel Machek  <pavel@bug.ucw.cz>
1981         * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
1982         as it deals with portmapper, it is probably usefull for mcfs
1984         * vfs.h (MCERR_*): these are no longer needed
1986         * vfs.c (vfs_translate_url): translating of url's moved to vfs
1987         code
1989         * all around: trying to reduce namespace pollution. All special
1990         functions (like extfs_run) should be done using mc_setctl()
1991         interface. At the end, all non-static functions in vfs layer
1992         should begin with vfs_ and should be declared in vfs.h (however
1993         that goal is far away).
1995         * all over the code: replace X_vfs_ops to vfs_X_ops
1997 Mon Oct  5 20:11:01 1998  Pavel Machek  <pavel@bug.ucw.cz>
1999         * vfs.c: added stat to avoid hiding files by naming them
2000         #ftp:localhost and similar. Vfs will not treat files as local if
2001         they already exists, regardless of name.
2003 Tue Oct  6 15:34:22 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
2005         * vfs.h: disable BROKEN_PATHS by default. See if you can live
2006         without cd .. from ftp tree putting you to last directory.
2008 Sat Oct  3 14:28:57 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
2010         * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
2011         change, i.e. make it compile)
2013 Sat Oct  3 01:03:37 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
2015         * ftpfs.c (resolve_symlink): minor speed enhancement
2017 Thu Oct  1 18:39:52 1998  Pavel Roskin  <pavel_roskin@geocities.com>
2019         * vfs.h: vfs_force_expire() was incorrectly #define'd
2021 Tue Sep 29 17:23:03 1998  Pavel Machek  <pavel@atrey.karlin.mff.cuni.cz>
2023         * extfs.c, sfs.c: added few static's to prevent people from doing
2024         stupid things
2026 Mon Sep 28 21:43:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
2028         * vfs.h (struct vfs): renamed errno to verrno because glibc2
2029         defines errno as macro (#define errno (*__errno_location ()))
2031 Mon Sep 28 21:34:03 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
2033         * Makefile.in: search config.status in builddir and not in srcdir/..,
2034         i. e. make it compile for builddir != srcdir
2036 Sun Sep 27 16:16:52 1998  Pavel Machek  <pavel@bug.ucw.cz>
2038         * COPYING.LGPL, all over the code: code is now under Library
2039         General Public License (instead of GPL), so non-free applications
2040         can link to it.
2042 Wed Sep 23 22:37:40 1998  Pavel Machek  <pavel@bug.ucw.cz>
2044         * all over the code: added (vfs *) as first argument for functions
2045         that have no other way to know what fs they belong to. This will
2046         be used by object-like tricks, which will allow us to do real
2047         code-sharing: I do not like #including of .c files.
2049 1998-09-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2051         * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
2052         linear_close
2054 Wed Sep 23 15:09:55 1998  Tom Tromey  <tromey@cygnus.com>
2056         * vfs.h (MIN, MAX): Only define if not already defined; glib.h
2057         also defines them.
2059 Wed Sep 23 13:33:14 1998  Pavel Machek  <pavel@ucw.cz>
2061         * ftpfs.c: Fixed segfault caused by unitialized varialble
2063 Wed Sep 23 11:51:12 1998  Pavel Roskin  <pavel_roskin@geocities.com)
2065         * ftpfs.c: Special characters were printed via print_vfs_message.
2066         This caused funny effects if "XTerm hintbar" was on.
2068 Mon Sep 21 11:40:30 1998  Pavel Machek  <pavel@ucw.cz>
2070         * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
2071         files in sane way. copy_file_file will make temporary files for a
2072         while (fix pending).
2074         * tar.c: fixed bzip/bzip2 compressed archives
2076 Wed Sep 18 12:51:51 1998  Pavel Machek  <pavel@ucw.cz>
2078         * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
2080         * vfs.h: created ERRNOR() macro which sets my_errno and returns,
2081         which makes vfs's _much_ more readable
2083 Fri Sep 18 10:37:28 1998  Pavel Roskin  <pavel_roskin@geocities.com)
2085         * extfs.c: free() was called twice for the same place in memory
2086         in extfs_open()
2088 Tue Sep 15 20:31:32 1998  Norbert Warmuth  <k3190@fh-sw.de>
2090         * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
2091         If true we try to use 'LIST -la <path>'. When it fails we use the
2092         two commands 'CWD <path>' and 'LIST' instead.
2094         (resolve_symlink): rewritten. Don't get a second directory listing
2095         with `LIST -lLa'. Instead use the cache to get the file stat of
2096         symbolic links. If the directory the symlink points to isn't
2097         already in the cache the directory listing will be fetched and
2098         stored in the directory cache (without resolving symlinks
2099         recursively).
2100         The new method to resolve symlinks is faster if symlinks
2101         the same directory or the directory the symlink points to
2102         is already in the cache.
2103         This function was small and nice until I discovered that it was
2104         broken for symlinks to symlinks. Now it looks ugly and perhaps I
2105         will revert it to use "LIST -lLa" again. With a fast connection it
2106         doesn't matter which methode we use but with a slow connection I
2107         wouldn't hesitate to burn more cpu cycles on the client side.
2109         (retrieve_dir): Added parameter to tell whether to resolve
2110         symlinks (don't resolve symlinks in directory listings retrieved
2111         while resolving symlinks).
2112         When we don't get a directory listing with 'LIST -la <path>' then
2113         try to get it with `CWD <path>; LIST'.
2115 Tue Sep 15 20:27:29 1998  Norbert Warmuth  <k3190@fh-sw.de>
2117         * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
2119         (retrieve_file_start2): Don't create target file O_EXCL, in
2120         copy_file_file we check existance of the target file and know
2121         that we want to truncate it (this change was already done a
2122         while back but it was reverted with the vfs-split).
2124 Tue Sep 15 20:15:42 1998  Norbert Warmuth  <k3190@fh-sw.de>
2126         * ftpfs.h (struct connection): added boolean which indicates that
2127         the ftp server doesn't understand Unix ls options
2129         * ftpfs.h (struct dir): added enum to store symlink status of the
2130         in memory directory cache (directory has no symbolic links;
2131         symbolic links but not yet resolved; symbolic links which are resolved)
2133 Tue Sep 15 20:02:08 1998  Norbert Warmuth  <k3190@fh-sw.de>
2135         * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
2136         honour the additional boolean parameter
2138 Tue Sep 15 00:42:15 1998  Timur Bakeyev  <mc@bat.ru>
2140         * vfs.h: add vfs_split() declaration, to make sfs.c happy.
2142         * Make-mc.in, Makefile.am: Updated to include fish.c
2144 1998-09-14  Norbert Warmuth  <k3190@fh-sw.de>
2146         * sfs.c (sfs_free): assignment operator was used to check for equality
2148 Fri Sep 11 22:36:38 1998  Pavel Machek  <pavel@ucw.cz>
2150         * sfs.c: memory leak fixed
2152         * vfs.c: split parse_ls_lga into more functions
2154         * fish.c added, now you can access files over rsh/ssh connection
2156         * shared*.c: reworked a bit not to include so many of ugly X_'s
2158 Wed Sep  2 13:59:47 1998  Pavel Machek  <pavel@ucw.cz>
2160         * ftpfs.c: cleanup of code, few static's added
2162         * extfs/uarj: added, still, you need patches to unarj to make this
2163         work
2165         * util-alone.c: now includes code from libvfs.c, so we can kill
2166         libvfs.c (which is good thing as it was non-standard in Makefiles)
2168 Sun Aug 30 13:19:49 1998  Pavel Machek  <pavel@ucw.cz>
2170         * undelfs.c: fixed, it has been broken for too long
2172         * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
2174         * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
2175         handling in case of NULL in *_vfs_ops.
2177         * extfs.c, ftpfs.c, tar.c: made use of above change
2179         * vfs.c: cleanup of macros generating mc_*()
2181         * libvfs.c: adding variable mc_home
2183 Thu Aug 27 19:45:31 1998  Pavel Roskin  <pavel_roskin@geocities.com>
2185         * extfs.c: mc_extfsdir was not defined in extfs_open()
2187         * Make-mc.in: sfs.c was not compiled, linked and copied out
2188         extfs/sfs.ini was not installed and copied out
2190         * Makefile.am: sfs.c was not linked to standalone VFS
2192 Tue Aug 25 17:54:17 1998  Pavel Machek  <pavel@ucw.cz>
2194         * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
2196         * Added single file filesystem (sfs)
2198         * Added vfs_flags so library users can disable selected
2199         filesystems
2201         * Minor shuffling of functions so garbage collection works for
2202         library
2204 1998-08-20  Raja R Harinath  <harinath@cs.umn.edu>
2206         * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
2207         `mc-src'.
2209 Wed Aug 12 19:04:48 1998  Pavel Roskin  <pavel_roskin@geocities.com>
2211         * extfs/patchfs: %k replaced with more portable %H in the format
2212         for "date" command
2214         * extfs/extfs.ini: Added patchfs and mailfs. Some comments
2215         changed
2217 Tue Aug 11 15:25:52 1998  Pavel Roskin  <pavel_roskin@geocities.com>
2219         * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
2220         lines without enf-of-line.
2222 Mon Jun 01 03:30:07 1998  Alexander Savelyev  <fano@vcom.kiev.ua>
2224         * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
2225         is always 0.
2227 1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2229         * ftpfs.c (ftpfs_open_socket): Potential security break fix.
2231 1998-08-06  Raja R Harinath  <harinath@cs.umn.edu>
2233         * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
2234         Don't try building this, yet.
2236 1998-07-31  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
2238         * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
2239         and $(EXTFS_OUT) because the first must be installed from
2240         $(srcdir) and the second from $(builddir).
2242 Fri Jul 24 00:22:30 1998  Tom Tromey  <tromey@cygnus.com>
2244         * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
2246         * Makefile.am: New file.
2247         * Make-mc.in: Renamed from Makefile.in.
2248         * Makefile.in: Removed.
2250 Mon Jun 29 15:12:55 1998  Pavel Roskin  <pavel_roskin@geocities.com>
2252         * Makefile.in: Rewritten stuff concerning extfs files.
2254 Mon Jun 22 22:30:00 1998  Manish Vachharajani  <mvachhar@vger.rutgers.edu>
2256         * Makefile.in: Remove arfs, since it doesn't seem to exist
2258 Wed Jun 17 Pavel Machek  <pavel@ucw.cz>
2259         * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
2260         are more logical (and so that things actually work, because new
2261         names are currently in extfs.ini).
2263 Wed Jun 17 Pavel Machek  <pavel@ucw.cz>
2264         * Modified code to use tempnam() instead of tmpnam(), fixed
2265         tempnam() to use NULL instead of 0.
2267 Wed Jun  3 Pavel Machek  <pavel@ucw.cz>
2269         * libvfs.c: adding libvfs.c which should contain things specific
2270         to stand-alone libvfs.so. (This file was missing from previous
2271         merge.)
2273 Mon Jun  1 16:00:19 1998  Norbert Warmuth  <k3190@fh-sw.de>
2275         * ftpfs.c (ftpfs_fill_names): use right character to seperate
2276         prefix and username
2278 Mon Jun  1 14:19:20 1998  Bakeyev I. Timur  <mc@bat.ru>
2279         * vfs.c (parse_ls_lga): allow a bit wider range of listings.
2281         * vfs.c (is_time, is_year): new functions
2283 Mon Jun  1 12:47:50 1998  Norbert Warmuth  <k3190@fh-sw.de>
2285         * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
2287 Thu May 28 16:42:31 1998  Pavel Machek  <pavel@ucw.cz>
2289         * extfs.c, shared.c, tar.c: I changed semantics in my previous
2290         patch - _get_path() now modifies strings passed to it. I thought
2291         that I were carefull enough not to introduce bugs. You guessed it -
2292         I was not. [Many tar_ and extfs_ functions modify strings passed
2293         to them, but as they are only called from vfs layer, it does not
2294         matter much.]
2295         So I renamed function to alert everyone that semantics changed.
2297         Fixed bugs in timestamping (and segfaults) when you entered tar
2298         inside zip file or similar.
2300         * vfs.c (mc_open): Die if the filesystem doesn't support open
2302 ???         Pavel Machek <pavel@ucw.cz>
2304         * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
2306         * util-alone.*: VFS should be able to compile stand-alone into
2307         libvfs.so usable by anyone. This is first step.
2309         * vfs.c & others: syntax change. We no longer use
2310         tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
2311         better defined meaning. Similar changes are done to all other
2312         protocols. This change touched really _many_ places of code.
2315 1998-05-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2317         * vfs.c (MC_DIROP): Macro now returns the proper value.
2319 1998-maj-18  Tamasi Gyorgy (gt_cosy@usa.net)
2321         * Makefile.in ('install' target): 'mcserv' not installed, if
2322         net-code is not enabled by 'configure'.
2324 Thu May 14 02:05:52 1998  Norbert Warmuth  <k3190@fh-sw.de>
2326         * Makefile.in (LIBS): add @LINTL@
2328 Sun May 10 14:51:03 1998  Norbert Warmuth  <k3190@fh-sw.de>
2330         * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
2331         optimation is wrong because for directories containing spaces we
2332         have to "CWD <pathname>" and "LIST -la" instead of
2333         "LIST -la <pathname>".
2334         I implemented a different optimation. Now ftpfs_chdir only stores
2335         the new working directory and sets a flag. __ftpfs_chdir is called
2336         when we really want to change the directory on the ftp server.
2338         (resolve_symlink): Log the directory listing to the logfile.
2340         * ftpfs.h (struct ftpfs_connection): Added a (per connection)
2341         cwd_defered flag.
2343 Mon May  4 10:27:49 1998  Norbert Warmuth  <k3190@fh-sw.de>
2345         * Makefile.in: Links to mad.c and mad.h were created wrong when
2346         srcdir != builddir and directory depth to srcdir and builddir were
2347         different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
2349         * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
2350         in copy_file_file we check existance of the target file and know
2351         that we want to truncate it.
2353 1998-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2355         * tar.c (read_header): Mark regular files with S_IFREG.
2357 Tue Apr 28 06:06:03 1998  Norbert Warmuth  <k3190@fh-sw.de>
2359         * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
2360         my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
2361         copyout of 4.1.32.
2363 1998-04-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2365         * ftpfs.c (retrieve_file_start2): Open file exclusively.
2366         (retrieve_file): likewise.
2368 1998-03-31  Philippe De Muyter  <phdm@macqel.be>
2370         * vfs.h: compilation fix for m68k-motorola-sysv
2372 Wed Mar 25 19:01:48 1998  Norbert Warmuth  <k3190@fh-sw.de>
2374         * extfs/hp48: Added a usage summary
2376 Mon Mar 23 00:42:21 1998  Christofer Edvardsen  <ce@earthling.net>
2378         * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
2379         filesystem to view and copy files to/from the HP48.
2381 Wed Feb 11 14:09:02 1998  Oleg  <oleg@pobox.com>
2383         * extfs.c: Add support for writtable external file systems.
2384         Required for the httpfs.
2386 Fri Jan 23 07:27:37 1998  Peter Daum  <gator@cs.tu-berlin.de>
2388         * extfs.c (open_extfs_archive): Pass the quoted argument to the
2389         list command.
2391         * mailfs: new file system.
2393 1997-12-21  Yuri Kuzmenko  <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
2395         * tar.c: fix the bug which core dumps when trying to view tar file
2396         with many files (over 60000).
2398 Mon Jul 21 18:47:37 1997  Miguel de Icaza  <miguel@athena.nuclecu.unam.mx>
2400         * vfs.c (mc_opendir): Do not make conversions between int/void *
2401         to make the code compile and work on the Alpha correctly.
2402         Allocate a pointer to an int and use that instead.
2404 Thu Jul  3 19:08:43 1997  Michele Marziani  <marziani@axpfe1.fe.infn.it>
2406         * extfs/rpm: Small fix for older RPM files.
2408 Mon Jun  9 19:00:30 1997  Norbert Warmuth  <k3190@fh-sw.de>
2410         * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
2412         * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
2413         free the extfs buffers immediatly instead of waiting for the vfs-
2414         timeout
2416 Thu May 29 14:50:41 1997  Miguel de Icaza  <miguel@athena.nuclecu.unam.mx>
2418         * vfs.c (vfs_canon): the "local:" case was consuming one extra
2419         character.  This fixes the bug reported by Andrej.  Also, handle
2420         the non-canonical case of arguments to  local:
2422 Tue May 27 20:38:28 1997  Miguel de Icaza  <miguel@athena.nuclecu.unam.mx>
2424         * mcserv.c (get_client): The parent now waits for the first forked
2425         process, getting rid of the zombies.
2427         * utilvfs.c (open_tcp_link): If we can not contact the remote
2428         portmapper, set the protocol version to 1.
2430 Fri May 16 16:42:18 1997  Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
2432         * mc.spec: New spec file, this packages mc, mcserv and tkmc.
2434         * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
2436         * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
2437         more info currently displayed (changeslogs, Os, URL, packager
2439 Tue May 13 18:14:49 1997  Wojtek Pilorz  <wpilorz@bdk.lublin.pl>
2441         * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
2442         force vfs scripts to be executable on those systems that use
2443         install.sh
2445         * src/utilunix.c: Implement socketpair for SCO flavored systems.
2447 Mon Mar 17 12:03:50 1997  Norbert Warmuth  <k3190@fh-sw.de>
2449         * configure.in (--with-hsc): fix.
2451         * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
2452         passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
2453         passing it as integer)
2455 Tue Feb 25 20:21:00 1997  Joseph M. Hinkle  <jhinkle@rockisland.com>
2457         * extfs/lha: Updated the lha filesystem and included a command
2458         for running an executable from within an lha archive suggested
2459         by Zdenek Kabelac <kabi@informatics.muni.cz>
2461         * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
2462         config.in to create these VFS's for cleaner compilation