SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- obt/xml.c.orig Mon Aug 12 03:33:24 2013
+++ obt/xml.c Mon Oct 7 18:29:46 2013
@@ -146,6 +146,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);