git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918e628
)
s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
author
Stefan Metzmacher
<metze@samba.org>
Fri, 6 Mar 2009 06:38:41 +0000
(07:38 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 6 Mar 2009 15:37:19 +0000
(16:37 +0100)
If someone knows a better dos error, please tell me...
metze
source3/lib/errmap_unix.c
patch
|
blob
|
history
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index 9adb2370963e086b6b6a2d61c6322682bbeb4dba..bb09726ee085d82ea9ae2beb445b509ffcd83d83 100644
(file)
--- a/
source3/lib/errmap_unix.c
+++ b/
source3/lib/errmap_unix.c
@@
-95,6
+95,9
@@
const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ENOATTR
{ ENOATTR, ERRDOS, ERRbadfile, NT_STATUS_NOT_FOUND },
#endif
+#ifdef ECANCELED
+ { ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};