DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11173>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11173

htpasswd fails with -c and -n options conflict

           Summary: htpasswd fails with -c and -n options conflict
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: support
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The if clause in line 378 is incorrect.  It should read:

if (*mask & (APHTP_NEWFILE | APHTP_NOFILE)) == (APHTP_NEWFILE | APHTP_NOFILE)) {
...

This test is to make sure that both options are not set.  The original does not 
have
the == (...) piece, which means "if either of these options are set", and not
"if both of 
these options are set" as intended.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to