Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-17 07:52:08 +0400
committerChristopher Faylor <me@cgf.cx>2001-04-17 07:52:08 +0400
commit431ba7dd33c6c29bca5b1172c43d522c1fa152cf (patch)
tree6c35ba68e0ddb119924f6d89549a14f22feed658 /winsup/cygwin/child_info.h
parent7ade56ca6aed6c0a1a7227934ea31160958306a3 (diff)
* path.h (cwdstuff): Move class.
* cygheap.h (cwdstuff): To here. (init_cygheap): Add cwd field. * child_info.h (cygheap_exec_info): Eliminate cwd stuff. (child_info_spawn): Ditto. * dcrt0.cc (dll_crt0_1): Remove cygcwd.fixup_after_exec call. Convert cygcwd reference to cygheap->cwd. * path.cc: Ditto, throughout. (cwdstuff::copy): Eliminate. (cwdstuff::fixup_after_exec): Ditto. * spawn.cc (spawn_guts): Eliminate call to cygcwd.copy. * fhandler.h (FH_OSS_DSP): Move into "fast" device category.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r--winsup/cygwin/child_info.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index 8297576ab..5cef2607b 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -68,9 +68,6 @@ public:
int envc;
char **envp;
HANDLE myself_pinfo;
- char *cwd_posix;
- char *cwd_win32;
- DWORD cwd_hash;
};
class child_info_spawn: public child_info
@@ -88,10 +85,6 @@ public:
{
if (moreinfo->old_title)
cfree (moreinfo->old_title);
- if (moreinfo->cwd_posix)
- cfree (moreinfo->cwd_posix);
- if (moreinfo->cwd_win32)
- cfree (moreinfo->cwd_win32);
if (moreinfo->envp)
{
for (char **e = moreinfo->envp; *e; e++)