* ntea.cc (read_ea): Try to open file first to have more sensible

error codes.  Always refuse non "user." EAs for Linux compatibility
	and return EOPNOTSUPP.  Fix handling of empty (== non-existant) EAs.
	Always prepend "user." prefix to EA names.
	(write_ea): Try to open file first to have more sensible error codes.
	Always refuse non "user." EAs for Linux compatibility and return
	EOPNOTSUPP.  Delay skipping "user." prefix until after potential call
	to read_ea.
This commit is contained in:
Corinna Vinschen
2009-11-18 11:57:41 +00:00
parent b4fee5273e
commit 7b426e9f4a
2 changed files with 65 additions and 35 deletions

View File

@@ -1,3 +1,14 @@
2009-11-18 Corinna Vinschen <corinna@vinschen.de>
* ntea.cc (read_ea): Try to open file first to have more sensible
error codes. Always refuse non "user." EAs for Linux compatibility
and return EOPNOTSUPP. Fix handling of empty (== non-existant) EAs.
Always prepend "user." prefix to EA names.
(write_ea): Try to open file first to have more sensible error codes.
Always refuse non "user." EAs for Linux compatibility and return
EOPNOTSUPP. Delay skipping "user." prefix until after potential call
to read_ea.
2009-11-17 Corinna Vinschen <corinna@vinschen.de>
Reintegrate socket duplication via WSADuplicateSocket/WSASocket.