From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: System calls without error checks in w32 Date: Mon, 31 May 2010 05:06:08 +0200 Message-ID: References: <83ocfytxhg.fsf@gnu.org> <83mxvitsay.fsf@gnu.org> <83ljb2tn6i.fsf@gnu.org> <83k4qmt7lb.fsf@gnu.org> <83hblpthpt.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1275275199 23839 80.91.229.12 (31 May 2010 03:06:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 03:06:39 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 31 05:06:37 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OIvKn-0002AL-49 for ged-emacs-devel@m.gmane.org; Mon, 31 May 2010 05:06:37 +0200 Original-Received: from localhost ([127.0.0.1]:57583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIvKm-0005OE-IY for ged-emacs-devel@m.gmane.org; Sun, 30 May 2010 23:06:36 -0400 Original-Received: from [140.186.70.92] (port=56599 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIvKh-0005Mt-2H for emacs-devel@gnu.org; Sun, 30 May 2010 23:06:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIvKf-0008Qy-Hw for emacs-devel@gnu.org; Sun, 30 May 2010 23:06:30 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.155]:5521) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIvKf-0008Qr-B3; Sun, 30 May 2010 23:06:29 -0400 Original-Received: by fg-out-1718.google.com with SMTP id 16so973119fgg.12 for ; Sun, 30 May 2010 20:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=d6dabXg+Ebf5rjCB5Jb6ksgWytcMBvbmQG8lM+rtUIA=; b=Ov49+bmozdK9zBZ5NGMyTbHi610H5XgUBllGk9seH+kLGo5ZuTAezGL0CaPGDwdiDm JC+wCRK7rWDmlqMcKesnA/36xUzyMUNbNXO2hvDO5y+5e1a/NwFxW6TM4cZHLWm+ZcqV 1JXF3i7QMk0FhsZCMwDIS/t1NtIt08H4xDTFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=i/Z0Pr+P9MZlpQbidz5UmhH4yf5LNXuyxjsEyNKdPh1avXgwwV9tlRwKyUYIfekuvK PjdS+MNaM3ouGvI6QAJuFPMme41Vn/X+l85p6peym6HP+CyeE0M2NMUhnNxqMB7E1HE/ /ovdipmbPjxv7igBgnFEwn3FtrTfyg1yeqvwM= Original-Received: by 10.103.64.25 with SMTP id r25mr1460163muk.68.1275275188122; Sun, 30 May 2010 20:06:28 -0700 (PDT) Original-Received: by 10.204.32.18 with HTTP; Sun, 30 May 2010 20:06:08 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125388 Archived-At: On Mon, May 31, 2010 at 04:36, Lennart Borgman wrote: > Yes, but isn't it a really good reason to always check the return code > from system calls? Yes. Check and *do something* about it. >> Then, why are you sure the problem isn't in your code? Surely if it is >> a bug in Emacs there will be a way to show it with the trunk code? > > Because they are not related to that part of the code. That does not answer the second question. > Yes, of course. But keeping a commented out one line debug output call > might be quit useful in some places. The trick is to find these (supposedly few) "some places". Juanma