1 diff -urN poldek-0.18.1.orig/vfile/Makefile.am poldek-0.18.1/vfile/Makefile.am
2 --- poldek-0.18.1.orig/vfile/Makefile.am Thu Oct 24 18:23:12 2002
3 +++ poldek-0.18.1/vfile/Makefile.am Fri May 2 10:55:06 2003
5 vlibs = vftp/libvftp.a vhttp/libvhttp.a
7 noinst_PROGRAMS = sample ttest
8 -sample_SOURCES = sample.c
9 +sample_SOURCES = sample.c ../poldek_term.c ../log.c
10 sample_LDADD = libvfile.a $(vlibs) @TRURL_LDFLAG@ $(LDADD_) $(top_srcdir)/sigint/libsigint.a
12 -ttest_SOURCES = ttest.c
13 +ttest_SOURCES = ttest.c ../poldek_term.c ../log.c
14 ttest_LDADD = libvfile.a $(vlibs) @TRURL_LDFLAG@ $(LDADD_) $(top_srcdir)/sigint/libsigint.a
15 EXTRA_DIST = $(VFCURL_SRCS) \
16 testcookie.c test_progress.c
17 diff -urN poldek-0.18.1.orig/vfile/vfile.c poldek-0.18.1/vfile/vfile.c
18 --- poldek-0.18.1.orig/vfile/vfile.c Tue Oct 29 17:55:56 2002
19 +++ poldek-0.18.1/vfile/vfile.c Fri May 2 10:59:25 2003
21 #include <trurl/nmalloc.h>
24 +#include "../poldek_term.h"
26 #define VFILE_INTERNAL
32 +const char *PR_URL(const char *url) {
33 + return vf_url_slim_s(url, term_get_width()-strlen(_("Retrieving %s...\n"))-4);
36 int vfile_fetcha(const char *destdir, tn_array *urls, int urltype)
38 const struct vf_module *mod = NULL;
39 diff -urN poldek-0.18.1.orig/vfile/vfile.h poldek-0.18.1/vfile/vfile.h
40 --- poldek-0.18.1.orig/vfile/vfile.h Thu Nov 7 17:43:29 2002
41 +++ poldek-0.18.1/vfile/vfile.h Fri May 2 10:20:18 2003
45 #define CL_URL(url) vf_url_hidepasswd_s(url)
46 -#define PR_URL(url) vf_url_slim_s(url, 60)
47 +//#define PR_URL(url) vf_url_slim_s(url, 60)