libgit2/src
Vicent Marti 2fc78e700c posix: Portable vsnprintf
Our good, lovely folks at Microsoft decided that there was no good
reason to make `vsnprintf` compilant with the C standard, so that
function in Windows returns -1 on overflow, instead of returning the
actual byte count needed to write the full string.

We now handle this situation more gracefully with the POSIX
compatibility layer, by returning the needed byte size using an
auxiliary method instead of blindly resizing the target buffer until it
fits.

This means we can now support `printf`s of any size by allocating a
temporary buffer. That's good.
2011-07-09 02:40:16 +02:00
..
ppc Add support to enable the library to use OpenSSL SHA1 functions 2010-05-04 21:36:12 +02:00
unix posix: Portable vsnprintf 2011-07-09 02:40:16 +02:00
win32 posix: Portable vsnprintf 2011-07-09 02:40:16 +02:00
blob.c fileops: Cleanup 2011-07-05 02:04:03 +02:00
blob.h I broke your bindings 2011-03-20 21:45:11 +02:00
bswap.h bswap.h: Add ntohs() and htons() functions 2010-10-27 00:59:05 +03:00
cache.c cache: Drop cuckoo hashing 2011-05-17 01:46:07 +03:00
cache.h Deleted unused method git_cached_object_match, since we do not explore the cache when searching objects from a short oid. 2011-06-01 23:40:42 +02:00
cc-compat.h msvc: Disable a level 4 warning and change -W3 to -W4 2010-06-07 19:46:17 +01:00
commit.c signature: Fix optional header 2011-07-09 02:40:16 +02:00
commit.h I broke your bindings 2011-03-20 21:45:11 +02:00
common.h build: Move OS-specific compat to their own folders 2011-07-03 13:33:43 +02:00
config_file.c Correctly detect truncated input in header parsing 2011-07-05 02:32:17 +02:00
config.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
config.h Add git_repository_config API 2011-06-17 22:30:29 +02:00
delta-apply.c delta-apply.c: Move to new error handling mechanism 2011-05-23 20:44:10 +03:00
delta-apply.h I broke your bindings 2011-03-20 21:45:11 +02:00
dir.h Revert "Properly export all external symbols in Win32" 2010-12-23 00:44:41 +02:00
errors.c test: Properly show error messages 2011-06-28 21:10:51 +02:00
filebuf.c posix: Portable vsnprintf 2011-07-09 02:40:16 +02:00
filebuf.h I broke your bindings 2011-03-20 21:45:11 +02:00
fileops.c refs: Cleanup reference renaming 2011-07-06 18:08:13 +02:00
fileops.h refs: Cleanup reference renaming 2011-07-06 18:08:13 +02:00
hash.c build: Simplify build structure 2011-07-01 17:26:23 +02:00
hash.h Change the library include file 2010-12-06 23:03:16 +02:00
hashtable.c cleanup: remove trailing spaces 2011-07-01 18:02:56 +02:00
hashtable.h Include common.h in hashtable.h 2011-07-05 14:38:33 +02:00
index.c index: Return GIT_ENOTFOUND when an entry cannot be opened 2011-07-09 02:40:15 +02:00
index.h index: Add API for unmerged entries 2011-04-21 10:54:54 +02:00
map.h fileops: Cleanup 2011-07-05 02:04:03 +02:00
netops.c Fix network MSYS compilation 2011-07-06 12:48:23 +02:00
netops.h Use gitno_buffer in the git transport 2011-06-27 02:09:49 +02:00
object.c short-oid: Cleanup 2011-06-01 23:40:42 +02:00
odb_loose.c fileops: Cleanup 2011-07-05 02:04:03 +02:00
odb_pack.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
odb.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
odb.h I broke your bindings 2011-03-20 21:45:11 +02:00
oid.c index: Return GIT_ENOTFOUND when an entry cannot be opened 2011-07-09 02:40:15 +02:00
path.c fileops: Drop git_fileops_prettify_path 2011-07-05 02:06:26 +02:00
path.h fileops: Drop git_fileops_prettify_path 2011-07-05 02:06:26 +02:00
pkt.c Use gitno_buffer in the git transport 2011-06-27 02:09:49 +02:00
posix.c fileops: Cleanup 2011-07-05 02:04:03 +02:00
posix.h fileops: Cleanup 2011-07-05 02:04:03 +02:00
pqueue.c cleanup: remove trailing spaces 2011-07-01 18:02:56 +02:00
pqueue.h cleanup: remove trailing spaces 2011-07-01 18:02:56 +02:00
reflog.c reflog: add API to read or write a reference log 2011-07-09 02:40:16 +02:00
reflog.h reflog: add API to read or write a reference log 2011-07-09 02:40:16 +02:00
refs.c reference_rename: fix flaw in force-renaming 2011-07-07 21:31:59 +02:00
refs.h reference_rename: git compliant reference renaming 2011-07-06 12:25:27 +02:00
refspec.c Add git_refspec_transform 2011-06-26 18:18:11 +02:00
refspec.h Add a remotes API 2011-06-26 18:18:10 +02:00
remote.c Slim down git_transport 2011-06-27 20:23:47 +02:00
remote.h Add git_remote_connect and git_remote_ls 2011-06-27 02:12:40 +02:00
repository.c repository: fix typo'ed assert 2011-07-05 11:00:32 -07:00
repository.h index: Change the memory management for repo indexes 2011-06-01 18:54:47 +02:00
revwalk.c revwalk: Properly mark uninteresting commits 2011-07-06 19:46:41 +02:00
sha1_lookup.c Sha1Lookup: Fixed two MSVC compilation warnings. 2011-06-03 21:03:58 +02:00
sha1_lookup.h Added git.git sha1 lookup method to replace simple binary search in pack backend. 2011-06-01 23:40:41 +02:00
sha1.c build: Simplify build structure 2011-07-01 17:26:23 +02:00
sha1.h build: Simplify build structure 2011-07-01 17:26:23 +02:00
signature.c signature: Fix optional header 2011-07-09 02:40:16 +02:00
signature.h Change parse methods to const buffer 2011-04-02 12:42:04 +03:00
t03-data.h Add support for SQLite backends 2011-02-05 19:45:57 +02:00
tag.c signature: Fix optional header 2011-07-09 02:40:16 +02:00
tag.h I broke your bindings 2011-03-20 21:45:11 +02:00
thread-utils.c Wrap malloc and friends and report out of memory as GIT_ENOMEM 2008-12-30 23:28:30 -08:00
thread-utils.h Fix MSVC warnings when building threads 2011-03-22 20:38:30 +02:00
transport_git.c Fix network MSYS compilation 2011-07-06 12:48:23 +02:00
transport_local.c Also update local_connect's unused var name for MSVC 2011-07-05 21:50:51 +02:00
transport.c Slim down git_transport 2011-06-27 20:23:47 +02:00
transport.h Slim down git_transport 2011-06-27 20:23:47 +02:00
tree.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
tree.h Build & write custom trees in memory 2011-04-04 19:25:33 +03:00
tsort.c tsort: remove unused but set variable 2011-07-07 18:14:53 +02:00
util.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
util.h Fix MSVC compilation warnings 2011-07-07 12:12:34 +02:00
vector.c vector: Timsort all of the things 2011-07-07 02:54:07 +02:00
vector.h vector: implement git_vector_uniq() 2011-07-05 17:52:39 +03:00