joel16 / NX-Shell

A multi-purpose file manager for the Nintendo Switch.
GNU General Public License v2.0
947 stars 64 forks source link

Strange behaivior when renaming files #120

Open cucholix opened 2 years ago

cucholix commented 2 years ago

When trying to rename the file "6CA850A07A3497DF.txt" in "sd/atmosphere/contents/0100B04011742000/cheats" to "6CA850A07A3497DF.txt-" or "6CA850A07A3497DF-.txt" it fails to rename it, if I keep trying the file is deleted in the second or third try.

No problems at all with previous NX-Shell (old one before the rewrite).

Looking at the NX-Shell folder and the renamed (deleted) files are in there (?)

joel16 commented 2 years ago

Well since I had to change between the old fs impl to libc's it seems some minor issues occurred. This behaviour is happening because rename failed (?) and I guess its placing it in the current working directory of the executable (NX-Shell).

I'm going to be going on a business trip so I'm not gonna have time to look into this at the moment.