| www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/dos/process/dosexec.c | search |
To download the latest version of this file, click on most recent revision number, then use your browser's "save page as" feature.
Up to djgpp/src/libc/dos/process/White space changes.
Avoid warnings about possible output buffer overflow with gcc-7
Update file copyright lines aftr running src/copyright.pl
Whitespace changes.
Check that 0x7160 call is supported by checking that AX does not contain 0x7100. If not supported ignore. Set CF before calling 0x7160 function.
Whitespace changes.
Enable reallocating transfer buffer in case of long command lines in dosexec.c: - add casts in case of comparisson of signed and unsigned int numbers in check_talloc() - ensure that reallocated transfer buffer doesn't grow larger than 64k - fix parameters for DOS call to get short name of executable after _put_path2 (it was wrong in case when transfer buffer were reallocated) - save proxy offset and update it if transfer buffer is reallocated in direct_exec_tail_1()
Fix namespace pollution by global variable environ
Use __tb_size instead of _go32_info_block.size_of_transfer_buffer.
Typo fix.
Merge typo from cvs version (symlink on 1.13 fix) to make it compile.
While we're updating, I'll put the fix ntvdm nesting call in dosexec with a local prototype.
Missed fix for return code from .com files (see rev 1.13)
v2.03 update. Contents of rev 1.19 to fix selector leakage on nesting
Free selectors which are leaked by DPMI provider when child processes return.
Do not mix signed and unsigned.
Work around the bug in Windows 2000's NTVDM which caused it to crash when nested DJGPP programs are used.
Change SPAWN_INTERP_ONLY_SRCH -> SPAWN_NO_EXTENSION_SRCH. Delete SPAWN_SEARCH_FLAGS.
Don't let __dosexec_find_on_path search for .sh, .ksh, .sed, and .pl. Remove redunant prototype for __djgpp_spawn.
Functionality of __spawnve moved to new function __djgpp_spawn and redone. __spawnve now calls __djgpp_spawn.
Make sure .com programs are invoked via direct_exec under LFN. Reported by Mark Elbrecht <snowball3@bigfoot.com>.
Modify __spawnve to better handle non-standard extensions when LFN=N. Modify script_exec to preserve errno if file found via __dosexec_find_on_path. Fix typo.
Support for long command lines via CMDLINE. Original version written by Mark Elbrecht.
Added symlink support for calling other programs.
Make calling other DJGPP programs use !proxy only.
Convert backslashes to slashes in script_exec(). Patch by Mark E.
Fix comparisson between signed and unsigned values warning
add flags for types of extensions
update copyright dates
Prevent crashes with invalid command lines that use pipe symbols. Recognize Unix shell names with a dash prepended to them.
import djgpp 2.02
import djgpp 2.01
import djgpp 2.00
| webmaster | delorie software privacy |
| Copyright © 2020 by DJ Delorie | Updated Apr 2020 |