diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-01 11:52:21 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-08-01 11:52:21 +0300 |
commit | e2434aa9d42d50651ed9685b5125f58262366081 (patch) | |
tree | 4ea28d1014d83bf36adf74cd9cf9b8b4029d7bc7 /example | |
parent | 964d174c1c44d4810789b198bbf07271cebbe8c8 (diff) |
Add preliminary symlink_handle implementation for POSIX.
Diffstat (limited to 'example')
-rw-r--r-- | example/use_cases.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/use_cases.cpp b/example/use_cases.cpp index 26058a52..740312d6 100644 --- a/example/use_cases.cpp +++ b/example/use_cases.cpp @@ -61,7 +61,7 @@ void read_entire_file1() // In case of racy truncation of file by third party to new length, adjust buffer to // bytes actually read - buffer.resize(filled[0].len); + buffer.resize(filled[0].size()); //! [file_entire_file1] } |