* errno.cc (seterrno_from_win_error): Fix debugging output.

* fhandler.cc (fhandler_base::fstat): Move to inline method in fhandler.h.
(fhandler_base::set_io_handle): Ditto.
* fhandler.h (fhandler_base): Make some methods inline.
* fhandler_console.cc (fhandler_console::write_normal): Make buffer larger.
* sigproc.h (sigframe::sigframe): Actually use set ebp parameter correctly.
* spawn.cc (spawn_guts): Set dwProcessId when exec'ing.  Just exit immediately
after reparenting.
* syscalls.cc: Sprinkle sigframe stuff throughout.
* wait.cc (wait4): Set signal frame here.
* dcrt0.cc (__api_fatal): Don't rely on small_printf to display errors.  Always
display problems to the console, if possible.
This commit is contained in:
Christopher Faylor
2000-10-12 04:38:29 +00:00
parent 8251f53ddd
commit ec300c9979
11 changed files with 89 additions and 29 deletions

View File

@ -764,13 +764,6 @@ fhandler_base::lock (int, struct flock *)
return -1;
}
int
fhandler_base::fstat (struct stat *buf)
{
return stat_dev (get_device (), get_unit (), get_namehash (), buf);
return 0;
}
extern "C" char * __stdcall
rootdir(char *full_path)
{
@ -980,13 +973,6 @@ fhandler_base::dump (void)
paranoid_printf ("here");
}
void
fhandler_base::set_io_handle (HANDLE x)
{
debug_printf ("set handle to %p", x);
io_handle = x;
}
int
fhandler_base::dup (fhandler_base *child)
{