Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-10-08 00:06:16 +0400
committerChristopher Faylor <me@cgf.cx>2002-10-08 00:06:16 +0400
commitdd76747b8e7892a8a17be9149c600561f518399a (patch)
tree52cfc9ca165345eb291c6519c65dbbd882696d54 /winsup/cygwin/resource.cc
parent0709b9ba168f0562c7d01b08ec44849658212ff8 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/resource.cc')
-rw-r--r--winsup/cygwin/resource.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/resource.cc b/winsup/cygwin/resource.cc
index 0db6cd5b8..01e065bb5 100644
--- a/winsup/cygwin/resource.cc
+++ b/winsup/cygwin/resource.cc
@@ -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;