[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2519-g2e40281
Michael Adam
obnox at samba.org
Mon Feb 25 16:06:45 GMT 2008
The branch, v3-2-test has been updated
via 2e4028162f3a93c677a57b96de8f0cb2f892e73b (commit)
from ad37b7b0aee265a3e4d8b7552610f4b9a105434d (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 25 17:05:21 2008 +0100
Fix the build on OpenBSD: ENOTSUP is not always defined.
Michael
-----------------------------------------------------------------------
Summary of changes:
source/modules/vfs_xattr_tdb.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/modules/vfs_xattr_tdb.c b/source/modules/vfs_xattr_tdb.c
index 0a92d5c..7b5e510 100644
--- a/source/modules/vfs_xattr_tdb.c
+++ b/source/modules/vfs_xattr_tdb.c
@@ -588,7 +588,11 @@ static bool xattr_tdb_init(int snum, struct db_context **p_db)
unbecome_root();
if (db == NULL) {
+#if defined(ENOTSUP)
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return false;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list