[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Inetutils branch, master, updated. inetutils-1_7-38-gbba671c
From: |
Giuseppe Scrivano |
Subject: |
[SCM] GNU Inetutils branch, master, updated. inetutils-1_7-38-gbba671c |
Date: |
Sun, 14 Mar 2010 21:40:13 +0000 |
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 bba671cb737f2defb01e46f18be888a9a35654ec (commit)
from 8cc0838af5cb8b8c160a8d442d2a39056340be67 (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=bba671cb737f2defb01e46f18be888a9a35654ec
commit bba671cb737f2defb01e46f18be888a9a35654ec
Author: Ludovic Courtès <address@hidden>
Date: Sun Mar 14 22:28:56 2010 +0100
Call getservbyname(3) after arguments have been parsed.
diff --git a/ChangeLog b/ChangeLog
index f1d6605..66d4f34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-03-10 Ludovic Courtès <address@hidden> (tiny change)
+ * ftp/main.c (main): Call getservbyname(3) after arguments have
+ been parsed.
+
+2010-03-10 Ludovic Courtès <address@hidden> (tiny change)
+
* ifconfig/flags.c (if_flags): Add trailing entry with NULL `name'.
2010-02-13 Giuseppe Scrivano <address@hidden>
diff --git a/ftp/main.c b/ftp/main.c
index b01bc22..b05fc1e 100644
--- a/ftp/main.c
+++ b/ftp/main.c
@@ -175,10 +175,7 @@ main (int argc, char *argv[])
char *cp;
set_program_name (argv[0]);
-
- sp = getservbyname ("ftp", "tcp");
- if (sp == 0)
- error (EXIT_FAILURE, 0, "ftp/tcp: unknown service");
+
doglob = 1;
interactive = 1;
autologin = 1;
@@ -191,6 +188,10 @@ main (int argc, char *argv[])
argc -= index;
argv += index;
+ sp = getservbyname ("ftp", "tcp");
+ if (sp == 0)
+ error (EXIT_FAILURE, 0, "ftp/tcp: unknown service");
+
fromatty = isatty (fileno (stdin));
if (fromatty)
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
ftp/main.c | 9 +++++----
2 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU Inetutils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Inetutils branch, master, updated. inetutils-1_7-38-gbba671c,
Giuseppe Scrivano <=