From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: Error reporting (Was: [9fans] GNU Make) Date: Thu, 3 Jun 2004 15:21:47 +0100 From: rog@vitanuova.com In-Reply-To: <077701c44973$fbbc12d0$9a7e7d50@SOMA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 931ab6ca-eacd-11e9-9e20-41e7f4b1d025 > > no you couldn't, 'cos the kernel adds a filename for some error messages. > > err, so change it. it's good that it does add a filename, because otherwise you don't know where the problem is, particularly when you've got a system call (e.g. bind) which has two filename parameters. perhaps the convention could be "hash everything up to the first colon". that way you can include more detailed error reporting without sacrificing programmability.