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 #893, replace calls to OS_open and OS_creat #895

Merged

Conversation

jphickey
Copy link
Contributor

Describe the contribution

Use OS_OpenCreate(), which has an API consistent with the rest of OSAL.
OS_open and OS_create will be deprecated in nasa/osal#556.

Fixes #893

Testing performed
Build CFE and run unit tests
Sanity test CFE by sending commands that use files (e.g. CFE_ES_QUERY_ALL_TASKS_CC) using cmdUtil and verify functionality is not changed.

Expected behavior changes
No impact to behavior.

System(s) tested on
Ubuntu 20.04

Additional context
Note that OS_open and OS_creat were already just backward compatibility wrappers around OS_OpenCreate that mimicked the historical API. This just bypasses the wrapper.

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

Use OS_OpenCreate instead, which has an API consistent with the
rest of OSAL.  OS_open and OS_create will be deprecated.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Sep 22, 2020
@astrogeco
Copy link
Contributor

CCB 2020-09-23 APPROVED

@yammajamma yammajamma added CCB-20200923 and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Sep 23, 2020
@yammajamma yammajamma changed the base branch from main to integration-candidate September 24, 2020 12:48
@yammajamma yammajamma merged commit 56254e9 into nasa:integration-candidate Sep 24, 2020
@jphickey jphickey deleted the fix-893-osal-open-create branch September 29, 2020 21:52
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
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.

Replace calls OS_open and OS_create with OS_OpenCreate
4 participants