Displaying 20 results from an estimated 43 matches for "have_snprintf".
Did you mean:
have_vsnprintf
2001 Oct 18
2
Incorrect return types for snprintf() and vsnprintf()
Both of these functions are using strlen() to create return value.
Cheers,
Scott Rankin
*** /openbsd-compat/bsd-snprintf.c.orig Thu Oct 18 13:57:51 2001
--- /openbsd-compat/bsd-snprintf.c Thu Oct 18 13:58:26 2001
***************
*** 632,638 ****
#endif /* !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) */
#ifndef HAVE_VSNPRINTF
! int
vsnprintf(char *str, size_t count, const char *fmt, va_list args)
{
str[0] = 0;
--- 632,638 ----
#endif /* !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) */
#ifndef HAVE_VSNPRINTF
! size_t
vsnprintf(char *str, size_t...
2003 Jun 25
2
snprintf, vsnprintf
...with 2.2.8a on AIX 5.2-ML01 with 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...
2006 Jun 29
0
openssh-4.3p2/openssh-SNAP-20060626 build failure for SunOS4.1.4
...be
consistent with the previously altered bsd-snprintf.c:
*** openbsd-compat/openbsd-compat.h.orig Fri Dec 30 21:33:37 2005
--- openbsd-compat/openbsd-compat.h Wed Jun 28 13:45:49 2006
***************
*** 153,159 ****
/* #include <sys/types.h> XXX needed? For size_t */
#ifndef HAVE_SNPRINTF
! int snprintf(char *, size_t, const char *, ...);
#endif
#ifndef HAVE_STRTOLL
--- 153,159 ----
/* #include <sys/types.h> XXX needed? For size_t */
#ifndef HAVE_SNPRINTF
! int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
#endif
#ifndef HAVE_STRTOLL
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c
...
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ
e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c
../src/openbsd-compat/bsd-snprintf.c
In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2001 Mar 11
0
Problems with sftp under SCO OpenServer (fwd)
...inal Message-----
> From: mouring at etoh.eviladmin.org [mailto:mouring at etoh.eviladmin.org]
> Sent: Monday, February 26, 2001 12:53 PM
> To: Greg Jewell
> Subject: RE: Problems with sftp under SCO OpenServer
>
>
>
> > I downloaded today's snap, and placed #undef HAVE_SNPRINTF
> and #undef
> > HAVE_VSNPRINTF in the openbsd-compat/bsd-snprintf.c file. When I
> > compiled this and connected to the system, everything looked good...
> >
> <grumble> That is what I was afraid of.
>
> Is 'llu' even valid under SCO's snprintf?...
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
2005 Dec 16
4
[Bug 1133] configure.ac sets wrong BROKEN_ var (snprintf/vsnprintf)
...r vsnprintf returns correct values on overflow... no
configure: WARNING: ****** Your vsnprintf() function is broken, complain to
your vendor
The config.h file contains no BROKEN_VSNPRINTF at all
$ grep PRINTF config.h
#define BROKEN_SNPRINTF 1
/* #undef HAVE_ASPRINTF */
#define HAVE_SNPRINTF 1
/* #undef HAVE_VASPRINTF */
#define HAVE_VSNPRINTF 1
Build fails here:
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99
-I. -I.. -I. -I./.. -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
-DHAVE_CONFIG_H -c bsd-snprintf.c
bsd-snprintf.c:792:...
2003 Apr 08
1
compile 11.00 parisc1.1 32-bit fails - snprintf
...expression
lib/snprintf.c: At top level:
lib/snprintf.c:760: error: 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...
2003 Jul 07
4
Error compiling 3.0.0beta2 on HP-UX
...exited
with this error message:
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 he...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...OT
HAVE_SECURE_MKSTEMP
HAVE_SELECT
HAVE_SENDFILEV
HAVE_SENDFILEV64
HAVE_SETBUFFER
HAVE_SETGROUPS
HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETSID
HAVE_SHMGET
HAVE_SIGACTION
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKLEN_T_TYPE
HAVE_SOLARIS_ACLS
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRDUP
HAVE_STRERROR
HAVE_STRFTIME
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_STRPBRK
HAVE_ST...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...HAVE_SETGIDX
HAVE_SETGROUPS
HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETMNTENT
HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETPRIV
HAVE_SETSID
HAVE_SETUIDX
HAVE_SHMGET
HAVE_SHM_OPEN
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKLEN_T_TYPE
HAVE_SOCK_SIN_LEN
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRDUP
HAVE_STRERROR
HAVE_STRFTIME
HAVE_STRNDUP
HAVE_STRNLEN
HAVE_STRPBRK
HAVE_ST...
2007 Sep 24
2
Where is the tdbsam password database file?
...HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETSID
HAVE_SETXATTR
HAVE_SHMGET
HAVE_SHORT_KRB5_MK_ERROR_INTERFACE
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKETPAIR
HAVE_SOCKLEN_T_TYPE
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_HIRES_TIMESTAMPS
HAVE_STAT_ST_ATIM
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STAT_ST_CTIM
HAVE_STAT_ST_MTIM
HAVE_STRCASECMP
HAVE_STRCASESTR
HAVE_STRC...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETSID
HAVE_SHMGET
HAVE_SHM_OPEN
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKLEN_T_TYPE
HAVE_SOCK_SIN_LEN
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRDUP
HAVE_STRERROR
HAVE_STRFTIME
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_STRPBRK
HAVE_S...
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...OT
HAVE_SECURE_MKSTEMP
HAVE_SELECT
HAVE_SENDFILEV
HAVE_SENDFILEV64
HAVE_SETBUFFER
HAVE_SETGROUPS
HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETSID
HAVE_SHMGET
HAVE_SIGACTION
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKLEN_T_TYPE
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRDUP
HAVE_STRERROR
HAVE_STRFTIME
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_STRPBRK
HAVE_STRTOUL
HAVE_STRUCT_...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETMNTENT
HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETSID
HAVE_SETXATTR
HAVE_SHMGET
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKLEN_T_TYPE
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRDUP
HAVE_STRERROR
HAVE_STRFTIME
HAVE_STRNDUP
HAVE_STRNLEN
HAVE_STRPBRK
HAVE_STRTOUL
HAVE_STRUCT_DIRENT64
HAVE_S...
1999 Dec 21
0
Problem with UTMP recording
...PENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlogin function. */
/* #undef HAVE_SETLOGIN */
/* Define if you have the setproctitle function. */
/* #undef HAVE_SETPROCTITLE */
/* Define if you have the snprintf function. */
#define HAVE_SNPRINTF 1
/* Define if you have the strlcat function. */
/* #undef HAVE_STRLCAT */
/* Define if you have the strlcpy function. */
/* #undef HAVE_STRLCPY */
/* Define if you have the vsnprintf function. */
#define HAVE_VSNPRINTF 1
/* Define if you have the <endian.h> header file. */
#define HA...
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
...HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETSID
HAVE_SETXATTR
HAVE_SHMGET
HAVE_SHORT_KRB5_MK_ERROR_INTERFACE
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SOCKETPAIR
HAVE_SOCKLEN_T
HAVE_SPLICE_DECL
HAVE_SRAND
HAVE_SRANDOM
HAVE_SS_FAMILY
HAVE_STAT64
HAVE_STATVFS_F_FLAG
HAVE_STAT_HIRES_TIMESTAMPS
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STRCASECMP
HAVE_STRCASESTR
HAVE_STRCHR
HAVE_STRDUP
HAVE_STR...
2001 Oct 31
2
suggested fix for the sigchld race
comments?
alternatives: sigsetjmp(ugly) and pselect(not portable, available)
drawback: additional filedescriptors.
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.82
diff -u -r1.82 serverloop.c
--- serverloop.c 10 Oct 2001 22:18:47 -0000 1.82
+++ serverloop.c 11 Oct 2001 18:06:33 -0000
@@
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...P 1
#define HAVE_REALPATH 1
#define HAVE_RECVMSG 1
#define HAVE_RRESVPORT_AF 1
#define HAVE_SENDMSG 1
#define HAVE_SETEGID 1
#define HAVE_SETEUID 1
#define HAVE_SETGROUPS 1
#define HAVE_SETREUID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETVBUF 1
#define HAVE_SIGACTION 1
#define HAVE_SNPRINTF 1
#define HAVE_SOCKETPAIR 1
#define HAVE_STRERROR 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
#define HAVE_SYSCONF 1
#define HAVE_TCGETPGRP 1
#define HAVE_TRUNCATE 1
#define HAVE_UTIMES 1
#define HAVE_VHANGUP 1
#define HAVE_VSNPRINTF 1
#define HAVE_WAITPID 1
#define HAVE_DIRNAME 1
#define HAVE_...
2007 Jun 05
1
Samba unable to connect to ldap
...HAVE_SETNETGRENT
HAVE_SETPGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETSID
HAVE_SETXATTR
HAVE_SHMGET
HAVE_SHORT_KRB5_MK_ERROR_INTERFACE
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGPROCMASK
HAVE_SIGSET
HAVE_SIG_ATOMIC_T_TYPE
HAVE_SNPRINTF
HAVE_SNPRINTF_DECL
HAVE_SOCKETPAIR
HAVE_SOCKLEN_T_TYPE
HAVE_SRAND
HAVE_SRANDOM
HAVE_STAT64
HAVE_STAT_HIRES_TIMESTAMPS
HAVE_STAT_ST_ATIM
HAVE_STAT_ST_BLKSIZE
HAVE_STAT_ST_BLOCKS
HAVE_STAT_ST_CTIM
HAVE_STAT_ST_MTIM
HAVE_STRCASECMP
HAVE_STRCASESTR
HAVE_STRC...