Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk bfs_get、bfs_put返回值问题 #922

Closed
zhiqli opened this issue Oct 26, 2017 · 0 comments
Closed

sdk bfs_get、bfs_put返回值问题 #922

zhiqli opened this issue Oct 26, 2017 · 0 comments

Comments

@zhiqli
Copy link

zhiqli commented Oct 26, 2017

if (fs->bfs_fs->OpenFile(bfs, O_RDONLY, &file,
baidu::bfs::ReadOptions()) != 0) {
return 2;
}

这个返回值不能为2,否则上层无法进行错误判断;应该返回OpenFile的返回值

@zhiqli zhiqli closed this as completed May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant