View | Details | Raw Unified | Return to bug 170651 | Differences between
and this patch

Collapse All | Expand All

(-)b/bin/sh/var.c (+4 lines)
Lines 515-520 bltinunsetlocale(void) Link Here
515
515
516
/*
516
/*
517
 * Update the localeisutf8 flag.
517
 * Update the localeisutf8 flag.
518
 * And force reinitialization of libedit's key mappings (PR bin/170651).
518
 */
519
 */
519
void
520
void
520
updatecharset(void)
521
updatecharset(void)
Lines 523-528 updatecharset(void) Link Here
523
524
524
	charset = nl_langinfo(CODESET);
525
	charset = nl_langinfo(CODESET);
525
	localeisutf8 = !strcmp(charset, "UTF-8");
526
	localeisutf8 = !strcmp(charset, "UTF-8");
527
#ifndef NO_HISTORY
528
	histedit();
529
#endif
526
}
530
}
527
531
528
void
532
void

Return to bug 170651