rehi...

* Søren Boll Overgaard <[EMAIL PROTECTED]> [2006-02-02 13:56 +0100]:
> On Wed, Feb 01, 2006 at 10:43:41PM +0100, Sebastian Henschel wrote:
> > i guess this was introduced by your patch. do you have any ideas about
> > it?
> 
> Yeah, that is indeed caused by my patch. The problem is that wmacpi parses
> arguments by itself (by means of lines 679-755 in wmacpi.c) and then calls 
> DAParseArguments with the full argument list. 
> 
> DAParseArgumets attempts to parse the arguments again, and encounters unknown
> arguments, because no valid argument names are specified in the call to
> DAParseArguments. 
> 
> I apologise for the inconvenience, I should have done my homework better.
> I have attached a new patch which I believe fixes this particular misfeature,
> although libdockapp really shouldn't force the user to actually call
> DAParseArguments (but that's for the upstream maintainer to decide, obviously
> :).

no worries.
i forwarded him your (old) patch a couple of days ago, but he did not
reply yet. perhaps he is MIA.
i took the liberty to allocate some memory for the string "wmacpi" which
is put into fake_argv.

cheers,
 Sebastian

-- 
 _   ascii ribbon campaign     .oOo.   GCSd-s:+aC++ULB+++W++M+PS+++Y+
( )
 X   Wer nicht für uns ist, ist für uns!
/ \  

Attachment: signature.asc
Description: Digital signature

Reply via email to