path: root/rpc/rpc-lib/src
diff options
authorEmmanuel Dreyfus <>2014-09-01 14:07:15 +0200
committerVijay Bellur <>2014-09-08 02:06:52 -0700
commit72324ef5e6a1749fbdb1944b2f088f58090f81b3 (patch)
tree17a70306319cde7b86474b3e5c3781b96693a9aa /rpc/rpc-lib/src
parent165cf459cf2a61c391d16928d58b34543a7ec94e (diff)
Always check for ENODATA with ENOATTR
Linux defines ENODATA and ENOATTR with the same value, which means that code can miss on on the two without breaking. FreeBSD does not have ENODATA and GlusterFS defines it as ENOATTR just like Linux does. On NetBSD, ENODATA != ENOATTR, hence we need to check for both values to get portable behavior. BUG: 764655 Change-Id: I003a3af055fdad285d235f2a0c192c9cce56fab8 Signed-off-by: Emmanuel Dreyfus <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Niels de Vos <>
Diffstat (limited to 'rpc/rpc-lib/src')
0 files changed, 0 insertions, 0 deletions