diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-31 02:48:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-31 02:48:03 +0300 |
commit | 305d2045a9dc2615aa61eb12b6a74d7d5b7e538f (patch) | |
tree | dc28269b7e29ba0c2b0008d0e94b11630de8988f /lib/rpmdb_internal.h | |
parent | 5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e (diff) | |
download | librpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.tar.gz librpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.tar.bz2 librpm-tizen-305d2045a9dc2615aa61eb12b6a74d7d5b7e538f.zip |
Lose dbi file configuration option
- index names are rpm tag names, period
- also we dont need to strdup() the tag name, rpmTagGetName() returns
pointers to const strings these days
Diffstat (limited to 'lib/rpmdb_internal.h')
-rw-r--r-- | lib/rpmdb_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmdb_internal.h b/lib/rpmdb_internal.h index 08f379b66..83d0e1a3d 100644 --- a/lib/rpmdb_internal.h +++ b/lib/rpmdb_internal.h @@ -14,7 +14,7 @@ typedef struct _dbiIndex * dbiIndex; * Describes an index database (implemented on Berkeley db functionality). */ struct _dbiIndex { - char * dbi_file; /*!< file component of path */ + const char * dbi_file; /*!< file component of path */ int dbi_ecflags; /*!< db_env_create flags */ int dbi_cflags; /*!< db_create flags */ |