Xming: Place logfile in users tempdir

This commit is contained in:
Alexander Gottwald 2004-11-22 14:12:33 +00:00
commit 255c3c0e8c
4 changed files with 31 additions and 7 deletions

View file

@ -45,6 +45,9 @@ extern Bool g_fClipboard;
#endif
extern int g_iLogVerbose;
extern char * g_pszLogFile;
#ifdef RELOCATE_PROJECTROOT
extern Bool g_fLogFileChanged;
#endif
extern Bool g_fXdmcpEnabled;
extern char * g_pszCommandLine;
extern Bool g_fKeyboardHookLL;
@ -1177,6 +1180,9 @@ ddxProcessArgument (int argc, char *argv[], int i)
{
CHECK_ARGS (1);
g_pszLogFile = argv[++i];
#ifdef RELOCATE_PROJECTROOT
g_fLogFileChanged = TRUE;
#endif
return 2;
}