diff options
author | Damien Miller <djm@mindrot.org> | 2000-05-17 22:53:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-05-17 22:53:33 +1000 |
commit | 615f939ebb48fdde404aae705057202512731331 (patch) | |
tree | e07b9fd90a8f8cb58b4b687919bb849b97fe6fc9 /scp.c | |
parent | dcb6ecd1b3b25b6909296ff0546ca6b18d0c19d3 (diff) |
- Several patches from SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
- INSTALL typo and URL fix
- Makefile fix
- Solaris fixes
- Checking for ssize_t and memmove. Based on patch from SAKAI Kiyotaka
<ksakai@kso.netwk.ntt-at.co.jp>
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -45,7 +45,7 @@ | |||
45 | */ | 45 | */ |
46 | 46 | ||
47 | #include "includes.h" | 47 | #include "includes.h" |
48 | RCSID("$Id: scp.c,v 1.22 2000/05/07 02:03:17 damien Exp $"); | 48 | RCSID("$Id: scp.c,v 1.23 2000/05/17 12:53:35 damien Exp $"); |
49 | 49 | ||
50 | #include "ssh.h" | 50 | #include "ssh.h" |
51 | #include "xmalloc.h" | 51 | #include "xmalloc.h" |
@@ -1008,7 +1008,7 @@ run_err(const char *fmt,...) | |||
1008 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 1008 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
1009 | * SUCH DAMAGE. | 1009 | * SUCH DAMAGE. |
1010 | * | 1010 | * |
1011 | * $Id: scp.c,v 1.22 2000/05/07 02:03:17 damien Exp $ | 1011 | * $Id: scp.c,v 1.23 2000/05/17 12:53:35 damien Exp $ |
1012 | */ | 1012 | */ |
1013 | 1013 | ||
1014 | char * | 1014 | char * |
@@ -1235,7 +1235,9 @@ progressmeter(int flag) | |||
1235 | struct sigaction sa; | 1235 | struct sigaction sa; |
1236 | sa.sa_handler = updateprogressmeter; | 1236 | sa.sa_handler = updateprogressmeter; |
1237 | sigemptyset(&sa.sa_mask); | 1237 | sigemptyset(&sa.sa_mask); |
1238 | #ifdef SA_RESTART | ||
1238 | sa.sa_flags = SA_RESTART; | 1239 | sa.sa_flags = SA_RESTART; |
1240 | #endif | ||
1239 | sigaction(SIGALRM, &sa, NULL); | 1241 | sigaction(SIGALRM, &sa, NULL); |
1240 | alarmtimer(1); | 1242 | alarmtimer(1); |
1241 | } else if (flag == 1) { | 1243 | } else if (flag == 1) { |