From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:212]) by hurricane.the-brannons.com (Postfix) with ESMTP id 5F40377CED for ; Mon, 28 Apr 2014 09:39:40 -0700 (PDT) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta14.westchester.pa.mail.comcast.net with comcast id vQM01n0090xGWP85EUfBWh; Mon, 28 Apr 2014 16:39:11 +0000 Received: from eklhad ([IPv6:2601:4:5380:92e:21e:4fff:fec2:a0f1]) by omta12.westchester.pa.mail.comcast.net with comcast id vUfB1n00958M3EY3YUfBC7; Mon, 28 Apr 2014 16:39:11 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Mon, 28 Apr 2014 12:38:43 +0000 Message-ID: <20140328123843.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1398703151; bh=lhAq1zuayr9q0aCBZ2kR8TqNexRssuFqWYM4AKHewDY=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=tkY8Kt1yg6RbH9/9GznoFc7+Na5AwC1taVzw2WbEIaOeJIM826kPxAaTC5bp4dVtg JGGY6qVyrCWiItP1EmSAGjuV+nnowjzreitjjNbbi3ICoNcsDhDEOypuYweFUWfXal O2QDbyu0OZrkZ+Kl1gP/R+hJIyGymhsFBIvz/FmYgFST87BpCh8YJWikUv6s2gx/aa MJiM8TKxBKT6FPRykj3LwCJvHO0sCDk4NeivHr92DHAMOFMTMcd6alEaRFF4ERMh5f ZRXfHlbpyV2HqPBDVRLmLwYuYbTzHd2RGPVysYk3hEVW7W5+i3PYLx4lfDs0yb2+YZ /BVzuJmzwyfpQ== Subject: [Edbrowse-dev] scandir X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 16:39:41 -0000 In stringfile.c there's a bunch of code to read the contents of a directory. It is separated out by linux, bsd unix, and dos/windows. The calls are different, radically different for dos. Yes I'm still looking towards the day when edbrowse is ported to windows. curl and pcre are there so I think it's feasible. I was just wondering if we should switch all this over to scandir, it would definitely be less code and easier to read and understand etc. I guess the question is whether scandir is in the windows C library, if not then there's no point in making the switch. Again not a high priority, I just like letting libraries do the work for me when it makes sense. Karl Dahlke