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-add.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-add.c')
-rw-r--r-- | ssh-add.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -50,9 +50,9 @@ RCSID("$OpenBSD: ssh-add.c,v 1.23 2000/11/12 19:50:38 markus Exp $"); #ifdef HAVE___PROGNAME extern char *__progname; -#else /* HAVE___PROGNAME */ -static const char *__progname = "ssh-add"; -#endif /* HAVE___PROGNAME */ +#else +char *__progname; +#endif void delete_file(AuthenticationConnection *ac, const char *filename) @@ -249,6 +249,7 @@ main(int argc, char **argv) int i; int deleting = 0; + __progname = get_progname(argv[0]); init_rng(); SSLeay_add_all_algorithms(); |