From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <88d4ba9fd8c9f3e6cd670443092d93ce@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: Error reporting (Was: [9fans] GNU Make) From: Charles Forsyth Date: Fri, 4 Jun 2004 09:08:06 +0100 In-Reply-To: <40BFDA06.3000907@chunder.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-tjycacqblwyosarcordyleccmu" Topicbox-Message-UUID: 94b960c6-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-tjycacqblwyosarcordyleccmu Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit sorry, i did know the source of that bug but hadn't fixed it. removal of a goto considered harmful: the original code at label NameError: used len = prefix+e.off[npath] but the replacement nameerror() uses len = strlen(name), and indeed i don't think Elemlist.off is used at all now. nameerror() probably needs an extra parameter or two to give it the right len (and suitable changes to the code). --upas-tjycacqblwyosarcordyleccmu Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Fri Jun 4 03:07:59 BST 2004 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 8537019EA0 for ; Thu, 3 Jun 2004 22:06:47 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (neuromancer.cse.psu.edu [130.203.4.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 2968819E56 for <9fans@cse.psu.edu>; Thu, 3 Jun 2004 22:06:35 -0400 (EDT) Received: from mail.cse.psu.edu ([130.203.4.6]) by localhost (neuromancer [130.203.4.2]) (amavisd-new, port 10024) with LMTP id 04345-01-60 for <9fans@cse.psu.edu>; Thu, 3 Jun 2004 22:06:34 -0400 (EDT) Received: from wmail.atlantic.net (wmail.atlantic.net [209.208.112.158]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id D3F1019E4A for <9fans@cse.psu.edu>; Thu, 3 Jun 2004 22:06:33 -0400 (EDT) Received: (qmail 20178 invoked by uid 89); 4 Jun 2004 01:42:23 -0000 Received: from unknown (HELO ?192.168.1.130?) (brucee@chunder.com@61.9.198.183) by wmail.atlantic.net with SMTP; 4 Jun 2004 01:42:23 -0000 Message-ID: <40BFDA06.3000907@chunder.com> Date: Fri, 04 Jun 2004 12:10:14 +1000 From: Bruce Ellis User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: Error reporting (Was: [9fans] GNU Make) References: <40BFCAE3.4060603@chunder.com> <20040604015656.19364.qmail@g.galapagos.bx.psu.edu> In-Reply-To: <20040604015656.19364.qmail@g.galapagos.bx.psu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Errors-To: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu someone's broken something. it used to report the path component. % ls -l /tmp/pus /tmp/pus/pus ls: /usr/brucee/pus: '/usr/brucee/pus' does not exist ls: /usr/brucee/pus/pus: '/usr/brucee/pus/pus' does not exist i'm sure the second used to say: ls: /usr/brucee/pus/pus: '/usr/brucee/pus' not a directory brucee Scott Schwartz wrote: > | % ls -l /tmp/pus $home/pus > | ls: /tmp/pus: '/tmp/pus' directory entry not found > | ls: /usr/brucee/pus: '/usr/brucee/pus' does not exist > > My pet peeve: the message should say which path component drew > the error. Is it pus or brucee or usr that does not exist? --upas-tjycacqblwyosarcordyleccmu--