Redefined ELIBBAD as ENOEXEC when missing
When a plugin cannot be initialized a ELIBBAD error is returned on Linux and OpenIndiana. As this is not a Posix error code, use ENOEXEC on systems which do not define ELIBBAD.pull/2/head
parent
0ad352b40f
commit
040153adcb
|
@ -37,6 +37,10 @@
|
|||
#define ENODATA ENOENT
|
||||
#endif
|
||||
|
||||
#ifndef ELIBBAD
|
||||
#define ELIBBAD ENOEXEC
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include <getopt.h>
|
||||
#include <fuse.h>
|
||||
|
||||
#include "compat.h"
|
||||
#include "inode.h"
|
||||
#include "dir.h"
|
||||
#include "security.h"
|
||||
|
|
Loading…
Reference in New Issue