From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.os.cygwin,gmane.emacs.devel Subject: Re: New platform independent problem Date: Fri, 20 Jan 2006 22:24:29 +0100 Message-ID: References: <43D0797C.1030604@it.to-be.co.jp> <43D0F12A.4000202@byu.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1137792324 10853 80.91.229.2 (20 Jan 2006 21:25:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2006 21:25:24 +0000 (UTC) Cc: Eli Zaretskii , cygwin@cygwin.com, henman@it.to-be.co.jp, emacs-devel@gnu.org Original-X-From: cygwin-return-117797-goc-cygwin=m.gmane.org@cygwin.com Fri Jan 20 22:25:19 2006 Return-path: Envelope-to: goc-cygwin@gmane.org Original-Received: from sourceware.org ([209.132.176.174]) by ciao.gmane.org with smtp (Exim 4.43) id 1F03ko-0002oS-KZ for goc-cygwin@gmane.org; Fri, 20 Jan 2006 22:25:07 +0100 Original-Received: (qmail 5657 invoked by alias); 20 Jan 2006 21:24:57 -0000 Original-Received: (qmail 5603 invoked by uid 22791); 20 Jan 2006 21:24:57 -0000 X-Spam-Check-By: sourceware.org Original-Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Jan 2006 21:24:54 +0000 Original-Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 6FA49EBD0; Fri, 20 Jan 2006 22:24:50 +0100 (CET) Original-To: Eric Blake X-Yow: Hello? Enema Bondage? I'm calling because I want to be happy, I guess.. In-Reply-To: <43D0F12A.4000202@byu.net> (Eric Blake's message of "Fri, 20 Jan 2006 07:18:18 -0700") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Xref: news.gmane.org gmane.os.cygwin:74017 gmane.emacs.devel:49329 Archived-At: Eric Blake writes: > What platforms use d_ino==0 to mean an empty entry, rather than an entry > where st_ino must be checked? This is traditional Unix behaviour. The original dirent structure (which was actually struct direct from ) directly matched the contents of the directory file on disk, and an entry was deleted by setting d_ino to zero. Modern implementations of the dirent functions hide this detail from the user and never return entries with d_ino == 0 any more. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."