search for: dopr

Displaying 12 results from an estimated 12 matches for "dopr".

Did you mean: door
2000 Jan 06
1
bsd-snprintf.c and NeXT.
I'm wonder if anyone happens to have a simplier (slower) version of bsd-snprintf.c. It seems NeXT 3.3 (unsure about 4.2) is missing mprotect(). If I could get something to replace that for a while and fix some of theses utmp in login.c issues I may have a rough port NeXT to black hardware.=) Thanks
1999 Dec 10
0
snprintf from postgresql
...e versions have been grabbed off the net. They have been ** cleaned up to compile properly and support for .precision and ** %lx has been added. */ /************************************************************** * Original: * Patrick Powell Tue Apr 11 09:48:21 PDT 1995 * A bombproof version of doprnt (dopr) included. * Sigh. This sort of thing is always nasty do deal with. Note that * the version here does not include floating point. (now it does ... tgl) * * snprintf() is used instead of sprintf() as it does limit checks * for string length. This covers a nasty loophole. * * The oth...
2002 Jul 02
1
Rsync: Segmentation fault
...ol data stream (code 12) at io.c(150) _exit_cleanup(code=12, file=io.c, line=150): about to call exit(12) Core was generated by `/rsync/bin/rsync --server --sender -vvvlHogDtprRS --partial --numeric-ids . /'. Program terminated with signal 11, Segmentation fault. [...] (gdb) bt #0 0x2d898 in dopr (buffer=0xef7ffcb8 <Address 0xef7ffcb8 out of bounds>, maxlen=1024, format=0x3c6d8 "rsync error: %s (code %d) at %s(%d)\n", args=0xef800114) at lib/snprintf.c:155 Cannot access memory at address 0xef7ffad4. (gdb) p currlen Cannot access memory at address 0xef7ffb04. <----...
2015 Feb 11
3
Samba 4.2.0rc4 fails to start up
> On Wed, Feb 11, 2015 at 11:13:42AM +0100, Volker Lendecke wrote: > > On Tue, Feb 10, 2015 at 08:59:21PM -0800, Jeremy Allison wrote: > > > Ah ok - I expected as much. snprintf seems to be > > > broken in that it's returning -1. > > > > > > Is this our snprintf or one from Solaris ? Can > > > you try and track down why it's returning
2003 Aug 19
0
Rsync Error on Make
I am receiving the following error on an HP UX machine on execution of make. make gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/snprintf.c -o lib/snprintf.o lib/snprintf.c: In function `dopr': lib/snprintf.c:199: warning: signed and unsigned type in conditional expression lib/snprintf.c:219: warning: signed and unsigned type in conditional expression lib/snprintf.c: At top level: lib/snprintf.c:760: error: conflicting types for `snprintf' /usr/local/lib/gcc-lib/hppa1.1-hp-hpux1...
2015 Feb 12
2
Samba 4.2.0rc4 fails to start up
...; > --- > lib/replace/snprintf.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/replace/snprintf.c b/lib/replace/snprintf.c > index 6b4a711..86ba74c 100644 > --- a/lib/replace/snprintf.c > +++ b/lib/replace/snprintf.c > @@ -445,6 +445,10 @@ static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in > ch = *format++; > } > break; > + case 'j': > + cnk->cflags = DP_C_LLONG; > + ch = *format++; > + break; > case 'L': > cnk->cflags = DP_C_LDOUBLE; &...
2003 Apr 08
1
compile 11.00 parisc1.1 32-bit fails - snprintf
...checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... no checking for C99 vsnprintf... no <snip> - make fails <snip - all worked up to:> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/snprintf.c -o lib/snprintf.o lib/snprintf.c: In function `dopr': lib/snprintf.c:199: warning: signed and unsigned type in conditional expression lib/snprintf.c:219: warning: signed and unsigned type in conditional expression lib/snprintf.c: At top level: lib/snprintf.c:760: error: conflicting types for `snprintf' /usr/local/lib/gcc-lib/hppa1.1-hp-hpux1...
2006 Mar 17
3
[Bug 1173] scp reports lost connection for very large files
...ase, int min, int max, int flags) { int signvalue = 0; unsigned long uvalue; It seems that type for 'value' should be 'LLONG' instead of 'long' and similarly type for 'uvalue' should be 'unsigned LLONG' instead of 'unsigned long'. In dopr() 'value' is defined as 'LLONG' (long long) but when it's passed to fmtint() it's cast from 'LLONG' (long long) to 'long'. This seems to be root cause for snprintf() anomaly. After making these changes to fmtint, scp reports correct size for the file and tra...
2004 May 27
0
compiling on HP-UX
...e in conditional expression lib/wildmatch.c:195: warning: signed and unsigned type in conditional expression lib/wildmatch.c:199: warning: signed and unsigned type in conditional expression lib/wildmatch.c:203: warning: signed and unsigned type in conditional expression lib/snprintf.c: In function `dopr': lib/snprintf.c:202: warning: signed and unsigned type in conditional expression lib/snprintf.c:222: warning: signed and unsigned type in conditional expression lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206: warning: subscript has type `char' lib/getaddrinfo.c:20...
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 Aug 06
5
rsync-2.4.7 NEWS file
I've gone through the CVS commit log and tried to get every user-visible change since 2.4.6, so that we can make a proper announcement for 2.4.7. Please let me know if anything is missing/inaccurate. At this stage I'm planning to release two 2.4.7pre tarballs, one with the "large nohang patch" and one without. Some people inside VA will be stress-testing both, and so we can
2016 Aug 02
6
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 With this change built ok. But patch must be quite different on my platform (see attached) for portable version. And, of course, after autoreconf run. 02.08.2016 10:55, Darren Tucker ?????: > --- a/configure.ac > +++ b/configure.ac > @@ -754,6 +754,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))