scp.c (3d1a9f4d) scp.c (5d19626a)
1/* $OpenBSD: scp.c,v 1.145 2006/07/10 12:03:20 djm Exp $ */
1/* $OpenBSD: scp.c,v 1.146 2006/07/10 16:37:36 stevesk Exp $ */
2/*
3 * scp - secure remote copy. This is basically patched BSD rcp which
4 * uses ssh to do the data transfer (instead of using rcmd).
5 *
6 * NOTE: This version should NOT be suid root. (This uses ssh to
7 * do the transfer and ssh has the necessary privileges.)
8 *
9 * 1995 Timo Rinne <tri@iki.fi>, Tatu Ylonen <ylo@cs.hut.fi>

--- 69 unchanged lines hidden (view full) ---

79#endif
80#include <sys/wait.h>
81
82#include <ctype.h>
83#include <dirent.h>
84#include <fcntl.h>
85#include <pwd.h>
86#include <signal.h>
2/*
3 * scp - secure remote copy. This is basically patched BSD rcp which
4 * uses ssh to do the data transfer (instead of using rcmd).
5 *
6 * NOTE: This version should NOT be suid root. (This uses ssh to
7 * do the transfer and ssh has the necessary privileges.)
8 *
9 * 1995 Timo Rinne <tri@iki.fi>, Tatu Ylonen <ylo@cs.hut.fi>

--- 69 unchanged lines hidden (view full) ---

79#endif
80#include <sys/wait.h>
81
82#include <ctype.h>
83#include <dirent.h>
84#include <fcntl.h>
85#include <pwd.h>
86#include <signal.h>
87#include <stdarg.h>
87
88#include "xmalloc.h"
89#include "atomicio.h"
90#include "pathnames.h"
91#include "log.h"
92#include "misc.h"
93#include "progressmeter.h"
94

--- 1123 unchanged lines hidden ---
88
89#include "xmalloc.h"
90#include "atomicio.h"
91#include "pathnames.h"
92#include "log.h"
93#include "misc.h"
94#include "progressmeter.h"
95

--- 1123 unchanged lines hidden ---