75275a87cf
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. |
||
---|---|---|
build | ||
ci | ||
doc | ||
fileattrs | ||
lib | ||
luaext | ||
misc | ||
plugins | ||
po | ||
python | ||
rpmio | ||
scripts | ||
sign | ||
tests | ||
tools | ||
.gitignore | ||
.mailmap | ||
CHANGES | ||
COPYING | ||
CREDITS | ||
INSTALL | ||
Makefile.am | ||
Makefile.maint | ||
README | ||
autogen.sh | ||
cliutils.c | ||
cliutils.h | ||
configure.ac | ||
debug.h | ||
installplatform | ||
macros.in | ||
mkinstalldirs | ||
platform.in | ||
preinstall.am | ||
rpm.am | ||
rpm.c | ||
rpm.pc.in | ||
rpm2archive.c | ||
rpm2cpio.c | ||
rpmbuild.c | ||
rpmdb.c | ||
rpmkeys.c | ||
rpmpopt.in | ||
rpmrc.in | ||
rpmsign.c | ||
rpmspec.c | ||
system.h |
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).