Skip to content

Fix #593, change OCS_off_t to a signed type#594

Merged
yammajamma merged 1 commit intonasa:integration-candidatefrom
jphickey:fix-593-off_t-signed
Sep 10, 2020
Merged

Fix #593, change OCS_off_t to a signed type#594
yammajamma merged 1 commit intonasa:integration-candidatefrom
jphickey:fix-593-off_t-signed

Conversation

@jphickey
Copy link
Contributor

@jphickey jphickey commented Sep 5, 2020

Describe the contribution
The C library type is signed, and this makes the result check work as intended.

Fixes #593

Testing performed
Run all unit tests.
Note OCS_off_t is only used in coverage testing for OSAL.

Expected behavior changes
Fixes issue if caller uses correct type off_t to store result.

System(s) tested on
Ubuntu 20.04

Additional context
Issue was exposed by Travis CI failure in change suggested in PR #592, but really a separate issue.

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

The C library type is signed, and this makes the
result check work as intended.
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 5, 2020
@jphickey jphickey mentioned this pull request Sep 5, 2020
@astrogeco
Copy link
Contributor

CCB 2020-09-09 APPROVED

@yammajamma yammajamma added IC-20200909 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Sep 10, 2020
@yammajamma yammajamma changed the base branch from main to integration-candidate September 10, 2020 15:12
@yammajamma yammajamma merged commit fcc2684 into nasa:integration-candidate Sep 10, 2020
@jphickey jphickey deleted the fix-593-off_t-signed branch December 3, 2020 17:26
@skliper skliper added this to the 6.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.

OCS_off_t should be a signed type

4 participants