[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: [Mldonkey-users] pango-20021128b
From: |
Thomas de Grenier de Latour |
Subject: |
Re: Re[2]: [Mldonkey-users] pango-20021128b |
Date: |
Thu, 28 Nov 2002 20:30:10 +0100 |
On Thu, 28 Nov 2002 17:54:22 +0100 (CET)
address@hidden wrote:
> Here is what I suspect:
> - if the option doesn't exist, then an md4 is created, but
> the option_hook is not called, so it's okay
> - if the option exists, option_hooks is called and does a
> "=:=", which calls option_hooks, and it loops again and
> again. So the hook should be a conditional statment that
> only modify the value if it was not correct according to the
> new signature.
>
> I'm sorry, I can't test anything now because I'm not at
> home. But if I'm right, it will be easy to fix.
>
I'm back home, and here is the patch (well, not really a patch, but
something to apply by hand in common/commonOptions.ml):
- option_hook client_md4 (fun _ -> client_md4 =:= mldonkey_md4
!!client_md4)
+ option_hook client_md4 (fun _ -> client_md4!! <- mldonkey_md4
!!client_md4)
Seems to work here... At least, it compiles and launch fine with my old
downloads.ini. My client_md4 has been changed on two bytes. Is that the
expected behavior ?
And sorry for the late submitting, in fact I've already posted a patch
as a reply to myself and not to the list, and then I've again replied to
myself, etc. :)
-- Thomas.
- Re: [Mldonkey-users] Re: pango-20021128b, (continued)
- Re: [Mldonkey-users] Re: pango-20021128b, Taros666, 2002/11/29
- [Mldonkey-users] Re: pango-20021128b, Sven Hartge, 2002/11/29
- [Mldonkey-users] Re: pango-20021128b, Sven Hartge, 2002/11/29
- Re: [Mldonkey-users] Re: pango-20021128b, Pierre Etchemaite, 2002/11/29
- [Mldonkey-users] Re: pango-20021128b, Sven Hartge, 2002/11/29
- Re[2]: [Mldonkey-users] pango-20021128b, Oliver Heering, 2002/11/28
- Re: [Mldonkey-users] pango-20021128b, Roland Arendes, 2002/11/28
- Re: Re[2]: [Mldonkey-users] pango-20021128b, degrenier, 2002/11/28
- Message not available
- Re: Re[2]: [Mldonkey-users] pango-20021128b, Thomas de Grenier de Latour, 2002/11/28
- Re: Re[2]: [Mldonkey-users] pango-20021128b, Thomas de Grenier de Latour, 2002/11/28
- Re: Re[2]: [Mldonkey-users] pango-20021128b,
Thomas de Grenier de Latour <=
- Re: Re[2]: [Mldonkey-users] pango-20021128b, Thomas de Grenier de Latour, 2002/11/28
- RE: Re[2]: [Mldonkey-users] pango-20021128b, Thomas Ruecker, 2002/11/28
- Re: Re[2]: [Mldonkey-users] pango-20021128b, Thomas de Grenier de Latour, 2002/11/28
- RE: Re[2]: [Mldonkey-users] pango-20021128b, Fanatic, 2002/11/28
- Re: [Mldonkey-users] pango-20021128b, Philip Hofstetter, 2002/11/28
- Re: [Mldonkey-users] pango-20021128b, Michael Panteleit, 2002/11/28
- AW: [Mldonkey-users] pango-20021128b, tristate, 2002/11/28
- Re: AW: [Mldonkey-users] pango-20021128b, Michael Panteleit, 2002/11/28
[Mldonkey-users] pango-20021128b, Jens Rippe, 2002/11/28