This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: minor hinfo -> dtable cleanups


Since hinfo.cc got replaced by dtable, some minor cleanups to
documentation and makefiles are in order. Patch is pasted below in both
gz.uue format and plaintext.

2000-08-13  Charles Wilson  cwilson@ece.gatech.edu

	* winsup/cygwin/Makefile.in: add dtable.o to
	dependency list; remove hinfo.o from that list
	* winsup/cygwin/ROADMAP: replace 'hinfo' with
	'dtable' in sgml dependencies and comments
	* winsup/cygwin/fhandler-tut.txt: replace 'hinfo'
	with 'dtable' in the documentation

begin 664 hinfo-dtable.patch.gz
M'XL("*$;ESD``VAI;F9O+61T86)L92YP871C:`"]5FUOVS80_AS]BD,PH$YE
M^;5M$@_#$K0;&JQMBKY@P+X8-$597"12(RD[ZJ_?':E(3IPT10LT=FR9/-[K
M<\_Q=]A*9>MJS)LU/HVSG*FT$&;)"UFM-#/IB//H0J7B>G%']"V[$IDLQ$BJ
MZ+<?_XL^O/P(I&\!8[ZQ8VNX_W_0Z'`3&>&,%!NIUF#PRTJM8#J:'4>IS#)(
M:O\VM`*[WB9)LOO[8#:93,:3D_%T!I/GB\GI8G9\X-7$<7R_X!QFL\5DNIB?
M1F=GD,Q.I\,7$-/7,9R=19`6Q5(H9YJ17L`O@[\OWGW\_'[Y^@BDXD6=BIMP
MPM<2Q4=Y."65=`\=$M=<5`Z#M*.\%VX/EDPJ/!C%J6,K=/>VC@B$VDBCU?ZZ
M,4KOK_:FOL49VRB.CE`NYM,Y)B&>3Y]A2B@7ZS)8K8S&/**P7T"OUZ;:LYL+
MMK>8Y%)E^R[>DRE<U-P5>ZN%7'%NW.3NQKVX_G!Y_NKM^?N?A^G6X(-X]J^[
MD/8ON/&5$-T^MR"=C:?',#U=S$\6\^G!C1("]&VY'3`_FP0P/Q^>();ID\H7
M0>)#L(#,`!?CRPA&^4$JBO]J40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B7DLY2CV\87-!C`#NPS*%+AT02A\1>YX75"*E2^,YU.O+'
MD##\Y9K\(2\0G*G>VJ[/68EM4T@TT@XMS^+(Q]KY*?M)8SS`"HTA^9GE*#7(
MC&H=`L:,*($N4<;]:D<[Z-,;['QJ^RC^#CU=/7<5$;C>?7[SQL/'!^@SY;D%
MM_[YX\,E3@Q4B+,W<-&6ZHO41IKW8"8=4GN&!E[V:!%EY9HPXLD(UU43_0_Z
'VWQ7_`T```Q4
`
end


Index: winsup/cygwin/Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile.in
--- Makefile.in	2000/08/12 05:09:27	1.27
+++ Makefile.in	2000/08/13 22:01:39
@@ -291,6 +291,7 @@
 dll_entry.o: $(WINSUP_H) include/cygwin/cygwin_dll.h
 dll_init.o: $(WINSUP_H) include/exceptions.h dll_init.h
 dll_main.o:
+dtable.o: $(WINSUP_H)
 environ.o: $(WINSUP_H)
 errno.o: $(WINSUP_H)
 exceptions.o: $(WINSUP_H) include/exceptions.h sync.h
@@ -313,7 +314,6 @@
 gmon.o: profil.h gmon.h
 grp.o: $(WINSUP_H)
 heap.o: $(WINSUP_H)
-hinfo.o: $(WINSUP_H)
 init.o: $(WINSUP_H)
 ioctl.o: $(WINSUP_H)
 libccrt0.o: $(WINSUP_H)
Index: winsup/cygwin/ROADMAP
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/ROADMAP,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 ROADMAP
--- ROADMAP	2000/02/17 19:38:31	1.1.1.1
+++ ROADMAP	2000/08/13 22:01:40
@@ -25,8 +25,8 @@
 
 - files and I/O
 .h	delqueue fhandler path select
-.cc	delqueue dir fhandler* hinfo path pipe select tty
-.sgml	hinfo path
+.cc	delqueue dir dtable fhandler* path pipe select tty
+.sgml	dtable path
 
 - common unix functions
 .h	dll_init tz_posixrules
@@ -96,17 +96,17 @@
 An fhandler is a file type handler.  This is where the unix device
 emulation happens.
 
-hinfo.cc maps posix file descriptors to a table of file handlers (type
+dtable.cc maps posix file descriptors to a table of file handlers (type
 fhandler) in the dll.  It's mostly concerned with managing the table
 of descriptors (open, dup, fork, select).  Most of the posix I/O
-system calls (syscalls.cc) use the hinfo table to call the right
+system calls (syscalls.cc) use the dtable to call the right
 fhandler directly.
 
 fhandler.cc is the base class; specific types are derived as
-appropriate (see fhandler.h).  hinfo.cc is in charge of selecting and
+appropriate (see fhandler.h).  dtable.cc is in charge of selecting and
 creating a suitable fhandler when you open a file.  path.cc handles
 emulated files in /dev (like /dev/null) by returning an FH_* value
-from get_device_number (which hinfo.cc calls in hinfo::build_fhandler).
+from get_device_number (which dtable.cc calls in
dtable::build_fhandler).
 
 Note: if you're looking for read() and write(), they call _read() and
 _write() in syscalls.cc.  The non-underscored ones are in
Index: winsup/doc/fhandler-tut.txt
===================================================================
RCS file: /cvs/src/src/winsup/doc/fhandler-tut.txt,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 fhandler-tut.txt
--- fhandler-tut.txt	2000/02/17 19:38:31	1.1.1.1
+++ fhandler-tut.txt	2000/08/13 22:02:06
@@ -8,7 +8,7 @@
 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 @@
 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]