Subversion Repositories prayer

Compare Revisions

Ignore whitespace Rev 45 → Rev 46

/trunk/debian/patches/template_find_bug.patch
0,0 → 1,28
--- a/lib/template.c
+++ b/lib/template.c
@@ -199,10 +199,11 @@ template_find(char *set, char *name, str
unsigned long first, last, middle;
int rc;
- while (strcmp(tmi->name, set) != 0)
+ while (strcmp(tmi->name, set) != 0) {
tmi++;
- if (!tmi->name)
- return(NIL);
+ if (!tmi->name)
+ return(NIL);
+ }
tm = tmi->template_map;
count = *(tmi->count);
--- a/shared/config.c
+++ b/shared/config.c
@@ -168,7 +168,7 @@ struct config *config_create(void)
config->fatal_dump_core = NIL;
config->template_path = "../templates";
- config->template_set = "html4";
+ config->template_set = "xhtml_strict";
config->template_use_compiled = T;
config->prayer_user = NIL;
/trunk/debian/patches/series
3,3 → 3,4
remove_old_db_logfiles_from_prayer-ssl-prune.patch
welcome_is_template.patch
templates_fallback_to_compiled.patch
template_find_bug.patch
/trunk/debian/changelog
44,8 → 44,10
transaction logs if dirname = NULL, then call it (via DB->archive())
from ssl_prune_sessions() in lib/ssl.c.
- prayer-db-prune thus unnecessary.
* template_find_bug.patch (new): Fix segfault in template_find() when
template_set specifies a non-existing set. Also update default set.
 
-- Magnus Holmgren <holmgren@debian.org> Mon, 23 Jun 2008 22:17:02 +0200
-- Magnus Holmgren <holmgren@debian.org> Tue, 24 Jun 2008 01:34:14 +0200
 
prayer (1.2.0-1) unstable; urgency=low