Skip to content

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