Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0D27F431FBC for ; Sat, 16 Jan 2010 07:20:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.49 X-Spam-Level: X-Spam-Status: No, score=-1.49 tagged_above=-999 required=5 tests=[AWL=1.109, BAYES_00=-2.599] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0a8AI78hGF7m for ; Sat, 16 Jan 2010 07:20:26 -0800 (PST) Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by olra.theworths.org (Postfix) with ESMTP id 45D2A431FAE for ; Sat, 16 Jan 2010 07:20:26 -0800 (PST) Received: from djcbsoftware.nl (a88-114-93-212.elisa-laajakaista.fi [88.114.93.212]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 67F6E1395F2; Sat, 16 Jan 2010 17:20:23 +0200 (EET) Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1]) by djcbsoftware.nl (Postfix) with ESMTP id A30C239C1D4; Sat, 16 Jan 2010 17:20:21 +0200 (EET) Date: Sat, 16 Jan 2010 17:20:21 +0200 Message-ID: <87k4vivzyi.wl%djcb@djcbsoftware.nl> From: Dirk-Jan C. Binnema To: Olly Betts In-Reply-To: References: <4B4ED7E8.20501@exys.org> <878wc0623y.fsf@exys.org> <20100114183854.1d04f111@hikari> <87fx68e2am.fsf@yoom.home.cworth.org> <878wbzx3td.wl%djcb@djcbsoftware.nl> <87pr5bw383.wl%djcb@djcbsoftware.nl> Mail-Reply-To: djcb@djcbsoftware.nl User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO) Organization: DJCBSoftware MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] indexing mail? X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: djcb@djcbsoftware.nl List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 15:20:28 -0000 Hi Olly, >>>>> "OB" == Olly Betts writes: OB> On 2010-01-15, Dirk-Jan C Binnema wrote: Olly> Other than Linux, the d_type field is available mainly only on BSD Olly> systems. >> >> Yes, my patch could me generalized a bit more, just like your patch could not >> hardcode the '/'-separator :) OB> Well, '/' works as a directory separator for all Unix systems and also OB> for Microsoft Windows at this level. Is there a system which doesn't OB> accept '/' in this place which is still relevant? Note the ':)' This was just point that it's very hard to write software that does not include *some* degree of platform-preference. Anyway (going slightly OT here) regarding the '\', I think the one system in wide use that insists on '\' would be Symbian. Porting Unix stuff is usually not too hard with the Symbian's compatiblity-libc. (But maybe the dir-separator is still the least of your concerns). >> In practice though, what Unices in use today do not support d_type? OB> Solaris 10 doesn't for starters. I don't have ready access to the other OB> non-Linux, non-BSD Unix flavours to check those right now. Ah, thanks. Solaris 10 is fairly important indeed. Another one is Cygwin (it added it fairly recently), Linux before 2.6.4. I've added a configure check for now. Performance must be quite terrible with a working d_type. Best wishes, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C