Skip to content

fix: typo in parameter documentation for overwrite#557

Merged
sloretz merged 1 commit intoros2:rollingfrom
MiguelCompany:patch-1
Apr 22, 2026
Merged

fix: typo in parameter documentation for overwrite#557
sloretz merged 1 commit intoros2:rollingfrom
MiguelCompany:patch-1

Conversation

@MiguelCompany
Copy link
Copy Markdown
Contributor

Description

Fixes a typo I discovered while reviewing ros2/rmw_fastrtps#872

The behavior of the overwrite parameter in rcutils_set_env_overwrite is what one would expect:

  • true means change value if variable was already set
  • false means keep value if variable was already set

Surprisingly, the documentation said the opposite.

Is this user-facing behavior change?

No, but it fixes the documentation to the actual behavior.

Did you use Generative AI?

No

Additional Information

Backporting probably makes sense.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
@christophebedard
Copy link
Copy Markdown
Member

Pulls: #557
Gist: https://gist.githubusercontent.com/christophebedard/24ac84a7fdbbd2a9d765e8025c7d2cdc/raw/22439404ca94fed6302ad58c0cef3eea24574bea/ros2.repos
BUILD args: --packages-up-to rcutils
TEST args: --packages-select rcutils
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19048

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@christophebedard
Copy link
Copy Markdown
Member

@sloretz I assume it's fine to merge this documentation fix during the freeze?

@christophebedard
Copy link
Copy Markdown
Member

not sure why the CI job badges above aren't updating, but all jobs passed.

Copy link
Copy Markdown
Contributor

@sloretz sloretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, documentation fixing is fine post-freeze

@sloretz sloretz merged commit 717be79 into ros2:rolling Apr 22, 2026
3 checks passed
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.

3 participants