Displaying 20 results from an estimated 22 matches for "have_c99_vsnprintf".
2003 Jun 25
2
snprintf, vsnprintf
...IBM C for
AIX 6.0 and i'm having an issue with lib/snprintf.c
The first thing i noticed is that "includes.h" is not included which is
in many other places, but I'm sure there are reaasons.
The other thing is there is a check at the beginning for HAVE_SNPRINTF,
HAVE_VSNPRINTF and HAVE_C99_VSNPRINTF to include stdio.h - that one i
get. the one i don't get is at line 790:
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF)
i can't find a HAVE_C99_SNPRINTF anywhere in configure unless it's under
another name, but it seems to me based on the description given by
"mbp&quo...
2003 Apr 08
1
compile 11.00 parisc1.1 32-bit fails - snprintf
...conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/include/stdio.h:459: error:
previous declaration of `snprintf'
*** Error exit code 1
The problem seems to be in lib/snprintf.c :
#if defined(HAVE_SNPRINTF) && defined(HAVE_VSNPRINTF) &&
defined(HAVE_C99_VSNPRINTF)
/* only include stdio.h if we are not re-defining snprintf or vsnprintf */
#include <stdio.h>
/* make the compiler happy with an empty file */
void dummy_snprintf(void) {}
#else
<snip>
- if I just run:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-DHAVE_C99_V...
2008 Aug 30
2
Strange sender log file characters
Is there a reason I get the following strange characters in my log file?
2008/08/29 19:48:13 [7138] Number of files: 42321
2008/08/29 19:48:13 [7138] Number of files transferred: 78
2008/08/29 19:48:13 [7138] Total file size: +)*)/.+),00//,+)),( bytes
2008/08/29 19:48:13 [7138] Total transferred file size: +)*)/.+),(*0,+-.,0'
bytes
2008/08/29 19:48:13 [7138] Literal data: -+,((0),' bytes
2003 May 01
0
a little issue with ADS
...D
HAVE_SETRESGID
HAVE_CONNECT
HAVE_YP_GET_DEFAULT_DOMAIN
HAVE_STAT64
HAVE_LSTAT64
HAVE_FSTAT64
HAVE_STRCASECMP
HAVE_MEMSET
HAVE_LONGLONG
COMPILER_SUPPORTS_LL
SIZEOF_OFF_T: 8
SIZEOF_INO_T: 8
HAVE_STRUCT_DIRENT64
SEEKDIR_RETURNS_VOID
HAVE_FUNCTION_MACRO
HAVE_C99_VSNPRINTF
HAVE_NATIVE_ICONV
HAVE_KERNEL_OPLOCKS_LINUX
HAVE_KERNEL_CHANGE_NOTIFY
HAVE_KERNEL_SHARE_MODES
HAVE_FTRUNCATE_EXTEND
REPLACE_GETPASS
HAVE_SECURE_MKSTEMP
SYSCONF_SC_NGROUPS_MAX
HAVE_IFACE_IFCONF
USE_SETRESUID
HAVE_MMAP
HAVE_FCNTL_LOCK
HAVE_STRUCT_FLOCK64
HAVE...
2003 Jul 07
4
Error compiling 3.0.0beta2 on HP-UX
...sage:
Compiling lib/snprintf.c
lib/snprintf.c:832: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493:
previous declaration of `snprintf'
*** Error exit code 1
Line 832 of lib/snprintf.c contains:
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int snprintf(char *str,size_t count,const char *fmt,...)
{
size_t ret;
va_list ap;
va_start(ap, fmt);
ret = vsnprintf(str, count, fmt, ap);
va_end(ap);
return ret;
}
#endif
Hmm, what to do?
Thanks a lot for any help,
Alexander Skwar
--
Signatu...
2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
...GETTIMEOFDAY_TZ=yes],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=no])])
if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [Define to 1 if gettimeofday() takes a time-zone arg])
fi
@@ -849,6 +856,9 @@ AC_CACHE_CHECK([for C99 vsnprintf],rsync_cv_HAVE_C99_VSNPRINTF,[
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
void foo(const char *format, ...) {
va_list ap;
int len;
@@ -863,7 +873,7 @@ void foo(const char *format, ......
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...* Defines:
HAVE_AIOCB64
HAVE_AIO_CANCEL
HAVE_AIO_CANCEL64
HAVE_AIO_ERROR
HAVE_AIO_ERROR64
HAVE_AIO_FSYNC
HAVE_AIO_FSYNC64
HAVE_AIO_READ
HAVE_AIO_READ64
HAVE_AIO_RETURN
HAVE_AIO_RETURN64
HAVE_AIO_SUSPEND
HAVE_AIO_SUSPEND64
HAVE_AIO_WRITE
HAVE_AIO_WRITE64
HAVE_ATEXIT
HAVE_C99_VSNPRINTF
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_CLOSEDIR64
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_DEV64_T HAVE_DLCLOSE
HAVE_DLERROR
HAVE_DLOPEN
HAVE_DLSYM
HAVE_DUP2
HAVE_ENDMNTENT
HAVE_ENDNETGRENT
HAVE_ERRNO_DECL
HAVE_EXECL
HAVE_EXP...
2007 Sep 24
2
Where is the tdbsam password database file?
...HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_USER
PUTUTLINE_RETURNS_UTMP
WITH_UTMP
HAVE_* Defines:
HAVE_ADDRTYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_BOOL
HAVE_BZERO
HAVE_C99_VSNPRINTF
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPARISON_FN_T
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_CUPS
HAVE_DECL_ASPRINTF
HAVE_DECL_RL_EVENT_HOOK
HAVE_DECL_SNPRINTF
HAVE_DECL_VASPRINTF
HAVE_DECL_VSNPRINTF
HAVE_DEVICE_MA...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...HAVE_UNISTD_H
HAVE_UTIME_H
UTMP Options:
HAVE_UTMP_H
HAVE_UT_UT_HOST
HAVE_UT_UT_NAME
HAVE_UT_UT_TIME
WITH_UTMP
HAVE_* Defines:
HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BER_SCANF
HAVE_C99_VSNPRINTF
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_CONNECT
HAVE_COPY_AUTHENTICATOR
HAVE_CRYPT
HAVE_DEVICE_MAJOR_FN
HAVE_DEVICE_MINOR_FN
HAVE_DLCLOSE
HAVE_DLERROR
HAVE_DLOPEN
HAVE_DLSYM
HAVE_DUP2
HAVE_ENCTYPE_ARCFOUR_HMAC_MD5
HAVE_ENDNETGRENT
HAVE_...
2005 May 07
0
force group broken in 3.0.14?
...NAME
HAVE_UT_UT_PID
HAVE_UT_UT_TIME
HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_USER
PUTUTLINE_RETURNS_UTMP
WITH_UTMP
HAVE_* Defines:
HAVE_ADDRTYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_C99_VSNPRINTF
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_CUPS
HAVE_DES_SET_KEY
HAVE_DEVICE_MAJOR_FN
HAVE_DEVICE_MINOR_FN
HAVE_DIRENT_D_OFF
HAVE_DLCLOSE
HAVE_DLERROR
HAVE_DLOPEN
HAVE_DLSYM
HAVE_DUP2
HAVE_ENDMN...
2007 Jun 05
1
Samba unable to connect to ldap
...HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_USER
PUTUTLINE_RETURNS_UTMP
WITH_UTMP
HAVE_* Defines:
HAVE_ADDRTYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_BOOL
HAVE_BZERO
HAVE_C99_VSNPRINTF
HAVE_CAP_GET_PROC
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPARISON_FN_T
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_DECL_ASPRINTF
HAVE_DECL_RL_EVENT_HOOK
HAVE_DECL_SNPRINTF
HAVE_DECL_VASPRINTF
HAVE_DECL_VSNPRINTF
HAVE_D...
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
.../ftp/rsync/rsync-patches-3.0.0.tar.gz
, but this entire chunk of the that original diff file was lost:
> diff -up a/config.h.in b/config.h.in
> --- a/config.h.in
> +++ b/config.h.in
> @@ -64,6 +64,9 @@
> /* Define to 1 if vsprintf has a C99-compatible return value */
> #undef HAVE_C99_VSNPRINTF
>
> +/* Define to 1 if you have the `chflags' function. */
> +#undef HAVE_CHFLAGS
> +
> /* Define to 1 if you have the `chmod' function. */
> #undef HAVE_CHMOD
>
> diff -up a/configure.sh b/configure.sh
> --- a/configure.sh
> +++ b/configure.sh
> @@ -14789...
2019 Oct 29
0
auth logging or auditing
...SUPPORT
?? HAVE_AVAHI_CLIENT_NEW
?? HAVE_AVAHI_STRERROR
?? HAVE_BACKTRACE
?? HAVE_BACKTRACE_SYMBOLS
?? HAVE_BASENAME
?? HAVE_BER_SCANF
?? HAVE_BER_SOCKBUF_ADD_IO
?? HAVE_BER_TAG_T
?? HAVE_BINDTEXTDOMAIN
?? HAVE_BIND_TEXTDOMAIN_CODESET
?? HAVE_BLKCNT_T
?? HAVE_BLKSIZE_T
?? HAVE_BOOL
?? HAVE_BZERO
?? HAVE_C99_VSNPRINTF
?? HAVE_CAP_GET_PROC
?? HAVE_CHARSET_CP850
?? HAVE_CHARSET_UTF_8
?? HAVE_CHECKSUM_IN_KRB5_CHECKSUM
?? HAVE_CHMOD
?? HAVE_CHOWN
?? HAVE_CHROOT
?? HAVE_CLEARENV
?? HAVE_CLOCK_GETTIME
?? HAVE_CLOCK_MONOTONIC
?? HAVE_CLOCK_PROCESS_CPUTIME_ID
?? HAVE_CLOCK_REALTIME
?? HAVE_CLOSEFROM
?? HAVE_COMPARISON_F...
2005 Jun 28
1
Samba as ADS Fileserver
..._UT_PID
HAVE_UT_UT_TIME
HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_USER
PUTUTLINE_RETURNS_UTMP
WITH_UTMP
HAVE_* Defines:
HAVE_ADDRTYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_C99_VSNPRINTF
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_CUPS
HAVE_DEVICE_MAJOR_FN
HAVE_DEVICE_MINOR_FN
HAVE_DIRENT_D_OFF
HAVE_DLCLOSE
HAVE_DLERROR
HAVE_DLOPEN
HAVE_DLSYM
HAVE_DUP2
HAVE_ENDMNTE...
2013 May 14
3
frequent tdb corruption
...TMP Options:
HAVE_UTMPX_H
HAVE_* Defines:
HAVE_ACL_GET_PERM_NP
HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_BER_SOCKBUF_ADD_IO
HAVE_BLKCNT_T
HAVE_BLKSIZE_T
HAVE_BOOL
HAVE_BZERO
HAVE_C99_VSNPRINTF
HAVE_CHECKSUM_IN_KRB5_CHECKSUM
HAVE_CHFLAGS
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_CLOCK_GETTIME
HAVE_CLOCK_MONOTONIC
HAVE_CLOCK_REALTIME
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_COPY_AUTHENTICATOR
HAVE_CRYPT
HAVE_DECL_ASPRINTF
HAVE_DECL_KRB5_A...
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
...IME_H
UTMP Options:
HAVE_UTMP_H
HAVE_UT_UT_HOST
HAVE_UT_UT_NAME
HAVE_UT_UT_TIME
WITH_UTMP
HAVE_* Defines:
HAVE_ACL_GET_PERM_NP
HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BER_SCANF
HAVE_C99_VSNPRINTF
HAVE_CHECKSUM_IN_KRB5_CHECKSUM
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_COPY_AUTHENTICATOR
HAVE_CRYPT
HAVE_DEVICE_MAJOR_FN
HAVE_DEVICE_MINOR_FN
HAVE_DLCLOSE
HAVE_DLERROR
HAVE_DLOPEN
HAVE_DLSYM...
2008 Feb 15
4
Revised flags patch
...reserve_xattrs)
diff -brpu rsync-3.0.0pre9/config.h.in rsync-3.0.0pre9-flags/config.h.in
--- rsync-3.0.0pre9/config.h.in Mon Feb 11 05:16:36 2008
+++ rsync-3.0.0pre9-flags/config.h.in Fri Feb 15 19:33:09 2008
@@ -64,6 +64,9 @@
/* Define to 1 if vsprintf has a C99-compatible return value */
#undef HAVE_C99_VSNPRINTF
+/* Define to 1 if you have the `chflags' function. */
+#undef HAVE_CHFLAGS
+
/* Define to 1 if you have the `chmod' function. */
#undef HAVE_CHMOD
diff -brpu rsync-3.0.0pre9/configure.in rsync-3.0.0pre9-flags/configure.in
--- rsync-3.0.0pre9/configure.in Mon Feb 11 05:16:25 2008
+++...
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
...HAVE_ATOMIC_THREAD_FENCE_SUPPORT
HAVE_AVAHI_STRERROR
HAVE_BACKTRACE
HAVE_BACKTRACE_SYMBOLS
HAVE_BASENAME
HAVE_BER_SCANF
HAVE_BER_SOCKBUF_ADD_IO
HAVE_BER_TAG_T
HAVE_BINDTEXTDOMAIN
HAVE_BIND_TEXTDOMAIN_CODESET
HAVE_BLKCNT_T
HAVE_BLKSIZE_T
HAVE_BOOL
HAVE_BZERO
HAVE_C99_VSNPRINTF
HAVE_CAP_GET_PROC
HAVE_CEPH
HAVE_CEPH_STATX
HAVE_CHARSET_CP850
HAVE_CHARSET_UTF_8
HAVE_CHECKSUM_IN_KRB5_CHECKSUM
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_CLEARENV
HAVE_CLOCK_GETTIME
HAVE_CLOCK_MONOTONIC
HAVE_CLOCK_PROCESS_CPUTIME_ID
HAVE_CLOCK_REALTIME
HAV...
2007 Jun 22
0
Samba Guest Accout Issue
...HAVE_UT_UT_TV
HAVE_UT_UT_TYPE
HAVE_UT_UT_USER
PUTUTLINE_RETURNS_UTMP
WITH_UTMP
HAVE_* Defines:
HAVE_ADDRTYPE_IN_KRB5_ADDRESS
HAVE_AP_OPTS_USE_SUBKEY
HAVE_ASPRINTF
HAVE_ASPRINTF_DECL
HAVE_ATEXIT
HAVE_BACKTRACE_SYMBOLS
HAVE_BER_SCANF
HAVE_BOOL
HAVE_BZERO
HAVE_C99_VSNPRINTF
HAVE_CAP_GET_PROC
HAVE_CHMOD
HAVE_CHOWN
HAVE_CHROOT
HAVE_COMPARISON_FN_T
HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
HAVE_CONNECT
HAVE_CREAT64
HAVE_CRYPT
HAVE_DECL_ASPRINTF
HAVE_DECL_RL_EVENT_HOOK
HAVE_DECL_SNPRINTF
HAVE_DECL_VASPRINTF
HAVE_DECL_VSNPRINTF
HAVE_D...