Re: [BUG] git cat-file does not terminate
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 9, 2011, 19:32 UTC
- Message-ID
- <7vzkp49jk3.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4D779385.3070602@tweerlei.de>
Robert Wruck <wruck@tweerlei.de> writes:
Show 7 quoted lines
>> I asked (1) if we can find out at runtime if we are on which version of >> cygwin1.dll, and (2) if we can have a small list of "bad" versions of >> cygwin1.dll. If both are true, the runtime test should be trivial, no? > > Currently I don't know of a programmatic way to get the cygwin version > except `cygcheck -c cygwin` or `uname -r` but these utilities seem to > know where to find it. I'll take a look at the source.
Thanks; it is not very critical so don't spend too much effort trying to find a way to do so at runtime. We can always use the approach Jeff's Makefile patch took to make it safe (and potentially slow) by default on all Cygwin while still allowing people on an unaffected version to turn the workaround off while building.