Blame SOURCES/sharutils-4.13.3-Append-new-line-to-usage-output.patch

d3d41f
From 1a2570d69c1c50e2dd0f619d3791b4c77d3d8d47 Mon Sep 17 00:00:00 2001
d3d41f
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
d3d41f
Date: Tue, 4 Mar 2014 15:20:47 +0100
d3d41f
Subject: [PATCH] Append new-line to usage output
d3d41f
MIME-Version: 1.0
d3d41f
Content-Type: text/plain; charset=UTF-8
d3d41f
Content-Transfer-Encoding: 8bit
d3d41f
d3d41f
This is bug in autogen, however regenerating sources would mean to
d3d41f
unbundle libopts and fix autogen. So I corrected generated sources
d3d41f
instead.
d3d41f
d3d41f
Take care about array length and substring offsets and values for
d3d41f
gettext() coherency.
d3d41f
d3d41f
Signed-off-by: Petr Písař <ppisar@redhat.com>
d3d41f
---
d3d41f
 src/shar-opts.c     | 14 +++++++-------
d3d41f
 src/uudecode-opts.c | 14 +++++++-------
d3d41f
 src/uuencode-opts.c | 14 +++++++-------
d3d41f
 3 files changed, 21 insertions(+), 21 deletions(-)
d3d41f
d3d41f
diff --git a/src/shar-opts.c b/src/shar-opts.c
d3d41f
index 1da4365..96223c6 100644
d3d41f
--- a/src/shar-opts.c
d3d41f
+++ b/src/shar-opts.c
d3d41f
@@ -74,7 +74,7 @@ int optidx = 0;
d3d41f
 /*
d3d41f
  *  shar option static const strings
d3d41f
  */
d3d41f
-static char const shar_opt_strs[10449] =
d3d41f
+static char const shar_opt_strs[10451] =
d3d41f
 /*     0 */ "shar (GNU sharutils) 4.13.3\n"
d3d41f
             "Copyright (C) 1994-2013 Free Software Foundation, Inc., all rights reserved.\n"
d3d41f
             "This is free software. It is licensed for use, modification and\n"
d3d41f
@@ -339,9 +339,9 @@ static char const shar_opt_strs[10449] =
d3d41f
             "Though this program supports 'uuencode'-d files, they are deprecated.  If\n"
d3d41f
             "you are emailing files, please consider mime-encoded files.  If you do\n"
d3d41f
             "'uuencode', base 64 is the preferred encoding method.\n\n"
d3d41f
-            "please send bug reports to:  bug-gnu-utils@gnu.org\0"
d3d41f
-/* 10319 */ "shar (GNU sharutils) - create a shell archive - Ver. 4.13.3\n"
d3d41f
-            "USAGE:  shar [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [file ...]";
d3d41f
+            "please send bug reports to:  bug-gnu-utils@gnu.org\n\0"
d3d41f
+/* 10320 */ "shar (GNU sharutils) - create a shell archive - Ver. 4.13.3\n"
d3d41f
+            "USAGE:  shar [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [file ...]\n";
d3d41f
 
d3d41f
 /*
d3d41f
  *  compression option description:
d3d41f
@@ -1414,7 +1414,7 @@ static char const * const apzHomeList[2] = {
d3d41f
 
d3d41f
 #define shar_full_usage (shar_opt_strs+4701)
d3d41f
 
d3d41f
-#define shar_short_usage (shar_opt_strs+10319)
d3d41f
+#define shar_short_usage (shar_opt_strs+10320)
d3d41f
 
d3d41f
 #endif /* not defined __doxygen__ */
d3d41f
 
d3d41f
@@ -2145,10 +2145,10 @@ arguments.\n\n\
d3d41f
 Though this program supports 'uuencode'-d files, they are deprecated.  If\n\
d3d41f
 you are emailing files, please consider mime-encoded files.  If you do\n\
d3d41f
 'uuencode', base 64 is the preferred encoding method.\n\n\
d3d41f
-please send bug reports to:  bug-gnu-utils@gnu.org"));
d3d41f
+please send bug reports to:  bug-gnu-utils@gnu.org\n"));
d3d41f
   /* short-usage */
d3d41f
   puts(_("shar (GNU sharutils) - create a shell archive - Ver. 4.13.3\n\
d3d41f
-USAGE:  shar [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [file ...]"));
d3d41f
+USAGE:  shar [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [file ...]\n"));
d3d41f
   /* explain */
d3d41f
   puts(_("If no 'file's are specified, the list of input files is read from a\n\
d3d41f
 standard input.  Standard input must not be a terminal"));
d3d41f
diff --git a/src/uudecode-opts.c b/src/uudecode-opts.c
d3d41f
index 33ebe2f..b4c6fd2 100644
d3d41f
--- a/src/uudecode-opts.c
d3d41f
+++ b/src/uudecode-opts.c
d3d41f
@@ -72,7 +72,7 @@ extern FILE * option_usage_fp;
d3d41f
 /*
d3d41f
  *  uudecode option static const strings
d3d41f
  */
d3d41f
-static char const uudecode_opt_strs[4552] =
d3d41f
+static char const uudecode_opt_strs[4554] =
d3d41f
 /*     0 */ "uudecode (GNU sharutils) 4.13.3\n"
d3d41f
             "Copyright (C) 1994-2013 Free Software Foundation, Inc., all rights reserved.\n"
d3d41f
             "This is free software. It is licensed for use, modification and\n"
d3d41f
@@ -159,9 +159,9 @@ static char const uudecode_opt_strs[4552] =
d3d41f
             "that starts with \"'begin'\" and proceeds until the end-of-encoding marker is\n"
d3d41f
             "found.  The program determines from the header line of the encoded file\n"
d3d41f
             "which of the two supported encoding schemes was used.\n\n"
d3d41f
-            "please send bug reports to:  bug-gnu-utils@gnu.org\0"
d3d41f
-/*  4412 */ "uudecode (GNU sharutils) - decode an encoded file - Ver. 4.13.3\n"
d3d41f
-            "USAGE:  uudecode [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ file ... ]";
d3d41f
+            "please send bug reports to:  bug-gnu-utils@gnu.org\n\0"
d3d41f
+/*  4413 */ "uudecode (GNU sharutils) - decode an encoded file - Ver. 4.13.3\n"
d3d41f
+            "USAGE:  uudecode [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ file ... ]\n";
d3d41f
 
d3d41f
 /*
d3d41f
  *  output-file option description:
d3d41f
@@ -345,7 +345,7 @@ static char const * const apzHomeList[2] = {
d3d41f
 
d3d41f
 #define uudecode_full_usage (uudecode_opt_strs+2463)
d3d41f
 
d3d41f
-#define uudecode_short_usage (uudecode_opt_strs+4412)
d3d41f
+#define uudecode_short_usage (uudecode_opt_strs+4413)
d3d41f
 
d3d41f
 #endif /* not defined __doxygen__ */
d3d41f
 
d3d41f
@@ -720,10 +720,10 @@ be written to the same file as the previous output.  Don't do that.\n\n\
d3d41f
 that starts with \"'begin'\" and proceeds until the end-of-encoding marker is\n\
d3d41f
 found.  The program determines from the header line of the encoded file\n\
d3d41f
 which of the two supported encoding schemes was used.\n\n\
d3d41f
-please send bug reports to:  bug-gnu-utils@gnu.org"));
d3d41f
+please send bug reports to:  bug-gnu-utils@gnu.org\n"));
d3d41f
   /* short-usage */
d3d41f
   puts(_("uudecode (GNU sharutils) - decode an encoded file - Ver. 4.13.3\n\
d3d41f
-USAGE:  uudecode [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ file ... ]"));
d3d41f
+USAGE:  uudecode [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ file ... ]\n"));
d3d41f
   /* explain */
d3d41f
   puts(_("If no 'file'(s) are provided, then standard input is decoded"));
d3d41f
   /* detail */
d3d41f
diff --git a/src/uuencode-opts.c b/src/uuencode-opts.c
d3d41f
index 93c9570..eb791d5 100644
d3d41f
--- a/src/uuencode-opts.c
d3d41f
+++ b/src/uuencode-opts.c
d3d41f
@@ -71,7 +71,7 @@ extern char const uu_base64[64];
d3d41f
 /*
d3d41f
  *  uuencode option static const strings
d3d41f
  */
d3d41f
-static char const uuencode_opt_strs[4248] =
d3d41f
+static char const uuencode_opt_strs[4250] =
d3d41f
 /*     0 */ "uuencode (GNU sharutils) 4.13.3\n"
d3d41f
             "Copyright (C) 1994-2013 Free Software Foundation, Inc., all rights reserved.\n"
d3d41f
             "This is free software. It is licensed for use, modification and\n"
d3d41f
@@ -155,9 +155,9 @@ static char const uuencode_opt_strs[4248] =
d3d41f
             "'Note': 'uuencode' uses buffered input and assumes that it is not hand\n"
d3d41f
             "typed from a tty.  The consequence is that at a tty, you may need to hit\n"
d3d41f
             "Ctl-D several times to terminate input.\n\n"
d3d41f
-            "please send bug reports to:  bug-gnu-utils@gnu.org\0"
d3d41f
-/*  4101 */ "uuencode (GNU sharutils) - encode a file into email friendly text - Ver. 4.13.3\n"
d3d41f
-            "USAGE:  uuencode [ -<flag> | --<name> ]... [ in-file ] output-name";
d3d41f
+            "please send bug reports to:  bug-gnu-utils@gnu.org\n\0"
d3d41f
+/*  4102 */ "uuencode (GNU sharutils) - encode a file into email friendly text - Ver. 4.13.3\n"
d3d41f
+            "USAGE:  uuencode [ -<flag> | --<name> ]... [ in-file ] output-name\n";
d3d41f
 
d3d41f
 /*
d3d41f
  *  base64 option description:
d3d41f
@@ -340,7 +340,7 @@ static char const * const apzHomeList[2] = {
d3d41f
 
d3d41f
 #define uuencode_full_usage (uuencode_opt_strs+2306)
d3d41f
 
d3d41f
-#define uuencode_short_usage (uuencode_opt_strs+4101)
d3d41f
+#define uuencode_short_usage (uuencode_opt_strs+4102)
d3d41f
 
d3d41f
 #endif /* not defined __doxygen__ */
d3d41f
 
d3d41f
@@ -695,10 +695,10 @@ standard out.\n\n\
d3d41f
 'Note': 'uuencode' uses buffered input and assumes that it is not hand\n\
d3d41f
 typed from a tty.  The consequence is that at a tty, you may need to hit\n\
d3d41f
 Ctl-D several times to terminate input.\n\n\
d3d41f
-please send bug reports to:  bug-gnu-utils@gnu.org"));
d3d41f
+please send bug reports to:  bug-gnu-utils@gnu.org\n"));
d3d41f
   /* short-usage */
d3d41f
   puts(_("uuencode (GNU sharutils) - encode a file into email friendly text - Ver. 4.13.3\n\
d3d41f
-USAGE:  uuencode [ -<flag> | --<name> ]... [ in-file ] output-name"));
d3d41f
+USAGE:  uuencode [ -<flag> | --<name> ]... [ in-file ] output-name\n"));
d3d41f
   /* detail */
d3d41f
   puts(_("'uuencode' is used to create an ASCII representation of a file that can be\n\
d3d41f
 sent over channels that may otherwise corrupt the data.  Specifically,\n\
d3d41f
-- 
d3d41f
1.8.5.3
d3d41f