Revert erroneous checkin.

This commit is contained in:
Corinna Vinschen
2005-09-28 19:22:25 +00:00
parent 1204c515fe
commit dcb091caaf
26 changed files with 172 additions and 500 deletions

View File

@@ -334,7 +334,7 @@ dtable::init_std_file_from_handle (int fd, HANDLE handle)
}
}
#define cnew(name) new ((void *) ccalloc (HEAP_FHANDLER, 1, sizeof (fhandler_union))) name
#define cnew(name) new ((void *) ccalloc (HEAP_FHANDLER, 1, sizeof (name))) name
fhandler_base *
build_fh_name (const char *name, HANDLE h, unsigned opt, suffix_info *si)
{
@@ -495,7 +495,7 @@ dtable::dup_worker (fhandler_base *oldfh)
{
*newfh = *oldfh;
newfh->set_io_handle (NULL);
if (oldfh->dup (newfh, hMainProc))
if (oldfh->dup (newfh))
{
cfree (newfh);
debug_printf ("oldfh->dup failed");