Displaying 2 results from an estimated 2 matches for "_sem_semun_undefined".
1998 Sep 04
0
Linux SMB Mount utils patch
....18p10-orig/source/includes.h samba-1.9.18p10/source/includes.h
--- samba-1.9.18p10-orig/source/includes.h Wed Aug 19 16:41:46 1998
+++ samba-1.9.18p10/source/includes.h Thu Sep 3 12:54:45 1998
@@ -1175,6 +1175,10 @@
#ifdef USE_SYSV_IPC
#include <sys/ipc.h>
#include <sys/sem.h>
+#if _SEM_SEMUN_UNDEFINED && GLIBC2
+#define NO_SEMUN /* this version of glibc2 does not define struct semun for us */
+#undef _SEM_SEMUN_UNDEFINED
+#endif /*_SEM_SEMUN_UNDEFINED && GLIBC2 */;
#include <sys/shm.h>
#ifdef NO_SEMUN
union semun {
diff -urN samba-1.9.18p10-orig/source/smb_fs.h samba-1.9...
2009 May 28
1
App fails writing file but zero length file on Samba server
...cludes.h
--- samba-1.9.18p10/source/includes.h 1998-08-20 07:41:46.000000000 +0800
+++ samba-1.9.18p10_good/source/includes.h 2008-01-11
10:39:49.000000000 +0900
@@ -1176,7 +1177,7 @@
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>
-#ifdef NO_SEMUN
+#ifdef _SEM_SEMUN_UNDEFINED
union semun {
int val;
struct semid_ds *buf;
---
As I'm trying to streamline the building of these servers, I thought
I'd try upgrading Samba to a reasonably current version. I'm trying
with latest version of Samba shipped by RedHat (3.0.33-0.17.el4).
When an edit is...