[Pkg-mc-commits] r98 - branch/new-utf8/debian/patches

winnie at alioth.debian.org winnie at alioth.debian.org
Wed Feb 27 16:56:03 UTC 2008


Author: winnie
Date: 2008-02-27 16:56:02 +0000 (Wed, 27 Feb 2008)
New Revision: 98

Added:
   branch/new-utf8/debian/patches/34_dont_hang_on_errors.patch
Removed:
   branch/new-utf8/debian/patches/32_dont_hang_on_errors.patch
Log:
Rename it


Deleted: branch/new-utf8/debian/patches/32_dont_hang_on_errors.patch
===================================================================
--- branch/new-utf8/debian/patches/32_dont_hang_on_errors.patch	2008-02-27 16:52:56 UTC (rev 97)
+++ branch/new-utf8/debian/patches/32_dont_hang_on_errors.patch	2008-02-27 16:56:02 UTC (rev 98)
@@ -1,34 +0,0 @@
-diff -Nurwd mc-4.6.2~pre1.orig/vfs/fish.c mc-4.6.2~pre1/vfs/fish.c
---- mc-4.6.2~pre1.orig/vfs/fish.c	2008-02-27 16:52:15.000000000 +0100
-+++ mc-4.6.2~pre1/vfs/fish.c	2008-02-27 16:56:23.000000000 +0100
-@@ -618,16 +618,28 @@
-     g_free (name);
-     name = quoted_name;
-     fh->u.fish.append = 0;
-+
-+    /*
-+     * Check whether the remote file is readable by using `dd' to copy 
-+     * a single byte from the remote file to /dev/null. If `dd' completes
-+     * with exit status of 0 use `cat' to send the file contents to the
-+     * standard output (i.e. over the network).
-+     */
-     offset = fish_command (me, FH_SUPER, WANT_STRING,
- 		"#RETR /%s\n"
-+		"if dd if=/%s of=/dev/null bs=1 count=1 2>/dev/null ;\n"
-+		"then\n"
- 		"ls -ln /%s 2>/dev/null | (\n"
- 		  "read p l u g s r\n"
- 		  "echo \"$s\"\n"
- 		")\n"
- 		"echo '### 100'\n"
- 		"cat /%s\n"
--		"echo '### 200'\n", 
--		name, name, name );
-+		"echo '### 200'\n"
-+		"else\n"
-+		"echo '### 500'\n" 
-+		"fi\n",
-+		name, name, name, name );
-     g_free (name);
-     if (offset != PRELIM) ERRNOR (E_REMOTE, 0);
-     fh->linear = LS_LINEAR_OPEN;

Copied: branch/new-utf8/debian/patches/34_dont_hang_on_errors.patch (from rev 95, branch/new-utf8/debian/patches/32_dont_hang_on_errors.patch)
===================================================================
--- branch/new-utf8/debian/patches/34_dont_hang_on_errors.patch	                        (rev 0)
+++ branch/new-utf8/debian/patches/34_dont_hang_on_errors.patch	2008-02-27 16:56:02 UTC (rev 98)
@@ -0,0 +1,34 @@
+diff -Nurwd mc-4.6.2~pre1.orig/vfs/fish.c mc-4.6.2~pre1/vfs/fish.c
+--- mc-4.6.2~pre1.orig/vfs/fish.c	2008-02-27 16:52:15.000000000 +0100
++++ mc-4.6.2~pre1/vfs/fish.c	2008-02-27 16:56:23.000000000 +0100
+@@ -618,16 +618,28 @@
+     g_free (name);
+     name = quoted_name;
+     fh->u.fish.append = 0;
++
++    /*
++     * Check whether the remote file is readable by using `dd' to copy 
++     * a single byte from the remote file to /dev/null. If `dd' completes
++     * with exit status of 0 use `cat' to send the file contents to the
++     * standard output (i.e. over the network).
++     */
+     offset = fish_command (me, FH_SUPER, WANT_STRING,
+ 		"#RETR /%s\n"
++		"if dd if=/%s of=/dev/null bs=1 count=1 2>/dev/null ;\n"
++		"then\n"
+ 		"ls -ln /%s 2>/dev/null | (\n"
+ 		  "read p l u g s r\n"
+ 		  "echo \"$s\"\n"
+ 		")\n"
+ 		"echo '### 100'\n"
+ 		"cat /%s\n"
+-		"echo '### 200'\n", 
+-		name, name, name );
++		"echo '### 200'\n"
++		"else\n"
++		"echo '### 500'\n" 
++		"fi\n",
++		name, name, name, name );
+     g_free (name);
+     if (offset != PRELIM) ERRNOR (E_REMOTE, 0);
+     fh->linear = LS_LINEAR_OPEN;




More information about the Pkg-mc-commits mailing list