edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] scandir
Date: Mon, 28 Apr 2014 12:38:43 +0000	[thread overview]
Message-ID: <20140328123843.eklhad@comcast.net> (raw)

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

             reply	other threads:[~2014-04-28 16:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 12:38 Karl Dahlke [this message]
2014-04-30 15:54 ` Adam Thompson
2014-05-02  3:05 ` Chris Brannon
2014-05-02 11:57   ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140328123843.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).