zdd2016 opened a new issue, #6619:
URL: https://github.com/apache/incubator-nuttx/issues/6619

   bch_read/bch_write function: the new position of the filep was set to be bad 
value while read/write actual length is less than the expexted length.
   
   1.  bch_read:
        ret = bchlib_write(bch, buffer, filep->f_pos, len);
         if (ret > 0)
           {
             filep->f_pos += len; 
           }
   
   2.  bch_write:
        ret = bchlib_write(bch, buffer, filep->f_pos, len);
         if (ret > 0)
           {
             filep->f_pos += len;
           }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to