ASF Bugzilla – Attachment 22657 Details for
Bug 45923
htpasswd tries to open(file, O_RDONLY | O_APPEND)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for support/htpasswd.c
patch-htpasswd.c (text/plain), 595 bytes, created by
Jun Kuriyama
on 2008-09-30 23:32:30 UTC
(
hide
)
Description:
Patch for support/htpasswd.c
Filename:
MIME Type:
Creator:
Jun Kuriyama
Created:
2008-09-30 23:32:30 UTC
Size:
595 bytes
patch
obsolete
>--- support/htpasswd.c.orig 2008-10-01 15:22:51.278657528 +0900 >+++ support/htpasswd.c 2008-10-01 15:23:11.931582929 +0900 >@@ -486,7 +486,7 @@ > /* > * Check that this existing file is readable and writable. > */ >- if (!accessible(pool, pwfilename, APR_READ | APR_APPEND)) { >+ if (!accessible(pool, pwfilename, APR_READ | APR_WRITE | APR_APPEND)) { > apr_file_printf(errfile, "%s: cannot open file %s for " > "read/write access" NL, argv[0], pwfilename); > exit(ERR_FILEPERM);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45923
: 22657