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-32-g56fc0c


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-32-g56fc0cc
Date: Thu, 2 Mar 2017 10:39:11 -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  56fc0cc15dd9b2986e890dd8b919c9af4a8fa46a (commit)
       via  73e2811a0512556fd5359acc4387f46c79a9884a (commit)
      from  c41f6dfcd469d1e41c3fcf924607016d9d983a0b (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=56fc0cc15dd9b2986e890dd8b919c9af4a8fa46a


commit 56fc0cc15dd9b2986e890dd8b919c9af4a8fa46a
Author: Mats Erik Andersson <address@hidden>
Date:   Thu Mar 2 16:20:47 2017 +0100

    ftp: Portability to Android.
    
    Add external declaration of getpass().
    Tiny patch by Fredrik Fornwall <address@hidden>.

diff --git a/ChangeLog b/ChangeLog
index 6b2a36b..119787b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2017-03-02  Fredrik Fornwall  <address@hidden>  (tiny change)
+
+       ftp: Portability to Android.
+       Without a check for HAVE_DECL_GETPASS and without making a
+       local function declaration, the implicit declaration causes
+       crashes on 64-bit systems lacking declared getpass(), such
+       as Android.  Reported in:
+       http://lists.gnu.org/archive/html/bug-inetutils/2016-10/msg00000.html
+
+       * ftp/cmds.c [!HAVE_DECL_GETPASS] (user, account): Declare getpass()
+       as external function.
+       * ftp/ftp.c (login): Likewise.
+
 2017-03-02  Mats Erik Andersson  <address@hidden>
 
        whois: Update Canadian TLD server.
diff --git a/ftp/cmds.c b/ftp/cmds.c
index 233658b..c90180e 100644
--- a/ftp/cmds.c
+++ b/ftp/cmds.c
@@ -1721,6 +1721,9 @@ shell (int argc, char **argv _GL_UNUSED_PARAMETER)
 void
 user (int argc, char **argv)
 {
+#if !HAVE_DECL_GETPASS
+  extern char *getpass ();
+#endif
   char acct[80];
   int n, aflag = 0;
 
@@ -2070,6 +2073,9 @@ globulize (char *cp)
 void
 account (int argc, char **argv)
 {
+#if !HAVE_DECL_GETPASS
+  extern char *getpass ();
+#endif
   char acct[50], *ap;
 
   if (argc > 1)
diff --git a/ftp/ftp.c b/ftp/ftp.c
index a9d96bf..5eff2d7 100644
--- a/ftp/ftp.c
+++ b/ftp/ftp.c
@@ -296,6 +296,9 @@ bad:
 int
 login (char *host)
 {
+#if !HAVE_DECL_GETPASS
+  extern char *getpass ();
+#endif
   char tmp[80];
   char *user, *pass, *acct, *p;
   int n, aflag = 0;

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=73e2811a0512556fd5359acc4387f46c79a9884a


commit 73e2811a0512556fd5359acc4387f46c79a9884a
Author: Mats Erik Andersson <address@hidden>
Date:   Thu Mar 2 15:38:38 2017 +0100

    whois: Update Canadian TLD server.

diff --git a/ChangeLog b/ChangeLog
index c632d86..6b2a36b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-03-02  Mats Erik Andersson  <address@hidden>
+
+       whois: Update Canadian TLD server.
+       Old host name no longer exists.  Reported by Neil Mayhem:
+       http://lists.gnu.org/archive/html/bug-inetutils/2017-01/msg00000.html
+
+       * whois/tld_serv_list (.ca): New host 'whois.cira.ca'.
+
 2017-02-27  Mats Erik Andersson  <address@hidden>
 
        telnetd: Portability of TTY termcap to Solaris systems.
diff --git a/whois/tld_serv_list b/whois/tld_serv_list
index 056efcf..91697b8 100644
--- a/whois/tld_serv_list
+++ b/whois/tld_serv_list
@@ -81,7 +81,7 @@
 #.bw                   # NIC? www.botsnet.bw
 #.by   NONE            # NIC? http://unibel.by www.open.by
 .bz    NONE            # http://www.psg.com/dns/bz/
-.ca    whois.cdnnet.ca
+.ca    whois.cira.ca
 .cc    whois.nic.cc
 .cd    WEB http://www.nic.cd/database/cd/
 #.cf   NONE            # NIC? http://www.socatel.intnet.cf

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

Summary of changes:
 ChangeLog           | 21 +++++++++++++++++++++
 ftp/cmds.c          |  6 ++++++
 ftp/ftp.c           |  3 +++
 whois/tld_serv_list |  2 +-
 4 files changed, 31 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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