From 137e82e73682614ef774dca8ccbfbbbc60086b04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Fri, 10 Jul 2009 13:45:59 +0000 Subject: [PATCH] Applied debian patch: opensuse_7_year_assertion.patch --- index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.c b/index.c index af32b5d..e6ef7e2 100644 --- a/index.c +++ b/index.c @@ -68,7 +68,7 @@ void make_index(void) if(debug) debuga("%s",text[53]); - // Root dir + // Root dir dirp = opendir(outdir); while ((direntp = readdir( dirp )) != NULL) { if(strcmp(IndexTree,"date") == 0) { @@ -225,7 +225,7 @@ void make_index(void) } p = strchr(html, ' '); if (!p) p = html; - if (getword_multisep(year,sizeof(year),html,' ')<0) { + if (getword_multisep(year,sizeof(year),p,' ')<0) { printf("SARG: Maybe you have a broken year in your %s%s/sarg-date file.\n",outdir,direntp->d_name); exit(1); } -- 2.47.2