mirror of
https://github.com/ksherlock/afp.git
synced 2024-12-27 08:31:11 +00:00
fix linux open bug
This commit is contained in:
parent
dc3c9ed1ce
commit
85305dcab9
@ -461,7 +461,7 @@ namespace afp {
|
||||
close();
|
||||
ec.clear();
|
||||
|
||||
int fd = openX(path, ec);
|
||||
_fd = openX(path, ec);
|
||||
if (ec) return false;
|
||||
|
||||
_mode = mode;
|
||||
|
Loading…
Reference in New Issue
Block a user