On Monday, 21 August 2023 at 11:05:36 UTC, FeepingCreature wrote:
Can you print some of the wrong sizes? D's DirEntry iteration
code just calls `FindFirstFileW`/`FindNextFileW`, so this
*shouldn't* be a D-specific issue, and it should be possible to
reproduce this in C.
Yes! I will get that i
On Monday, August 21, 2023 2:54:02 PM MDT Sergey via Digitalmars-d-learn
wrote:
> When I worked with one C code translation, I found that command
> clock_gettime, that available in POSIX systems is not implemented
> in MacOS.
> This SO thread
>
> https://stackoverflow.com/questions/5167269/clock-g
When I worked with one C code translation, I found that command
clock_gettime, that available in POSIX systems is not implemented
in MacOS.
This SO thread
https://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x
suggested some workaround implementations, which using so
On Monday, 21 August 2023 at 07:52:28 UTC, harakim wrote:
I have been doing some backups and I wrote a utility that
determines if files are an exact match. As a shortcut, I check
the file size. So far so good on this with millions of files
until I found something odd: getSize() and DirEntry's .
I have been doing some backups and I wrote a utility that
determines if files are an exact match. As a shortcut, I check
the file size. So far so good on this with millions of files
until I found something odd: getSize() and DirEntry's .size are
producing different values.
This is the relevan