1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

do not lowercase search strings

This commit is contained in:
Andrey A. Chernov 2000-04-21 19:25:44 +00:00
parent aa188d8548
commit 2d082082f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27864
2 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- webalizer.c.orig Sun Apr 9 05:18:56 2000
+++ webalizer.c Thu Apr 20 05:46:49 2000
+++ webalizer.c Fri Apr 21 23:11:15 2000
@@ -61,6 +61,7 @@
#endif
@ -17,3 +17,12 @@
}
}
#endif /* USE_DNS */
@@ -1785,7 +1786,7 @@
if (*cp1=='+') *cp1=' '; /* change + to space */
if (sp_flg && *cp1==' ') { cp1++; continue; } /* compress spaces */
if (*cp1==' ') sp_flg=1; else sp_flg=0; /* (flag spaces here) */
- *cp2++=tolower(*cp1++); /* normal character */
+ *cp2++= *cp1++; /* normal character */
}
}
*cp2=0; cp2=tmpbuf;

View File

@ -1,5 +1,5 @@
--- webalizer.c.orig Sun Apr 9 05:18:56 2000
+++ webalizer.c Thu Apr 20 05:46:49 2000
+++ webalizer.c Fri Apr 21 23:11:15 2000
@@ -61,6 +61,7 @@
#endif
@ -17,3 +17,12 @@
}
}
#endif /* USE_DNS */
@@ -1785,7 +1786,7 @@
if (*cp1=='+') *cp1=' '; /* change + to space */
if (sp_flg && *cp1==' ') { cp1++; continue; } /* compress spaces */
if (*cp1==' ') sp_flg=1; else sp_flg=0; /* (flag spaces here) */
- *cp2++=tolower(*cp1++); /* normal character */
+ *cp2++= *cp1++; /* normal character */
}
}
*cp2=0; cp2=tmpbuf;