diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-14 16:46:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-15 08:41:39 +0100 |
commit | 3720add736e7a3974ff869d92bca5e454ec302a4 (patch) | |
tree | 231986ad36f34597010df1125aefcb1719beaa42 /apps/files/js/fileactions.js | |
parent | 61d66d79544e3bd17a4f96a569fc24596ec414db (diff) | |
download | nextcloud-server-3720add736e7a3974ff869d92bca5e454ec302a4.tar.gz nextcloud-server-3720add736e7a3974ff869d92bca5e454ec302a4.zip |
Add a wrapper to determine if a file is EOF
The stream is already closed at this point. Which means feof will always
return false. We have to determine if the stream is EOF in the
preCloseCallback. And pass this info along. Then the logic works as
expected.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/fileactions.js')
0 files changed, 0 insertions, 0 deletions