From d0cff3ecc49204c03c06428f7b779b8a18c0486f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 20 Apr 2000 23:12:58 +1000 Subject: - Merge fixes from Debian patch from Phil Hands - Allow setting of PAM service name through CFLAGS (SSHD_PAM_SERVICE) - Use vhangup to clean up Linux ttys - Force posix getopt processing on GNU libc systems --- ssh-agent.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ssh-agent.c') diff --git a/ssh-agent.c b/ssh-agent.c index 5a265e6b8..c9a84a4a0 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -511,7 +511,11 @@ main(int ac, char **av) __progname); exit(1); } +#ifdef __GNU_LIBRARY__ + while ((ch = getopt(ac, av, "+cks")) != -1) { +#else /* __GNU_LIBRARY__ */ while ((ch = getopt(ac, av, "cks")) != -1) { +#endif /* __GNU_LIBRARY__ */ switch (ch) { case 'c': if (s_flag) -- cgit v1.2.3