diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 18:18:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 18:18:02 +0000 |
commit | fbae2bf8641db16778ddd4348b6cb7a1115d5cca (patch) | |
tree | 0a084553b7593bacab3a50af33a1b073f83318aa /winsup/cygwin/environ.cc | |
parent | 0913522dbd42e068bc737e7a32d1a8015a1e7c84 (diff) | |
download | newlib-fbae2bf8641db16778ddd4348b6cb7a1115d5cca.zip newlib-fbae2bf8641db16778ddd4348b6cb7a1115d5cca.tar.gz newlib-fbae2bf8641db16778ddd4348b6cb7a1115d5cca.tar.bz2 |
* environ.cc (struct parse_thing): Add transparent_exe option.
* fhandler_disk_file.cc (fhandler_disk_file::link): Accomodate
transparent_exe option. Add .exe suffix for links to executable files,
if transparent_exe is set.
* fhandler_process.cc (fhandler_process::fill_filebuf): Remove .exe
suffix if transparent_exe option is set.
* path.cc (symlink_worker): Accomodate transparent_exe option.
(realpath): Don't tack on .exe suffix if transparent_exe is set.
* syscalls.cc (transparent_exe): New global variable.
(unlink): Accomodate transparent_exe option.
(open): Ditto.
(link): Ditto.
(rename): Ditto. Maybe add .exe suffix when renaming executable files.
(pathconf): Accomodate transparent_exe option.
* winsup.h: Declare transparent_exe.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 8c5e79d..eb99d2b 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -586,6 +586,7 @@ static struct parse_thing {"title", {&display_title}, justset, NULL, {{false}, {true}}}, {"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}}, {"winsymlinks", {&allow_winsymlinks}, justset, NULL, {{false}, {true}}}, + {"transparent_exe", {&transparent_exe}, justset, NULL, {{false}, {true}}}, {NULL, {0}, justset, 0, {{0}, {0}}} }; |