Skip to content

Conversation

@bhuntsman
Copy link

The samterm code calls syscall.Mkfifo in two places. When compiling on AIX, this results in a compilation error:

$ go install
./unix.go:25:17: undefined: syscall.Mkfifo
./unix.go:36:22: undefined: syscall.Mkfifo

This is because the Mkfifo call is not implemented for AIX in the syscall package. However, Mkfifo is available in the unix package, which is already imported in cmd/samterm/unix.go. This change uses the Mkfifo from unix instead of syscall.

Fixes #123

The samterm code calls syscall.Mkfifo in two places.  When compiling on
AIX, this results in a compilation error:

$ go install
./unix.go:25:17: undefined: syscall.Mkfifo
./unix.go:36:22: undefined: syscall.Mkfifo

This is because the Mkfifo call is not implemented for AIX in the syscall
package.  However, Mkfifo is available in the unix package, which is
already imported in cmd/samterm/unix.go.  This change uses the Mkfifo from
unix instead of syscall.

Fixes 9fans#123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samterm doesn't compile on AIX

1 participant