Thread (5 messages) 5 messages, 4 authors, 1d ago

Re: [PATCH] trace2: tolerate failed timestamp formatting

From: Taylor Blau <hidden>
Date: 2026-07-20 14:37:38

On Mon, Jul 20, 2026 at 07:29:51AM -0700, Junio C Hamano wrote:
Derrick Stolee [off-list ref] writes:
quoted
quoted
Would it make more sense to fix the xsnprintf()/libintl boundary and
treat Trace2 reentrancy separately? I still can't explain why the
allocation failed, so there may be another GfW-specific piece I’m
missing.
I think that your suggested change has merits and should be pursued.
I'll explore it a bit to confirm.
That band-aid may be a good idea, but I would prefer not to see the
conditional in a common source file like 'wrapper.c'.  Somewhere
MinGW-specific would be more appropriate, would it not?
Yeah, to be clear, I do not think that putting the '#define' here in
'wrapper.c' is appropriate, and included it in my original email only to
demonstrate the shape of the proposed solution.

Thanks,
Taylor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help