]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba-cap.patch
- rel 1
[packages/samba.git] / samba-cap.patch
index 12992c4a800d623dc18b23f394722609e70ed43e..10568234dddcc05165ea2a939921a7841db8c723 100644 (file)
@@ -1,12 +1,14 @@
-diff -Nur samba-2.0.0/source/include/includes.h samba-2.0.0.pld/source/include/includes.h
---- samba-2.0.0/source/include/includes.h      Tue Jan 26 18:43:00 1999
-+++ samba-2.0.0.pld/source/include/includes.h  Tue Jan 26 18:42:43 1999
-@@ -310,7 +310,7 @@
- #endif
+--- samba/source/smbd/oplock_linux.c.org       2008-01-29 10:29:45.433133448 +0100
++++ samba/source/smbd/oplock_linux.c   2008-01-29 10:30:10.751085239 +0100
+@@ -34,11 +34,6 @@
+       uint32 inheritable;
+ } data;
  
- #ifdef HAVE_SYS_CAPABILITY_H
--#include <sys/capability.h>
-+ /* #include <sys/capability.h> .. not works with glibc-2.0.109 ;( */
- #endif
- #if defined(HAVE_RPC_RPC_H)
+-extern int capget(struct cap_user_header * hdrp,
+-                struct cap_user_data * datap);
+-extern int capset(struct cap_user_header * hdrp,
+-                const struct cap_user_data * datap);
+-
+ static SIG_ATOMIC_T signals_received;
+ #define FD_PENDING_SIZE 100
+ static SIG_ATOMIC_T fd_pending_array[FD_PENDING_SIZE];
This page took 0.054857 seconds and 4 git commands to generate.