зеркало из https://github.com/Azure/sonic-openssh.git
- dtucker@cvs.openbsd.org 2009/02/02 11:15:14
[sftp.c] Initialize a few variables to prevent spurious "may be used uninitialized" warnings from newer gcc's. ok djm@
This commit is contained in:
Родитель
20e231f9f8
Коммит
fdd66fc750
11
ChangeLog
11
ChangeLog
|
@ -1,4 +1,11 @@
|
|||
20090205
|
||||
20090214
|
||||
- (djm) OpenBSD CVS Sync
|
||||
- dtucker@cvs.openbsd.org 2009/02/02 11:15:14
|
||||
[sftp.c]
|
||||
Initialize a few variables to prevent spurious "may be used
|
||||
uninitialized" warnings from newer gcc's. ok djm@
|
||||
|
||||
20090212
|
||||
- (djm) [sshpty.c] bz#1419: OSX uses cloning ptys that automagically
|
||||
set ownership and modes, so avoid explicitly setting them
|
||||
- (djm) [configure.ac loginrec.c] bz#1421: fix lastlog support for OSX.
|
||||
|
@ -5123,5 +5130,5 @@
|
|||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||
|
||||
$Id: ChangeLog,v 1.5185 2009/02/12 02:12:21 djm Exp $
|
||||
$Id: ChangeLog,v 1.5186 2009/02/14 05:26:19 djm Exp $
|
||||
|
||||
|
|
6
sftp.c
6
sftp.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: sftp.c,v 1.106 2008/12/09 15:35:00 sobrado Exp $ */
|
||||
/* $OpenBSD: sftp.c,v 1.107 2009/02/02 11:15:14 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
|
@ -1235,8 +1235,8 @@ parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd,
|
|||
int err_abort)
|
||||
{
|
||||
char *path1, *path2, *tmp;
|
||||
int pflag, lflag, iflag, hflag, cmdnum, i;
|
||||
unsigned long n_arg;
|
||||
int pflag = 0, lflag = 0, iflag = 0, hflag = 0, cmdnum, i;
|
||||
unsigned long n_arg = 0;
|
||||
Attrib a, *aa;
|
||||
char path_buf[MAXPATHLEN];
|
||||
int err = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче