Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 655083 Details for
Bug 881989
[PATCH] for uint64 values on i386
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
New version of buildvalue patch without the helper
build-value.patch (text/plain), 3.74 KB, created by
James Antill
on 2012-11-30 14:34:21 UTC
(
hide
)
Description:
New version of buildvalue patch without the helper
Filename:
MIME Type:
Creator:
James Antill
Created:
2012-11-30 14:34:21 UTC
Size:
3.74 KB
patch
obsolete
>commit 7b61b97d43ae4238ed89fe97690a10f260d89016 >Author: James Antill <james@and.org> >Date: Thu Nov 29 17:24:45 2012 -0500 > > Fix building uint64 size values in python. > >diff --git a/liblvm.c b/liblvm.c >index 857b8a6..c59be52 100644 >--- a/liblvm.c >+++ b/liblvm.c >@@ -566,7 +566,7 @@ liblvm_lvm_vg_get_seqno(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_seqno(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_seqno(self->vg)); > } > > static PyObject * >@@ -574,7 +574,7 @@ liblvm_lvm_vg_get_size(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_size(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_size(self->vg)); > } > > static PyObject * >@@ -582,7 +582,7 @@ liblvm_lvm_vg_get_free_size(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_free_size(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_free_size(self->vg)); > } > > static PyObject * >@@ -590,7 +590,7 @@ liblvm_lvm_vg_get_extent_size(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_extent_size(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_extent_size(self->vg)); > } > > static PyObject * >@@ -598,7 +598,7 @@ liblvm_lvm_vg_get_extent_count(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_extent_count(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_extent_count(self->vg)); > } > > static PyObject * >@@ -606,7 +606,7 @@ liblvm_lvm_vg_get_free_extent_count(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_free_extent_count(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_free_extent_count(self->vg)); > } > > /* Builds a python tuple ([string|number], bool) from a struct lvm_property_value */ >@@ -757,7 +757,7 @@ liblvm_lvm_vg_get_pv_count(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_pv_count(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_pv_count(self->vg)); > } > > static PyObject * >@@ -765,7 +765,7 @@ liblvm_lvm_vg_get_max_pv(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_max_pv(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_max_pv(self->vg)); > } > > static PyObject * >@@ -773,7 +773,7 @@ liblvm_lvm_vg_get_max_lv(vgobject *self) > { > VG_VALID(self); > >- return Py_BuildValue("l", lvm_vg_get_max_lv(self->vg)); >+ return Py_BuildValue("K", (unsigned long long)lvm_vg_get_max_lv(self->vg)); > } > > static PyObject * >@@ -1135,7 +1135,7 @@ liblvm_lvm_lv_get_size(lvobject *self) > { > LV_VALID(self); > >- return Py_BuildValue("l", lvm_lv_get_size(self->lv)); >+ return Py_BuildValue("K", (unsigned long long)lvm_lv_get_size(self->lv)); > } > > static PyObject * >@@ -1348,7 +1348,7 @@ liblvm_lvm_pv_get_mda_count(pvobject *self) > { > PV_VALID(self); > >- return Py_BuildValue("l", lvm_pv_get_mda_count(self->pv)); >+ return Py_BuildValue("K", (unsigned long long)lvm_pv_get_mda_count(self->pv)); > } > > static PyObject * >@@ -1371,7 +1371,7 @@ liblvm_lvm_pv_get_dev_size(pvobject *self) > { > PV_VALID(self); > >- return Py_BuildValue("l", lvm_pv_get_dev_size(self->pv)); >+ return Py_BuildValue("K", (unsigned long long)lvm_pv_get_dev_size(self->pv)); > } > > static PyObject * >@@ -1379,7 +1379,7 @@ liblvm_lvm_pv_get_size(pvobject *self) > { > PV_VALID(self); > >- return Py_BuildValue("l", lvm_pv_get_size(self->pv)); >+ return Py_BuildValue("K", (unsigned long long)lvm_pv_get_size(self->pv)); > } > > static PyObject * >@@ -1387,7 +1387,7 @@ liblvm_lvm_pv_get_free(pvobject *self) > { > PV_VALID(self); > >- return Py_BuildValue("l", lvm_pv_get_free(self->pv)); >+ return Py_BuildValue("K", (unsigned long long)lvm_pv_get_free(self->pv)); > } > > static PyObject *
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 881989
:
654641
| 655083