mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
If you try to do this (e.g "mv directory directory"), sys$rename() will now fail with EDIRINTOSELF. Dr. POSIX says we should return EINVAL for this, but a custom error code allows us to print a much more helpful error message when this problem occurs. :^)
34 KiB
34 KiB