Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 10:48:07 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r263625 - stable/9/usr.sbin/pkg
Message-ID:  <201403221048.s2MAm72k055976@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Mar 22 10:48:07 2014
New Revision: 263625
URL: http://svnweb.freebsd.org/changeset/base/263625

Log:
  MFC r263180:
  
    Fix ABI from /usr/local/etc/pkg.conf not being respected.

Modified:
  stable/9/usr.sbin/pkg/config.c
Directory Properties:
  stable/9/usr.sbin/pkg/   (props changed)

Modified: stable/9/usr.sbin/pkg/config.c
==============================================================================
--- stable/9/usr.sbin/pkg/config.c	Sat Mar 22 10:47:49 2014	(r263624)
+++ stable/9/usr.sbin/pkg/config.c	Sat Mar 22 10:48:07 2014	(r263625)
@@ -391,6 +391,10 @@ config_parse(ucl_object_t *obj, pkg_conf
 				    next);
 			}
 			break;
+		case PKG_CONFIG_BOOL:
+			temp_config[i].value =
+			    strdup(ucl_object_toboolean(cur) ? "yes" : "no");
+			break;
 		default:
 			/* Normal string value. */
 			temp_config[i].value = strdup(ucl_object_tostring(cur));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403221048.s2MAm72k055976>