Displaying 6 results from an estimated 6 matches for "destination_is_zero_option".
2023 Apr 14
1
[libnbd PATCH 2/4] copy: rename <purpose>_OPTION to OPT_<purpose>
...diff --git a/copy/main.c b/copy/main.c
index bb67e97ff97a..8055b3a656ba 100644
--- a/copy/main.c
+++ b/copy/main.c
@@ -106,34 +106,34 @@ int
main (int argc, char *argv[])
{
enum {
- HELP_OPTION = CHAR_MAX + 1,
- LONG_OPTIONS_OPTION,
- SHORT_OPTIONS_OPTION,
- ALLOCATED_OPTION,
- DESTINATION_IS_ZERO_OPTION,
- FLUSH_OPTION,
- NO_EXTENTS_OPTION,
- QUEUE_SIZE_OPTION,
- REQUEST_SIZE_OPTION,
- SYNCHRONOUS_OPTION,
+ OPT_HELP = CHAR_MAX + 1,
+ OPT_LONG_OPTIONS,
+ OPT_SHORT_OPTIONS,
+ OPT_ALLOCATED,
+ OPT_DESTINATION_IS_ZERO,
+ OPT_FLUSH,
+ OPT_NO_EXTENTS,
+ OPT_QUEUE_S...
2023 Apr 14
1
[libnbd PATCH 1/4] copy: rename (LONG|SHORT)_OPTIONS to (LONG|SHORT)_OPTIONS_OPTION
...opy/main.c
> +++ b/copy/main.c
> @@ -107,8 +107,8 @@ main (int argc, char *argv[])
> {
> enum {
> HELP_OPTION = CHAR_MAX + 1,
> - LONG_OPTIONS,
> - SHORT_OPTIONS,
> + LONG_OPTIONS_OPTION,
> + SHORT_OPTIONS_OPTION,
> ALLOCATED_OPTION,
> DESTINATION_IS_ZERO_OPTION,
> FLUSH_OPTION,
> @@ -120,7 +120,7 @@ main (int argc, char *argv[])
> const char *short_options = "C:pR:S:T:vV";
> const struct option long_options[] = {
> { "help", no_argument, NULL, HELP_OPTION },
> - { "long-opti...
2023 Apr 14
1
[libnbd PATCH 1/4] copy: rename (LONG|SHORT)_OPTIONS to (LONG|SHORT)_OPTIONS_OPTION
.../main.c
index f9a714c4f677..bb67e97ff97a 100644
--- a/copy/main.c
+++ b/copy/main.c
@@ -107,8 +107,8 @@ main (int argc, char *argv[])
{
enum {
HELP_OPTION = CHAR_MAX + 1,
- LONG_OPTIONS,
- SHORT_OPTIONS,
+ LONG_OPTIONS_OPTION,
+ SHORT_OPTIONS_OPTION,
ALLOCATED_OPTION,
DESTINATION_IS_ZERO_OPTION,
FLUSH_OPTION,
@@ -120,7 +120,7 @@ main (int argc, char *argv[])
const char *short_options = "C:pR:S:T:vV";
const struct option long_options[] = {
{ "help", no_argument, NULL, HELP_OPTION },
- { "long-options", no_argument,...
2023 Apr 14
1
[libnbd PATCH 1/4] copy: rename (LONG|SHORT)_OPTIONS to (LONG|SHORT)_OPTIONS_OPTION
...t; @@ -107,8 +107,8 @@ main (int argc, char *argv[])
>> {
>> enum {
>> HELP_OPTION = CHAR_MAX + 1,
>> - LONG_OPTIONS,
>> - SHORT_OPTIONS,
>> + LONG_OPTIONS_OPTION,
>> + SHORT_OPTIONS_OPTION,
>> ALLOCATED_OPTION,
>> DESTINATION_IS_ZERO_OPTION,
>> FLUSH_OPTION,
>> @@ -120,7 +120,7 @@ main (int argc, char *argv[])
>> const char *short_options = "C:pR:S:T:vV";
>> const struct option long_options[] = {
>> { "help", no_argument, NULL, HELP_OPTION },
>>...
2023 Apr 14
4
[libnbd PATCH 0/4] copy: wrap source code at 80 characters
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
I figured I'd work on the libnbd line wrapping in shorter waves than how
long the nbdkit patch series was.
Laszlo
Laszlo Ersek (4):
copy: rename (LONG|SHORT)_OPTIONS to (LONG|SHORT)_OPTIONS_OPTION
copy: rename <purpose>_OPTION to OPT_<purpose>
copy: fix layout of "long_options" table
copy: rewrap
2023 Apr 14
3
[libnbd PATCH v2 0/3] copy: wrap source code at 80 characters
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
v1: https://listman.redhat.com/archives/libguestfs/2023-April/031258.html
Please refer to the Notes section in each patch for the v2 updates.
BR,
Laszlo
Laszlo Ersek (3):
copy: rename DESTINATION_IS_ZERO_OPTION to TARGET_IS_ZERO_OPTION
copy: fix layout of "long_options" table
copy: rewrap error message about stuck NBD server
copy/file-ops.c | 4 +-
copy/main.c | 44 ++++++++++----------
copy/multi-thread-copying.c | 2 +-
copy/nbd-ops.c | 5 ++-...