summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-08-04 10:23:18 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-08-04 10:23:18 +0000
commit8207a4a26731424a4a3f912a0fc2b9b6bf6c4f89 (patch)
tree9079de40937d169911ee0e8a240a128a0d59f893 /firmware/common
parente7c2449d076a93cde988f6569c6bacd6e2d4562b (diff)
downloadrockbox-8207a4a26731424a4a3f912a0fc2b9b6bf6c4f89.tar.gz
rockbox-8207a4a26731424a4a3f912a0fc2b9b6bf6c4f89.zip
FS#12132 patch 8: retrieve_entries: Decrease binsize by reenabling
inlining format_str() and avoiding a string copy by printing directly into the name buffer. Also uses quite a bit less stack space. En passant, made basename printing more robust by not limiting the buffer into which the file pathname is fetched by the max size of the resulting basename string. Also, fixed a potential buffer overrun in format_str. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
0 files changed, 0 insertions, 0 deletions