similar to: [klibc:master] Make asprintf() a simple wrapper around vasprintf()

Displaying 20 results from an estimated 3000 matches similar to: "[klibc:master] Make asprintf() a simple wrapper around vasprintf()"

2004 Oct 22
1
[PATCH] off-by-one in asprintf/vasprintf
Fix an off-by-one in asprintf and vasprintf. The return of vsnprintf is the number of bytes *not* including the terminating '\0'. The size argument to vsnprintf is the number of bytes *including* the terminating '\0'. diff -u klibc-0.188/klibc/asprintf.c udev/klibc-0.188/klibc/asprintf.c --- klibc-0.188/klibc/asprintf.c 2004-10-22 12:07:22.678906352 -0600 +++
2019 Jan 18
0
[klibc:master] remove unused variables
Commit-ID: f00d99cb73813d94730900e46752612a9ce4fadb Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f00d99cb73813d94730900e46752612a9ce4fadb Author: Greg Thelen <gthelen at google.com> AuthorDate: Sun, 25 Feb 2018 23:16:33 -0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Wed, 2 Jan 2019 03:08:04 +0000 [klibc] remove unused variables Fix
2013 Mar 03
0
[patch] fix schnorr vasprintf warnings on openssh-SNAP-20130304
Tested against openssh-SNAP-2013-03-04 Fix those 2 old warnings schnorr.c: In function 'debug3_bn': schnorr.c:494: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result schnorr.c: In function 'debug3_buf': schnorr.c:519: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result vasprintf return
2009 Aug 03
0
[PATCH] guestfs: don't fault upon failed vasprintf
>From 774e791d2617b318223317aa004e495b9d274d97 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Mon, 3 Aug 2009 08:43:54 -0400 Subject: [PATCH] guestfs: don't fault upon failed vasprintf * src/guestfs.c (guestfs_perrorf): Handle failed vasprintf. --- src/guestfs.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/guestfs.c
2017 Apr 12
0
[PATCH v6 03/10] mllib: ocaml wrapper for lib/osinfo
Provide osinfo database parsing API in OCaml. --- lib/osinfo.c | 39 +++++++++++++++++++++ mllib/Makefile.am | 11 ++++-- mllib/osinfo-c.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ mllib/osinfo.ml | 26 ++++++++++++++ mllib/osinfo.mli | 31 ++++++++++++++++ 5 files changed, 208 insertions(+), 2 deletions(-) create mode 100644 mllib/osinfo-c.c create mode 100644
2007 Sep 13
0
PATCH: missing free() in vasprintf() in openbsd-compat
hi, it can hardly be considered a memleak since I can see that the ret value is always checked in parent code (xasprintf() for example) and fatal() called if it's equal to -1 but the free() call is definitely missing there. --- bsd-asprintf.c Tue Dec 5 12:58:12 2006 +++ bsd-asprintf.c.new Thu Sep 13 16:51:40 2007 @@ -55,6 +55,7 @@ if (ret >= 0 && ret < INIT_SZ)
2010 May 12
8
[Bug 1770] New: circular dependencies prevent building on platforms without strlcpy, vasprintf
https://bugzilla.mindrot.org/show_bug.cgi?id=1770 Summary: circular dependencies prevent building on platforms without strlcpy, vasprintf Product: Portable OpenSSH Version: 5.5p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Build system
2012 Feb 09
2
nmbd process and winbindd process can't start in multi network interface environement
Hello, Our OS is AIX 6100-06-05-1115 and SAMBA version is 3.3.12.0 We have two network interfaces with different IPs. Now we restrict SAMBA active in onf of the interface. SWAT and smbd can start. But nmbd and winbindd processes can't start. And there is below warning info in log.nmbd and log.winbindd. Please give your suggestions and thx. pekwj42a-> # cat /usr/lib/smb.conf # Samba
2004 Jan 22
2
MGCP Problem.
Hi. I'm new in Asterisk with MGCP. I set up a MGCP user agent and start asterisk with the next configuration files. '--------------- extensions.conf ---------------------------------------------------- [general] static=yes writeprotect=yes [globals] ap1 => mgcp/aaln/ap200@64.76.148.186 [macro-apl1] exten => s,1,Dial(${ARG1},30,Ttmr) ;exten => s,2,Voicemail(u${MACRO_EXTEN})
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: > Dear Duncan, > > Many thanks! > > Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: >> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: >>> Hi all, >>> >>> after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until >>> R-3.4.1 I never had a problem with these tests. No,
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > Hi all, > > after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until > R-3.4.1 I never had a problem with these tests. No, the programm stops > at the following line of tests/reg-tests-1d.R: > >> ## available.packages() (not) caching in case of errors >> tools::assertWarning(ap1 <-
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Hi all, after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until R-3.4.1 I never had a problem with these tests. No, the programm stops at the following line of tests/reg-tests-1d.R: > ## available.packages() (not) caching in case of errors > tools::assertWarning(ap1 <- available.packages(repos = "http://foo.bar")) > tools::assertWarning(ap2 <-
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Dear Duncan, Many thanks! Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: > On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > > Hi all, > > > > after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until > > R-3.4.1 I never had a problem with these tests. No, the programm stops > > at the following line of tests/reg-tests-1d.R: > > >
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Am Mi, 1. Nov 2017, um 17:40, schrieb Duncan Murdoch: > On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: > > Dear Duncan, > > > > Many thanks! > > > > Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: > >> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > >>> Hi all, > >>> > >>> after compiling R-3.4.2 on
2003 Apr 28
1
Red Hat 9 regex symbol conflict
Hello, I've been struggling with a problem for the past several weeks, trying to get PL/R (R procedural language handler for PostgreSQL, http://www.joeconway.com/plr/) to work on Red Hat 9. In brief, R dumps core during the embedded library initialization, while in Rf_regcomp(), working on on Rprofile. Below I've included the important parts of a backtrace: Program received signal
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
Full_Name: John Brzustowski Version: R-devel-trunk, R-2.4.0 OS: linux, gcc 4.0.3 Submission from: (NULL) (206.248.157.184) This isn't a bug, but an easily-remedied performance issue. SYMPTOM > for (i in 1000 * (1:20)) { y <- paste(rep("asdf", times=i), collapse=" ") t <- system.time(strsplit(y, " ", fixed=TRUE)) cat(sprintf("i=%5d
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 1:08 PM, Albrecht Kauffmann wrote: > Am Mi, 1. Nov 2017, um 17:40, schrieb Duncan Murdoch: >> On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: >>> Dear Duncan, >>> >>> Many thanks! >>> >>> Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: >>>> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: >>>>>
2017 Oct 12
1
Re: [PATCH miniexpect 2/2] Add debugging capability at runtime.
On Wednesday, 11 October 2017 17:23:45 CEST Richard W.M. Jones wrote: > +static int > +mexp_vprintf (mexp_h *h, int password, const char *fs, va_list args) > { > - va_list args; > char *msg; > int len; > size_t n; > ssize_t r; > char *p; > > - va_start (args, fs); > len = vasprintf (&msg, fs, args); > - va_end (args); Due to the
2015 Feb 11
1
Samba 4.2.0rc4 fails to start up
>> On Wed, Feb 11, 2015 at 10:04:03AM -0500, Thomas Schulz wrote: >>>> 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. >>>>
2017 Nov 01
1
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Dear Duncan, thank you very much, that is it! Indeed, there was activated in my internet router the "telekom navigation help". When I am (or the system is) looking for an not existent url, this "help" opens its own website. After deactivation of telekom navigation help, the normal message (server not found) comes. I never gave attention to this "help", although it is