HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/emulators/teo/files/patch-src_std.c
--- src/std.c.orig	2017-11-03 16:40:23 UTC
+++ src/std.c
@@ -364,8 +364,7 @@ char *std_ApplicationPath (const char di
 {
     static char *fname = NULL;
 
-    fname = NULL;
-#ifdef DEBIAN_BUILD
+#if !defined(__DJGPP__) && !defined(_WIN32)
     /* create private directory if necessary */
     fname = std_strdup_printf ("%s/.config/%s", getenv("HOME"), dirname);
     if (access (fname, F_OK) < 0)