From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20596 invoked by alias); 9 Apr 2002 21:20:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20586 invoked from network); 9 Apr 2002 21:20:48 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 9 Apr 2002 21:20:48 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 92EBD1EA93; Tue, 9 Apr 2002 23:20:47 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: Don Howard Cc: Michael Snyder , , Subject: Re: [RFA] Avoid recursivly defined user functions. References: X-Yow: Hello? Enema Bondage? I'm calling because I want to be happy, I guess.. From: Andreas Schwab Date: Tue, 09 Apr 2002 14:20:00 -0000 In-Reply-To: (Don Howard's message of "Tue, 9 Apr 2002 14:01:13 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-04/txt/msg00378.txt.bz2 Don Howard writes: |> Can you explain what you mean by "command invocation with arguments"? You can pass arguments even to a user defined command (referenced in the body with $argN), but your check compares the whole line with the command name, so if you pass any arguments to a recursive invocation you'll miss it. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."