diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-11-17 03:47:20 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-11-17 03:47:20 +0000 |
commit | 49a79c09762613f29601ef2470d13952168021be (patch) | |
tree | 140539420c10c5b358481cadcec495a5a41103fd /ssh-agent.c | |
parent | baaa2c05dd789bdce64fa7eb5697a5f969d68288 (diff) |
- (stevek) Reworked progname support.
- (bal) Misplaced #include "includes.h" in bsd-setproctitle.c. Patch by
Shinichi Maruyama <marya@st.jip.co.jp>
I assume the progname patch was finished. I believe stevek is on vacation,
but it passes compiling under Linux and NeXTStep.
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 9f61aec3b..f5f87cca3 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -93,9 +93,9 @@ char socket_dir[1024]; | |||
93 | 93 | ||
94 | #ifdef HAVE___PROGNAME | 94 | #ifdef HAVE___PROGNAME |
95 | extern char *__progname; | 95 | extern char *__progname; |
96 | #else /* HAVE___PROGNAME */ | 96 | #else |
97 | static const char *__progname = "ssh-agent"; | 97 | char *__progname; |
98 | #endif /* HAVE___PROGNAME */ | 98 | #endif |
99 | 99 | ||
100 | void | 100 | void |
101 | idtab_init(void) | 101 | idtab_init(void) |
@@ -672,6 +672,7 @@ main(int ac, char **av) | |||
672 | char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid]; | 672 | char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid]; |
673 | extern int optind; | 673 | extern int optind; |
674 | 674 | ||
675 | __progname = get_progname(av[0]); | ||
675 | init_rng(); | 676 | init_rng(); |
676 | 677 | ||
677 | #ifdef __GNU_LIBRARY__ | 678 | #ifdef __GNU_LIBRARY__ |