# std.Io.Threaded: dirRealPathFilePosix use libc realpath sometimes · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/315bc10a0cbdb6e1cfa5c7786d7f128e19d2cd39)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 315bc10a0cbdb6e1cfa5c7786d7f128e19d2cd39

Requested commit: 315bc10a0cbdb6e1cfa5c7786d7f128e19d2cd39

Commit: 315bc10a0cbdb6e1cfa5c7786d7f128e19d2cd39

Tree: 1124d465c7e9bd6930f3462b442b5f30516a9cd9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: dirRealPathFilePosix use libc realpath sometimes

When linking libc, and the directory is the cwd.

This avoids bugs on FreeBSD.

```

## Parents

- [02e560d9ef7885f39e401d9e30ba2c5119ea1891](https://git.cafe/gitcafe/zig/commit/02e560d9ef7885f39e401d9e30ba2c5119ea1891?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/315bc10a0cbdb6e1cfa5c7786d7f128e19d2cd39?format=markdown)
