diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-09 19:42:36 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-15 19:06:47 +0300 |
commit | c1bbba36d39e60388d6e9e13418dedb08114f9b2 (patch) | |
tree | 4db77c72791dd76f1aa75e9d0bcb643232bfd963 /test/camera/configuration_default.cpp | |
parent | aca22bc73a10003d26f6c4f4ecdec7ba54910a00 (diff) |
libcamera: file: Create the file on open() if it doesn't exist
When a file is opened in WriteOnly or ReadWrite mode, create it if it
doesn't exist.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/camera/configuration_default.cpp')
0 files changed, 0 insertions, 0 deletions