Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority High
  • Reported Version Daily build (which?)
  • Due in Version Version 3.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by aeickho - 2004-11-06
Last edited by christi-s - 2006-03-19

FS#2387 - Splitedit: Disc full Handling

When disk is full splitedit hangs while is crate the
new file

Closed by  bger
2006-04-02 21:29
Reason for closing:  Fixed

snipp from splitedit.c
(

  int dest, 
  int src, 
  unsigned int bytes, 
  int prg_y, 
  int prg_h) 

{

  unsigned char *buffer; 
  unsigned int i = 0; 
  ssize_t bytes_read = 1; /* ensure the for loop is executed */ 
  unsigned int buffer_size; 
  buffer = rb->plugin_get_buffer(&buffer_size); 
  for (i = 0; i < bytes && bytes_read > 0; i += bytes_read) 
  { 
      ssize_t bytes_written; 
      unsigned int bytes_to_read = 
          bytes - i > buffer_size ? buffer_size : bytes - i; 
      bytes_read = rb->read(src, buffer, bytes_to_read); 
      bytes_written = rb->write(dest, buffer, bytes_read); 
     

bytes_written is not checkted

   

Is this still unfixed in the latest CVS?

Please retest. This should be fixed in the latest CVS builds.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing