Windrow14 opened a new pull request, #2430:
URL: https://github.com/apache/nuttx-apps/pull/2430

   ## Title
   
   Fix Wrong Offset in Fseek from SEEK_END
   
   
   ## Summary
   
   testing/smart_test/smart_test.c: To seek to the last 30 bytes of the file, 
offset from SEEK_END should be negative.
   
   
   ## Impact
   
   Bug fixed.
   
   
   ## Testing
   
   ```
   nsh> smart_test -c 1000 -s 1000 -w 1000 /mnt/smart
   Creating file /mnt/smart for write mode
   Writing test data.  2000 lines to write
   1999
   Done.
   Performing 1000 random seek tests
   1000
   Append test passed
   Performing 1000 random seek with write tests
   999
   Pass
   Creating circular log with 40000 records
   Performing 1000 circular log record update tests
   999
   Pass
   ```
   


-- 
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