squirrelmail files usually don't include CR symbols. Patch is done against modified 
version of sm or you have extracted SquirrelMail files with utility that converts unix 
line endings to dos line endings.

Have you tried disabling charset search in SquirrelMail config.

conf.pl
 4. General Options
  12. Allow server charset search : false

you can put any value in SquirrelMail default charset option. SquirrelMail scripts 
won't allow misconfiguration and revert to charset used by translation.

> Same thing no luck with the patch
>
>
> v22.computerking.ca > /usr/local/www/squirrelmail/functions #patch <
> /home/rmvg/uidpatch2
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |--- imap_search.php    2004-02-24 16:57:26.000000000 +0100
> |+++ imap_search_patched.php    2004-07-14 01:43:46.000000000 +0200
> --------------------------
> Patching file imap_search.php using Plan A...
> Hunk #1 failed at 80.
> 1 out of 1 hunks failed--saving rejects to imap_search.php.rej
> done
>
> Agian here is the output of my map_search.php.rej
>
>
> ***************
> *** 80,86 ****
> && strtolower($result) == 'no') {^M
> $ss = "SEARCH CHARSET \"US-ASCII\" ALL $search_string";^M
> $readin = sqimap_run_command ($imapConnection, $ss, true, ^M
> -                                       $result, $message);^M
> }^M
> ^M
> unset($messagelist);^M --- 80,86 ----
> && strtolower($result) == 'no') {^M
> $ss = "SEARCH CHARSET \"US-ASCII\" ALL $search_string";^M
> $readin = sqimap_run_command ($imapConnection, $ss, true, ^M
> +                                       $result, $message,
> $uid_support);^M
> }^M
> ^M
> unset($messagelist);^M
>
> Thanks anyway do you or anyone have any more patches or ideas
>
>
>
>
> Anders la Cour Bentzon wrote:
>
>
>> On 2004-07-14 01:11, RYAN vAN GINNEKEN wrote:
>>
>>
>>> I did a rm -R on the squirrel mail directory to remove the 1.5
>>> version then did a make clean on the squirrel mail port then a make &&
>>> make install so hopefully i ended up with a clean install. However it
>>> did not ask any questions i seem to remeber haveing to sort through a
>>> list of options last time i ninstalled squirrel mail. Anyway i tried
>>> your patch and got this
>>
>>
>> I'm not sure exactly what you mean; to install SquirrelMail, you just
>> need to untar it in a directory where your webserver searches for files
>> (e.g. /var/www or /usr/local/www or whatever) and enter your
>> configuration by running "perl config/conf.pl". See the SquirrelMail
>> INSTALL file. It is possible to have more SquirrelMail installations
>> running concurrently, each in their own directory.
>>
>>>
>>> v22.computerking.ca > /usr/local/www/squirrelmail/functions #patch <
>>> /home/rmvg/uidpatch
>>> Hmm...  Looks like a context diff to me...
>>> The text leading up to this was:
>>> --------------------------
>>> |*** imap_search.php    Tue Feb 24 16:57:26 2004
>>> |--- imap_search_patched.php    Wed Jul 14 00:08:30 2004
>>> --------------------------
>>> Patching file imap_search.php using Plan A...
>>> Hunk #1 failed at 80.
>>> 1 out of 1 hunks failed--saving rejects to imap_search.php.rej
>>> done
>>
>>
>> Try this patch instead, it might work better.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to