Thread (1 message) 1 message, 1 author, 2018-11-02

Re: [PATCH v3] i18n: make GETTEXT_POISON a runtime option

From: Junio C Hamano <hidden>
Date: 2018-11-02 03:12:03

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
Change the GETTEXT_POISON compile-time + runtime GIT_GETTEXT_POISON
test parameter to only be a GIT_TEST_GETTEXT_POISON=<non-empty?>
runtime parameter, to be consistent with other parameters documented
in "Running tests with special setups" in t/README.
...
 #ifndef NO_GETTEXT
 extern void git_setup_gettext(void);
 extern int gettext_width(const char *s);
 #else
 static inline void git_setup_gettext(void)
 {
+	use_gettext_poison();; /* getenv() reentrancy paranoia */
 }
Too many "case/esac" statement in shell scripting?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help