diff options
author | jbj <devnull@localhost> | 1999-01-05 23:13:56 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-05 23:13:56 +0000 |
commit | 8af5b5af8757e9385ea90770997b45f4f82c06db (patch) | |
tree | d6f50fbd74db96d5038a46d89223ab38bb7d5e9b /rpmio | |
parent | c7c985480ab320547dbdb977a0e8682c24710393 (diff) | |
download | rpm-8af5b5af8757e9385ea90770997b45f4f82c06db.tar.gz rpm-8af5b5af8757e9385ea90770997b45f4f82c06db.tar.bz2 rpm-8af5b5af8757e9385ea90770997b45f4f82c06db.zip |
Expand path macros with rpmGetPath(path, ...).
CVS patchset: 2652
CVS date: 1999/01/05 23:13:56
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/macro.c | 2 | ||||
-rw-r--r-- | rpmio/rpmmacro.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index 6aaf5bbcb..f3bc83e65 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1195,7 +1195,7 @@ freeMacros(MacroContext *mc) /* =============================================================== */ -int isCompressed(char *file, int *compressed) +int isCompressed(const char *file, int *compressed) { FD_t fd; ssize_t nb; diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h index ddec37178..730cce911 100644 --- a/rpmio/rpmmacro.h +++ b/rpmio/rpmmacro.h @@ -47,7 +47,7 @@ extern "C" { #define COMPRESSED_OTHER 1 #define COMPRESSED_BZIP2 2 -int isCompressed(char *file, int *compressed); +int isCompressed(const char *file, int *compressed); void dumpMacroTable __P((MacroContext *mc)); |