author | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 Dec 2011 19:32:33 +0000 (11:32 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 Dec 2011 19:32:33 +0000 (11:32 -0800) |
* na/strtoimax:
Support sizes >=2G in various config options accepting 'g' sizes.
Compatibility: declare strtoimax() under NO_STRTOUMAX
Add strtoimax() compatibility function.
Support sizes >=2G in various config options accepting 'g' sizes.
Compatibility: declare strtoimax() under NO_STRTOUMAX
Add strtoimax() compatibility function.
1 | 2 | |||
---|---|---|---|---|
Makefile | patch | | diff1 | | diff2 | | blob | history |
config.c | patch | | diff1 | | diff2 | | blob | history |
git-compat-util.h | patch | | diff1 | | diff2 | | blob | history |
diff --cc Makefile
Simple merge
diff --cc config.c
index b6d789a189713a0259e3f8eb0e29ef657cde66c7,43aa456be1468b5e8be9e4a18675a5ca4cdf70e7..5ea101fb251d27eadac20c665a7f01fb210c20d1
+++ b/config.c
if (get_value(fn, data, var, baselen+1) < 0)
break;
}
- die("bad config file line %d in %s", config_linenr, config_file_name);
+ die("bad config file line %d in %s", cf->linenr, cf->name);
}
- static int parse_unit_factor(const char *end, unsigned long *val)
+ static int parse_unit_factor(const char *end, uintmax_t *val)
{
if (!*end)
return 1;
diff --cc git-compat-util.h
Simple merge