| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
popt always returned malloc'ed memory for POPT_ARG_STRING items, but
for whatever historical reason rpm systematically passed const char *
pointers as targets, making them look non-freeable. Besides changing
just the types and adding free()'s, const-correctness requires extra
tweaks as there's mixed use from string literals and poptGetArg() which
does return const pointers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More ripples from the parseLines() unification (commits
91e8d826e473c98209ba9db0ea06ab884557076c to
783e2dc0b424afdf0a5d2add368279cb63016897), the callers used to
explicitly allocate an empty string buffer, but with lazy allocation
from parseLines() they're getting NULL in the special circumstance of
being last in the spec, and no "body". Specifically this happens with
empty %description or scriptlet without a body, eg
"%post -p /sbin/ldconfig".
The script regression report + reproducer and a preliminary patch
originally from RhBug:1732276 by nvwarr.
|
| |
|
|
|
|
|
|
|
|
|
| |
Rearrange the message to "linenum: line: message" which is a more
logical order of things (I think), and in particular, include the
actual actual package name in the message. In order to do that,
consolidate the error logging inside lookupPackage() where we
now get a slightly hysterical logic around the error messages but what
the hey, its not like this is an exported API.
|
|
|
|
|
|
|
| |
- Similarly to Group, Summary etc, this is complicated by possible
presence of language-specific versions, but now that we have a
function to handle it...
- Should *really* close out ticket #27
|
|
|
|
|
|
| |
- Eliminate dead NULL-assignments of local variables on exit
- Move stringbuf free to exit, previously error on readLine() leaked
memory here
|
|
|
|
|
|
|
|
|
| |
- These were used, back in the day, to implement a hidden --specedit
switch, which in all its glory did: print a copy of a spec file,
with group, summary and description looked up from specspo.
This huge pile of junk was left behind from kicking out the
useless "feature" in commits 7b95061d3b77d8e6b3c80e856b66f49b393511ba and
0f991a14209054da7c45c46e96750738fc62874d.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Yank everything qualifying as "internal helper function" into
internal-only headers, loosely grouped as follows:
1) Everything involving spec-manipulation goes into rpmbuild_internal.h
2) All other miscellaneous helpers go into rpmbuild_misc.h
- This leaves us a rather minimal, and nearly useful API into librpmbuild:
Users need to be able to parse a spec, query or build (parts of) it
and free up the spec structure when done. This is what we have now,
various still exposed structures not counting.
|
| |
|
|
|
|
| |
from global scope. Compilers aren't that stupid these days
|
| |
|
|
|
|
|
|
| |
- permits header.h to use the tag types
- revert other includes back to header.h, more crazy #include churn...
- rpmTagTable etc in header.h for now, don't really belong there but...
|
|
|
|
|
| |
- explicitly include what's really needed instead
- document remaining uses
|
|
|
|
| |
- adjust include paths accordingly
|
|
|
|
| |
- additionally use rpmRC return types instead of numbers where appropriate
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
CVS patchset: 6754
CVS date: 2003/04/16 22:13:18
|
|
|
|
|
|
| |
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
|
|
|
|
|
|
| |
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
|
|
|
|
|
|
| |
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
|
|
|
|
|
|
| |
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
|
|
|
|
|
|
| |
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
|
|
|
|
|
|
| |
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
|
|
|
|
|
|
|
|
|
| |
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
|
|
|
|
|
|
|
|
|
| |
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.
CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
|
|
|
|
|
|
|
|
|
| |
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.
CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
|
|
|
|
|
|
| |
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
|
|
|
|
|
|
| |
CVS patchset: 4130
CVS date: 2000/08/27 19:18:25
|
|
|
|
|
|
| |
CVS patchset: 3533
CVS date: 2000/01/24 20:02:32
|
|
|
|
|
|
|
|
| |
start unifying FD types, CFD_t now gone.
CVS patchset: 3402
CVS date: 1999/10/27 23:18:10
|
|
|
|
|
|
| |
CVS patchset: 3366
CVS date: 1999/10/04 19:40:03
|
|
|
|
|
|
| |
CVS patchset: 3309
CVS date: 1999/09/20 13:34:47
|
|
|
|
|
|
| |
CVS patchset: 2824
CVS date: 1999/02/22 17:44:57
|
|
|
|
|
|
| |
CVS patchset: 2544
CVS date: 1998/11/19 19:10:23
|
|
|
|
|
|
| |
CVS patchset: 2425
CVS date: 1998/10/08 14:59:17
|
|
|
|
|
|
|
|
| |
gettextify rpmMessage/rpmError/fprintf messages.
CVS patchset: 2368
CVS date: 1998/09/27 22:03:52
|
|
|
|
|
|
|
|
|
| |
cpio_gzip: dup the fd before doing gzdopen (Thanks Erik!)
add --noLang to skip non-default languages.
CVS patchset: 2243
CVS date: 1998/08/11 18:24:48
|
|
|
|
|
|
| |
CVS patchset: 2213
CVS date: 1998/07/30 22:09:42
|
|
|
|
|
|
|
|
|
| |
Rearrange functions to minimize exported routines in librpmbuild API.
VS: ----------------------------------------------------------------------
CVS patchset: 2183
CVS date: 1998/07/25 21:00:26
|
|
|
|
|
|
| |
CVS patchset: 2119
CVS date: 1998/05/20 17:05:26
|
|
|
|
|
|
| |
CVS patchset: 2101
CVS date: 1998/05/01 01:54:27
|
|
|
|
|
|
| |
CVS patchset: 2062
CVS date: 1998/04/02 18:31:12
|
|
|
|
|
|
|
|
|
|
|
| |
2) pulled popt structures and variables out of functions -- they need to
be global due to stupid compilers
3) modified the Makefile to use relative dependencies, and make dependencies
optional
CVS patchset: 2020
CVS date: 1998/03/04 16:51:06
|