From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#5815: clean up extern int errno usage Date: Wed, 31 Mar 2010 16:09:34 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270067174 22306 80.91.229.12 (31 Mar 2010 20:26:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Mar 2010 20:26:14 +0000 (UTC) To: 5815@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 31 22:26:10 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Nx4UH-0005Ey-Te for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Mar 2010 22:26:06 +0200 Original-Received: from localhost ([127.0.0.1]:53134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nx4UH-0008E8-9k for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Mar 2010 16:26:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nx4U2-00087M-44 for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:25:50 -0400 Original-Received: from [140.186.70.92] (port=35033 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nx4Ty-00086O-JR for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:25:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nx4Tx-00010U-Eo for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:25:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60264) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx4Tx-00010Q-8y for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:25:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nx4El-0001AN-AE; Wed, 31 Mar 2010 16:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Mar 2010 20:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12700661844470 (code B ref -1); Wed, 31 Mar 2010 20:10:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Mar 2010 20:09:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx4ES-0001A3-55 for submit@debbugs.gnu.org; Wed, 31 Mar 2010 16:09:44 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nx4EP-00019x-UA for submit@debbugs.gnu.org; Wed, 31 Mar 2010 16:09:42 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:41146) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nx4EL-0008SR-8M for submit@debbugs.gnu.org; Wed, 31 Mar 2010 16:09:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nx4EK-0002X0-Jm for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:09:36 -0400 Original-Received: from [199.232.76.173] (port=56585 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nx4EK-0002WO-2t for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:09:36 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nx4EI-0008SB-UA for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:09:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37113) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nx4EI-0008S1-K1 for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:09:34 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nx4EI-0008Tk-98 for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2010 16:09:34 -0400 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 31 Mar 2010 16:10:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35844 Archived-At: Some files still use "extern int errno" declarations. Those should not be needed. For example dired.c unconditionally include , and it has done so for a very long time. "extern int errno" will cause problems with multithreaded code. So I'd like to remove all instances of errno declaration, and just include errno.h (if not already included). Any objection?