--- spawn.cc.orig Sun May 5 10:49:34 2002 +++ spawn.cc Sun May 5 11:04:14 2002 @@ -665,13 +665,6 @@ && cygheap->user.token != INVALID_HANDLE_VALUE) RevertToSelf (); - static BOOL first_time = TRUE; - if (first_time) - { - set_process_privilege (SE_RESTORE_NAME); - first_time = FALSE; - } - /* Load users registry hive. */ load_registry_hive (sid);