[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-94-g1e72ad6

[email protected] (Tim Ruehsen) Sat, 29 Feb 2020 13:13:23 -0500 (EST)
Newsgroups gmane.comp.gnu.inetutils.cvs
Message-ID <[email protected]>
--===============0691405535925989194==
Content-Type: text/plain

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  1e72ad648966437eab5738144d76189bb04ea38f (commit)
       via  79c8b8f1b045917f8ac76404ee3f8e4c207c8015 (commit)
      from  424fb865988b81a5a864228982de78c2ef426206 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=1e72ad648966437eab5738144d76189bb04ea38f


commit 1e72ad648966437eab5738144d76189bb04ea38f
Author: Tim Rühsen <[email protected]>
Date:   Sat Feb 29 19:13:19 2020 +0100

    ftp/cmds.c: Silence -Wimplicit-fallthrough

diff --git a/ftp/cmds.c b/ftp/cmds.c
index 6491424..283e5b8 100644
--- a/ftp/cmds.c
+++ b/ftp/cmds.c
@@ -2400,6 +2400,7 @@ domap (char *name)
 	      break;
 	    }
 	  /* Fall through, as '$' must be used verbatim.  */
+	  /* FALLTHROUGH */
 	default:
 	  if (*cp2 != *cp1)
 	    {

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=79c8b8f1b045917f8ac76404ee3f8e4c207c8015


commit 79c8b8f1b045917f8ac76404ee3f8e4c207c8015
Author: Tim Rühsen <[email protected]>
Date:   Sat Feb 29 19:11:04 2020 +0100

    ftp/cmds.c: Fix multipliers for M(ega) and G(iga)

diff --git a/ftp/cmds.c b/ftp/cmds.c
index 0045963..6491424 100644
--- a/ftp/cmds.c
+++ b/ftp/cmds.c
@@ -1240,10 +1240,12 @@ sethash (int argc _GL_UNUSED_PARAMETER, char **argv)
 	{
 	case 'g':
 	case 'G':
-	  hashbytes *= 1024;	/* Cascaded multiplication!  */
+	  hashbytes *= 1024 * 1024 * 1024;	/* Cascaded multiplication!  */
+	  break;
 	case 'm':
 	case 'M':
-	  hashbytes *= 1024;
+	  hashbytes *= 1024 * 1024;
+	  break;
 	case 'k':
 	case 'K':
 	  hashbytes *= 1024;

-----------------------------------------------------------------------

Summary of changes:
 ftp/cmds.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 


--===============0691405535925989194==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KQ29tbWl0LWlu
ZXR1dGlscyBtYWlsaW5nIGxpc3QKQ29tbWl0LWluZXR1dGlsc0BnbnUub3JnCmh0dHBzOi8vbGlz
dHMuZ251Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NvbW1pdC1pbmV0dXRpbHMK

--===============0691405535925989194==--