Module Name:    src
Committed By:   cjep
Date:           Sun Jul 11 10:51:46 UTC 2021

Modified Files:
        src/usr.sbin/sysinst: msg_xlat.sh

Log Message:
We need IFS to be set to % for the rest of the script so be explicit
about it. Fixes message truncation for non-English in sysinst.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/msg_xlat.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/msg_xlat.sh
diff -u src/usr.sbin/sysinst/msg_xlat.sh:1.3 src/usr.sbin/sysinst/msg_xlat.sh:1.4
--- src/usr.sbin/sysinst/msg_xlat.sh:1.3	Tue Jun 29 08:02:50 2021
+++ src/usr.sbin/sysinst/msg_xlat.sh	Sun Jul 11 10:51:46 2021
@@ -1,5 +1,5 @@
 #! /bin/sh
-#	$NetBSD: msg_xlat.sh,v 1.3 2021/06/29 08:02:50 cjep Exp $
+#	$NetBSD: msg_xlat.sh,v 1.4 2021/07/11 10:51:46 cjep Exp $
 
 #-
 # Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -174,7 +174,7 @@ do
 		$IGNORE_MISSING_TRANSLATIONS || rval=1
 	fi
 done
-unset IFS
+IFS=%
 
 if $count_fmtargs; then exit $rval; fi
 

Reply via email to