diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-08-20 22:00:41 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-08-20 22:00:41 +0000 |
commit | 89124c8a0ab1baeb926108bb8dd503c24a25b75d (patch) | |
tree | 27743e0b45f666445f1b7cdb4287364bb008fe70 /package/shfs/patches/105-space_chars.patch | |
parent | d9b755b3dc4f9121ab70b9d816ce813f6038ad6b (diff) | |
download | upstream-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.gz upstream-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.bz2 upstream-89124c8a0ab1baeb926108bb8dd503c24a25b75d.zip |
move more extra packages from ./trunk to ./packages
SVN-Revision: 12359
Diffstat (limited to 'package/shfs/patches/105-space_chars.patch')
-rw-r--r-- | package/shfs/patches/105-space_chars.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/package/shfs/patches/105-space_chars.patch b/package/shfs/patches/105-space_chars.patch deleted file mode 100644 index 03ad8328c6..0000000000 --- a/package/shfs/patches/105-space_chars.patch +++ /dev/null @@ -1,70 +0,0 @@ -Index: shfs-0.35/shfs/Linux-2.4/shell.c -=================================================================== ---- shfs-0.35.orig/shfs/Linux-2.4/shell.c 2007-06-04 13:22:57.970042496 +0200 -+++ shfs-0.35/shfs/Linux-2.4/shell.c 2007-06-04 13:22:59.249847936 +0200 -@@ -213,6 +213,7 @@ - int c = 0; - int is_space = 1; - int device = 0; -+ char *start = s; - - while (*s) { - if (c == DIR_COLS) -@@ -227,17 +228,20 @@ - s++; - } - *s = '\0'; -+ start = s+1; - is_space = 1; -+ } else { -+ if (c != DIR_NAME) -+ start = s+1; - } - } else { - if (is_space) { - /* (b)lock/(c)haracter device hack */ -- col[c++] = s; -+ col[c++] = start; - is_space = 0; - if ((c-1 == DIR_PERM) && ((*s == 'b')||(*s == 'c'))) { - device = 1; - } -- - } - } - s++; -Index: shfs-0.35/shfs/Linux-2.6/shell.c -=================================================================== ---- shfs-0.35.orig/shfs/Linux-2.6/shell.c 2007-06-04 13:22:57.977041432 +0200 -+++ shfs-0.35/shfs/Linux-2.6/shell.c 2007-06-04 13:22:59.249847936 +0200 -@@ -225,6 +225,7 @@ - int c = 0; - int is_space = 1; - int device = 0; -+ char *start = s; - - while (*s) { - if (c == DIR_COLS) -@@ -239,17 +240,20 @@ - s++; - } - *s = '\0'; -+ start = s+1; - is_space = 1; -+ } else { -+ if (c != DIR_NAME) -+ start = s+1; - } - } else { - if (is_space) { - /* (b)lock/(c)haracter device hack */ -- col[c++] = s; -+ col[c++] = start; - is_space = 0; - if ((c-1 == DIR_PERM) && ((*s == 'b')||(*s == 'c'))) { - device = 1; - } -- - } - } - s++; |