git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2330cc
)
s3:vfs_scannedonly: fix a build issue on IRIX and HP-UX
author
Björn Jacke
<bj@sernet.de>
Wed, 3 Feb 2010 22:28:38 +0000
(23:28 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 17 Jun 2010 10:27:44 +0000
(12:27 +0200)
this is a cherry-pick of
ae95e8028c294ee1e2dc66a7a62d006572142629
source3/modules/vfs_scannedonly.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_scannedonly.c
b/source3/modules/vfs_scannedonly.c
index 0e32a6f34fc0c48595aec821fd93f0095677ebea..12077f374da0dc49d83a7b27654c67dea73eb205 100644
(file)
--- a/
source3/modules/vfs_scannedonly.c
+++ b/
source3/modules/vfs_scannedonly.c
@@
-53,6
+53,12
@@
#define SENDBUFFERSIZE 1450
+#ifndef SUN_LEN
+#define SUN_LEN(sunp) ((size_t)((struct sockaddr_un *)0)->sun_path \
+ + strlen((sunp)->sun_path))
+#endif
+
+
struct Tscannedonly {
int socket;
int domain_socket;