Re: open_dll problem
- Posted by irv May 13, 2016
- 1700 views
Might try replacing this part of inet_address function in GtkEngine.e:
------------------------------ export function inet_address() --------------------------------- object results object addr ifdef LINUX then sequence tmp = temp_file(,"MYIP-") system_exec(sprintf(`ifconfig | grep "inet addr:" > %s`,{tmp})) results = trim(read_file(tmp)) results = split(results," ") delete_file(tmp) --display(results) for i = 1 to length(results) do if match("inet addr:",results[i]) = 1 then addr = split(results[i],':') addr = addr[2] if not equal("127.0.0.1",addr) then return addr end if end if end for return "127.0.0.1" end ifdef