RTEMS | rename() fails when source and target are the same - violates POSIX compliance (#5487)

Somil Gupta (@somil) gitlab at rtems.org
Tue Apr 7 22:23:07 UTC 2026




Somil Gupta commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5487#note_148205


I do have a working code in which rename() would work in compliance with posix but only for case mv a a , but it will not handle the over writing case  , I think this issue will need handling at the rename file ( like IMFS_RENAME as mentioned by zack in the initial comment ) level of each file system , as RTEMS_FS_EXCLUSIVE would have to be removed to make it fully complaint .

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5487#note_148205
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260407/94b075ff/attachment.htm>


More information about the bugs mailing list