1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
Aaron Lehmann 1f61084d83 Fix uses of "int" where "int64" should be used instead
Some structures use int for sizes and UNIX timestamps. On some
platforms, int is 32 bits, so this can lead to the year 2038 issues and
overflows when dealing with large containers or layers.

Consistently use int64 to store sizes and UNIX timestamps in
api/types/types.go. Update related to code accordingly (i.e.
strconv.FormatInt instead of strconv.Itoa).

Use int64 in progressreader package to avoid integer overflow when
dealing with large quantities. Update related code accordingly.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-31 16:31:40 -07:00
..
command Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
parser Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
bflag.go Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
bflag_test.go Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
dispatchers.go Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
evaluator.go Add ulimit to docker build. 2015-07-23 10:26:06 +08:00
internals.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
internals_unix.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
internals_windows.go Windows: Fixup builder\internals.go 2015-05-20 08:55:13 -07:00
job.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
job_test.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
shell_parser.go Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
shell_parser_test.go Fix some escaping around env var processing 2015-03-20 20:09:00 -07:00
support.go Fix golint warnings for builder 2015-07-22 13:29:03 +08:00
support_test.go Support downloading remote tarball contexts in builder jobs. 2015-06-19 16:35:00 -03:00
words Add support for more advanced ${xxx:...} syntax 2015-04-01 08:11:15 -07:00