From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mah@everybody.org (Mark A. Hershberger) Newsgroups: gmane.emacs.devel Subject: Re: unicode build: "comparison is always true" warnings Date: Fri, 23 Nov 2007 16:35:56 -0500 Message-ID: <87wss8mypv.fsf@everybody.org> References: <87oddltv7f.fsf@everybody.org> <87hcjcoo2x.fsf@everybody.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195853786 19663 80.91.229.12 (23 Nov 2007 21:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 21:36:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 22:36:33 2007 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.50) id 1IvgCO-00022g-KL for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 22:36:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvgCA-0002LX-6X for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 16:36:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvgC6-0002JT-Mb for emacs-devel@gnu.org; Fri, 23 Nov 2007 16:36:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvgC6-0002Il-2L for emacs-devel@gnu.org; Fri, 23 Nov 2007 16:36:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvgC5-0002Ic-Vm for emacs-devel@gnu.org; Fri, 23 Nov 2007 16:36:14 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvgC5-0000mX-Fn for emacs-devel@gnu.org; Fri, 23 Nov 2007 16:36:13 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IvgC1-0000Bx-Dv for emacs-devel@gnu.org; Fri, 23 Nov 2007 21:36:09 +0000 Original-Received: from 24.115.83.248.res-cmts.eph.ptd.net ([24.115.83.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 21:36:09 +0000 Original-Received: from mah by 24.115.83.248.res-cmts.eph.ptd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 21:36:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 24.115.83.248.res-cmts.eph.ptd.net X-URL: http://mah.everybody.org/weblog/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:MdoxA2SXuYXg+jQYcxv2HYRkEQc= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84010 Archived-At: Andreas Schwab writes: > Please tell me which part of the sources you have difficulties to > understand, then I can explain it to you. Other people will see the compilation warning and naively ask “Why is emacs doing things insecurely?” It would be helpful to have an explanation in the comments to explain _why_ it is secure despite the warnings. I'll readily admit I don't know enough about mailfile locking or mktemp to understand why this is secure despite the warnings. For those of us who don't readily understand secure mailfile locking, could you explain why mktemp is ok? -- http://hexmode.com/ GPG Fingerprint: 7E15 362D A32C DFAB E4D2 B37A 735E F10A 2DFC BFF5 The most beautiful experience we can have is the mysterious. -- Albert Einstein, The World As I See it