problem with filelib:fold_files/5

Dominic Williams erlang-list@REDACTED
Thu Sep 23 22:54:27 CEST 2004


Le 9 sept. 04, à 17:09, Chris Pressey a écrit :

> Not at all, Dominic Williams reported this bug in February:
>
> http://www.erlang.org/ml-archive/erlang-questions/200402/msg00029.html
>
> and I reported it a year ago:
>
> http://www.erlang.org/ml-archive/erlang-questions/200309/msg00198.html

Indeed.

Here's a patch (there are actually two distinct bugs):

46c46
<       {ok, _} ->
---
 >       {ok, #file_info{type=regular}} ->
87c87,89
<     end.
---
 >     end;
 > fold_files([],_,_,_,_,Acc) ->
 >     Acc.

Cheers,

Dominic Williams
http://www.dominicwilliams.net
----

Dominic Williams
http://www.dominicwilliams.net
----




More information about the erlang-questions mailing list