[Rpm-maint] [rpm-software-management/rpm] Report filename and line number on all macro expand errors and warnings (#708)
Panu Matilainen
notifications at github.com
Fri May 17 09:46:23 UTC 2019
Report filename and line number on all macro expand errors and warnings from macro files and specs, includes and manifests.
This is an alternative proposal for PR #494 that doesn't involve API changes or additions and covers more than just the spec.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/708
-- Commit Summary --
* Add a local vasprintf() clone rvasprintf() to match rasprintf()
* Consolidate macro error reporting to a helper function
* Consider macro file load fail on any errors
* Return number of read lines from rdcl() macro helper
* Report file name and line number on all macro file errors and warnings
* Report filename and line number on all spec macro expand warnings too
-- File Changes --
M build/files.c (12)
M build/pack.c (13)
M build/parseSpec.c (24)
M build/rpmbuild_internal.h (4)
M rpmio/macro.c (105)
M rpmio/rpmstring.c (32)
M rpmio/rpmstring.h (6)
M tests/rpmmacro.at (24)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/708.patch
https://github.com/rpm-software-management/rpm/pull/708.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/708
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190517/9a3ca0cb/attachment.html>
More information about the Rpm-maint
mailing list