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

[process][freebsd]: add CWD #1765

Merged
merged 1 commit into from
Dec 30, 2024
Merged

[process][freebsd]: add CWD #1765

merged 1 commit into from
Dec 30, 2024

Conversation

shirou
Copy link
Owner

@shirou shirou commented Dec 29, 2024

This PR adds process.Cwd() on FreeBSD. CWD() returns the current working directory of that process.

It looks there are a lot of diff lines, but those are just a format change. Please look with "Hide whitespace changes".

Type generated environments

  • ARM64: FreeBSD 14.1-STABLE-arm64-20240919 UEFI-PREFERRED cloud-init ZFS on AWS
  • AMD64: FreeBSD 13.4-RELEASE-p1 GENERIC amd64

Unfortunately, I don't have a i386 and arm environment. Just copied from arm64 and amd64 into i386 and arm to avoid compile error. However, it should not work correctly.

@shirou shirou merged commit 90efec0 into master Dec 30, 2024
45 checks passed
@shirou shirou deleted the feat/process_cwd_freebsd branch December 30, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant