RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: [EMAIL PROTECTED]
Module: rpm Date: 09-Dec-2007 17:18:20
Branch: HEAD Handle: 2007120916182000
Modified files:
rpm CHANGES
rpm/rpmdb header.c
Log:
- jbj: add debugging hack to test a hypothesis re rpm-5.0beta1
segfault.
Summary:
Revision Changes Path
1.1968 +1 -0 rpm/CHANGES
1.142 +4 -1 rpm/rpmdb/header.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.1967 -r1.1968 CHANGES
--- rpm/CHANGES 9 Dec 2007 14:46:36 -0000 1.1967
+++ rpm/CHANGES 9 Dec 2007 16:18:20 -0000 1.1968
@@ -1,4 +1,5 @@
5.0a4 -> 5.0b1:
+ - jbj: add debugging hack to test a hypothesis re rpm-5.0beta1 segfault.
- jbj: Leopard claims to have functional stat64. Let's find out ...
- rpm.org: Yet More RPMRC_OK returns from functions.
- rpm.org: use RPMRC_OK, not 0, returns in many functions.
@@ .
patch -p0 <<'@@ .'
Index: rpm/rpmdb/header.c
============================================================================
$ cvs diff -u -r1.141 -r1.142 header.c
--- rpm/rpmdb/header.c 8 Dec 2007 18:09:32 -0000 1.141
+++ rpm/rpmdb/header.c 9 Dec 2007 16:18:20 -0000 1.142
@@ -1746,8 +1746,11 @@
he->p.ptr = p.ptr;
he->c = langNum + 1;
/[EMAIL PROTECTED]@*/
- return headerAddEntry(h, he);
+ xx = headerAddEntry(h, he);
/[EMAIL PROTECTED]@*/
+/* XXX Add debugging hackery to test a hypothesis re rpm-5.0beta1 segfault.
*/
+if (_hdr_debug) (void) tagName(tag);
+ return xx;
} else if (langNum >= entry->info.count) {
ghosts = langNum - entry->info.count;
@@ .
______________________________________________________________________
RPM Package Manager http://rpm5.org
CVS Sources Repository [email protected]