* devices.in (dev_storage): Map /dev/clipboard to \Device\Null.

* devices.cc: Regenerate.
	* fhandler.h (fhandler_dev_clipboard::open): Drop declaration.
	* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Drop call to
	open.  Set private members to 0 and call fhandler_base::dup.
	(fhandler_dev_clipboard::open): Remove so that default
	fhandler_base::open is used to open \Device\Null.
	(set_clipboard): Drop gratuitios call to RegisterClipboardFormatW.
	(fhandler_dev_clipboard::close): Call fhandler_base::close from here.
This commit is contained in:
Corinna Vinschen
2013-10-25 16:16:50 +00:00
parent 46943206dc
commit 2118eee1ce
6 changed files with 23 additions and 28 deletions

View File

@@ -7,9 +7,9 @@ What changed:
- Slightly improve randomness of /dev/random emulation.
- Allow to use advisory locking on any device which is backed by an OS
handle. Right now this excludes /dev/clipboard, /dev/dsp, as well as
almost all virtual files under /proc.
- Allow to use advisory locking on any device which is backed by an OS handle.
Right now this excludes /dev/dsp as well as almost all virtual files under
/proc.
Bug fixes: