diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-01-03 11:06:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-01-03 11:06:23 +0200 |
commit | 2ad20308edf6ece3ddc6f5ae30ec2540f4eab5f1 (patch) | |
tree | f287d3b4586c578df56e9a611ce87d3e443d552b /sal | |
parent | 7eea90d66dd1bd570723ab4d981880ecfbad265c (diff) |
WaE: deprecated conversion from string constant to 'char*'
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/process.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx index 57bc7171a06d..49a57e2c81a3 100644 --- a/sal/osl/unx/process.cxx +++ b/sal/osl/unx/process.cxx @@ -500,7 +500,7 @@ static void ChildStatusProc(void *pData) if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0)) OSL_TRACE("Failed to change uid and guid, errno=%d (%s)", errno, strerror(errno)); -#if defined(LINUX) || defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY) +#if defined(LINUX) || defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(IOS) || defined(DRAGONFLY) unsetenv("HOME"); #else putenv("HOME="); |