From 91c05b33982a2cb2f25d26310b5110487c6e8300 Mon Sep 17 00:00:00 2001 From: Claudio Fontana Date: Sun, 8 Jan 2006 04:38:59 +0000 Subject: * fix bad offtostr usage (now uses return value) --- ChangeLog | 4 ++++ TODO | 2 +- m4/gettext.m4 | 2 +- src/mkid.c | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0d86353..2d84ddb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-01-08 Claudio Fontana + + * src/mkid.c: fixed bad offtostr usage (now uses return value) + 2006-01-06 Claudio Fontana * configure.ac: reverted change to "conditionally add -I ../intl to the diff --git a/TODO b/TODO index 546d661..eac2d6b 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -id-utils TODO - Future directions +idutils TODO - Future directions * General - Add comments to all substantive functions diff --git a/m4/gettext.m4 b/m4/gettext.m4 index da2d610..f6b4f16 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -238,7 +238,7 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], LIBINTL="${INTLDIR}/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" LTLIBINTL="${INTLDIR}/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` - CPPFLAGS="$CPPFLAGS -I${INTLDIR}" + CPPFLAGS="$CPPFLAGS -I${INTLDIR}" fi CATOBJEXT= diff --git a/src/mkid.c b/src/mkid.c index 2c31fd8..6b5cef6 100644 --- a/src/mkid.c +++ b/src/mkid.c @@ -405,11 +405,11 @@ scan_files (struct idhead *idhp) hash_init (&token_table, n, token_hash_1, token_hash_2, token_hash_cmp); if (verbose_flag) { char offstr[INT_BUFSIZE_BOUND(off_t)]; - offtostr(largest_member_file, offstr); printf ("files=%ld, largest=%s, slots=%lu\n", idhp->idh_member_file_table.ht_fill, - offstr, token_table.ht_size); + offtostr(largest_member_file, offstr), + token_table.ht_size); } init_hits_signature (0); init_summary (); -- cgit v1.2.3