Re: FVWM: Re: Empty function arguments (was Re: Finally moved to 2.2 etc etc)

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Fri, 21 May 1999 16:17:12 +0200

On Fri, May 21, 1999 at 10:03:18AM -0400, dane_at_mk.telcordia.com wrote:
> dsg_at_mitre.org (David S. Goldberg) writes:
> > The problem is almost certainly the empty arguments being passed to
> > the exec of the FvwmForm module. I trussed my fvwm2 with the follow
> > option and I see at the execve line:
> >
> > 4754: fork() (returning as child ...) = 2405
> > 4754: close(23) = 0
> > 4754: close(24) = 0
> > 4754: execve("/blackbird/local/openwin/libexec/fvwm/2.2/FvwmForm", 0xEFFF8A
> > B8, 0xEFFFF398) argc = 14
> >
> > argc should certainly not be 14. I'm passing FvwmForm one argument,
> > the name of the form. fvwm2 passes it an addition 6 if I remember
> > correctly. If I call FvwmForm MyXcmd without the wrapper function
> > argc shows up as 7 as expected. Since I don't want to waste bandwidth
> > on the list, if anyone wants the truss outputs, I'll be happy to email
> > them. Hmm. Better yet, I've put them on my web page:
> >
> > <URL:http://world.std.com/~dsg/fvwmform-via-wrapper.txt>
> > <URL:http://world.std.com/~dsg/fvwmform-native.txt>
> > --
> > Dave Goldberg
>
> I'm convinced. I see the problem as far back as 2.1.4. (Thats as far
> back as I can go at the moment.) This simple test demonstrates the
> problem:
>
> AddToFunc showit "I" Echo "I got: " $0 $1 $2 $3
> showit test
>
> Which produces:
>
> [FVWM][Echo]: "I got: " test $1 $2 $3

What does it show? This is exactly what I would have expected. Am
I missing something?

Bye

Dominik ^_^

-- 
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt_at_hp.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri May 21 1999 - 09:24:29 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST