Re: USE_NSEC bug?

2013-03-20 Thread Andrew Rodland
On Wed, Mar 20, 2013 at 1:31 PM, Junio C Hamano wrote: > Jeff King writes: > >> And the cost is that we have another Makefile knob people need to tweak >> that would not otherwise need to be there. Which can be annoying, but is >> also not that huge a cost to deal with (we might want to improve t

USE_NSEC bug?

2013-03-19 Thread Andrew Rodland
While investigating this StackOverflow question: http://stackoverflow.com/questions/15516168/how-to-cross-compile-git-for-arm I found that fetch-pack.c uses ST_MTIME_NSEC outside of the protection of #ifdef USE_NSEC. This results in a broken build if !defined(USE_NSEC) && !defined(NO_NSEC) and the