[or-cvs] r16466: {torbrowser} We no longer need to set TZ for Firefox, since Vidalia now d (in torbrowser/trunk: . src/RelativeLink)

sjm217 at seul.org sjm217 at seul.org
Thu Aug 7 20:49:22 UTC 2008


Author: sjm217
Date: 2008-08-07 16:49:21 -0400 (Thu, 07 Aug 2008)
New Revision: 16466

Modified:
   torbrowser/trunk/README
   torbrowser/trunk/src/RelativeLink/RelativeLink.c
Log:
We no longer need to set TZ for Firefox, since Vidalia now does it for us since 0.1.7 

Modified: torbrowser/trunk/README
===================================================================
--- torbrowser/trunk/README	2008-08-07 20:36:29 UTC (rev 16465)
+++ torbrowser/trunk/README	2008-08-07 20:49:21 UTC (rev 16466)
@@ -147,4 +147,6 @@
        Update Pidgin OTR plugin to 3.2
        Update Tor to 0.2.1.2-alpha
        Update Torbutton to 1.2.0rc6
-       Set TZ=UTC environment variable in RelativeLink (needed by Torbutton)
\ No newline at end of file
+       Set TZ=UTC environment variable in RelativeLink (needed by Torbutton)
+1.1.2: Released 2008-08-xx
+       Don't set TZ environment variable in RelativeLink (now done by Vidalia 0.1.7)
\ No newline at end of file

Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.c
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-08-07 20:36:29 UTC (rev 16465)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-08-07 20:49:21 UTC (rev 16466)
@@ -22,9 +22,6 @@
 // Put it in the proper place.
 //
 
-#define TZVAR TEXT("TZ")
-#define TZVAL TEXT("UTC")
-
 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
 {
     STARTUPINFO si;
@@ -34,14 +31,6 @@
     si.cb = sizeof(si);
     ZeroMemory ( &pi, sizeof(pi) );
 
-    // Set TZ=UTC environment variable
-
-    if (! SetEnvironmentVariable(TZVAR, TZVAL)) 
-    {
-        MessageBox ( NULL, TEXT ("Unable to set TZ environment variable"), NULL, MB_OK);
-        return -1;
-    }
-
     TCHAR *ProgramToStart;
     ProgramToStart = TEXT ("App/vidalia.exe --datadir .\\Data\\Vidalia\\");
 



More information about the tor-commits mailing list