You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor environment handling in posix_process_args for improved clarity
- Updated the `cstr_guard` return logic to enhance readability by removing unnecessary return statements.
- Introduced a new namespace `posix` to encapsulate platform-specific environment variable handling, including `_NSGetEnviron` for Darwin and `environ` for other platforms.
- Streamlined the `get_envs` function to utilize the new `posix` namespace, improving code organization and maintainability.
0 commit comments