summaryrefslogtreecommitdiff
path: root/file
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-04-18 14:03:11 +0000
committerjbj <devnull@localhost>2003-04-18 14:03:11 +0000
commite95166341a539e5fda08e9dbc6eab8db452f5fb5 (patch)
tree7a4e2d79460d7210b61e6009bc1d50580643d6bd /file
parent8490f11738a664e0d8c413b88fa3fe830facb573 (diff)
downloadlibrpm-tizen-e95166341a539e5fda08e9dbc6eab8db452f5fb5.tar.gz
librpm-tizen-e95166341a539e5fda08e9dbc6eab8db452f5fb5.tar.bz2
librpm-tizen-e95166341a539e5fda08e9dbc6eab8db452f5fb5.zip
python: missed tuple refcount in IDTXload/IDTXglob.
CVS patchset: 6762 CVS date: 2003/04/18 14:03:11
Diffstat (limited to 'file')
-rw-r--r--file/src/ascmagic.c10
-rw-r--r--file/src/print.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/file/src/ascmagic.c b/file/src/ascmagic.c
index 226b2dd72..62ab5856b 100644
--- a/file/src/ascmagic.c
+++ b/file/src/ascmagic.c
@@ -519,11 +519,11 @@ fmagicA(fmagic fm)
struct names *p;
int i;
- char *code = NULL;
- char *code_mime = NULL;
- char *type = NULL;
- char *subtype = NULL;
- char *subtype_mime = NULL;
+ const char *code = NULL;
+ const char *code_mime = NULL;
+ const char *type = NULL;
+ const char *subtype = NULL;
+ const char *subtype_mime = NULL;
int has_escapes = 0;
int has_backspace = 0;
diff --git a/file/src/print.c b/file/src/print.c
index 93ecc0337..73a2c602f 100644
--- a/file/src/print.c
+++ b/file/src/print.c
@@ -212,7 +212,7 @@ file_fmttime(uint32_t v, int local)
if (local) {
pp = ctime(&t);
} else {
-#ifndef HAVE_DAYLIGHT && !defined(__LCLINT__)
+#if !defined(HAVE_DAYLIGHT) && !defined(__LCLINT__)
static int daylight = 0;
#ifdef HAVE_TM_ISDST
static time_t now = (time_t)0;