# HG changeset patch # User Richard M. Stallman # Date 834603611 0 # Node ID 424ef4258b34c96cf6ed66e755ff45000bd25513 # Parent 6344f92ddba24e75efa5782849ea033e3c0267a7 (restrict_dos_process): Variable deleted. (sys_spawnve): Restrict DOS processes on NT as well. diff -r 6344f92ddba2 -r 424ef4258b34 src/w32proc.c --- a/src/w32proc.c Wed Jun 12 18:19:40 1996 +0000 +++ b/src/w32proc.c Wed Jun 12 18:20:11 1996 +0000 @@ -61,9 +61,7 @@ nil means no, t means yes. */ Lisp_Object Vwin32_downcase_file_names; -/* Keep track of whether we have already started a DOS program, and - whether we can run them in the first place. */ -BOOL restrict_dos_process; +/* Keep track of whether we have already started a DOS program. */ BOOL dos_process_running; #ifndef SYS_SIGLIST_DECLARED @@ -384,8 +382,7 @@ cp->procinfo.hThread = NULL; /* If this was a DOS process, indicate that it is now safe to - start a new one. dos_process_running is only referred to under - Win95, so it doesn't matter if it is incorrect on NT. */ + start a new one. */ if (cp->is_dos_process) dos_process_running = FALSE; } @@ -623,7 +620,7 @@ /* Check if program is a DOS executable, and if so whether we are allowed to start it. */ is_dos_binary = win32_is_dos_binary (cmdname); - if (is_dos_binary && restrict_dos_process && dos_process_running) + if (is_dos_binary && dos_process_running) { errno = EAGAIN; return -1;