1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/mail/pine4/files/patch-aa
Doug Barton 0faf48ffbe * Update to version 4.40, the latest and greatest from our friends
at UW. Improvements include TLS and SSL support fully integrated
  into the code base (requires OpenSSL), support for remote address
  books, improved rules-based filtering, and new filter options.

* Bugs fixed include longer folder names, temp file cleanup,
  mail sorted by filters more accurately, et al.

* Re-generate almost all of the patches to clean out more of the fuzz.
2001-10-05 08:41:39 +00:00

32 lines
687 B
Plaintext

--- pico/search.c.orig Thu Jun 21 10:50:05 2001
+++ pico/search.c Fri Sep 28 00:08:23 2001
@@ -98,12 +98,15 @@
int bc;
int pc;
{
+ bc = (unsigned char)bc;
+ pc = (unsigned char)pc;
+
if ((curwp->w_bufp->b_mode & MDEXACT) == 0){
- if (bc>='a' && bc<='z')
- bc -= 0x20;
+ if (islower(bc))
+ bc = toupper(bc);
- if (pc>='a' && pc<='z')
- pc -= 0x20;
+ if (islower(pc))
+ pc = toupper(pc);
}
return(bc == pc);
@@ -805,7 +808,7 @@
int maxlength; /* maximum chars in destination */
{
- char c; /* current char to translate */
+ unsigned char c; /* current char to translate */
/* scan through the string */
while ((c = *srcstr++) != 0) {