2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 12:27:33 +00:00
restic/internal
greatroar 51dc80be5b backend: Use IoctlSetPointerInt for tcsetpgrp
This function casts its argument to int32 before passing it to the
system call, so that big-endian CPUs read the lower rather than the
upper 32 bits of the pid.

This also gets rid of the last import of "unsafe" in the Unix build.
I changed syscall to x/sys/unix while I was at it, to remove one more
import line. The constants and types there are aliases for their syscall
counterparts.
2023-05-25 17:31:51 +02:00
..
archiver Merge pull request #4089 from greatroar/errors 2022-12-24 10:41:56 +01:00
backend backend: Use IoctlSetPointerInt for tcsetpgrp 2023-05-25 17:31:51 +02:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache cache: Replace readCloser+LimitedReader by backend.LimitedReadCloser 2023-01-03 19:03:36 +01:00
checker Merge pull request #4089 from greatroar/errors 2022-12-24 10:41:56 +01:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
dump dump: Report filename with tar.ErrFieldTooLong 2023-04-27 11:45:41 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
fuse repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index index: Optimize generatePackList 2023-01-14 20:41:07 +01:00
migrations repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository repository: properly return invalid data error in LoadUnpacked 2023-01-14 17:57:02 +01:00
restic Fix deadlock in Lock.Stale 2023-01-27 03:21:37 +11:00
restorer Merge pull request #4089 from greatroar/errors 2022-12-24 10:41:56 +01:00
selfupdate self-update: add basic test for extractToFile 2023-01-22 15:39:42 +01:00
test test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui termstatus: Fix IsProcessBackground for 64-bit big-endian Linux 2023-05-25 17:20:42 +02:00
walker rewrite: Fail if a tree contains an unknown field 2022-11-12 19:55:22 +01:00