$OpenBSD: patch-obt_xml_c,v 1.1 2012/05/29 15:52:08 fgsch Exp $ --- obt/xml.c.orig Tue May 29 01:49:56 2012 +++ obt/xml.c Tue May 29 01:51:19 2012 @@ -129,6 +129,8 @@ static gboolean load_file(ObtXmlInst *i, if (!domain && !filename) /* given a full path to the file */ path = g_strdup(it->data); + else if (stat(filename, &s) == 0) + path = g_strdup(filename); else path = g_build_filename(it->data, domain, filename, NULL);