commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Tim Ruehsen
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-94-g1e72ad6
Date: Sat, 29 Feb 2020 13:13:23 -0500 (EST)

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 <address@hidden>
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 <address@hidden>
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 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]