diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-09-23 18:39:16 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-09-23 18:39:16 +0400 |
commit | e3fbb5f5ce172603b76e862d493e1dc3935a84b2 (patch) | |
tree | ece3b2790dc24c17b7877f8889a5e1990f2fbc53 /winsup/cygwin/dtable.cc | |
parent | 991f7832e6a032ebc0a7ff66597e9f31aabb7e5b (diff) |
* dtable.cc (dtable::build_fhandler): Initialize unit when using
optional path_conv argument.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r-- | winsup/cygwin/dtable.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 8578cc76e..d39713365 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -239,6 +239,7 @@ dtable::build_fhandler (int fd, const char *name, HANDLE handle, path_conv *pc) { pc->check (name); devn = pc->get_devn (); + unit = pc->get_unitn (); } if (devn == FH_BAD) |