From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0210A431FBC for ; Fri, 15 Jan 2010 13:41:52 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.794 X-Spam-Level: X-Spam-Status: No, score=-0.794 tagged_above=-999 required=5 tests=[AWL=-0.795, BAYES_50=0.001] 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 cUSGblU+x-0Y for ; Fri, 15 Jan 2010 13:41:51 -0800 (PST) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by olra.theworths.org (Postfix) with ESMTP id 4B788431FAE for ; Fri, 15 Jan 2010 13:41:51 -0800 (PST) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVtvQ-0001gw-I8 for notmuch@notmuchmail.org; Fri, 15 Jan 2010 22:41:48 +0100 Received: from ip-118-90-138-203.xdsl.xnet.co.nz ([118.90.138.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2010 22:41:48 +0100 Received: from olly by ip-118-90-138-203.xdsl.xnet.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2010 22:41:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Olly Betts Date: Fri, 15 Jan 2010 21:41:20 +0000 (UTC) Message-ID: 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> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-118-90-138-203.xdsl.xnet.co.nz User-Agent: slrn/pre1.0.0-11 (Linux) Sender: news Subject: Re: indexing mail? X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 21:41:52 -0000 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 :) Well, '/' works as a directory separator for all Unix systems and also for Microsoft Windows at this level. Is there a system which doesn't accept '/' in this place which is still relevant? Personally I don't see the point in aiming for portability to systems like Mac OS 9, RISC OS, and VMS in 2010... > In practice though, what Unices in use today do not support d_type? Solaris 10 doesn't for starters. I don't have ready access to the other non-Linux, non-BSD Unix flavours to check those right now. Cheers, Olly