* dtable.cc (unknown_file): New variable.

(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.
This commit is contained in:
Christopher Faylor
2002-10-07 20:06:16 +00:00
parent 0709b9ba16
commit dd76747b8e
3 changed files with 16 additions and 8 deletions

View File

@@ -83,8 +83,7 @@ fill_rusage (struct rusage *r, HANDLE h)
}
}
extern "C"
int
extern "C" int
getrusage (int intwho, struct rusage *rusage_in)
{
int res = 0;