2b63fb6a50
- compiles at ~1MB (or ~1,3MB if log files are enabled) - patches to make samba3 small come from avm gpl releases - added patches to match owrt dir layout - rewritten smbpasswd to be endian safe and small - printing is not yet tested - disabled mmap as this breaks and oopses when running on jffs2 git-svn-id: svn://svn.openwrt.org/openwrt/packages@12278 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
455 B
Diff
16 lines
455 B
Diff
Index: samba-3.0.24/source/lib/ms_fnmatch.c
|
|
===================================================================
|
|
--- samba-3.0.24.orig/source/lib/ms_fnmatch.c 2008-08-11 11:08:03.000000000 +0200
|
|
+++ samba-3.0.24/source/lib/ms_fnmatch.c 2008-08-11 11:11:33.000000000 +0200
|
|
@@ -153,6 +153,10 @@
|
|
int ret, count, i;
|
|
struct max_n *max_n = NULL;
|
|
|
|
+ if (strcmp(pattern, "*") == 0) {
|
|
+ return 0;
|
|
+ }
|
|
+
|
|
if (strcmp(string, "..") == 0) {
|
|
string = ".";
|
|
}
|