From 4c0fc6074fd5f2c2f03a6fd49157711cadc32930 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 28 Dec 2015 18:13:37 +0100 Subject: [PATCH] Fixed: Set process name (fixes the under Linux and OS X) --HG-- branch : develop --- code/ryzom/client/src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 7b4b185fe..1c5476b39 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -545,6 +545,9 @@ int main(int argc, char **argv) strcpy(filename, argv[0]); + // set process name for logs + CLog::setProcessName(filename); + // ignore signal SIGPIPE generated by libwww signal(SIGPIPE, sigHandler);