components/xmlto/patches/xmlto.in.patch
author pkidd <patrick.kidd@oracle.com>
Wed, 13 Jul 2016 09:31:29 -0700
branchs11u3-sru
changeset 6406 42eff29ff9ca
parent 3665 e472522a0ae9
permissions -rw-r--r--
Added tag 0.175.3.11.0.2.0, S11.3SRU11.2 for changeset f0f0d240d640

Fixes a warning of:

 /usr/bin/xmlto: line 325: local: can only be used in a function

found by Alan Coopersmith during testing of xmlto with the X.org distribution.

The change will be sent upstream.

--- xmlto-0.0.25/xmlto.in.orig	2014-02-13 13:58:02.220260650 -0800
+++ xmlto-0.0.25/xmlto.in	2014-02-13 14:03:39.275042953 -0800
@@ -322,7 +322,7 @@
 	shift
 	;;
   --searchpath)
-	local oldIFS="${IFS}"
+	oldIFS="${IFS}"
 	IFS=":"
 	for asearchpath in "$2"; do
 	  # wrangle relative paths into absolute ones so that the user