Go to file
Michael Schroeder 75275a87cf Fix logic error in macro file reader
The old logic always finished adding lines if an empty line
was encountered, because the check that should guard against
accessing outside of the read buffer was done at the wrong
level.

Also simplify the code by letting 'q' point to the new line and
not before the newline, which also fixes potential undefined
behaviour.

Also get rid of the unused 'nread' variable.
2021-03-26 13:44:48 +02:00
build Make Lua a hard requirement for rpm 2021-02-09 13:57:27 +02:00
ci Make Lua a hard requirement for rpm 2021-02-09 13:57:27 +02:00
doc Add query formats for displaying tag numbers and names 2021-03-15 13:47:26 +02:00
fileattrs Generate requires for "pure" ELF DSO's regardless of executable bit 2020-11-24 14:47:12 +02:00
lib Revert "Check that len is in range before using it" 2021-03-24 10:07:15 +02:00
luaext Move redirect2null() out of posix extensions but preserve compatibility 2019-03-01 14:56:31 +02:00
misc Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00
plugins Fix resource leaks in fapolicyd plugin 2021-03-10 13:14:34 +02:00
po Added translation using Weblate (Sinhala) 2021-03-04 09:56:50 +02:00
python Eliminate remaining uses of unsafe headerCopyLoad() in the codebase 2021-03-11 10:58:48 +02:00
rpmio Fix logic error in macro file reader 2021-03-26 13:44:48 +02:00
scripts scripts/pythondistdeps: Fix for Python 3.10 2021-03-15 13:47:34 +02:00
sign rpmsign: support EdDSA signatures 2021-03-15 13:58:54 +02:00
tests Add query formats for displaying tag numbers and names 2021-03-15 13:47:26 +02:00
tools debugedit: Handle DWARF-5 debug_line and debug_line_str. 2021-02-16 09:21:36 +02:00
.gitignore .gitignore cleanup 2020-04-09 14:27:09 +03:00
.mailmap Update credits for a change 2021-03-18 09:37:17 +02:00
CHANGES Spelling fixes 2017-06-27 14:42:21 +02:00
COPYING Explicitly mention that the rpmio/ sub dir is under LGPL 2020-01-29 14:48:38 +02:00
CREDITS Update credits for a change 2021-03-18 09:37:17 +02:00
INSTALL Make Lua a hard requirement for rpm 2021-02-09 13:57:27 +02:00
Makefile.am Make Lua a hard requirement for rpm 2021-02-09 13:57:27 +02:00
Makefile.maint Fix "make dist" work out of the box again 2016-11-04 11:02:50 +02:00
README Update community link in README 2017-04-05 11:57:00 +03:00
autogen.sh Just use autoreconf in autogen.sh (ticket #109) 2009-11-26 09:46:48 +02:00
cliutils.c Stop NSPR from messing with our signals 2017-05-10 13:59:58 +03:00
cliutils.h add short summaries to headers that miss one 2016-01-28 14:42:47 +01:00
configure.ac Restore (some) compiler sanity 2021-03-19 08:50:30 +02:00
debug.h Drop support for dmalloc 2020-03-27 15:49:18 +02:00
installplatform RISCV 64-bit (riscv64) support. 2016-08-22 21:16:48 +01:00
macros.in Make the rpmdb keyring type macro-configurable 2021-03-15 13:47:47 +02:00
mkinstalldirs update mkinstalldirs to latest version (2009) 2017-07-27 13:59:01 +02:00
platform.in Drop unused brp-strip-shared buildroot policy script 2021-01-18 10:18:50 +02:00
preinstall.am Move rpmvercmp() to librpmio 2020-05-27 14:14:00 +02:00
rpm.am Bump libtool version info in preparation of 4.16.x branch 2020-03-23 14:51:03 +02:00
rpm.c Rename rpmqv.c to rpm.c, as it's the main source for the rpm command 2019-06-03 15:10:46 +03:00
rpm.pc.in Remove support for Berkeley Database backend 2021-02-03 14:41:48 +01:00
rpm2archive.c rpm2archive: Use last part of URL as file name 2021-01-19 11:14:05 +02:00
rpm2cpio.c rpm2cpio cannot handle files over 4GB, error out cleanly (RhBug:1662481) 2019-01-02 11:36:50 +02:00
rpmbuild.c Fix 4.16.0 regression causing invalid spec file name on rpmbuild -ts 2020-12-07 12:25:17 +02:00
rpmdb.c Add a --salvagedb option to the rpmdb tool 2020-02-26 12:50:22 +02:00
rpmkeys.c Create transaction set only after initializing rpm itself, oops 2018-06-19 11:46:41 +03:00
rpmpopt.in Remove --sign from rpmbuild 2020-01-31 10:02:57 +02:00
rpmrc.in Remove problematic sub variants of armv8 and related 2019-10-24 11:22:12 +03:00
rpmsign.c rpmsign: Add argument to specify algorithm for fsverity signatures 2020-09-04 13:22:38 +03:00
rpmspec.c Reset global macro state after each spec query/parse 2020-02-12 10:23:23 +01:00
system.h Flush 1998 vintage fcntl-compatibility mess from system.h 2020-04-02 13:53:38 +03:00

README

This is RPM, the RPM Package Manager.

The latest releases are always available at:

	http://rpm.org/releases/

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site: http://rpm.org.

http://rpm.org/community all rpm releated mailing lists.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).