You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2019/02/12 15:27:24 UTC

svn commit: r1853443 - /openoffice/trunk/main/sal/osl/unx/nlsupport.c

Author: jim
Date: Tue Feb 12 15:27:24 2019
New Revision: 1853443

URL: http://svn.apache.org/viewvc?rev=1853443&view=rev
Log:
This is the wrong place to do this, because we are unilaterally overruling CWD.
Revert

Modified:
    openoffice/trunk/main/sal/osl/unx/nlsupport.c

Modified: openoffice/trunk/main/sal/osl/unx/nlsupport.c
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/osl/unx/nlsupport.c?rev=1853443&r1=1853442&r2=1853443&view=diff
==============================================================================
--- openoffice/trunk/main/sal/osl/unx/nlsupport.c (original)
+++ openoffice/trunk/main/sal/osl/unx/nlsupport.c Tue Feb 12 15:27:24 2019
@@ -878,9 +878,6 @@ void _imp_getProcessLocale( rtl_Locale *
      * we need to update PATH on macOS. Doing it here ensures
      * that it's done but it's not the right location to be doing
      * this.
-     * 
-     * Also address https://bz.apache.org/ooo/show_bug.cgi?id=127966
-     * here as well :/
      */
     opath = getenv ( "PATH" );
     slen = strlen( "/usr/local/bin" ) + 1;
@@ -896,14 +893,6 @@ void _imp_getProcessLocale( rtl_Locale *
     setenv("PATH", npath, 1 );
     free(npath);
 
-/* https://bz.apache.org/ooo/show_bug.cgi?id=127966 */
-    opath = getenv ( "HOME" );
-    if ( opath && *opath ) {
-        chdir ( opath );
-    } else {
-        chdir ( "/tmp" );
-    }
-
 #ifdef DEBUG
     fprintf( stderr, "nlsupport.c:  _imp_getProcessLocale() returning %s as current locale.\n", locale );
 #endif