The Samba-Bugzilla – Attachment 9079 Details for
Bug 10033
call to mmap() not checked for failure in shared_mmap.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects file for README.Coding standard
os2_delete.c.patch (text/plain), 648 bytes, created by
Bill Parker
on 2013-07-26 19:57:11 UTC
(
hide
)
Description:
Corrects file for README.Coding standard
Filename:
MIME Type:
Creator:
Bill Parker
Created:
2013-07-26 19:57:11 UTC
Size:
648 bytes
patch
obsolete
>--- os2_delete.c.orig 2013-07-24 18:26:46.861548762 -0700 >+++ os2_delete.c 2013-07-24 18:28:45.991549989 -0700 >@@ -103,8 +103,12 @@ > create_files(); > > d = opendir(TESTDIR "/test0.txt"); >- if (d != NULL) FAILED("opendir() on file succeed"); >- if (errno != ENOTDIR) FAILED("opendir() on file didn't give ENOTDIR"); >+ if (d != NULL) { >+ FAILED("opendir() on file succeed"); >+ } >+ if (errno != ENOTDIR) { >+ FAILED("opendir() on file didn't give ENOTDIR"); >+ } > > d = opendir(TESTDIR); > >@@ -116,7 +120,9 @@ > > while (1) { > int n = os2_delete(d); >- if (n == 0) break; >+ if (n == 0) { >+ break; >+ } > total_deleted += n; > } > closedir(d);
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:
wp02855
:
review?
Actions:
View
Attachments on
bug 10033
:
9058
|
9077
|
9078
| 9079 |
9080
|
9081