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

Replace syscall' package by golang.org/x/sys/unix' #3

Merged

Conversation

flimberger
Copy link
Contributor

The build failed on FreeBSD with:

scp/scp.go:461:21: sysStat.Atim undefined (type *syscall.Stat_t has no field or method Atim)

As syscall package is deprecated according to the official
documentation, replace it by the golang.org/x/sys/unix package. This
also fixes the build on FreeBSD.

The build failed on FreeBSD with:

> scp/scp.go:461:21: sysStat.Atim undefined (type *syscall.Stat_t has no field or method Atim)

As `syscall' package is deprecated according to the official
documentation, replace it by the `golang.org/x/sys/unix' package. This
also fixes the build on FreeBSD.
@andrewchambers
Copy link
Owner

Looks good to me, cheers.

@andrewchambers andrewchambers merged commit 57e3cb4 into andrewchambers:master Oct 26, 2019
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.

None yet

2 participants