[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2034-ge1eb48b

Björn Jacke bjacke at samba.org
Thu Jun 4 20:06:50 GMT 2009


The branch, master has been updated
       via  e1eb48bc6baf370c58f41f8ddec4b03809c3b193 (commit)
      from  73e3c85abac706be0a1836f3a4375ab379eceb86 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e1eb48bc6baf370c58f41f8ddec4b03809c3b193
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jun 4 18:56:58 2009 +0200

    s3: map NetBSD's errno on posix open calls for symlinks
    
    This is well undocumented but NetBSD returns EFTYPE on O_NOFOLLOW open calls on
    symlinks.

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/errmap_unix.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index bb09726..0c39a57 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -43,6 +43,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
 #ifdef ELOOP
 	{ ELOOP, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND },
 #endif
+#ifdef EFTYPE
+	{ EFTYPE, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND },
+#endif
 #ifdef EDQUOT
 	{ EDQUOT, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL }, /* Windows apps need this, not NT_STATUS_QUOTA_EXCEEDED */
 #endif


-- 
Samba Shared Repository


More information about the samba-cvs mailing list