summaryrefslogtreecommitdiff
path: root/camlibs
diff options
context:
space:
mode:
authorIngvar Stepanyan <me@rreverser.com>2022-09-26 15:43:07 +0100
committerGitHub <noreply@github.com>2022-09-26 16:43:07 +0200
commitfb2b1283531bcaccc628c234f2a4f5082d102b8e (patch)
tree0125612683f3a4cf9605ad081f989263c64476d6 /camlibs
parentc387e6be1140414c64dbc1b9d0551cd757e4a9b2 (diff)
downloadlibgphoto2-fb2b1283531bcaccc628c234f2a4f5082d102b8e.tar.gz
Unify & fix file reading in vcamera (#841)
`read` can (and, in my case, did) return partial result instead of reading the whole number of bytes provided, leading to errors. I replaced `open` / `read` with `fopen` / `fread` instead, which don't suffer from this issue, as well as extracted into a helper function.
Diffstat (limited to 'camlibs')
0 files changed, 0 insertions, 0 deletions