pajoye                                   Fri, 04 Sep 2009 06:59:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=288028

Log:
- be sure that we use the user token by default (Christian Wenz)

Changed paths:
    U   php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
    U   php/php-src/trunk/TSRM/tsrm_win32.c

Modified: php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c      2009-09-04 05:50:31 UTC 
(rev 288027)
+++ php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c      2009-09-04 06:59:08 UTC 
(rev 288028)
@@ -318,7 +318,7 @@
        char *ptype = (char *)type;
        HANDLE thread_token = NULL;
        HANDLE token_user = NULL;
-       BOOL asuser = FALSE;
+       BOOL asuser = TRUE;

        TSRMLS_FETCH();

@@ -380,7 +380,6 @@
                if (err == ERROR_NO_TOKEN) {
                        asuser = FALSE;
                }
-
        }

        cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c 
")+2);

Modified: php/php-src/trunk/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/trunk/TSRM/tsrm_win32.c 2009-09-04 05:50:31 UTC (rev 288027)
+++ php/php-src/trunk/TSRM/tsrm_win32.c 2009-09-04 06:59:08 UTC (rev 288028)
@@ -319,7 +319,7 @@
        char *ptype = (char *)type;
        HANDLE thread_token = NULL;
        HANDLE token_user = NULL;
-       BOOL asuser = FALSE;
+       BOOL asuser = TRUE;

        TSRMLS_FETCH();


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to