From 25685bb10773a532cfd9b391ac7f7aa748a15d0b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 18 Aug 2000 19:52:31 +0000 Subject: [PATCH] * fhandler-tut.txt: hinfo -> dtable. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/fhandler-tut.txt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 31bfb27f6..eef87dbf3 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 18 15:51:06 2000 Christopher Faylor + + * fhandler-tut.txt: hinfo -> dtable. + Thu Jul 20 13:01:00 2000 Corinna Vinschen * ntsec.sgml: Add description for the new setuid ability diff --git a/winsup/doc/fhandler-tut.txt b/winsup/doc/fhandler-tut.txt index 52e08c768..213b32b20 100644 --- a/winsup/doc/fhandler-tut.txt +++ b/winsup/doc/fhandler-tut.txt @@ -8,7 +8,7 @@ Files to note: fhandler.h - must define a new derived class here and FH_* path.cc - to notice "/dev/zero" and mark it fhandler_zero.cc - new -hinfo.cc - to create the fhandler instance +dtable.cc - to create the fhandler instance OK, first we have to define what this new fhandler will do. In our example case, we're going to implement the unix "/dev/zero" device, @@ -45,7 +45,7 @@ to open "/dev/zero". Look in get_device_number; there's a long list of cases, just add one (I added one after "null"). Also remember to add an entry to the windows_device_names list in the right spot. -To go along with that change, we'll need to change hinfo.cc. Look for +To go along with that change, we'll need to change dtable.cc. Look for FH_NULL and add a case for FH_ZERO as well. Now we get to fhandler_zero.cc itself. Create the empty file and copy