Skip to content

Commit

Permalink
Move to latest x/sys/unix for arm64 fixes.
Browse files Browse the repository at this point in the history
Related to fixes here golang/go#15393
  • Loading branch information
harshavardhana committed Nov 16, 2016
1 parent 2895b0a commit 168d0e9
Show file tree
Hide file tree
Showing 41 changed files with 7,325 additions and 121 deletions.
2 changes: 1 addition & 1 deletion cmd/client-s3.go
Expand Up @@ -671,7 +671,7 @@ var validBucketName = regexp.MustCompile(`^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$`)
// - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
func isValidBucketName(bucketName string) *probe.Error {
if strings.TrimSpace(bucketName) == "" {
return probe.NewError(errors.New("Bucket name cannot be empty."))
return probe.NewError(errors.New("Bucket name cannot be empty"))
}
if len(bucketName) < 3 || len(bucketName) > 63 {
return probe.NewError(errors.New("Bucket name should be more than 3 characters and less than 64 characters"))
Expand Down
2 changes: 1 addition & 1 deletion cmd/queue.go
Expand Up @@ -130,7 +130,7 @@ func (q *Queue) grow(n int) {

// ErrObjectAlreadyQueued occurs when the object being pushed already exists
// in the queue
var ErrObjectAlreadyQueued = fmt.Errorf("Object already queued.")
var ErrObjectAlreadyQueued = fmt.Errorf("Object already queued")

// Count returns the number of items in the queue
func (q *Queue) Count() int {
Expand Down
2 changes: 1 addition & 1 deletion cmd/share-list-main.go
Expand Up @@ -68,7 +68,7 @@ func checkShareListSyntax(ctx *cli.Context) {
// doShareList list shared url's.
func doShareList(cmd string) *probe.Error {
if cmd != "upload" && cmd != "download" {
return probe.NewError(fmt.Errorf("Unknown argument ‘%s’ passed.", cmd))
return probe.NewError(fmt.Errorf("Unknown argument ‘%s’ passed", cmd))
}

// Fetch defaults.
Expand Down
2 changes: 1 addition & 1 deletion cmd/typed-errors.go
Expand Up @@ -28,7 +28,7 @@ var (
}

errInvalidArgument = func() *probe.Error {
return probe.NewError(errors.New("Invalid arguments provided, cannot proceed.")).Untrace()
return probe.NewError(errors.New("Invalid arguments provided, cannot proceed")).Untrace()
}

errUnrecognizedDiffType = func(diff differType) *probe.Error {
Expand Down
27 changes: 0 additions & 27 deletions vendor/golang.org/x/sys/unix/LICENSE

This file was deleted.

20 changes: 20 additions & 0 deletions vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

292 changes: 292 additions & 0 deletions vendor/golang.org/x/sys/unix/mkall.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 168d0e9

Please sign in to comment.