head	1.2;
access;
symbols
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2011.05.02.09.11.33;	author bapt;	state dead;
branches;
next	1.1;

1.1
date	2001.10.10.03.23.29;	author ache;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove unmaintained expired ports from ftp

2011-05-01 ftp/axyftp: Upstream disapear and distfile is no more available
2011-05-01 ftp/emacs-wget: Upstream disapear and distfile is no more available
2011-05-01 ftp/llnlxdir: Upstream disapear and distfile is no more available
2011-05-01 ftp/llnlxftp: Upstream disapear and distfile is no more available
2011-05-01 ftp/mirror: Upstream disapear and distfile is no more available
2011-05-01 ftp/moftpd: Upstream disapear and distfile is no more available
2011-05-01 ftp/wu-ftpd: Upstream disapear and distfile is no more available
2011-05-01 ftp/xrmftp: Upstream disapear and distfile is no more available
2011-05-01 ftp/yale-tftpd: Upstream disapear and distfile is no more available
@
text
@--- support/strcasestr.c.orig	Sat Jul  1 22:36:29 2000
+++ support/strcasestr.c	Wed Oct 10 07:18:17 2001
@@@@ -24,22 +24,24 @@@@
   $Id: strcasestr.c,v 1.5 2000/07/01 18:36:29 wuftpd Exp $
  
 ****************************************************************************/
+#include <ctype.h>
 #include <string.h>
 /*
  * Find the first occurrence of find in s.
  */
-char *strcasestr(register char *s, register char *find)
+char *strcasestr(const char *s, const char *find)
 {
     register char c, sc;
     register size_t len;
 
     if ((c = *find++) != 0) {
+	c = tolower((unsigned char)c);
 	len = strlen(find);
 	do {
 	    do {
 		if ((sc = *s++) == 0)
 		    return (NULL);
-	    } while (sc != c);
+	    } while ((char)tolower((unsigned char)sc) != c);
 	} while (strncasecmp(s, find, len) != 0);
 	s--;
     }
@


1.1
log
@Fix broken strcasestr() implementation.
Use FreeBSD's strcasestr() if present.
@
text
@@

