FreeBSD Bugzilla – Attachment 163026 Details for
Bug 204479
ports-mgmt/pkg use -C config file pathname exactly as given on the command line
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
local-patch-rootdir-libpkg_pkg__config.c (text/plain), 677 bytes, created by
Ian Lepore
on 2015-11-11 22:50:20 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ian Lepore
Created:
2015-11-11 22:50:20 UTC
Size:
677 bytes
patch
obsolete
>If a config file name is given on the command line, use it exactly as-is, >otherwise look for the default file using the rootdir from the command line. > >--- ./libpkg/pkg_config.c.orig 2015-11-11 14:54:50.125248000 -0700 >+++ ./libpkg/pkg_config.c 2015-11-11 15:22:26.890375000 -0700 >@@ -884,11 +893,11 @@ pkg_ini(const char *path, const char *re > } > } > >- if (path == NULL) >+ if (path == NULL) { > path = PREFIX"/etc/pkg.conf"; >- >- if (pkg_rootdir != NULL) >- asprintf(&rootedpath, "%s/%s", pkg_rootdir, path); >+ if (pkg_rootdir != NULL) >+ asprintf(&rootedpath, "%s/%s", pkg_rootdir, path); >+ } > > p = ucl_parser_new(0); > ucl_parser_register_variable (p, "ABI", myabi);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204479
: 163026