Rockbox

Tasklist

FS#7874 - shortcuts: Specify correct flags when creating a new file

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Sunday, 30 September 2007, 19:59 GMT
Last edited by Peter D'Hoye (petur) - Monday, 01 October 2007, 19:41 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

1. 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, 19:41 GMT
Reason for closing:  Invalid
Additional comments about closing:  see comment: nothing wrong with the code
Comment by Peter D'Hoye (petur) - Monday, 01 October 2007, 19:38 GMT
it did because this code exists in file.c:

int creat(const char *pathname)
{
return open(pathname, O_WRONLY|O_CREAT|O_TRUNC);
}

Loading...