- (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal
-lbroken; ok dtucker
This commit is contained in:
parent
70a3d55b4a
commit
59d3d5b8b4
|
@ -1,3 +1,7 @@
|
|||
20030822
|
||||
- (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal
|
||||
-lbroken; ok dtucker
|
||||
|
||||
20030821
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
- markus@cvs.openbsd.org 2003/08/14 16:08:58
|
||||
|
@ -845,4 +849,4 @@
|
|||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.2896 2003/08/21 07:58:29 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.2897 2003/08/21 23:34:41 djm Exp $
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include "loginrec.h"
|
||||
|
||||
RCSID("$Id: logintest.c,v 1.9 2003/06/02 00:42:17 djm Exp $");
|
||||
RCSID("$Id: logintest.c,v 1.10 2003/08/21 23:34:41 djm Exp $");
|
||||
|
||||
#ifdef HAVE___PROGNAME
|
||||
extern char *__progname;
|
||||
|
@ -287,7 +287,7 @@ main(int argc, char *argv[])
|
|||
{
|
||||
printf("Platform-independent login recording test driver\n");
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
if (argc == 2) {
|
||||
if (strncmp(argv[1], "-i", 3) == 0)
|
||||
compile_opts_only = 1;
|
||||
|
|
|
@ -25,13 +25,13 @@
|
|||
#include "includes.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
RCSID("$Id: bsd-misc.c,v 1.17 2003/08/13 10:48:07 dtucker Exp $");
|
||||
RCSID("$Id: bsd-misc.c,v 1.18 2003/08/21 23:34:42 djm Exp $");
|
||||
|
||||
/*
|
||||
* NB. duplicate __progname in case it is an alias for argv[0]
|
||||
* Otherwise it may get clobbered by setproctitle()
|
||||
*/
|
||||
char *get_progname(char *argv0)
|
||||
char *ssh_get_progname(char *argv0)
|
||||
{
|
||||
#ifdef HAVE___PROGNAME
|
||||
extern char *__progname;
|
||||
|
|
|
@ -22,14 +22,14 @@
|
|||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* $Id: bsd-misc.h,v 1.10 2003/08/13 10:48:07 dtucker Exp $ */
|
||||
/* $Id: bsd-misc.h,v 1.11 2003/08/21 23:34:42 djm Exp $ */
|
||||
|
||||
#ifndef _BSD_MISC_H
|
||||
#define _BSD_MISC_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
char *get_progname(char *);
|
||||
char *ssh_get_progname(char *);
|
||||
|
||||
#ifndef HAVE_SETSID
|
||||
#define setsid() setpgrp(0, getpid())
|
||||
|
|
2
scp.c
2
scp.c
|
@ -222,7 +222,7 @@ main(int argc, char **argv)
|
|||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
|
||||
args.list = NULL;
|
||||
addargs(&args, "ssh"); /* overwritten with ssh_program */
|
||||
|
|
|
@ -1030,7 +1030,7 @@ main(int ac, char **av)
|
|||
|
||||
/* XXX should use getopt */
|
||||
|
||||
__progname = get_progname(av[0]);
|
||||
__progname = ssh_get_progname(av[0]);
|
||||
handle_init();
|
||||
|
||||
#ifdef DEBUG_SFTP_SERVER
|
||||
|
|
2
sftp.c
2
sftp.c
|
@ -132,7 +132,7 @@ main(int argc, char **argv)
|
|||
extern int optind;
|
||||
extern char *optarg;
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
args.list = NULL;
|
||||
addargs(&args, "ssh"); /* overwritten with ssh_program */
|
||||
addargs(&args, "-oForwardX11 no");
|
||||
|
|
|
@ -319,7 +319,7 @@ main(int argc, char **argv)
|
|||
char *sc_reader_id = NULL;
|
||||
int i, ch, deleting = 0, ret = 0;
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
init_rng();
|
||||
seed_rng();
|
||||
|
||||
|
|
|
@ -1024,7 +1024,7 @@ main(int ac, char **av)
|
|||
|
||||
SSLeay_add_all_algorithms();
|
||||
|
||||
__progname = get_progname(av[0]);
|
||||
__progname = ssh_get_progname(av[0]);
|
||||
init_rng();
|
||||
seed_rng();
|
||||
|
||||
|
|
|
@ -809,7 +809,7 @@ main(int ac, char **av)
|
|||
extern int optind;
|
||||
extern char *optarg;
|
||||
|
||||
__progname = get_progname(av[0]);
|
||||
__progname = ssh_get_progname(av[0]);
|
||||
|
||||
SSLeay_add_all_algorithms();
|
||||
log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);
|
||||
|
|
|
@ -697,7 +697,7 @@ main(int argc, char **argv)
|
|||
extern int optind;
|
||||
extern char *optarg;
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
init_rng();
|
||||
seed_rng();
|
||||
TAILQ_INIT(&tq);
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "pathnames.h"
|
||||
#include "log.h"
|
||||
|
||||
RCSID("$Id: ssh-rand-helper.c,v 1.12 2003/07/06 05:20:46 dtucker Exp $");
|
||||
RCSID("$Id: ssh-rand-helper.c,v 1.13 2003/08/21 23:34:41 djm Exp $");
|
||||
|
||||
/* Number of bytes we write out */
|
||||
#define OUTPUT_SEED_SIZE 48
|
||||
|
@ -769,7 +769,7 @@ main(int argc, char **argv)
|
|||
extern char *optarg;
|
||||
LogLevel ll;
|
||||
|
||||
__progname = get_progname(argv[0]);
|
||||
__progname = ssh_get_progname(argv[0]);
|
||||
log_init(argv[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);
|
||||
|
||||
ll = SYSLOG_LEVEL_INFO;
|
||||
|
|
2
ssh.c
2
ssh.c
|
@ -212,7 +212,7 @@ main(int ac, char **av)
|
|||
extern int optind, optreset;
|
||||
extern char *optarg;
|
||||
|
||||
__progname = get_progname(av[0]);
|
||||
__progname = ssh_get_progname(av[0]);
|
||||
init_rng();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue