fix bug calendar fails to add new memo if there is not .memo file caused by my change...
commit8e1094766150795d4ce261234ab67c9caebdcde1
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Wed, 5 Aug 2009 13:37:34 +0000 (5 13:37 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Wed, 5 Aug 2009 13:37:34 +0000 (5 13:37 +0000)
treec7ee2c1f368ff24adf69b2e5ffd7c8ba4a2e8a46
parentd179c87b9b51ca4ec16057e5a7d44d8d381011a9
fix bug calendar fails to add new memo if there is not .memo file caused by my change in r22143.
setting flags O_RDONLY|O_CREAT for open doesn't seem to create file. change flags to O_RDWR|O_CREAT but there is no writing.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22169 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/calendar.c