summaryrefslogtreecommitdiffstats
path: root/autoirpm.update-all.cc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-02-28 16:54:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-02-28 16:54:05 +0000
commitdcc8f57472d251ddd51b94a2f140273a68ad3227 (patch)
tree7caafbaf7fdc51efd8e1b0675b04650baaec1c49 /autoirpm.update-all.cc
parent20062002d49e3526920c3261b6d99e97c2d61e62 (diff)
downloadurpmi-dcc8f57472d251ddd51b94a2f140273a68ad3227.tar
urpmi-dcc8f57472d251ddd51b94a2f140273a68ad3227.tar.gz
urpmi-dcc8f57472d251ddd51b94a2f140273a68ad3227.tar.bz2
urpmi-dcc8f57472d251ddd51b94a2f140273a68ad3227.tar.xz
urpmi-dcc8f57472d251ddd51b94a2f140273a68ad3227.zip
no_comment
Diffstat (limited to 'autoirpm.update-all.cc')
-rw-r--r--autoirpm.update-all.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoirpm.update-all.cc b/autoirpm.update-all.cc
index 3d13899e..90b524e0 100644
--- a/autoirpm.update-all.cc
+++ b/autoirpm.update-all.cc
@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
headerGetEntry(header, RPMTAG_NAME, &type, (void **) &name, &count);
headerGetEntry(header, RPMTAG_FILEMODES, &type, (void **) &p, &count);
- headerGetEntry(header, RPMTAG_FILENAMES, &type, (void **) &f, &count);
+ headerGetEntry(header, RPMTAG_OLDFILENAMES, &type, (void **) &f, &count);
for (; count--; *p++, *f++)
if ((*p & 040111) == 0111 &&
(s = strrchr(*f, '/')) &&