diff options
author | jbj <devnull@localhost> | 2000-01-12 21:48:58 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-01-12 21:48:58 +0000 |
commit | 0d185e8fb5eca20fccb5fd57645eed6f32d6db86 (patch) | |
tree | 45652ddbf4112fa26102e82c6bb056a31f49d703 /rpmio | |
parent | ea3ab95e1768ecf47248180c87a97640010322e8 (diff) | |
download | librpm-tizen-0d185e8fb5eca20fccb5fd57645eed6f32d6db86.tar.gz librpm-tizen-0d185e8fb5eca20fccb5fd57645eed6f32d6db86.tar.bz2 librpm-tizen-0d185e8fb5eca20fccb5fd57645eed6f32d6db86.zip |
fix: resurrect relative path's in fprint lookup queries.
CVS patchset: 3518
CVS date: 2000/01/12 21:48:58
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/macro.c | 3 | ||||
-rw-r--r-- | rpmio/rpmmacro.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index 41727b676..706198b2f 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1487,7 +1487,8 @@ rpmExpandNumeric(const char *arg) return rc; } -const char *rpmCleanPath(char * path) +/* XXX FIXME: ../sbin/./../bin/ */ +char *rpmCleanPath(char * path) { const char *s; char *se, *t, *te; diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h index 5537c327a..2ae5b739d 100644 --- a/rpmio/rpmmacro.h +++ b/rpmio/rpmmacro.h @@ -55,7 +55,7 @@ void rpmFreeMacros (MacroContext * mc); int isCompressed (const char * file, int * compressed); char * rpmExpand (const char * arg, ...); -const char *rpmCleanPath(char * path); +char * rpmCleanPath (char * path); const char *rpmGetPath (const char * path, ...); const char *rpmGenPath (const char * root, const char * mdir, const char * file); |