Commit e83874d
committed
Fix fs.stat for large file sizes
The the size of an image was > ~4GB (max value that could be stored in a 32-bit integer the stat function threw an error - there was a type mismatch between node and the c function that combined the upper and lower 32 bits of the image size that is stored in the inode.
Change-type: patch
Signed-off-by: Ryan Cooke<ryan@balena.io>1 parent 7028be1 commit e83874d
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
| 286 | + | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | | - | |
| 1380 | + | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
| |||
0 commit comments