git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e947aca
)
s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED
author
Stefan Metzmacher
<metze@samba.org>
Tue, 25 Oct 2011 13:12:05 +0000
(15:12 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 25 Oct 2011 15:58:33 +0000
(17:58 +0200)
This lets map_nt_error_from_unix() return the same value as
map_nt_error_from_unix_common().
There are no callers relying on NT_STATUS_PIPE_BROKEN.
metze
source3/lib/errmap_unix.c
patch
|
blob
|
history
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index ea195474ef75c184e83f90109f18e0e23e670a78..28f527ec95e69fe356b19d4dbf9105dacfcd2163 100644
(file)
--- a/
source3/lib/errmap_unix.c
+++ b/
source3/lib/errmap_unix.c
@@
-50,7
+50,7
@@
static const struct {
{ ENOMEM, NT_STATUS_NO_MEMORY },
{ EISDIR, NT_STATUS_FILE_IS_A_DIRECTORY},
#ifdef EPIPE
- { EPIPE, NT_STATUS_
PIPE_BROKEN
},
+ { EPIPE, NT_STATUS_
CONNECTION_DISCONNECTED
},
#endif
{ EMLINK, NT_STATUS_TOO_MANY_LINKS },
{ ENOSYS, NT_STATUS_NOT_SUPPORTED },