Let the FAT namecheck also look for trailing spaces, fixes FS #8560.
commitf97cb7a173134b0dbc8daedf74de08836dc382f3
authorpeter <peter@a1c6a512-1295-4272-9138-f99709370657>
Thu, 7 Feb 2008 22:15:13 +0000 (7 22:15 +0000)
committerpeter <peter@a1c6a512-1295-4272-9138-f99709370657>
Thu, 7 Feb 2008 22:15:13 +0000 (7 22:15 +0000)
treed7a2d5bf3b1fa3d49784b0a7e26a1535692e39b6
parent6f43889b30e221061762310cece3e67a0d6212cd
Let the FAT namecheck also look for trailing spaces, fixes  FS #8560.
Only call the dircache rename function if the actual rename was ok.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16241 a1c6a512-1295-4272-9138-f99709370657
firmware/common/file.c
firmware/drivers/fat.c