The Samba-Bugzilla – Attachment 1915 Details for
Bug 2673
Can create a file. Cannot rewrite it.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
map O_TRUNC correctly to FILE_OVERWRITE (i.e., SMBOPEN_OTRUNC) instead of SMBOPEN_OAPPEND
cifs-createmode.patch (text/plain), 393 bytes, created by
Sebastian Voitzsch
on 2006-05-23 10:00:16 UTC
(
hide
)
Description:
map O_TRUNC correctly to FILE_OVERWRITE (i.e., SMBOPEN_OTRUNC) instead of SMBOPEN_OAPPEND
Filename:
MIME Type:
Creator:
Sebastian Voitzsch
Created:
2006-05-23 10:00:16 UTC
Size:
393 bytes
patch
obsolete
>--- fs/cifs/file.c.orig 2006-05-23 16:44:19.048295000 +0200 >+++ fs/cifs/file.c 2006-05-23 16:45:03.039044250 +0200 >@@ -82,6 +82,8 @@ > return FILE_CREATE; > else if ((flags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) > return FILE_OVERWRITE_IF; >+ else if ((flags & (O_TRUNC)) == (O_TRUNC)) >+ return FILE_OVERWRITE; > else if ((flags & O_CREAT) == O_CREAT) > return FILE_OPEN_IF; > else
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
Actions:
View
Attachments on
bug 2673
:
1572
|
1582
|
1583
|
1584
|
1914
| 1915