/[packages]/cauldron/rpm/current/SOURCES/rpm-4.6.0-ordererase.patch
ViewVC logotype

Contents of /cauldron/rpm/current/SOURCES/rpm-4.6.0-ordererase.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 343 - (show annotations) (download)
Sat Jan 8 00:05:19 2011 UTC (13 years, 3 months ago) by tmb
File size: 840 byte(s)
imported package rpm
1 From 367507cad6f92fdf8a5f4a01fb3ae0770d89b7dc Mon Sep 17 00:00:00 2001
2 From: unknown author <cooker@mandrivalinux.org>
3 Date: Mon, 5 Jan 2009 13:29:57 +0000
4 Subject: [PATCH 07/35] ordererase
5
6 ---
7 lib/rpminstall.c | 2 ++
8 1 files changed, 2 insertions(+), 0 deletions(-)
9
10 diff --git a/lib/rpminstall.c b/lib/rpminstall.c
11 index 4a972eb..ec14dc8 100644
12 --- a/lib/rpminstall.c
13 +++ b/lib/rpminstall.c
14 @@ -701,12 +701,14 @@ int rpmErase(rpmts ts, struct rpmInstallArguments_s * ia, ARGV_const_t argv)
15 ps = rpmpsFree(ps);
16 }
17
18 +#if 0
19 if (!stopUninstall && !(ia->installInterfaceFlags & INSTALL_NOORDER)) {
20 if (rpmtsOrder(ts)) {
21 numFailed += numPackages;
22 stopUninstall = 1;
23 }
24 }
25 +#endif
26
27 if (numPackages && !stopUninstall) {
28 (void) rpmtsSetFlags(ts, (rpmtsFlags(ts) | RPMTRANS_FLAG_REVERSE));
29 --
30 1.6.1.3
31

  ViewVC Help
Powered by ViewVC 1.1.30