X-Spam-Check-By: sourceware.org From: Andreas Schwab To: Eric Blake Cc: Eli Zaretskii , cygwin AT cygwin DOT com, henman AT it DOT to-be DOT co DOT jp, emacs-devel AT gnu DOT org Subject: Re: New platform independent problem References: <43D0797C DOT 1030604 AT it DOT to-be DOT co DOT jp> <43D0F12A DOT 4000202 AT byu DOT net> X-Yow: Hello? Enema Bondage? I'm calling because I want to be happy, I guess.. Date: Fri, 20 Jan 2006 22:24:29 +0100 In-Reply-To: <43D0F12A.4000202@byu.net> (Eric Blake's message of "Fri, 20 Jan 2006 07:18:18 -0700") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT suse DOT 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." -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/