OpenSSL version 0.9.6b and before defined the function HMAC_cleanup.
Newer versions define HMAC_CTX_cleanup. Check for HMAC_CTX_cleanup and
fall back to HMAC_cleanup when the newer function is missing.
Signed-off-by: Reuben Hawkins
---
Makefile | 6 ++
configure.ac | 4
The checks will override and unset YesPlease settings for HAVE_CLOCK_GETTIME
and HAVE_CLOCK_MONOTONIC in config.mak.uname.
CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3 systems
being used in production.
Signed-off-by: Reuben Hawkins
---
Makefile
Detect 'tv_nsec' field in 'struct stat' and set Makefile variable
NO_NSEC appropriately.
A side-effect of the above detection is that we also determine
whether 'stat.st_mtimespec' is available, so, as a bonus, set the
Makefile variable USE_ST_TIMESPEC, as well.
On Wed, Jan 7, 2015 at 1:37 PM, Eric Sunshine wrote:
> On Wed, Jan 7, 2015 at 3:23 PM, Reuben Hawkins wrote:
>> CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
>> systems being used in production. This change makes compiling git
>> less tedious
On Wed, Jan 7, 2015 at 1:19 PM, Eric Sunshine wrote:
> On Wed, Jan 7, 2015 at 3:23 PM, Reuben Hawkins wrote:
>> This check will automatically set the correct NO_NSEC setting.
>
> This commit message neglects to mention the important point that
> you're also now setti
On Wed, Jan 7, 2015 at 1:19 PM, Eric Sunshine wrote:
> On Wed, Jan 7, 2015 at 3:23 PM, Reuben Hawkins wrote:
>> This check will automatically set the correct NO_NSEC setting.
>
> This commit message neglects to mention the important point that
> you're also now setti
OpenSSL version 0.9.6b and before defined the function HMAC_cleanup.
Newer versions define HMAC_CTX_cleanup. Check for HMAC_CTX_cleanup and
fall back to HMAC_cleanup when the newer function is missing.
---
Makefile | 3 +++
configure.ac | 7 +++
git-compat-util.h | 3 +++
3 file
This check will automatically set the correct NO_NSEC setting.
---
configure.ac | 12
1 file changed, 12 insertions(+)
diff --git a/configure.ac b/configure.ac
index 6af9647..dcc4bf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -754,6 +754,18 @@ AC_CHECK_TYPES([struct itimerval],
These patches add a few autoconfig checks for nanosecond resolution fields in
struct stat, CLOCK_MONOTONIC, and HMAC_CTX_cleanup. I'm fairly sure I've fixed
the concerns/doubts the first set of patched raised.
(I rarely use git-send-email so forgive me if I botch this)
--
To unsubscribe from this
CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
systems being used in production. This change makes compiling git
less tedious on older platforms without CLOCK_MONOTONIC.
---
Makefile | 4
config.mak.uname | 1 +
configure.ac | 22 ++
tra
On Sun, Dec 21, 2014 at 8:12 PM, brian m. carlson
wrote:
> On Sun, Dec 21, 2014 at 10:53:35AM -0800, Reuben Hawkins wrote:
>> CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
>> systems being used in production. This change makes compiling git
>
CLOCK_MONOTONIC isn't available on RHEL3, but there are still RHEL3
systems being used in production. This change makes compiling git
less tedious on older platforms.
---
configure.ac | 26 ++
trace.c | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --g
Older versions of OpenSSL have HMAC_cleanup, but not HMAC_CTX_cleanup.
This change checks for both, uses HMAC_CTX_cleanup on platforms which
have it, otherwise falls back to HMAC_cleanup.
This changes makes building GIT on older platforms less tedious.
---
Makefile | 6 ++
configure.ac |
This check will automatically set the correct NO_NSEC setting.
---
configure.ac | 19 +++
1 file changed, 19 insertions(+)
diff --git a/configure.ac b/configure.ac
index 6af9647..3cfdd51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -754,6 +754,25 @@ AC_CHECK_TYPES([struct itime
Some really old platforms, rhel3, which don't define CLOCK_MONOTONIC, still
need a way to build git. Some high resolution timer code was added Jul 12,
2014 to aid debugging performance issues. That code uses clock_gettime and
CLOCK_MONOTONIC. That change breaks building git on ancient platforms
fast-import should not use strncmp_icase. When it does, files with
similar names, but different case can be lost in the import. For
example...
M 100644 :1 FileName.txt
D Filename.txt
...would end up deleting FileName from the index during the fast-
import when strncmp_icase is used and core.ign
runtime
* explicitly use strcmp, rather than strcmp_icase (also in
fast-import.c)
* completely rework ignorecase into something that can handle more
options (true, false, sometimes, maybe, partially, etc...)
Signed-off-by: Reuben Hawkins
---
builtin/init-db.
create_default_files was getting a bit long and indented. This
particular bit of code got long enough to be its own function.
Signed-off-by: Reuben Hawkins
---
builtin/init-db.c | 97 +
1 file changed, 53 insertions(+), 44 deletions
18 matches
Mail list logo