Commits
Click on a commit to change the comparison rangerefactor(install): remove unused MAIN_SEPARATOR import2 months ago
by mattsu2020 feat(install): Add Windows-specific path handling and unsupported option checks
- Introduce `is_path_separator_byte` function to handle both '/' and '\' separators on Windows, improving cross-platform compatibility.
- Add Windows-only validation to reject unsupported options like --strip, --strip-program, --preserve-context, -Z, and --context, ensuring platform-specific error handling.
- Update path trimming logic in `standard` function to use the new separator check.
- Add tests for Windows unsupported options to verify correct failure behavior.17 days ago
by mattsu2020 Merge branch 'main' into install-windows-build12 days ago
by mattsu2020 Merge branch 'main' into install-windows-build fix: properly handle SIGPIPE in install command for GNU compatibility
Restore SIGPIPE to default if it wasn't explicitly ignored by parent. The Rust runtime ignores SIGPIPE, but for proper pipeline behavior and compatibility with GNU install, we need to respect the parent's signal disposition. This ensures install behaves correctly in pipelines, exiting with error on broken pipes unless the parent ignored SIGPIPE.