Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/ntea.cc')
-rw-r--r--winsup/cygwin/ntea.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/winsup/cygwin/ntea.cc b/winsup/cygwin/ntea.cc
index 85cc4187f..1d5c77cd4 100644
--- a/winsup/cygwin/ntea.cc
+++ b/winsup/cygwin/ntea.cc
@@ -85,10 +85,6 @@ BOOL NTWriteEA(const char *file, const char *attrname, char *buf, int len);
int __stdcall
NTReadEA (const char *file, const char *attrname, char *attrbuf, int len)
{
- /* return immediately if NTEA usage is turned off */
- if (!allow_ntea)
- return FALSE;
-
HANDLE hFileSource;
int eafound = 0;
PFILE_FULL_EA_INFORMATION ea, sea;
@@ -254,12 +250,8 @@ NTReadEARaw (HANDLE hFileSource, int *len)
*/
BOOL __stdcall
-NTWriteEA (const char *file, const char *attrname, char *buf, int len)
+NTWriteEA (const char *file, const char *attrname, const char *buf, int len)
{
- /* return immediately if NTEA usage is turned off */
- if (!allow_ntea)
- return TRUE;
-
HANDLE hFileSource;
WIN32_STREAM_ID StreamId;
DWORD dwBytesWritten;