Too many open files
ibuclaw at ubuntu.com
Thu Oct 25 08:44:26 PDT 2012
On 25 October 2012 16:17, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> Hello all,
> I have some code which needs to read in data from a large number of files in
> a directory.
> The basic data input code goes something like this:
> foreach(DirEntry e; dirEntries(...))
> auto f = file(e.name, "r");
> // we input data from f.
> This runs fine with ldc and dmd. However, if I compile with gdc (4.6.3) I
> get the following error while running the program:
Anyway... this would be a frontend-related bug, probably attributed
with the old version of D you are using there.
*(p < e ? p++ : p) = (c & 0x0f) + '0';
More information about the D.gnu