lseek does not propery return disk sizes in MacOS (26) #2

Open
opened 2026-08-30 22:25:08 +03:00 by splatink · 0 comments
Owner

Using lseek to determine disk size is wrong and only work under Linux. The proper way to do so could be stat?. Currently, for cflash to work under MacOS the two size checks before the loop have to be commented out.

Using lseek to determine disk size is wrong and only work under Linux. The proper way to do so could be stat?. Currently, for cflash to work under MacOS the two size checks before the loop have to be commented out.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
splatink/cflash#2
No description provided.