The Samba-Bugzilla – Attachment 7020 Details for
Bug 8542
smbclient posix_open command fails to return correct info on open file.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.2
0001-Fix-bug-8542-smbclient-posix_open-command-fails-to-r.patch (text/plain), 1.08 KB, created by
Jeremy Allison
on 2011-10-22 01:11:02 UTC
(
hide
)
Description:
git-am fix for 3.6.2
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-10-22 01:11:02 UTC
Size:
1.08 KB
patch
obsolete
>From 6c3b99eefd116c155ab75aa935990e018dfa2e20 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 21 Oct 2011 18:08:46 -0700 >Subject: [PATCH] Fix bug #8542 - smbclient posix_open command fails to return correct info on open file. > >--- > source3/client/client.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/client/client.c b/source3/client/client.c >index e5426c6..b2cb911 100644 >--- a/source3/client/client.c >+++ b/source3/client/client.c >@@ -2528,8 +2528,8 @@ static int cmd_posix_open(void) > } > > if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDWR, mode, &fnum))) { >- if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) { >- d_printf("posix_open file %s: for read/write fnum %d\n", targetname, fnum); >+ if (NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) { >+ d_printf("posix_open file %s: for readonly fnum %d\n", targetname, fnum); > } else { > d_printf("Failed to open file %s. %s\n", targetname, cli_errstr(cli)); > } >-- >1.7.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 8542
: 7020