Commit Graph

122 Commits

Author SHA1 Message Date
Kjartan Maraas
19ecfc2a9c 1998-10-25 Kjartan Maraas <kmaraas@fib.hl.no>
* Added norwegian translation and some minor tweaks to make it
	link properly (I'm not sure it is correct, but I'm sure someone
	will point that out if its not ;-).)
1998-10-26 00:06:43 +00:00
Miguel de Icaza
c8a8394f56 Make it compile 1998-10-23 20:18:48 +00:00
Pavel Machek
652cd17475 Do not segfault when you can not open archive. 1998-10-23 11:19:52 +00:00
Pavel Machek
f51a940aec Removed debugging messages and fixed Makefile.in. 1998-10-23 10:38:22 +00:00
Pavel Machek
37e364fe67 BIG changes: tar now uses brand-new direntry.c. Hope it does not hurt
too much.
1998-10-23 08:26:25 +00:00
Norbert Warmuth
96f4d6c760 Thu Oct 22 20:41:50 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
*  configure.in (subshell): Don't define inline to be empty
when compiling with non-gcc compiler. AC_C_INLINE (invoked in
AM_GETTEXT_GNU) already defines inline if necessary.

Thu Oct 22 20:41:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* panelize.c (do_external_panelize): Not zeroing some fields
in cpanel led sometimes to segfaults.

Thu Oct 22 20:30:28 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
free dcache while resolving symlinks (i.e. don't free some
pointers which are in use by resolve_symlink).
1998-10-22 20:17:49 +00:00
Pavel Machek
2f1692a46e Trivial bugfix in mcfs. 1998-10-19 09:55:24 +00:00
Pavel Machek
dd9ceddfc2 O_EXCL added to prevent symlink attack in vfs.c (ChangeLog commited earlier) 1998-10-16 15:30:51 +00:00
Miguel de Icaza
476731a0f4 Minor Makefile bug fix 1998-10-15 22:38:00 +00:00
Pavel Machek
feef616e63 Small bugs... 1998-10-15 15:18:12 +00:00
Pavel Machek
269500c1f5 ChangeLog entry for security holes marking 1998-10-14 19:47:49 +00:00
Pavel Machek
44219900e8 Marked security holes as such 1998-10-14 19:43:21 +00:00
Miguel de Icaza
d6fcd9c2b7 VFS source code cleanup.
MC now depends on glib (currently only the assertions are used).
VFS structure declaration fixes.
Uses the new icon list (it is dog slow, need to fix this tonight at home).
1998-10-14 02:56:18 +00:00
Pavel Machek
f699107608 Minor fix 1998-10-13 16:45:00 +00:00
Pavel Machek
29e3c314bf Namespace conflict cleaned up. 1998-10-13 10:45:02 +00:00
Pavel Machek
176dc1f70d static's added, do_reget hack removed 1998-10-12 22:07:53 +00:00
Pavel Machek
937fc9a607 Missing entry from prev. commit 1998-10-06 17:09:34 +00:00
Pavel Machek
f6b74c679c Disable BROKEN_PATHS by default. 1998-10-06 13:37:12 +00:00
Pavel Machek
b99161ec69 Add path_magic to work properly with #ftp:asdf files created by
malicious user
1998-10-05 18:32:53 +00:00
Norbert Warmuth
b920b0b1c4 Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/ftpfs.c (resolve_symlink): fixed cut'n paste error in my last commit,
i.e. make it compile)
1998-10-03 12:30:03 +00:00
Norbert Warmuth
b0280fd397 Sat Oct 3 00:54:23 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/Makefile.in (EDITOBJS): removed one wrong \\ (line
continuation)

Sat Oct  3 01:03:37 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink): minor speed enhancement
1998-10-02 23:01:16 +00:00
Pavel Roskin
ef0f6d00fc vfs_force_expire() was incorrectly defined in vfs.h 1998-10-01 17:42:05 +00:00
Miguel de Icaza
f149bf7733 Support changes in recent rpm 1998-10-01 16:40:57 +00:00
Pavel Machek
8ad6f74d84 Make make clean work properly. 1998-09-29 22:49:38 +00:00
Pavel Machek
136006707c Fixed cursor positioning so that it does not call any vfs code, few
statics added to vfs layer, no longer use '0' in place of NULL.
1998-09-29 16:01:16 +00:00
Norbert Warmuth
c10ecb8b0f Now gmc, tkmc and mc build one my glibc2 system (builddir != srcdir).
Mon Sep 28 21:55:13 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/find.c: Changed hotkey of the continue-button (both Chdir and
Continue used `C').

* po/*.po: remade because one msgstr in find.c changed

* src/Makefile.in: search config.status in builddir and not in rootdir,
i.e. make it compile for builddir != srcdir

* vfs/vfs.h (struct vfs): renamed errno to verrno because glibc2
defines errno as macro (#define errno (*__errno_location ()))

* vfs/Makefile.in: search config.status in builddir and not in srcdir/..,
i.e. make it compile for builddir != srcdir
1998-09-28 20:41:28 +00:00
Elliot Lee
78dd7ba78c libgnome:
gnome-triggers.* Start adding sound sample support to the triggers
			 (not finished).
	gnomelib-init.c: Initialize trigger subsystem upon startup.
	libgnomeui:
		Makefile.am: Fix rules for generating the
			     gnometypebuiltins*.[ch]
		gnometypebuiltins_evals.c: No calendar stuff (*broken*)
	libvfs/Makefile.am: Install vfs.h into <vfs/vfs.h>
1998-09-28 18:58:36 +00:00
Pavel Machek
a92e6f3ea8 Changed license to LGPL, added passing of vfs * (acting as self), so
we can do OOP-like trics.
1998-09-27 19:27:58 +00:00
Miguel de Icaza
3059f6c31a Fix fish warnings -mig 1998-09-25 22:34:59 +00:00
Miguel de Icaza
207079776b Pass3 1998-09-25 20:15:00 +00:00
Miguel de Icaza
3ca9a94f82 update .cvsignore 1998-09-25 20:11:21 +00:00
Miguel de Icaza
c6bf31046b More makefile fixes -mig 1998-09-25 20:10:06 +00:00
Miguel de Icaza
8fac5dd743 More makefile fixes -mig 1998-09-25 20:00:42 +00:00
Tom Tromey
00922504b1 Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
* vfs.h (MIN, MAX): Only define if not already defined; glib.h
	also defines them.
1998-09-23 21:24:15 +00:00
Pavel Machek
6704676eb4 NULL should be used instead of 0 for pointers. 1998-09-23 11:52:58 +00:00
Pavel Machek
b844272610 Minor bug fix. 1998-09-23 11:37:29 +00:00
Pavel Roskin
d82df89441 Removed '\n' from a print_vfs_message() call in ftpfs.c
It caused funny effects if "XTerm hintbar" was on (rxvt+Windowmaker).
1998-09-23 10:54:54 +00:00
Miguel de Icaza
99de5c0197 Update the Makefile.am to the latest changes in vfs -mig 1998-09-22 17:44:13 +00:00
Pavel Roskin
062e729b03 Minor grammatic error in ChangeLog corrected 1998-09-21 15:20:34 +00:00
Pavel Machek
a57c127f2d O_LINEAR option added, tar fixed to handle bzip/bzip2 files correctly. 1998-09-21 09:52:07 +00:00
Pavel Roskin
ec5351e438 "make dist" is working again 1998-09-18 19:45:27 +00:00
Pavel Machek
7d12623b27 Cleaned up some warnings. 1998-09-18 14:28:07 +00:00
Pavel Machek
ee12728d7d /#ssh: and /#rsh: aliases, ERRNOR() macro 1998-09-18 11:02:04 +00:00
Pavel Roskin
f931d6b5d4 Some piece of memory was freed twice.
Minor clean-up for gcc -Wall.
1998-09-18 09:40:34 +00:00
Pavel Machek
699d35b586 Added -g to suggested options list, it is required for 4.3BSD systems
compatibility.
1998-09-17 10:40:57 +00:00
Timur Bakeyev
b7d5b0c3a6 Just fix syntax errors :( 1998-09-15 21:01:39 +00:00
Norbert Warmuth
a04ee60c23 Tue Sep 15 20:51:42 1998 Norbert Warmuth <k3190@fh-sw.de>
* setup.c: save and restore new global variable/option
ftp_use_unix_list_options


Tue Sep 15 20:31:32 1998  Norbert Warmuth  <k3190@fh-sw.de>

* ftpfs.c (ftp_use_unix_list_options): New global variable/option.
If true we try to use 'LIST -la <path>'. When it fails we use the
two commands 'CWD <path>' and 'LIST' instead.

(resolve_symlink): rewritten. Don't get a second directory listing
with `LIST -lLa'. Instead use the cache to get the file stat of
symbolic links. If the directory the symlink points to isn't
already in the cache the directory listing will be fetched and
stored in the directory cache (without resolving symlinks
recursively).
The new method to resolve symlinks is faster if symlinks
the same directory or the directory the symlink points to
is already in the cache.
This function was small and nice until I discovered that it was
broken for symlinks to symlinks. Now it looks ugly and perhaps I
will revert it to use "LIST -lLa" again. With a fast connection it
doesn't matter which methode we use but with a slow connection I
wouldn't hesitate to burn more cpu cycles on the client side.

(retrieve_dir): Added parameter to tell whether to resolve
symlinks (don't resolve symlinks in directory listings retrieved
while resolving symlinks).
When we don't get a directory listing with 'LIST -la <path>' then
try to get it with `CWD <path>; LIST'.


Tue Sep 15 20:27:29 1998  Norbert Warmuth  <k3190@fh-sw.de

* ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/

(retrieve_file_start2): Don't create target file O_EXCL, in
copy_file_file we check existance of the target file and know
that we want to truncate it (this change was already done a
while back but it was reverted with the vfs-split).


Tue Sep 15 20:15:42 1998  Norbert Warmuth  <k3190@fh-sw.de>

* ftpfs.h (struct connection): added boolean which indicates that
the ftp server doesn't unterstand Unix ls options

* ftpfs.h (struct dir): added enum to store symlink status of the
in memory directory cache (directory has no symbolic links;
symbolic links but not yet resolved; symbolic links which are resolved)


Tue Sep 15 20:02:08 1998  Norbert Warmuth  <k3190@fh-sw.de>

* shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
honour the additional boolean parameter
1998-09-15 19:41:22 +00:00
Timur Bakeyev
38d687870f *** empty log message *** 1998-09-14 20:50:11 +00:00
Norbert Warmuth
e87670a3bd 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
* sfs.c (sfs_free): assignment operator was used to check for equality
1998-09-14 19:21:04 +00:00
Pavel Machek
6bc8719e94 Minor ommission fixed, it should compile, now. 1998-09-14 08:14:31 +00:00