This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7874 - shortcuts: Specify correct flags when creating a new file
Attached to Project:
Rockbox
Opened by Alexander Levin (fml2) - Sunday, 30 September 2007, 21:59 GMT+2
Last edited by Peter D'Hoye (petur) - Monday, 01 October 2007, 21:41 GMT+2
Opened by Alexander Levin (fml2) - Sunday, 30 September 2007, 21:59 GMT+2
Last edited by Peter D'Hoye (petur) - Monday, 01 October 2007, 21:41 GMT+2
|
Details1. Open file for writing with 'creat' (how did it work without this flag?)
2. Remove unneeded define |
This task depends upon
Closed by Peter D'Hoye (petur)
Monday, 01 October 2007, 21:41 GMT+2
Reason for closing: Invalid
Additional comments about closing: see comment: nothing wrong with the code
Monday, 01 October 2007, 21:41 GMT+2
Reason for closing: Invalid
Additional comments about closing: see comment: nothing wrong with the code
int creat(const char *pathname)
{
return open(pathname, O_WRONLY|O_CREAT|O_TRUNC);
}