~vcs-imports/quilt/master

Viewing all changes in revision 1413.

  • Committer: Jean Delvare
  • Author(s): Urs Thuermann
  • Date: 2020-03-23 13:30:23 UTC
  • Revision ID: git-v1:bb71c452d3cb1230259287a3da208a14bcf101fc
Call pager with original LANG environment variable

Author: Urs Thuermann <urs@isnogud.escape.de>
Date:   Tue Feb 11 06:43:05 2020 +0100

Call pager with original LANG environment variable

The first few lines in quilt/scripts/patchfns set the LANG environment
variable to POSIX saving the previous value in ORIGINAL_LANG.  This is
used to restore the original locale when calling a user-specified diff
command but not for the pager.  Without this patch the pager is called
with LANG=POSIX causing non-ASCII characters to be printed wrong
unless LC_CTYPE is also set in the environment.

This patch restores LANG for the pager to its original value.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: