summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-15 17:15:39 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-15 17:15:39 +0200
commite8ffcb26b5cb60d4ad6130b0010c40ffd8d83b81 (patch)
tree60061ed952249785cacf125c596b72ee40b4a4e7 /rpmio
parent3b6a6c903092409256b81e840b9b0dd67be0f6f3 (diff)
downloadlibrpm-tizen-e8ffcb26b5cb60d4ad6130b0010c40ffd8d83b81.tar.gz
librpm-tizen-e8ffcb26b5cb60d4ad6130b0010c40ffd8d83b81.tar.bz2
librpm-tizen-e8ffcb26b5cb60d4ad6130b0010c40ffd8d83b81.zip
Further bogus const removals...
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmfileutil.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c
index 9e3385267..32ba44534 100644
--- a/rpmio/rpmfileutil.c
+++ b/rpmio/rpmfileutil.c
@@ -513,12 +513,12 @@ char *rpmCleanPath(char * path)
char * rpmGenPath(const char * urlroot, const char * urlmdir,
const char *urlfile)
{
-const char * xroot = rpmGetPath(urlroot, NULL);
-const char * root = xroot;
-const char * xmdir = rpmGetPath(urlmdir, NULL);
-const char * mdir = xmdir;
-const char * xfile = rpmGetPath(urlfile, NULL);
-const char * file = xfile;
+ char * xroot = rpmGetPath(urlroot, NULL);
+ const char * root = xroot;
+ char * xmdir = rpmGetPath(urlmdir, NULL);
+ const char * mdir = xmdir;
+ char * xfile = rpmGetPath(urlfile, NULL);
+ const char * file = xfile;
char * result;
const char * url = NULL;
int nurl = 0;
@@ -712,8 +712,8 @@ int rpmGlob(const char * patterns, int * argcPtr, const char *** argvPtr)
const char *home = getenv("HOME");
int gflags = 0;
#ifdef ENABLE_NLS
- const char * old_collate = NULL;
- const char * old_ctype = NULL;
+ char * old_collate = NULL;
+ char * old_ctype = NULL;
const char * t;
#endif
size_t maxb, nb;
@@ -740,7 +740,7 @@ int rpmGlob(const char * patterns, int * argcPtr, const char *** argvPtr)
if (av != NULL)
for (j = 0; j < ac; j++) {
- const char * globURL;
+ char * globURL;
const char * path;
int ut = urlPath(av[j], &path);
int local = (ut == URL_IS_PATH) || (ut == URL_IS_UNKNOWN);