]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Incompatible ABI change: change transaction_calc_installsizechange from int to long...
authorMichael Schroeder <mls@suse.de>
Mon, 22 Oct 2018 12:46:17 +0000 (14:46 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 22 Oct 2018 12:46:17 +0000 (14:46 +0200)
bindings/solv.i
doc/gen/libsolv-bindings.3
doc/gen/libsolv-pool.3
doc/gen/repo2solv.1
doc/gen/solv.1
doc/libsolv-bindings.txt
examples/solv/solv.c
src/transaction.c
src/transaction.h

index b651aadad120c732cd34cc27054373f1c2087172..1188142a939981faa31dbd6bd938877bc4f264ea 100644 (file)
@@ -3727,7 +3727,7 @@ rb_eval_string(
   int steptype(XSolvable *s, int mode) {
     return transaction_type($self, s->id, mode);
   }
-  int calc_installsizechange() {
+  long long calc_installsizechange() {
     return transaction_calc_installsizechange($self);
   }
   void order(int flags=0) {
index af43b309fc67c8a3f7aa0050c1d77ae3ab9f1adb..c065a1319c9ba0ce26323fa76bc5a33dc5456c04 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: Libsolv-Bindings
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 09/14/2018
+.\"      Date: 10/22/2018
 .\"    Manual: LIBSOLV
 .\"    Source: libsolv
 .\"  Language: English
 .\"
-.TH "LIBSOLV\-BINDINGS" "3" "09/14/2018" "libsolv" "LIBSOLV"
+.TH "LIBSOLV\-BINDINGS" "3" "10/22/2018" "libsolv" "LIBSOLV"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -5049,7 +5049,7 @@ For installed packages, returns all of the packages that replace us\&. For to be
 .RS 4
 .\}
 .nf
-\fBint calc_installsizechange()\fR;
+\fBlong long calc_installsizechange()\fR;
 my \fI$change\fR \fB=\fR \fI$trans\fR\fB\->calc_installsizechange()\fR;
 \fIchange\fR \fB=\fR \fItrans\fR\fB\&.calc_installsizechange()\fR
 \fIchange\fR \fB=\fR \fItrans\fR\fB\&.calc_installsizechange()\fR
index 26c9144b2477d5f4774ee5b9b0394807b27e3923..51dc1a4eeadc606a618018de51a0a22537b139e3 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: Libsolv-Pool
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 09/14/2018
+.\"      Date: 10/22/2018
 .\"    Manual: LIBSOLV
 .\"    Source: libsolv
 .\"  Language: English
 .\"
-.TH "LIBSOLV\-POOL" "3" "09/14/2018" "libsolv" "LIBSOLV"
+.TH "LIBSOLV\-POOL" "3" "10/22/2018" "libsolv" "LIBSOLV"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
index 2b7239da26ede2ae4ae2b918ea683205d8a6f0de..0a8c3cf1dac019fb497cb372b989c2b6ad74d12b 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: repo2solv
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 09/14/2018
+.\"      Date: 10/22/2018
 .\"    Manual: LIBSOLV
 .\"    Source: libsolv
 .\"  Language: English
 .\"
-.TH "REPO2SOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
+.TH "REPO2SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
index 30450d28f2c2a93f2c3c77c8d25df09408d0f9d1..aae1c6d50e9d997d8f5b08affee405fbdb2f890e 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: solv
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 09/14/2018
+.\"      Date: 10/22/2018
 .\"    Manual: LIBSOLV
 .\"    Source: libsolv
 .\"  Language: English
 .\"
-.TH "SOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
+.TH "SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
index bf8f44c7b204787382907cbcb7d92c66096310a9..7ed2d55d877d3ec3b7b117ce8f9918c202651c24 100644 (file)
@@ -3128,7 +3128,7 @@ be installed packages, returns all of the packages that the new package
 replaces. The special ``other'' solvable is always the first entry of the
 returned array.
 
-       int calc_installsizechange();
+       long long calc_installsizechange();
        my $change = $trans->calc_installsizechange();
        change = trans.calc_installsizechange()
        change = trans.calc_installsizechange()
index d43497ab7dc6e1fe3c4c5afb058066764657068f..3deb1a02b94abe137eda3f211fc0d197fd6e7f02 100644 (file)
@@ -787,7 +787,7 @@ rerunsolver:
 #if defined(SUSE)
   showdiskusagechanges(trans);
 #endif
-  printf("install size change: %d K\n", transaction_calc_installsizechange(trans));
+  printf("install size change: %lld K\n", transaction_calc_installsizechange(trans));
   printf("\n");
 
   acnt = solver_alternatives_count(solv);
index 9a329661681428bc2b3a5476dca6191843794a8d..4a4189eb012081cf5ab9ecc9f707c17b949fa418 100644 (file)
@@ -828,11 +828,11 @@ transaction_make_installedmap(Transaction *trans, Map *installedmap)
     }
 }
 
-int
+long long
 transaction_calc_installsizechange(Transaction *trans)
 {
   Map installedmap;
-  int change;
+  long long change;
 
   transaction_make_installedmap(trans, &installedmap);
   change = pool_calc_installsizechange(trans->pool, &installedmap);
index c84083815480fe26b358e2e39f59a0a7c54acdcc..4690ced431a5ce0edf7c5deae4690c4b9bdefc7e 100644 (file)
@@ -115,7 +115,7 @@ extern void transaction_classify_pkgs(Transaction *trans, int mode, Id type, Id
    packages is returned */
 extern int transaction_installedresult(Transaction *trans, Queue *installedq);
 
-int transaction_calc_installsizechange(Transaction *trans);
+long long transaction_calc_installsizechange(Transaction *trans);
 void transaction_calc_duchanges(Transaction *trans, struct _DUChanges *mps, int nmps);