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

Re: [ rockbox-Patches-699202 ] Custom Recording Filenames

From: Mike Holden <rockbox_at_mikeholden.uklinux.net>
Date: Fri, 7 Mar 2003 09:13:54 -0000 (GMT)

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
Received on 2003-03-07

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy