[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-bugdb
Subject: mod_negotiation/7662
From: Kevin Wang <kjw () rightsock ! com>
Date: 2001-07-25 1:50:01
[Download RAW message or body]
The following reply was made to PR mod_negotiation/7662; it has been noted by GNATS.
From: Kevin Wang <kjw@rightsock.com>
To: apbugs@apache.org
Cc:
Subject: mod_negotiation/7662
Date: Tue, 24 Jul 2001 19:42:01 -0700
This is definitely a bug in mod_negotiation.
readdir() should return mixed case, but does not. since these wrappers
just call _findfirst and _findnext which are microsoft api's, there
should be a workaround in mod_negotiation to use stricmp instead of strcmp
on line 929:
- if (strncmp (dir_entry->d_name, filp, prefix_len)) {
+ if (strnicmp(dir_entry->d_name, filp, prefix_len)) {
(space after 'strncmp' added for clarity)
cygwin works, but not everyone has it installed, unfortunately. If I
use ms vc++ 5.0, that's the correct workaround.
- Kevin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic