Commit Graph

8 Commits

Author SHA1 Message Date
12538e4010 parseSpec: use getline() to fix long line processing
* build/rpmspec.h (OpenFileInfo): Change readBuf to a pointer,
add readBufSize.
(freeOpenFileInfo): New prototype.
* build/spec.c (freeSpec): Initialize readBuf and readBufSize.
(freeOpenFileInfo): New function.
* build/parseSpec.c (readLine): Use getline and freeOpenFileInfo.
(closeSpec): Use freeOpenFileInfo.
2012-03-19 19:02:25 +00:00
e870902a7b build: make size of line buffer for .spec parsing configurable via %_spec_line_buffer_size
Based on http://rpm5.org/cvs/chngview?cn=9215

In the meantime, decrease this default line buffer size from 80K to 64K.
2012-03-19 01:29:03 +00:00
Alexey Tourbin
5a1601ed3d build/checkFiles.c: fixed %exclude vs unpackaged regression 2011-01-21 20:48:10 +03:00
31914b95af Backport %check from rpm-4.2 2009-09-08 20:46:26 +00:00
26dfd3df04 revision 2.55
date: 2004/04/08 20:27:53;  author: niemeyer;  state: Exp;  lines: +2 -1
Implemented multiline macro support.
2005-10-10 14:59:14 +00:00
6cc64fa4ea updated code to snapshot 2002-06-15 of 4_0 branch 2002-08-03 16:35:14 +00:00
7a279a35de sync with rpm4 branch: added preprocess mode, modified autoReq/autoProv 2002-03-25 22:42:05 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00