Displaying 20 results from an estimated 97 matches for "program_invocation_name".
2015 Feb 09
2
Re: [PATCH 2/5] macosx: Add definition of program_name for gnulib
On Mon, Feb 09, 2015 at 11:06:16AM +0000, Margaret Lewicka wrote:
> gnulib's error.c requires program_name to be externally defined
> for !_LIBC systems. This defines program_name for Darwin only.
> ---
> configure.ac | 3 +++
> src/Makefile.am | 6 ++++++
> src/program_name.c | 4 ++++
> 3 files changed, 13 insertions(+)
> create mode 100644
2015 Feb 11
2
Re: [PATCH 2/5] macosx: Add definition of program_name for gnulib
...where.
>
> It is required, because gnulib itself explicitly defines an extern
> char *program_name. See gnulib/lib/error.c:118
What actually happens in gnulib's error.c is:
#ifdef _LIBC
/* In the GNU C library, there is a predefined variable for this. */
# define program_name program_invocation_name
#endif
which on glibc causes all uses of `program_name' in the error.c source
to refer to refer to a string that glibc defines called
`program_invocation_name':
extern char *program_invocation_name; /* defined in glibc, same as argv[0]*/
On non-glibc, error.c says:
/* The calling...
2019 Jul 21
2
Missing hivex.h error when compiling on macOS 10.14 (Mojave)
..... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... yes
checking whether conversion from 'int' to 'long double' works... yes
checking whether getdtablesize works... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking wh...
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
...ibs/lt-guestfish: write error: No space left on device
Obviously, including the absolute program name in the diagnostic is a bug.
It should be "guestfish", and there's already code to perform that
sanitization in the patch below. It fixes everything except the glibc
global variable, program_invocation_name, used by error, called by
atexit+close_stdout. I'll fix that via gnulib's progname module later
today or tomorrow. Note that all other diagnostics (e.g., below) do
use the sanitized name.
The second patch is to make guestfish write --help output
to stdout, not stderr, per convention. Al...
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
Hi,
as discussed in [1], this series adds a new getprogname module.
All it does is providing a getprogname function, much like what is
found on e.g. *BSD systems, and using it in gnulib instead of progname.
Also, using it explicitly by modules avoids gnulib users the need of
either use the progname module (GPL), or to provide program_name (and
call set_program_name manually, which is not always
2010 Dec 07
1
builder-ubuntu libguestfs FAILED build step 4b8f70d46dcfed1489c97f822e263b8615f21ea0
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2010 Dec 07
0
builder-ubuntu libguestfs FAILED build step 21810ade12e43fb4d8bfdcefb37a7d8bbe9eef8c
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2014 May 29
3
Re: libguestfs error
...MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for library containing nanosleep... none required
checking for working nanosleep... yes
checking for getppriv... no
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for putenv compatible with GNU and SVID... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether rmdir...
2011 Jun 21
0
builder-ubuntu libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...r mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether fchownat works with an empty file name... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking whether setenv validates arguments... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for socklen_t... yes...
2011 Jan 28
0
builder-ubuntu libguestfs FAILED build step f060d5bcd40b4a6506d7994e67d57dccab1651b8
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Jan 28
1
builder-debian libguestfs FAILED build step 82f5fdb0dbbc0c7b04861edeadf70c86c9342df2
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2010 Dec 14
1
builder-debian libguestfs FAILED build step dec770f171329868081985ca0aa3d52eb3759935
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Jan 18
1
builder-debian libguestfs FAILED build step 41bbc0a7a3f3cd768c83183327ffc562d2040a83
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Mar 04
1
builder-debian libguestfs FAILED build step eda9826d25336bcf661700270c580d4d62128750
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Feb 15
4
builder-debian libguestfs FAILED build step f455dc3814bf9f7e7e894ba81360acb0edd92464
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Jan 28
0
builder-debian libguestfs FAILED build step f060d5bcd40b4a6506d7994e67d57dccab1651b8
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Mar 15
0
builder-debian libguestfs FAILED build step d1f1f74e5f45fa5b94ebb096fa65fa33ecc23d09
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Mar 22
1
builder-debian libguestfs FAILED build step 0daf7e81a659bcdc1ce327151cc1207b124a35a1
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Mar 29
1
builder-debian libguestfs FAILED build step 58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...
2011 Apr 01
0
builder-debian libguestfs FAILED build step 05dbe09a5c5be3d5f68dc6eb033c4f642fbac8bf
...chmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking for rawmemchr... yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slash...