* devices.in: Change native device name to native NT device name for

/dev/null, /dev/comX and /dev/ttySx.
	* devices.cc: Regenerate.
	* fhandler.cc (fhandler_base::open_9x): Remove.
	(fhandler_base::open): Don't test for DOS device name, don't call
	open_9x.
	(fhandler_dev_null::open): Remove.
	* fhandler.h (class fhandler_base): Drop open_9x declaration.
	(class fhandler_dev_null): Drop open declaration.
This commit is contained in:
Corinna Vinschen
2007-02-23 14:20:28 +00:00
parent b5cb5c9e64
commit 296a8a6369
5 changed files with 96 additions and 211 deletions

View File

@ -257,7 +257,6 @@ class fhandler_base
bool fork_fixup (HANDLE, HANDLE &, const char *);
virtual bool need_fixup_before () const {return false;}
int open_9x (int, mode_t = 0);
virtual int open (int, mode_t = 0);
int open_fs (int, mode_t = 0);
virtual int close ();
@ -1066,7 +1065,6 @@ class fhandler_dev_null: public fhandler_base
{
public:
fhandler_dev_null ();
int open (int, mode_t);
select_record *select_read (select_record *s);
select_record *select_write (select_record *s);