diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-18 20:08:28 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-18 20:08:28 +0000 |
commit | dae1515c9efe7c39823d9e0d81c652c53a3c6e13 (patch) | |
tree | 7d0354917cd9fc8f1877e5b91595579f19d23fc5 | |
parent | c660803e747267102041a16a08d49ae02b6b4219 (diff) | |
download | obnam-0.24.tar.gz |
fix lstat(2) wrapper to build long long integers properlyobnam-0.24
This fixes a bug on legacy 32-bit architectures.
-rw-r--r-- | _obnammodule.c | 2 | ||||
-rw-r--r-- | project.meta | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_obnammodule.c b/_obnammodule.c index d07f0f8c..557ed414 100644 --- a/_obnammodule.c +++ b/_obnammodule.c @@ -104,7 +104,7 @@ lstat_wrapper(PyObject *self, PyObject *args) ret = lstat(filename, &st); if (ret == -1) ret = errno; - return Py_BuildValue("illllllllllllllll", + return Py_BuildValue("iLLLLLLLLLLLLLLLL", ret, (long long) st.st_dev, (long long) st.st_ino, diff --git a/project.meta b/project.meta index 25610b2c..5af8d8c4 100644 --- a/project.meta +++ b/project.meta @@ -1,2 +1,2 @@ [config] -basetgz = /home/pbuilder-tgz/sid-amd64-pristine.tgz, squeeze:/home/pbuilder-tgz/squeeze-amd64-custom.tgz, squeeze:i386:/home/pbuilder-tgz/squeeze-i386-custom.tgz +basetgz = /home/liw/UNBACKED/sid-amd64-pristine.tgz, squeeze:/home/pbuilder-tgz/squeeze-amd64-custom.tgz, squeeze:i386:/home/pbuilder-tgz/squeeze-i386-custom.tgz |