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 17:13:09 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 939b1ea0-eacd-11e9-9e20-41e7f4b1d025 > anyhow: IS there a real cause to worry about APE's string -> errno > translation speed based on (say) a profile of an application, or is > it conjecture? Well, the particular instance that raised it was tmpnam() where access() is being used to determine whether a filename is already in use. access() spends an inordinate amount of time trying to return an error code that is never going to be used. That bothered me. The other place is the return code in wait() which seems very important to Tcl. Here, I'm trying to reduce the number of test failures, specially when they don't seem unavoidable, at first at least. My current problem is only tangentially related to error codes, as I can't seem to get waitpid() to behave closely enough to its Unix equivalent. ++L