summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-ar')
-rw-r--r--net/samba/patches/patch-ar16
1 files changed, 0 insertions, 16 deletions
diff --git a/net/samba/patches/patch-ar b/net/samba/patches/patch-ar
deleted file mode 100644
index 00c7b27f47f..00000000000
--- a/net/samba/patches/patch-ar
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ar,v 1.2 2003/03/16 07:57:47 martti Exp $
-
---- smbd/open.c.orig Fri Feb 28 15:56:20 2003
-+++ smbd/open.c Sun Mar 16 09:03:17 2003
-@@ -979,8 +979,11 @@
- fsp_open = open_file(fsp,conn,fname,psbuf,flags|flags2,mode,desired_access);
-
- if (!fsp_open && (flags == O_RDWR) && (errno != ENOENT) && fcbopen) {
-+ int saved_errno = errno;
- if((fsp_open = open_file(fsp,conn,fname,psbuf,O_RDONLY,mode,desired_access)) == True)
- flags = O_RDONLY;
-+ else
-+ errno = saved_errno;
- }
-
- if (!fsp_open) {