Displaying 9 results from an estimated 9 matches for "set_program_name".
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...progname 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 doable).
Caveat: the progname is left as it is, so set_program_name will still
affect program_name but not what error will use.
(Please note it's my first big patch to gnulib, so bear with me for
anything wrong/missing.)
[1] http://lists.gnu.org/archive/html/bug...
2010 Apr 03
1
hivex: Exported foreign symbols in libhivex.so.0.0.0
....2.1
c_isxdigit at Base 1.2.1
c_tolower at Base 1.2.1
c_toupper at Base 1.2.1
exit_failure at Base 1.2.1
full_read at Base 1.2.1
full_write at Base 1.2.1
printf_fetchargs at Base 1.2.1
printf_parse at Base 1.2.1
program_name at Base 1.2.1
safe_read at Base 1.2.1
safe_write at Base 1.2.1
set_program_name at Base 1.2.1
vasnprintf at Base 1.2.1
xstrtol at Base 1.2.1
xstrtol_fatal at Base 1.2.1
xstrtoll at Base 1.2.1
xstrtoul at Base 1.2.1
xstrtoull at Base 1.2.1
2012 May 02
0
[PATCH] fish: Add --pipe-error flag to allow detection of errors in pipe commands (RHBZ#803533).
...eractive\n"
" --no-progress-bars Disable progress bars\n"
" --remote[=pid] Send commands to remote %s\n"
@@ -158,6 +160,7 @@ main (int argc, char *argv[])
/* Set global program name that is not polluted with libtool artifacts. */
set_program_name (argv[0]);
+ /* Initialize gnulib closeout module. */
atexit (close_stdout);
setlocale (LC_ALL, "");
@@ -190,6 +193,7 @@ main (int argc, char *argv[])
{ "new", 1, 0, 'N' },
{ "no-dest-paths", 0, 0, 'D' },
{ "no-sync",...
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
Nearly any program that writes to standard output can
benefit from this sort of fix.
Without it, running e.g., ./guestfish --version > /dev/full
would exit successfully, even though it got ENOSPC
when writing to the full device. That means regular
output redirected to a file on a full partition may also
fail to be written, and the error ignored.
Before:
$ guestfish --version >
2012 Aug 06
1
[PATCH V2] virt-diff: add new virt-diff tool
...];
+ free (roots);
+
+ diff_inspect_mount_root (g, root);
+}
+
+static void
+free_drive (struct drv *drv)
+{
+ if (!drv) return;
+
+ free (drv->device);
+ free (drv);
+}
+
+int
+main (int argc, char *argv[])
+{
+ /* set global program name that is not polluted with libtool artifacts. */
+ set_program_name (argv[0]);
+ bindtextdomain (PACKAGE, LOCALEBASEDIR);
+ textdomain (PACKAGE);
+
+ enum { HELP_OPTION = CHAR_MAX + 1 };
+
+ static const char *options = "s:d:";
+ static const struct option long_options[] = {
+ {"seed", 1, 0, 's'},
+ {"domain", 1, 0,...
2013 Mar 04
1
[PATCH] fuse: Add guestmount-cleanup program to handle unmounting (RHBZ#916780).
* PATCH FOR DISCUSSION ONLY - NOT TO BE APPLIED *
Colin suggested something which seems eminently sensible:
https://bugzilla.redhat.com/show_bug.cgi?id=916780
I've been through a couple of rounds of trying to implement this.
I started with adding the option as suggested to the guestmount
program, but it tended to make the guestmount program more complex.
More importantly, adding the option
2012 Jan 17
2
[PATCH v2] New tool: virt-format
This is the same as the previous patch, but the partition type is now
chosen automatically from mbr or gpt, unless the user expresses a
preference.
https://gb.redhat.com/archives/libguestfs/2012-January/msg00136.html
Rich.
2012 Jan 17
2
[PATCH] New tool: virt-format
Rather than me explaining over again what it does, I've included the
man page below.
Rich.
----------------------------------------------------------------------
virt-format(1) Virtualization Support virt-format(1)
NAME
virt-format - Erase and make a blank disk
SYNOPSIS
virt-format [--options] -a disk.img [-a disk.img ...]
DESCRIPTION
2013 Mar 05
1
[PATCH v2] fuse: Add guestunmount program to handle unmounting (RHBZ#916780)
Since the first patch:
- The program is now called 'guestunmount'.
- I tested the --fd option and it appears to work.
- You can now control retries / quiet.
- Revised man pages.
- Includes tests.
I'm just running through the automated tests now.
Rich.