summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/files/3.0.28-fix_broken_readdir_detection.patch')
-rw-r--r--net-fs/samba/files/3.0.28-fix_broken_readdir_detection.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-fs/samba/files/3.0.28-fix_broken_readdir_detection.patch b/net-fs/samba/files/3.0.28-fix_broken_readdir_detection.patch
new file mode 100644
index 000000000000..47f33d7bb920
--- /dev/null
+++ b/net-fs/samba/files/3.0.28-fix_broken_readdir_detection.patch
@@ -0,0 +1,18 @@
+diff -Naur samba-3.0.28.orig/source/tests/os2_delete.c samba-3.0.28/source/tests/os2_delete.c
+--- samba-3.0.28.orig/source/tests/os2_delete.c 2007-11-15 04:15:04.000000000 +0100
++++ samba-3.0.28/source/tests/os2_delete.c 2008-02-20 20:47:53.878055947 +0100
+@@ -105,6 +105,9 @@
+
+ return 0;
+ }
++
++#if 0
++
+ /*
+ test readdir/unlink pattern that OS/2 uses
+ tridge@samba.org July 2005
+@@ -212,3 +215,4 @@
+
+ return 0;
+ }
++#endif