Displaying 20 results from an estimated 157 matches for "xvasprintf".
Did you mean:
vasprintf
2013 Aug 22
1
Re: Modules in gnulib that are GPL and are used in libguestfs
well, correct me if I'm wrong, but there is at least one module that is
used and is GPL: xvasprintf
On Thu, Aug 22, 2013 at 11:38 AM, Richard W.M. Jones <rjones@redhat.com>wrote:
> On Thu, Aug 22, 2013 at 11:18:09AM +0300, Or Goshen wrote:
> > after creating a git clone I executed "bootstrap" and then entered
> > "libguestfs/.gnulib/modules" and execute...
2011 Jun 03
0
builder-debian febootstrap success e56ae34bcfc3e355dc591b4bd99bbe8e593d33af
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2010 Dec 07
0
builder-ubuntu febootstrap success af9f9305a0a48829392a57d24aee30978b449d1d
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2013 Aug 25
1
modules in gnulib that are GPL
gettime
hash
human
memcpy
openat-die
openat-safer
quote
quotearg
readlinkat
save-cwd
symlinkat
timespec
utimens
xstrtol
xstrtoll
xstrtoumax
xvasprintf
I didnt track where they are uses, some of them arent used directly.
2011 May 27
1
builder-debian febootstrap success b5ed2a56e1d9c826e494fea5c6a353d45f3c857f
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf
..., file);
+ outmem(p, len, file);
#endif
}
@@ -213,7 +214,7 @@ void
outcslow(int c, struct output *dest)
{
char buf = c;
- __outstr(&buf, 1, dest);
+ outmem(&buf, 1, dest);
}
#endif
@@ -283,35 +284,58 @@ fmtstr(char *outbuf, size_t length, const char *fmt, ...)
}
+static int xvasprintf(char **sp, size_t size, const char *f, va_list ap)
+{
+ char *s;
+ int len;
+ va_list ap2;
+
+ va_copy(ap2, ap);
+ len = xvsnprintf(*sp, size, f, ap2);
+ va_end(ap2);
+ if (len < 0)
+ sh_error("xvsnprintf failed");
+ if (len < size)
+ return len;
+
+ s = stalloc((len >= stackbl...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle embedded NULs correctly in printf
..., file);
+ outmem(p, len, file);
#endif
}
@@ -213,7 +214,7 @@ void
outcslow(int c, struct output *dest)
{
char buf = c;
- __outstr(&buf, 1, dest);
+ outmem(&buf, 1, dest);
}
#endif
@@ -283,35 +284,58 @@ fmtstr(char *outbuf, size_t length, const char *fmt, ...)
}
+static int xvasprintf(char **sp, size_t size, const char *f, va_list ap)
+{
+ char *s;
+ int len;
+ va_list ap2;
+
+ va_copy(ap2, ap);
+ len = xvsnprintf(*sp, size, f, ap2);
+ va_end(ap2);
+ if (len < 0)
+ sh_error("xvsnprintf failed");
+ if (len < size)
+ return len;
+
+ s = stalloc((len >= stackbl...
2011 Apr 13
1
[PATCH libguestfs] include string.h and libintl.h, as needed
...am is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <string.h>
#include <inttypes.h>
#include <xvasprintf.h>
#include <math.h>
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index 5a89fcb..8d483b3 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -42,6 +42,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <locale.h>
+#include <libintl.h>
#incl...
2011 Jun 07
3
builder-debian febootstrap success d6d144eab55388d4117880f2d3a7e8c2571c9d9a
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...-tests | 1 -
modules/unistdio/ulc-vsprintf-tests | 1 -
modules/unlinkat-tests | 1 -
modules/version-etc-tests | 1 -
modules/xalloc-die-tests | 1 -
modules/xmemdup0-tests | 1 -
modules/xprintf-posix-tests | 1 -
modules/xvasprintf-tests | 1 -
tests/test-argmatch.c | 3 -
tests/test-argp-version-etc.c | 2 -
tests/test-argp.c | 3 -
tests/test-argv-iter.c | 1 -
tests/test-array_list.c | 3 -
tests/test-array_oset.c | 3...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, ad...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
...nonblocking
-openat
perror
pipe2
pread
-ptsname_r
-read-file
readlink
select
setenv
sleep
socket
-stat-time
strchrnul
strerror
strndup
-symlinkat
sys_select
sys_types
sys_wait
@@ -166,9 +152,6 @@ tls
vasprintf
vc-list-files
warnings
-xalloc
-xalloc-die
-xgetcwd
xstrtol
xstrtoll
xvasprintf
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 49dbf1998..7c71920c4 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -225,13 +225,9 @@ guestfsd_LDADD = \
$(HIVEX_LIBS) \
$(SD_JOURNAL_LIBS) \
$(top_builddir)/gnulib/lib/.libs/libgnu.a \
- $(GETADDRINFO_LIB) \
- $(HOSTENT_...