This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6358 - Check for illegal chars on filename creation
Attached to Project:
Rockbox
Opened by Jonas Häggqvist (rasher) - Monday, 20 November 2006, 01:00 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 July 2007, 11:53 GMT+2
Opened by Jonas Häggqvist (rasher) - Monday, 20 November 2006, 01:00 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 July 2007, 11:53 GMT+2
|
DetailsThis patch adds an additional check to fat_checkname to disallow the following characters: " * / : < > ? \\ | as per the FAT spec (p 29 of FAT32spec103.pdf). I have tested it to work and fix a problem (previously you could create filenames with (at least) some of these characters. This patch manages to fix that.
|
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 03 July 2007, 11:53 GMT+2
Reason for closing: Accepted
Tuesday, 03 July 2007, 11:53 GMT+2
Reason for closing: Accepted
Also reduces the size of the char2dos function (~170 bytes on ColdFire).
Checked on H120 too.