Closed mattrust closed 1 year ago
Is it the command at fault, or the DOS Rename function? Can you check under AmigaOS what the OS calls behaviour is?
The AROS Rename command works under AmigaOS.
This issue was fixed in MorphOS 3.18 by the way.
@polluks I had tested it in AROS after reading the MorphOS release notes ;-) Maybe I should try to contact the MorphOS developers.
Describe the bug An attempt to rename a directory on RAM: to its parent directory (e.g. RENAME bla bla/) causes corruption.
To Reproduce Steps to reproduce the behavior:
Expected behaviour Show error message like "Invalid object name". That's what AmigaOS3 is doing.
Screenshots
Architecture
Not yet tested:
CPU
Not yet tested
Version Provide the Git ID from AboutAROS (call menu Wanderer>AROS>About)
Additional context
0 0x000000005f40cf34 in __small_memcpy (src=0x0, dst=0x4168565d, size=255) at /home/mazze/projects/aros-src/arch/x86_64-all/exec/copymem.c:58
1 0x000000005f40d14c in Exec_104_CopyMem (source=0x0, dest=0x4168565d, size=255) at /home/mazze/projects/aros-src/arch/x86_64-all/exec/copymem.c:177
2 0x000000005f67fe40 in inline_Exec_CopyMem (arg1=0x0, arg2=0x4168565d, arg3=255, __SysBase=0x41000700) at /home/mazze/projects/aros-linux-x86_64-dbg/bin/linux-x86_64/AROS/Developer/include/inline/exec.h:1490
3 0x000000005f6817eb in ExamineObject (handler=0x411af460, object=0x41356538, info=0x41685650) at /home/mazze/projects/aros-src/rom/filesys/ram/./filesystem.c:1091
4 0x000000005f67e47e in CmdExamineNext (handler=0x411af460, info=0x41685650) at /home/mazze/projects/aros-src/rom/filesys/ram/./commands.c:1319
5 0x000000005f67c271 in RAMMain (SysBase=0x41000700) at /home/mazze/projects/aros-src/rom/filesys/ram/./handler.c:256
6 0x000000005f67b4a1 in ram_Handler (argptr=0x0, argsize=0, SysBase=0x41000700) at /home/mazze/projects/aros-linux-x86_64-dbg/bin/linux-x86_64/gen/rom/filesys/ram/ram/ram_start.c:91
7 0x000000005f52a0ef in CallEntry (argptr=0x0, argsize=0, entry=0x4113575c, me=0x41256f60) at /home/mazze/projects/aros-src/rom/dos/./exit.c:127