From b665202fc06826ae3c239f3420f8052989c7568c Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 19 Jan 2024 19:03:20 +0100 Subject: Set the TUXMCD_DEBUG env. var for VFS logging In case tuxcmd is started with the --debug switch, set the TUXMCD_DEBUG env. var that is later picked up by modules. --- ULibc.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'ULibc.pas') diff --git a/ULibc.pas b/ULibc.pas index 50996bd..edccfc8 100644 --- a/ULibc.pas +++ b/ULibc.pas @@ -892,6 +892,7 @@ function getegid: __gid_t; cdecl; external GLIBC_LIB name 'getegid'; function access(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'access'; function euidaccess(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'euidaccess'; +function setenv(name: PChar; value: PChar; overwrite: Longint): Longint; cdecl; external GLIBC_LIB name 'setenv'; type pthread_t = {$ifdef cpu64}QWord{$else}DWord{$endif}; -- cgit v1.2.3