On Friday, 30 June 2017 at 20:13:37 UTC, H. S. Teoh wrote:
On Fri, Jun 30, 2017 at 07:57:22PM +, FoxyBrown via
Digitalmars-d-learn wrote: [...]
[...]
Um... the docs explicit say that dirEntries is lazy, did you
not see that?
[...]
It is possible that dmd has the same problem but I
On Fri, Jun 30, 2017 at 07:57:22PM +, FoxyBrown via Digitalmars-d-learn
wrote:
[...]
> The only way this can happen is if the rename command is somehow
> feeding back in to the algorithm. Since the problem goes away when I
> pre-compute dirEntries, it suggests that dirEntries is being lazily
On Friday, 30 June 2017 at 17:32:33 UTC, H. S. Teoh wrote:
On Fri, Jun 30, 2017 at 12:50:24PM +, FoxyBrown via
Digitalmars-d-learn wrote:
I am using dirEntries to iterate over files to rename them.
I am renaming them in a loop(will change but added code for
testing).
In DMD the
On Fri, Jun 30, 2017 at 12:50:24PM +, FoxyBrown via Digitalmars-d-learn
wrote:
> I am using dirEntries to iterate over files to rename them.
>
> I am renaming them in a loop(will change but added code for testing).
>
>
> In DMD the renaming works but in LDC the renaming fails. It fails in
On Friday, 30 June 2017 at 15:07:29 UTC, Murzistor wrote:
On Friday, 30 June 2017 at 12:50:24 UTC, FoxyBrown wrote:
The funny thing is, newName is printed wrong so Recompute is
effected by the rename.
Does LDC use Unicode?
Or, maybe, standard library under LDC does not support Unicode
- then
On Friday, 30 June 2017 at 12:50:24 UTC, FoxyBrown wrote:
The funny thing is, newName is printed wrong so Recompute is
effected by the rename.
Does LDC use Unicode?
Or, maybe, standard library under LDC does not support Unicode -
then it is a serious bug.
Do you use any non-ASCII symbols?
I am using dirEntries to iterate over files to rename them.
I am renaming them in a loop(will change but added code for
testing).
In DMD the renaming works but in LDC the renaming fails. It fails
in a way that I can't quite tell and I cannot debug because
visual D is not working properly