summaryrefslogtreecommitdiffstats
path: root/debian/patches/nroff-ifs.patch
blob: bee5851b5c9af3ce18d5b5b6cf20da1d34a05350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5820d2ee6514013f1ee6477935ed13a5230c2cca Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 2 Jan 2014 13:13:12 +0000
Subject: Unset IFS at nroff startup

It's questionable whether we should forward this; as noted in the bug
trail, there's a decent argument that this is a dash bug.

Bug-Debian: https://bugs.debian.org/541621
Forwarded: no
Last-Update: 2018-03-05

Patch-Name: nroff-ifs.patch
---
 src/roff/nroff/nroff.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
index 77f5c069e..14e4bd0f1 100644
--- a/src/roff/nroff/nroff.sh
+++ b/src/roff/nroff/nroff.sh
@@ -20,6 +20,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+unset IFS
+
 prog="$0"
 
 T=