Displaying 3 results from an estimated 3 matches for "nr_remov".
Did you mean:
nr_reloc
2015 Jul 21
1
[PATCH] p2v: tests: Don't fail when test machine has only a single hard disk.
...intf (stderr, "This is a fatal error and virt-p2v cannot continue.\n");
- exit (EXIT_FAILURE);
- }
-
- qsort (all_disks, nr_disks, sizeof (char *), compare);
+ if (all_disks)
+ qsort (all_disks, nr_disks, sizeof (char *), compare);
if (all_removable)
qsort (all_removable, nr_removable, sizeof (char *), compare);
}
--
2.4.3
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...1));
- if (!all_disks) {
- perror ("realloc");
- exit (EXIT_FAILURE);
- }
+ if (!all_disks)
+ error (EXIT_FAILURE, errno, "realloc");
all_disks[nr_disks-1] = strdup (d->d_name);
@@ -439,26 +428,20 @@ find_all_disks (void)
nr_removable++;
all_removable = realloc (all_removable,
sizeof (char *) * (nr_removable + 1));
- if (!all_removable) {
- perror ("realloc");
- exit (EXIT_FAILURE);
- }
+ if (!all_removable)
+ error (EXIT_FAILURE, errno, &qu...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is
time to remove it from libguestfs.
[1] https://github.com/libguestfs/virt-p2v
[2] http://download.libguestfs.org/virt-p2v/
Pino Toscano (2):
Remove virt-p2v
Remove remaining virt-p2v bits
.gitignore | 4 -
Makefile.am | 7 +-
bash/Makefile.am