* spawn.cc (av::dup_maybe): Make function void rather than void *.

* environ.cc (environ_init): Remember to reparse CYGWIN if envp is
supplied.
* heap.cc (_sbrk): Remember frame for signal handling.
* syscalls.cc (read_handler): Eliminate.
(_read): Move read_handler code here.  Reorganize for one path through
'ready_for_read'.
This commit is contained in:
Christopher Faylor
2000-09-25 16:36:12 +00:00
parent eb69b80812
commit fb5956da13
6 changed files with 50 additions and 46 deletions

View File

@@ -151,9 +151,9 @@ HANDLE win32_obj_id;
UINT return_value;
bool used;
char joinable; // for thread only
bool HandleOke () {return win32_obj_id;};
bool HandleOke () {return win32_obj_id;}
virtual void Destroy ();
virtual int Id () {return (int) win32_obj_id;};
virtual int Id () {return (int) win32_obj_id;}
};
class ThreadItem:public MTitem
@@ -165,7 +165,7 @@ void *arg;
void *return_ptr;
bool suspended;
DWORD thread_id;
DWORD GetThreadId () {return thread_id;};
DWORD GetThreadId () {return thread_id;}
/* signal handling */
struct sigaction *sigs;