Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: [ rockbox-Patches-699202 ] Custom Recording Filenames
From: Mike Holden (rockbox_at_mikeholden.uklinux.net)
Date: 2003-03-07


SourceForge.net said:
> Patches item #699202, was opened at 2003-03-06 23:08
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=439120&aid=699202&group_id=44306
>

First comment:
I get a compilation warning:
recorder/recording.c: In function `create_filename':
recorder/recording.c:301: warning: operation on `fmtPtr' may be undefined

You have a bit of code: *fmtPtr++ which perhaps should be *(fmtPtr++) as *
takes precedece over ++, which I think is probably not what you want! You
want to increment the pointer, then dereference it, whereas the code is
trying to dereference then increment the contents!

-- 
Mike Holden



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa