arx-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Arx-users] remove-archive does not work


From: ODA Terutaka
Subject: Re: [Arx-users] remove-archive does not work
Date: Mon, 11 Jul 2005 02:32:50 +0900


Hello, Walter.

I understood the cause that did not work.
The cause was three of the following.

1. /dev/ptmx was made with my netbsd-current, and posix_openpt(3)
  returned -1 because there was not it.
  Therefore gnome-vfs did not work well.
  Besides, unfortunately, I did not use posix_openpt(3) in
  __APPLE_ in a patch of pkgsrc.
  (pkgsrc/sysutil/gnome-vfs2/patches/patch-ar).
  Tiger had posix_openpt(3), but did not have /dev/ptmx.

2. Bug ?? (http://bugzilla.gnome.org/show_bug.cgi?id=161895) of
   gnome-vfs-2.10.x.
  In gnome-vfs-2.10.x, sftp-method.c :
  "divided -oOption and value in =" ... sftp-method.c.new.diff

3. There was non-appropriate cast in pkgsrc/devel/ArX2/patches/patch-ac.
  I knew this in this mailing list.

When I revised three of the above, it worked in remote-archive!!

sftp-method.c.new.diff:
 diff -u sftp-method.c  sftp-method.c.new
--- sftp-method.c       2005-02-12 07:18:08.000000000 +0900
+++ sftp-method.c.new   2005-07-11 02:09:05.000000000 +0900
@@ -1088,13 +1088,13 @@
        args[last_arg++] = g_strdup (SSH_PROGRAM);

        if (client_vendor == SFTP_VENDOR_OPENSSH) {
-               args[last_arg++] = g_strdup ("-oForwardX11 no");
-               args[last_arg++] = g_strdup ("-oForwardAgent no");
- args[last_arg++] = g_strdup ("-oClearAllForwardings yes");
-               args[last_arg++] = g_strdup ("-oProtocol 2");
- args[last_arg++] = g_strdup ("- oNoHostAuthenticationForLocalhost yes")
;
+               args[last_arg++] = g_strdup ("-oForwardX11=no");
+               args[last_arg++] = g_strdup ("-oForwardAgent=no");
+ args[last_arg++] = g_strdup ("- oClearAllForwardings=yes");
+               args[last_arg++] = g_strdup ("-oProtocol=2");
+ args[last_arg++] = g_strdup ("- oNoHostAuthenticationForLocalhost=yes")
;
 #ifndef USE_PTY
-               args[last_arg++] = g_strdup ("-oBatchMode yes");
+               args[last_arg++] = g_strdup ("-oBatchMode=yes");
 #endif

        } else if (client_vendor == SFTP_VENDOR_SSH) {


It is wrong patch(bad cast) of pkgsrc/devel/ArX2 as follows:

$NetBSD:
patch-ac,v 1.1 2005/05/10 07:23:25 recht Exp $
--- src/arx/include/gvfs.hpp.orig
2005-05-09 15:55:51.000000000 +0200
+++ src/arx/include/gvfs.hpp
2005-05-09 16:02:18.000000000 +0200
@@ -112,7 +112,7 @@
char *escaped(gnome_vfs_escape_host_and_path_string
(location.c_str()));
-
std::
string result(*escaped);
+
std::
string result((const char*)*escaped);
g_free(escaped);
return result;

I like ArX very much.

Cheers,



--
ODA Terutaka
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]