[w3m-dev 04049] w3m-cvs-1.914-misc.patch
* Makefile.in (funcname.tab): dont modify when target is unchanged. (CFLAGS): need $(CPPFLAGS)? * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ don't use AC_CYGWIN don't use $CYGWIN, use $host_os *cygwin* AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) add stdint.h, inttypes.h * etc.c (find_auth_pass_entry): host is case insensitive * libwc/wc_types.h: use stdint.h or inttypes.h * main.c (MAIN); need GC_init() From: AIDA Shinra <shinra@j10n.org>
This commit is contained in:
4
etc.c
4
etc.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: etc.c,v 1.76 2004/03/31 16:45:39 ukai Exp $ */
|
||||
/* $Id: etc.c,v 1.77 2004/04/04 16:47:20 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include <pwd.h>
|
||||
#include "myctype.h"
|
||||
@@ -957,7 +957,7 @@ find_auth_pass_entry(char *host, int port, char *file, char *realm,
|
||||
struct auth_pass *ent;
|
||||
for (ent = passwords; ent != NULL; ent = ent->next) {
|
||||
if (ent->is_proxy == is_proxy
|
||||
&& (!ent->host || !Strcmp_charp(ent->host, host))
|
||||
&& (!ent->host || !Strcasecmp_charp(ent->host, host))
|
||||
&& (!ent->port || ent->port == port)
|
||||
&& (!ent->file || !file || dir_under(ent->file->ptr, file))
|
||||
&& (!ent->realm || !realm || !Strcmp_charp(ent->realm, realm))
|
||||
|
Reference in New Issue
Block a user