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-12-28 19:56:30 +0300
committerChristopher Faylor <me@cgf.cx>2002-12-28 19:56:30 +0300
commit5360acda526283e784c27128d42d825116ae28a7 (patch)
treeb3be83ff27c9b6215fc53614d5f88512c2a2a46e
parent81915ecc39ef51a4a3e1a7c478baa2558f65c5a0 (diff)
Eliminate unit argument and special unit fields from fhandler classes andunlabeled-1.50.6
constructors throughout. * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Make decisions based on specific device type rather than unit number. * fhandler_random.cc (fhandler_dev_random::write): Ditto. (fhandler_dev_random::read): Ditto. * fhandler_socket.cc (fhandler_socket::set_connect_secret): Set device type to "urandom" after construction of entropy_source. * path.cc (windows_devices_names): Remove.
-rw-r--r--winsup/cygwin/tty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index 7e0940306..aaabdd509 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -77,7 +77,7 @@ create_tty_master (int ttynum)
ttym.setunit (ttynum); /* CGF FIXME device */
tty_master = (fhandler_tty_master *)
cygheap->fdtab.build_fhandler (-1, ttym, "/dev/ttym", NULL);
- if (tty_master->init (ttynum))
+ if (tty_master->init ())
api_fatal ("Can't create master tty");
else
{