From: Martin Koegler <martin.koegler@chello.at>
To: git@vger.kernel.org, gitster@pobox.com, Johannes.Schindelin@gmx.de
Cc: Martin Koegler <martin.koegler@chello.at>
Subject: [Patch size_t V3 00/19] use size_t
Date: Wed, 16 Aug 2017 22:16:12 +0200 [thread overview]
Message-ID: <1502914591-26215-1-git-send-email-martin@mail.zuhause> (raw)
From: Martin Koegler <martin.koegler@chello.at>
This patchset is for next [24db08a6e8fed761d3bace7f2d5997806e20b9f7].
Its a complete collection of all patches. Some errors were fixed and
it sticks with off_t for length in (pack) files. Object sizes are handled
as size_t.
Martin Koegler (19):
delta: fix enconding size larger than an "uint" can hold
Convert size datatype to size_t
Convert zlib.c to size_t
delta: Fix offset overflows
Convert sha1_file.c to size_t
Use size_t for sha1
Convert parse_X_buffer to size_t
Convert fsck.c & commit.c to size_t
Convert cache functions to size_t
Add overflow check to get_delta_hdr_size
Use size_t for config parsing
Convert pack-objects to size_t
Convert index-pack to size_t
Convert unpack-objects to size_t
Convert archive functions to size_t
Convert various things to size_t
Convert ref-filter to size_t
Convert tree-walk to size_t
Convert xdiff-interface to size_t
Documentation/technical/api-parse-options.txt | 2 +-
apply.c | 6 +-
archive-tar.c | 20 ++---
archive-zip.c | 24 ++---
archive.c | 2 +-
archive.h | 2 +-
bisect.c | 2 +-
blame.c | 6 +-
blame.h | 2 +-
blob.c | 2 +-
blob.h | 2 +-
block-sha1/sha1.c | 2 +-
block-sha1/sha1.h | 2 +-
builtin/cat-file.c | 14 +--
builtin/difftool.c | 2 +-
builtin/fast-export.c | 8 +-
builtin/fmt-merge-msg.c | 4 +-
builtin/fsck.c | 4 +-
builtin/grep.c | 8 +-
builtin/index-pack.c | 40 ++++-----
builtin/log.c | 4 +-
builtin/ls-tree.c | 4 +-
builtin/merge-tree.c | 6 +-
builtin/mktag.c | 4 +-
builtin/notes.c | 6 +-
builtin/pack-objects.c | 84 +++++++++---------
builtin/reflog.c | 2 +-
builtin/replace.c | 2 +-
builtin/tag.c | 4 +-
builtin/unpack-file.c | 2 +-
builtin/unpack-objects.c | 34 +++----
builtin/verify-commit.c | 2 +-
bundle.c | 2 +-
cache-tree.c | 6 +-
cache-tree.h | 2 +-
cache.h | 54 ++++++------
combine-diff.c | 11 +--
commit.c | 22 ++---
commit.h | 10 +--
config.c | 29 ++++--
config.h | 2 +
convert.c | 18 ++--
delta.h | 31 ++++---
diff-delta.c | 42 +++++----
diff.c | 46 +++++-----
diff.h | 2 +-
diffcore-pickaxe.c | 4 +-
diffcore.h | 2 +-
dir.c | 6 +-
dir.h | 2 +-
entry.c | 4 +-
environment.c | 4 +-
fast-import.c | 24 ++---
fsck.c | 16 ++--
fsck.h | 2 +-
grep.h | 2 +-
http-push.c | 5 +-
mailmap.c | 2 +-
match-trees.c | 4 +-
merge-blobs.c | 6 +-
merge-blobs.h | 2 +-
merge-recursive.c | 4 +-
notes-cache.c | 2 +-
notes-merge.c | 2 +-
notes.c | 6 +-
object.c | 4 +-
object.h | 2 +-
pack-check.c | 8 +-
pack-objects.h | 6 +-
pack.h | 2 +-
parse-options.c | 6 +-
patch-delta.c | 11 +--
ppc/sha1.c | 2 +-
ppc/sha1.h | 2 +-
read-cache.c | 22 ++---
ref-filter.c | 38 ++++----
remote-testsvn.c | 4 +-
rerere.c | 2 +-
sha1_file.c | 122 +++++++++++++-------------
sha1dc_git.c | 2 +-
sha1dc_git.h | 2 +-
streaming.c | 10 +--
streaming.h | 2 +-
submodule-config.c | 2 +-
t/helper/test-delta.c | 2 +-
tag.c | 8 +-
tag.h | 2 +-
tree-walk.c | 25 +++---
tree-walk.h | 4 +-
tree.c | 4 +-
tree.h | 4 +-
wrapper.c | 8 +-
xdiff-interface.c | 10 +--
xdiff-interface.h | 6 +-
zlib.c | 8 +-
95 files changed, 525 insertions(+), 489 deletions(-)
--
2.1.4
next reply other threads:[~2017-08-16 20:17 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 20:16 Martin Koegler [this message]
2017-08-16 20:16 ` [Patch size_t V3 01/19] delta: fix enconding size larger than an "uint" can hold Martin Koegler
2017-08-17 20:28 ` Torsten Bögershausen
2017-08-16 20:16 ` [Patch size_t V3 02/19] Convert size datatype to size_t Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 03/19] Convert zlib.c " Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 04/19] delta: Fix offset overflows Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 05/19] Convert sha1_file.c to size_t Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 06/19] Use size_t for sha1 Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 07/19] Convert parse_X_buffer to size_t Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 08/19] Convert fsck.c & commit.c " Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 09/19] Convert cache functions " Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 10/19] Add overflow check to get_delta_hdr_size Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 11/19] Use size_t for config parsing Martin Koegler
2017-08-24 20:29 ` Johannes Sixt
2017-08-16 20:16 ` [Patch size_t V3 12/19] Convert pack-objects to size_t Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 13/19] Convert index-pack " Martin Koegler
2017-08-16 21:42 ` Ramsay Jones
2017-08-16 20:16 ` [Patch size_t V3 14/19] Convert unpack-objects " Martin Koegler
2017-08-16 20:16 ` [Patch size_t V3 15/19] Convert archive functions " Martin Koegler
2017-08-21 6:42 ` Junio C Hamano
2017-08-22 1:19 ` brian m. carlson
2017-08-16 20:16 ` [Patch size_t V3 16/19] Convert various things " Martin Koegler
2017-08-21 6:34 ` Junio C Hamano
2017-08-16 20:16 ` [Patch size_t V3 17/19] Convert ref-filter " Martin Koegler
2017-08-17 18:03 ` Junio C Hamano
2017-08-17 18:04 ` Junio C Hamano
2017-08-16 20:16 ` [Patch size_t V3 18/19] Convert tree-walk " Martin Koegler
2017-08-17 17:53 ` Junio C Hamano
2017-08-16 20:16 ` [Patch size_t V3 19/19] Convert xdiff-interface " Martin Koegler
2017-08-17 17:49 ` Junio C Hamano
2017-08-16 21:33 ` [Patch size_t V3 00/19] use size_t Junio C Hamano
2017-08-17 20:35 ` Torsten Bögershausen
2017-08-18 7:08 ` Martin Koegler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502914591-26215-1-git-send-email-martin@mail.zuhause \
--to=martin.koegler@chello.at \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).