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

Fix #752, use OS_READ_ONLY, not O_RDONLY #768

Merged
merged 2 commits into from
Jul 6, 2020

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Jul 2, 2020

Describe the contribution

Calls to OS_open() must use the OSAL-defined symbol, not the POSIX symbol. This was a long-standing bug but happened to work because they are both zero.

Fixes #752

Testing performed
Build and sanity check CFE
Build and run unit tests

Expected behavior changes
None.

System(s) tested on
Ubuntu 20.04
RTEMS 4.11.3

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

skliper and others added 2 commits June 29, 2020 16:14
Calls to OS_open() must use the OSAL-defined symbol, not the POSIX symbol.
This was a long-standing bug but happened to work because they are both
zero.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jul 2, 2020
@jphickey
Copy link
Contributor Author

jphickey commented Jul 2, 2020

@astrogeco , @skliper - I had meant to submit this one for yesterday's CCB. Trivial fix but I think important. Should we get this into 6.8.x cycle (i.e. fast track)?

@skliper
Copy link
Contributor

skliper commented Jul 2, 2020

Yes please.

@astrogeco astrogeco changed the base branch from master to integration-candidate July 6, 2020 15:07
@astrogeco astrogeco merged commit 53d35e5 into nasa:integration-candidate Jul 6, 2020
@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Aug 19, 2020
@skliper skliper added this to the 6.8.0 milestone Aug 21, 2020
@jphickey jphickey deleted the fix-752-open-flag branch October 13, 2020 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CF_ES_StartApplications() uses O_RDONLY instead of OS_READ_ONLY
3 participants