search for: have_environ_decl

Displaying 7 results from an estimated 7 matches for "have_environ_decl".

2020 Apr 28
1
[PATCH nbdkit] freebsd, openbsd: Add an extern decl for environ.
...is declared in header files]) +AC_COMPILE_IFELSE([ +AC_LANG_SOURCE([[ +#include <stdlib.h> +#include <unistd.h> +static int +test (void) +{ + const char **env = environ; + return env ? 1 : 0; // this just forces env to be used +} +]]) + ],[ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_ENVIRON_DECL],[1],[environ is declared in headers]) + ],[ + AC_MSG_RESULT([no]) + ] +) + dnl Check for other headers, all optional. AC_CHECK_HEADERS([\ alloca.h \ diff --git a/plugins/sh/call.c b/plugins/sh/call.c index 4ffacfcc..91e69e9a 100644 --- a/plugins/sh/call.c +++ b/plugins/sh/call.c @@ -5...
2023 May 07
2
[PATCH nbdkit] server: Add -D nbdkit.environ=1 to dump the environment
...git a/server/main.c b/server/main.c index 1df5d69ac..7b6adc3cc 100644 --- a/server/main.c +++ b/server/main.c @@ -210,6 +210,26 @@ dump_config (void) #endif } +#ifndef WIN32 + +/* -D nbdkit.environ=1 to dump the environment at start up. */ +NBDKIT_DLL_PUBLIC int nbdkit_debug_environ; + +#ifndef HAVE_ENVIRON_DECL +extern char **environ; +#endif + +static void +dump_environment (void) +{ + size_t i; + + for (i = 0; environ[i]; ++i) + nbdkit_debug ("%s", environ[i]); +} + +#endif /* !WIN32 */ + int main (int argc, char *argv[]) { @@ -662,6 +682,14 @@ main (int argc, char *argv[]) /* Check...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...EDENTIALS_FOR_USER HAVE_DECL_RL_EVENT_HOOK HAVE_DECL_SNPRINTF HAVE_DECL_VASPRINTF HAVE_DECL_VSNPRINTF HAVE_DGETTEXT HAVE_DIRENT_D_OFF HAVE_DIRFD HAVE_DIRFD_DECL HAVE_DLCLOSE HAVE_DLERROR HAVE_DLOPEN HAVE_DLSYM HAVE_DUP2 HAVE_ENDMNTENT HAVE_ENDNETGRENT HAVE_ENVIRON_DECL HAVE_EPOLL HAVE_EPOLL_CREATE HAVE_ERRNO_DECL HAVE_EXECL HAVE_FCHMOD HAVE_FCHOWN HAVE_FCVT HAVE_FDATASYNC HAVE_FGETXATTR HAVE_FLISTXATTR HAVE_FOPEN64 HAVE_FREEADDRINFO HAVE_FREEIFADDRS HAVE_FREMOVEXATTR HAVE_FRSIZE HAVE_FSEEKO64 HAVE_FSETXATTR HA...
2019 Oct 29
0
auth logging or auditing
...AVE_DLSYM ?? HAVE_DM_GET_EVENTLIST ?? HAVE_DN_EXPAND ?? HAVE_DPRINTF ?? HAVE_DUP2 ?? HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96 ?? HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96 ?? HAVE_ENCTYPE_ARCFOUR_HMAC ?? HAVE_ENCTYPE_ARCFOUR_HMAC_MD5 ?? HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56 ?? HAVE_ENDHOSTENT ?? HAVE_ENDMNTENT ?? HAVE_ENVIRON_DECL ?? HAVE_EPOLL ?? HAVE_EPOLL_CREATE ?? HAVE_ERR ?? HAVE_ERRNO_DECL ?? HAVE_ERRX ?? HAVE_ETHTOOL ?? HAVE_ETYPE_IN_ENCRYPTEDDATA ?? HAVE_EVENTFD ?? HAVE_EXECL ?? HAVE_E_DATA_POINTER_IN_KRB5_ERROR ?? HAVE_FALLOCATE ?? HAVE_FALLOC_FL_PUNCH_HOLE ?? HAVE_FAM ?? HAVE_FAMNOEXISTS ?? HAVE_FAMOPEN2 ?? HAVE_FA...
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
On Thu, 2017-06-08 at 10:09 +0200, awl1 via samba wrote: > Hello again, Samba experts, > > sorry for being such a pain in your necks, but I really need to get a > recent Samba version to compile, and it looks like I definitely need > your help with this. > > In the meantime, I have found that the huge number of "conflicting > types" errors for rpc_*_init(...)
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem: /dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered) It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality. What can be the cause of this problem? Thanks. [2020/05/27 18:24:35.795379, 8]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
...ERROR HAVE_DLOPEN HAVE_DLSYM HAVE_DN_EXPAND HAVE_DPRINTF HAVE_DUP2 HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96 HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96 HAVE_ENCTYPE_ARCFOUR_HMAC HAVE_ENCTYPE_ARCFOUR_HMAC_MD5 HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56 HAVE_ENDHOSTENT HAVE_ENDMNTENT HAVE_ENVIRON_DECL HAVE_EPOLL HAVE_EPOLL_CREATE HAVE_ERR HAVE_ERRNO_DECL HAVE_ERRX HAVE_ETHTOOL HAVE_ETYPE_IN_ENCRYPTEDDATA HAVE_EVENTFD HAVE_EXECL HAVE_E_DATA_POINTER_IN_KRB5_ERROR HAVE_FALLOCATE HAVE_FALLOC_FL_PUNCH_HOLE HAVE_FALLTHROUGH_ATTRIBUTE HAVE_FCHMOD HAVE_FCHOWN...