Commit Graph

254 Commits

Author SHA1 Message Date
Paul Sheer
9e4cd04ea1 mcserv and mcfs exchange st_dev instead of st_rdev. This makes stats on
device files useless. Fixing this does not break anything, but adds the
ability to copy device files properly. Ideally, both st_dev and st_rdev
should be returned for those programs that use the vfs to properly
recreate hardlinks. Used idea was it to only return one if these???

mcserv also does not return the amount written in a write - fixed

mc should now interface correctly with secure-mcserv in basic non-secure
mode
1999-02-16 10:16:59 +00:00
Miguel de Icaza
1370e6c166 Notice: release coming in about 90 minutes.
Miguel.

1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gcmd.c (gnome_open_terminal_with_cmd): New routine, based on the
	gnome_open_terminal routine, that will allow the user to specify a
	command to execute (used internally).

	* gaction.c (gmc_edit_filename): Support for the GNOME editor
	environment properties.

	* gdesktop.c (create_desktop_dir): Support GNOME_DESKTOP_DIR
	variable to configure the desktop directory.
1999-02-15 21:19:03 +00:00
Miguel de Icaza
7ca0948527 OS/2 portability changes by Ilya 1999-02-13 21:39:18 +00:00
Miguel de Icaza
2bdb98051d Fixes for LHA fs 1999-02-12 22:06:27 +00:00
Miguel de Icaza
59ebb12935 Fixes for LHA fs 1999-02-12 21:42:32 +00:00
Pavel Machek
ea0410522b Ran file through ispell, this is result :-) 1999-02-07 17:44:52 +00:00
Norbert Warmuth
2441189d12 Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/tar.c (read_header): Treat hardlinks correctly.
1999-02-06 23:52:11 +00:00
Miguel de Icaza
2db4ccf25e Distirbute util-alone.[ch] as well 1999-02-06 20:19:50 +00:00
Norbert Warmuth
04ebcebc1b Wed Feb 3 22:27:04 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/util.c (strip_password): Extented to find the url in the first
parameter. The second parameter tells whether it should search the
url (indicated by known prefixes) in the first parameter or whether
the first parameter is a url without a prefix ("ftp://", "/#ftp:",
"/#mc:").

* src/main.c (directory_history_add): Strip the password (if any) from
the freshly added value.

* src/widget.c (push_history): ditto. There's a ugly special casing
necessary for the network and ftp link dialogs (urls are entered
with out prefix).

* src/widget.c (history_put): Restrict read and write access to the
history file to the owner (Just in case I forgot to strip passwords
somewhere).


Mon Feb  1 19:32:12 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (insert_dots): renamed from insert_dot. We have to
insert ".." as well or directories from ftp servers which don't
list "." and ".." are displayed with an additional "/".
1999-02-03 23:19:40 +00:00
Timur Bakeyev
3bc60d00b2 tcputil.c: One more bug with '\0' -> NULL. 1999-02-01 01:02:44 +00:00
Timur Bakeyev
4dce2ac60a setuid()/setreuid() in mcserv.c
Mon Feb  1 01:45:08 1999  Timur I. Bakeyev <mc@bat.ru>

	* mcserv.c: If setuid() is avaliable, use it, even, streuid() also
	present. (BTW, bsdi uses it's own auth system..)
1999-02-01 00:21:43 +00:00
Norbert Warmuth
d56f703957 Sun Jan 31 21:09:38 1999 Alexander Savelyev <fano@vcom.kiev.ua>
* po/Makefile.in.in: use DESTDIR (makes it possible to move
installation path with "make DESTDIR="...")

Sun Jan 31 20:51:17 1999  Alexander Savelyev <fano@vcom.kiev.ua>

* vfs/mcserv.c (do_auth): mcserv never auth properly on bsdi.
(mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
setreuid()).

* vfs/tcputil.c: use correct signal handler (void func(int)) on BSDI


Sun Jan 31 20:41:00 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* mcserv.c (do_link): Removed duplicate invokation of link. Thanks
to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
1999-01-31 22:17:14 +00:00
Norbert Warmuth
f75a6470ca Rerun configure when you have problems with missing slang.h.
Sun Jan 31 20:04:13 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
occurance of 0 with NULL should stop this stupidy. And replacing '\0'
with NULL is plain wrong!!. Reverted this replacement.

* vfs/ftpfs.c (load_no_proxy_list): ditto


Fri Jan 29 22:55:56 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* slang/slang.h: renamed to slang-mc.h

* slang/Makefile.in: delete slang.h on "make clean"

* configure.in: link slang/slang-mc.h to slang/slang.h when the
included slang is used. Problem was that MC's slang.h was used
when we compiled with an already installed SLang and the systems
header file were included with <slang/slang.h>.
Unfortunatly I can't use AC_LINK_FILES to make the links because
if we needn't make any links AC_LINK_FILES makes a link from
srcdir to top_builddir (builddir != srcdir).

Temporary add $LGPM to $LIBS when checking for the resizeterm
and keyok functions (ncurses might be linked against GPM).

Substitude PACKAGE (intl/Makefile makes use of it)


Sun Jan 31 19:42:47 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/Makefile.in (install_mx): make it work with srcdir != builddir
(gmc.gnorba is located in $srcdir)

* src/hotlist.c (add_new_entry_input, add_new_group_input): Make the
quick_widget arrays static and various changes needed because they
are now static. add_widgets_i18n recalculates button positions
which get lost when the quick_widget arrays are non static.

* src/screen.c (to_buffer): nul terminate string when using strncpy

* src/setup.c: Save and restore new option ftpfs_first_cd_then_ls.


Sun Jan 31 19:57:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (insert_dot): New function. Insert a "." into the linked
list. Stat'ing the root directory of a ftpfs fails if the dot is
missing.

(retrieve_dir): insert "." into the linked list if the ftp server
haven't send it.

Sun Jan 31 19:50:24 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* The following changes make ftpfs work with a remote AmiTCP
server are the result of somehow longish EMail debugging session. I
don't know any public server of this kind but I was told the
combination Unix/Amiga boxes are often used in intranets.

* vfs/ftpfs.c (translate_path): New function. Translate a Unix path,
i.e. MC's internal path representation (e.g. /somedir/somefile) to
a path valid for the remote server. Every path transfered to the
remote server has to be mangled by this function right prior to
sending it. Currently only Amiga ftp servers are handled in a
special manner.

* vfs/ftpfs.c (various places): use translate_path

* vfs/ftpfs.c (login_server): Assume we have to mangle pathnames if
the greatings string from the server contains the word Amiga. If
this assumption is wrong I have to find another way to turn on
path translation.

* vfs/ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
if it is missing. MC needs it as seperator between hostname and
path in its internal url representation.
1999-01-31 20:28:13 +00:00
Miguel de Icaza
934c79cfe3 Check for non-NULL 1999-01-29 03:23:03 +00:00
Pavel Machek
f2197f6bc2 This _could_ repair ftp parsing against nowell 4 servers. Test it if you can. 1999-01-28 17:28:11 +00:00
Timur Bakeyev
e57da1f7b3 Glibing....
Wed Jan 27 03:09:48 1999  Timur I. Bakeyev <mc@bat.ru>

	* All around the source: Changed copy_strings() to g_strconcat(). Modi-
	fy last parameter in concat_dir_and_file() to "" - to prevent stack from
	disbalancing.
1999-01-27 00:49:11 +00:00
Miguel de Icaza
9c81ea49fd 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdnd.c (get_action): Sensitize the menu items based on the
	allowed actions in the drag context.
	(actions): Add some underlined accelerators for the action menu.

	* gdesktop.c (icon_drag_motion): Use S_ISDIR() in addition to
	fe->f.link_to_dir.

	* gscreen.c (panel_file_list_scrolled): Removed this function, as
	it was not used for anything useful.

	* gdnd.c (gdnd_drop_on_directory): Duh.  Use context->action, not
	context->suggested_action.

1999-01-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
	* Make-mc.in (VFSHDRS): Likewise.
1999-01-25 16:50:38 +00:00
Miguel de Icaza
07a0ea5305 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
* utilvfs.c (append_path_sep): Fixed, it was broken for paths
	which already have a / at the end.
1999-01-22 02:23:43 +00:00
Timur Bakeyev
6f7a1992e7 Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
* undelfs.c: Found one more unconverted realloc() call.
1999-01-21 22:41:36 +00:00
Miguel de Icaza
a4cd04032f Sync changelog 1999-01-21 03:55:42 +00:00
Miguel de Icaza
06498da7bd Fix 1999-01-21 03:33:58 +00:00
Timur Bakeyev
bf81009392 Actually commit all my changers. Fear :> 1999-01-20 22:01:11 +00:00
Miguel de Icaza
14989172e2 New file system 1999-01-19 23:34:50 +00:00
Miguel de Icaza
34b82f906b New file systems. 1999-01-19 23:34:26 +00:00
Timur Bakeyev
8cdf4d3f6f add new header file - utilvfs.h. this intended to be a stock include, which
provides proper order for common include files.
1999-01-19 02:23:30 +00:00
Timur Bakeyev
b37abf7e28 *** empty log message *** 1999-01-18 20:20:30 +00:00
Miguel de Icaza
44f75f14ec 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
1999-01-18 16:55:58 +00:00
Paul Sheer
ffd5b11060 DIR_SEP_STRING defined as "/" 1999-01-18 07:52:24 +00:00
Miguel de Icaza
a89cb1c50a Make the code compile, take 2 1999-01-17 23:10:53 +00:00
Miguel de Icaza
3eb8325e67 Make the code compile.
Reindent
1999-01-17 23:10:05 +00:00
Paul Sheer
7c8bdadb4b updates 1999-01-17 13:48:36 +00:00
Paul Sheer
fa40fbcafa more fixes to resolve symlinks 1999-01-17 12:33:45 +00:00
Paul Sheer
ff2b951de7 vfs_s_find_entry_tree() does not actually follow symlinks - fixed 1999-01-17 11:46:42 +00:00
Paul Sheer
e035287a51 vfs_s_resolve_symlink(): convert absolute linknames to relative linkname with some leading ../ 1999-01-17 10:07:37 +00:00
Miguel de Icaza
70d31806e1 Memory leak fix.
Double-free fixed.
Tree will do proper thing when dealing with symlinks

Miguel.
1999-01-15 19:02:39 +00:00
Miguel de Icaza
fbb3d4d90f VFS does not assert on small buffers in getwd, it now truncates.
Drops on the desktop are now always links.  If you want copy or move,
then use middle button to get the ask dialog box.

Miguel.
1999-01-12 23:49:37 +00:00
Miguel de Icaza
efd11d6862 Include sys/time.h in AIX 1999-01-11 19:12:57 +00:00
Miguel de Icaza
cd88fbdf91 Missed this file 1999-01-11 03:49:18 +00:00
Miguel de Icaza
85f17a4dc6 Lots of changes:
- SFS-based file systems now work on GNOME edition, I was
	  not waiting for child process to finish decompressing.

	- VFS code cleanup.  I am going to eventually get rid of all
	  the macro-mania that has creeped into the vfs layer.

Miguel
1999-01-11 00:48:23 +00:00
Miguel de Icaza
a7170a4f7a OS2 now uses property defines instead of OS2_NT 1999-01-10 08:55:35 +00:00
Norbert Warmuth
749d16ba30 Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/vfs.c (vfs_timeout_handler): Guard from recursive invocation.

Sat Jan  9 19:13:28 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/sfs.c (sfs_free): Fixed wrong linked list handling (head was
lost after the first iteration).

(sfs_getid): dito, return value was wrong.
1999-01-09 23:08:41 +00:00
Timur Bakeyev
23155b3f8b Rewrite parse_ls_lga() function. It became more stright and robust. 1999-01-09 19:55:31 +00:00
Miguel de Icaza
ca39a2e6ee Windows NT portability fixes from Ilya.
Added create directory option to gnome menu.
Removed debugging messages

Miguel.
1999-01-08 20:38:27 +00:00
Norbert Warmuth
4b2f456f69 Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
* vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
(where YY-MM-DD is parsed).
1999-01-08 18:59:51 +00:00
Norbert Warmuth
d6a8e538fc Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
* vfs/vfs.c (vfs_parse_filedate): If the date is less than 6 months
in the past, it is shown without year. In this case MC assumed
the current year which is wrong from Jan to Jun.
1999-01-07 05:54:16 +00:00
Timur Bakeyev
53d59fab98 Just a fix of Y2K typo, pointed by Alex. 1999-01-07 00:55:20 +00:00
Miguel de Icaza
8f2327ecdb 1999-01-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmetadata.c (gmeta_get_icon_pos): Fixed the memory leak here.

	* gicon.c (gicon_get_icon_for_file): Actually return a value
	here.

Editor fixes, vfs warning fixes;
1999-01-02 07:46:20 +00:00
Norbert Warmuth
e4c8a9d060 Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* sfs.c (sfs_nothingisopen): Assume for now it's always save to free
this filesystem and delete temporary files. This needs further
investigation.

* tar.c: deleted unused empty struct tar_super.

Thu Dec 31 08:40:44 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
was used for external and internal reference count. This was wrong
because we can free resources taken up by the vfs as soon as the
external reference count (now fd_usage) is zero. The internal
reference count (ino_usage) mustn't matter because the vfs has to
clean up itself in the correct order.
1998-12-31 15:54:49 +00:00
Miguel de Icaza
7cd7dbe352 Merge changes from GNOME_STABLE into HEAD 1998-12-29 18:29:56 +00:00
Norbert Warmuth
d2b1a29c91 Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_new_inode): Moved initialization of st_ino
and st_dev from vfs_s_default_stat.

(vfs_s_default_stat): initialize st_ino and st_dev to zero

* vfs/tar.c (tar_open_archive): Make a new MEDATA->rdev for every
new archive.
1998-12-28 10:27:07 +00:00
Norbert Warmuth
7f3a7ac4d7 Mon Dec 21 22:26:34 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* mountlist.c: Define xBSD on FreeBSD.

* doc/mc.sgml, mc.1.in: Deleted obsolete information about
tar_gz_memlimit. Partially rewrote the section about the
Virtual FS.. configuration dialog.

* main.c (parse_an_arg): New function, popt callback. Option
parsing in gmc was broken. The gnome*_init_with_popt_table free
the option tables and gmc tried to use the option tables later.

* main.c (handle_args): In the Gnome edition don't parse the
options a second time.

* boxes.c (configure_vfs), setup.c: Deleted obsolete options.
tar.gz files are now always unzipped to a temporary file on disk.

* gnome/layout: Deleted obsolete widgets from the Virtual FS configuration
dialog.

* vfs/tar.c: Deleted global variable tar_gzipped_memlimit.

Mon Dec 21 14:28:55 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* filenot.c (my_mkdir_rec): Someone broke this function completely by deleting
a line. Funny things happen if you use an already freed pointer.
Improved error handling: try to make directories recursivly until
mkdir succeeds or fails with errno != ENOENT. Now you will get the
correct error message when you don't have permission to create a
directory.

* mountlist.c: Deleted function prototypes for strdup and strstr,
they might conflict with definitions in the system header files.
1998-12-21 23:30:53 +00:00
Norbert Warmuth
549fecfff7 Wed Dec 16 06:47:47 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* screen.c (Xtry_to_select): Don't select a similar file when
"name" can't be found in the panel (when deleting files the
selection jumpped from the deleted "file" to a directory which
started with the same character as "file", annoying).
Strip known vfs suffixes from "name" before trying to select
(I think Timur made this suggestion a few months ago). Know the
vfs is mature enough to do this.

* vfs/vfs.c (vfs_strip_suffix_from_filename): New function which strips
known vfs suffixes from a filename and returns a malloced string
which has to be freed. Possible improvement: strip vfs suffix from
last path component.

* vfs/extfs/*: added "umask 077" to every script.
1998-12-16 06:16:13 +00:00
Miguel de Icaza
520e129c93 More make distcheck fixes (note that these are needed, as distcheck was never implemented here before 1998-12-16 03:20:38 +00:00
Miguel de Icaza
e52a2125fa *** empty log message *** 1998-12-15 22:30:55 +00:00
Miguel de Icaza
8fb1821455 Warning fixes + compile fixes -mig 1998-12-15 19:53:55 +00:00
Pavel Machek
965880696c Security (inspired by Norbert Warmuth): make /tmp files 0600 and
create them with O_EXCL for sfs and extfs.
1998-12-15 15:57:39 +00:00
Pavel Machek
3e1a72d64d Some fixes in src/ part (want_stale_data is now done right) and more
daring code in vfs/ (errors are now reported instead of silently
ignored)
1998-12-09 20:22:53 +00:00
Pavel Machek
b3876e6f41 Rpm should now handle names with spaces well 1998-12-09 11:29:54 +00:00
Miguel de Icaza
44caa06a7b Small improvements 1998-12-07 17:08:59 +00:00
Pavel Machek
fc5a9c57c2 Small fixes, now fish should actually work. Dropped ELAST hack. 1998-12-07 10:15:17 +00:00
Raja R Harinath
8366acf5cd * Makefile.am (EXTRA_DIST): Distribute files that the
BUILT_SOURCES depend on.
(mad.c, mad.h): Don't use GNU make specific features in rule.
(libvfs_la_SOURCES): Update from Make-mc.in.
1998-12-04 01:51:26 +00:00
Miguel de Icaza
301e7fbfc3 Many changes:
- Beginning of the CORBA support for the file manager.
	- Tk and XView code dropped.

Miguel
1998-12-02 23:44:06 +00:00
Sebastian Wilhelmi
8b8a943b6e 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
        used anyway.

        * xdirentry.h (LINK_NO_FOLLOW):
        * tar.c (read_header):
        * direntry.c (vfs_s_resolve_symlink):
        (vfs_s_inode_from_path):
        (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
        LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
        NO_FOLLOW are defined in an enum.

        * vfs.h (ELAST): define it to 300, if not already defined, thats a
        bad hack, but what can we do....
1998-12-02 13:17:24 +00:00
Miguel de Icaza
aaa7b5e9a2 Lots of changes:
- GNOME edition now compiles without any trace of the text mode
  dependencies.

- We no longer link with libraries we do not use (crypt, gpm), this
  fixes the recent bug reports.

- More tree updates, enhancements.

Miguel.
1998-12-02 05:18:20 +00:00
Sung-Hyun Nam
af1a952ea0 * direntry.c (vfs_s_new_super): Added the missing return value. 1998-12-02 05:11:48 +00:00
Timur Bakeyev
9522710547 Fix to not portable error codes in vfs.h. Instead of using existing values,
create new ones - by means ELAST+offset. Maybe, the better way for libvfs..
1998-11-28 23:56:59 +00:00
Norbert Warmuth
414c7569f2 Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
* vfs/vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
which indicate a file with extented attributes (ACL)


Wed Nov 25 22:16:19 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/cmd.c (dirsizes_cmd): Quote characters with a special meaning
when passing it to du.
1998-11-25 23:34:00 +00:00
Miguel de Icaza
3e985246d6 Kloczek's Polish translation 1998-11-24 01:20:10 +00:00
Norbert Warmuth
42e0c7ef84 We got some complaints about much slower ftpfs in 4.1.36 (ok, maybe a bit
exaggerated because I only saw two complaints). I added the old method
to resolve symlinks and made it the default. When someone complains about
4.5.2 we can change defaults at will ;-).


Mon Nov 23 21:19:43 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.

(resolve_symlink_without_ls_options): that's resolve_symlinks
we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
directory cache fetching directories if necessary. We got some
complaints about slower ftpfs in the above releases. Now this methode
is no longer the default methode to resolve symbolic links. It is still
needed for ftp servers which don't understand the LIST -lLa command.

(resolve_symlink): Dispatch between the two methods to
resolve symlinks.
1998-11-23 21:13:08 +00:00
Pavel Machek
4029fef2f3 Small bugfixes, killing of debuging hacks that escaped me. 1998-11-22 16:17:42 +00:00
Pavel Machek
4706638b22 Big merge: fish now uses proper caching, small fixes almost
everywhere. I hope I did not break it too much.
1998-11-21 19:36:01 +00:00
Miguel de Icaza
a7996c0a20 Weee!
Ok, finally splitted the GUI code that dealt with the file operations into
a separate file.  It is now possible to write a native Gtk version of this.

Until the Gtk-native version is done, the code in mc/gnome/ is linking with
filegui.c.

Miguel
1998-11-18 02:31:23 +00:00
Pavel Machek
e59271dfb8 Better error handling in parse_ls_lga 1998-11-16 15:52:27 +00:00
Pavel Machek
8328d0fcd4 Added readme file 1998-11-16 11:07:56 +00:00
Pavel Roskin
5305f827ed Fix to display files belonging to users with excessively long usernames
in RPM packages
1998-11-12 11:32:59 +00:00
Pavel Machek
5602fc5a1e Fix to make it compile. 1998-11-03 17:24:33 +00:00
Miguel de Icaza
8e3b730338 Small warning fixes.
Miguel.
1998-10-30 17:51:28 +00:00
Miguel de Icaza
f15ee9faf9 Increased version number to 4.5.2
Documentation update.

1998-10-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* fish.c (command): Replace vnsprintf with g_strdup_vprintf.  This
	is both safe and more correct, as there is no limit on the
	pathname.

	* ftpfs.c (command): Same as above.

	* util-alone.c (print_vfs_message): Same as above.

1998-10-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* layout.c (print_vfs_message): Use g_snprintf instead of
	vnsprintf.
1998-10-30 17:45:43 +00:00
Pavel Machek
86300fb4a4 Make ftpfs work even with NT. 1998-10-28 16:39:53 +00:00
Pavel Machek
d46834bc3f Fix ftp with nowell server 1998-10-28 16:23:03 +00:00
Pavel Machek
226c2fcc4d Bugfixes 1998-10-28 16:07:55 +00:00
Norbert Warmuth
5bcfa822f9 Mon Oct 26 00:31:53 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in, Make.common.in: Split CPPFLAGS into CPPFLAGS and
MCCPPFLAGS. The last one contains references to variables which are
not available in every Makefile.in (namely intl/Makefile.in). Without
the split `-I ' was passed to the compiler (the compiler on DU 4.0
interprets -I as "don't search include files in /usr/include").

Mon Oct 26 00:38:30 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/Make-mc.in: added xdirentry.h to VFSHDRS
1998-10-26 00:38:32 +00:00
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