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

Created px4_access to handle check of virtual files #2269

Merged
merged 1 commit into from
Jun 4, 2015
Merged

Created px4_access to handle check of virtual files #2269

merged 1 commit into from
Jun 4, 2015

Conversation

mcharleb
Copy link
Contributor

@mcharleb mcharleb commented Jun 3, 2015

uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.

Signed-off-by: Mark Charlebois charlebm@gmail.com

uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
LorenzMeier added a commit that referenced this pull request Jun 4, 2015
Created px4_access to handle check of virtual files
@LorenzMeier LorenzMeier merged commit fe82b41 into PX4:master Jun 4, 2015
@LorenzMeier LorenzMeier deleted the uorb-posix-fix branch June 4, 2015 06:39
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

Successfully merging this pull request may close these issues.

2 participants