summaryrefslogtreecommitdiff
path: root/lib/database.c
diff options
context:
space:
mode:
authorGuy Maor <maor@debian.org>1999-01-29 08:53:59 +0000
committerGuy Maor <maor@debian.org>1999-01-29 08:53:59 +0000
commit144d63847622fb578b306a18d1e848b240771f64 (patch)
treeed6bf749e61d8c1aa39aef81e6767bbf0cbc5f43 /lib/database.c
parent026b9db8830c1cebfda297cd9fdb22d5aa60dea3 (diff)
downloaddpkg-144d63847622fb578b306a18d1e848b240771f64.tar.gz
dpkg 1.4.1
Diffstat (limited to 'lib/database.c')
-rw-r--r--lib/database.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/database.c b/lib/database.c
index e20431161..dc6f25b5e 100644
--- a/lib/database.c
+++ b/lib/database.c
@@ -22,9 +22,9 @@
#include <ctype.h>
#include <string.h>
-#include "config.h"
-#include "dpkg.h"
-#include "dpkg-db.h"
+#include <config.h>
+#include <dpkg.h>
+#include <dpkg-db.h>
#define BINS (1 << 7)
/* This must always be a power of two. If you change it
@@ -233,7 +233,7 @@ void hashreport(FILE *file) {
}
for (i=npackages; i>0 && freq[i]==0; i--);
while (i>=0) { fprintf(file,"size %7d occurs %5d times\n",i,freq[i]); i--; }
- if (ferror(file)) ohshite("failed write during hashreport");
+ if (ferror(file)) ohshite(_("failed write during hashreport"));
}
/*
@@ -255,3 +255,10 @@ void hashreport(FILE *file) {
* xgames xherc xmach32 xmach8 xmono xnet xs3 xsvga xtexstuff xv
* xvga16 xxgdb zip
*/
+
+
+
+
+
+
+