Small fixes, now fish should actually work. Dropped ELAST hack.

This commit is contained in:
Pavel Machek 1998-12-07 10:15:17 +00:00
parent 976ab91568
commit fc5a9c57c2
4 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,7 @@
Tue Dec 1 11:58:55 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
* doc/mc.1.in, mc.sgml: added my name to list ov authors
1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* Makefile.in (codedirs): Dropped xv and tk ports from the

View File

@ -1,3 +1,8 @@
Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
* fish.c: default to normal ssh
(open_archive_int): debugging hack killed
1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (EXTRA_DIST): Distribute files that the

View File

@ -33,7 +33,7 @@
/* Define this if your ssh can take -I option */
#define HAVE_HACKED_SSH
#undef HAVE_HACKED_SSH
#include "xdirentry.h"
#include "../src/tty.h" /* enable/disable interrupt key */
@ -203,10 +203,11 @@ open_archive_int (vfs *me, vfs_s_super *super)
argv[i++] = "echo FISH:; /bin/sh";
argv[i++] = NULL;
#if 0
/* Debugging hack */
#warning Debugging hack, delete me
if (!MEDATA->logfile)
MEDATA->logfile = fopen( "/home/pavel/talk.fish", "w+" ); /* FIXME */
#endif
pipeopen(super, xsh, argv );

View File

@ -403,14 +403,10 @@ extern void mc_vfs_done( void );
/* And now some defines for our errors. */
#ifndef ELAST
#define ELAST 300 /* bad hack, but what can we do */
#endif
#ifdef ENOSYS
#define E_NOTSUPP ENOSYS /* for use in vfs when module does not provide function */
#else
#define E_NOTSUPP (ELAST+1) /* for use in vfs when module does not provide function */
#warning Does this really happen?
#endif
#ifdef ENOMSG
@ -422,7 +418,7 @@ extern void mc_vfs_done( void );
#ifdef EREMOTEIO
#define E_REMOTE EREMOTEIO /* if other side of ftp/fish reports error */
#else
#define E_REMOTE (ELAST+3) /* if other side of ftp/fish reports error */
#define E_REMOTE ENETUNREACH
#endif
#ifdef EPROTO