* fhandler.h (class fhandler_dev_mem): Remove dup method declaration.

* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Accommodate the
	fact that the entire fhandler gets copied over to the child in
	operator =.
	* fhandler_floppy.cc (fhandler_dev_floppy::dup): Ditto.
	* fhandler_raw.cc (fhandler_dev_raw::dup): Ditto.
	* fhandler_serial.cc (fhandler_serial::dup): Ditto.
	* fhandler_socket.cc (fhandler_socket::dup): Ditto.
	* fhandler_virtual.cc (fhandler_virtual::dup): Ditto.
	* fhandler_mem.cc (fhandler_dev_mem::dup): Ditto.  Remove entirely.
This commit is contained in:
Corinna Vinschen
2011-07-31 12:37:52 +00:00
parent 6c6fe41781
commit c114604529
9 changed files with 18 additions and 60 deletions

View File

@@ -50,11 +50,6 @@ fhandler_dev_clipboard::dup (fhandler_base * child)
if (!fhc->open (get_flags (), 0))
system_printf ("error opening clipboard, %E");
fhc->membuffer = membuffer;
fhc->pos = pos;
fhc->msize = msize;
return 0;
}