Problems patching

View: New views
2 Messages — Rating Filter:   Alert me  

Problems patching

by Stuart Hunter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to patch msg_flags using UnxUtils, when I run the following
command;

$ patch -p0 < patches/msg_flags-squirrelmail-1.4.15.diff

I get the following output from UnxUlils;

Microsoft Windows [Version 5.2.3790]
<C> Copyright 1985-2003 Microsoft Corp.

C:\Program Files\Apache2.2\htdocs\mail\plugins\msg_flags>patch -p0 <
patches/msg
_flags-squirrelmail-1.4.15.diff
patching file `../../functions/mailbox_display.php`
Assertion failed: hunk, file patch.c, line 321

This application has requested the Runtime to terminate it in an unususl way.
Please contact the application's support team for more information.

What am I doing wrong to get this error?

Windows 2003 Server R2
Apache 2.2
PHP 5.2.5
UnxUtils installed in path and working






****************************************************************
This message is intended only for the use of the individual or
entity named above and may contain information that is
confidential. If you are not the intended recipient, you are
hereby notified that any dissemination, distribution or copying
of this communication is strictly prohibited. If you have
received this communication in error, please notify us by email
to info@... and destroy the original email.
****************************************************************




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: Problems patching

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jun 13, 2008 at 11:12 PM, Stuart Hunter <stuart@...> wrote:

> I am trying to patch msg_flags using UnxUtils, when I run the following
> command;
>
> $ patch -p0 < patches/msg_flags-squirrelmail-1.4.15.diff
>
> I get the following output from UnxUlils;
>
> Microsoft Windows [Version 5.2.3790]
> <C> Copyright 1985-2003 Microsoft Corp.
>
> C:\Program Files\Apache2.2\htdocs\mail\plugins\msg_flags>patch -p0 <
> patches/msg
> _flags-squirrelmail-1.4.15.diff
> patching file `../../functions/mailbox_display.php`
> Assertion failed: hunk, file patch.c, line 321
>
> This application has requested the Runtime to terminate it in an unususl way.
> Please contact the application's support team for more information.
>
> What am I doing wrong to get this error?

I think this is caused by a mismatch in file format.  Try converting
the patch file to "DOS" style and run again and it should work.

> Windows 2003 Server R2
> Apache 2.2
> PHP 5.2.5
> UnxUtils installed in path and working

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
LightInTheBox - Buy quality products at wholesale price