Page 1 of 1
fatGetVolumeLabel bug
Posted: Thu Dec 10, 2009 9:33 am
by tueidj
fatGetVolumeLabel in libfat.c is using regular C memory allocation routines (malloc/free) instead of the appropriate libfat wrappers (_FAT_mem_allocate/_FAT_mem_free), which breaks compiling when those functions aren't available.
Re: fatGetVolumeLabel bug
Posted: Thu Dec 10, 2009 3:48 pm
by WinterMute
Interesting, what are you using libfat for that you don't have malloc/free available? Mainly curious, I'd actually forgotten we allowed for that case.
Re: fatGetVolumeLabel bug
Posted: Thu Dec 10, 2009 4:38 pm
by tueidj
Wii, but I use my own code for USB storage which expects data buffers allocated from MEM2.