bug in samba-3.0.25c includes.h

Herb Lewis hlewis at panasas.com
Wed Aug 22 21:02:38 GMT 2007


Following code is found in includes.h

#ifndef ENOATTR
#define ENOATTR ENODATA
#endif

however there is no test for ENODATA being defined.
I'm getting compile failures because neither ENOATTR
nor ENODATA is defined on my FreeBSD system. We probably
need a configure test for this. Otherwise what is in
other FreeBSD files is

#ifndef ENODATA
#define ENODATA EAGAIN
#endif

and this could be added to includes.h


More information about the samba-technical mailing list