* 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user