Deleted Added
full compact
sftp.c (1.231) sftp.c (1.232)
1/* $OpenBSD: sftp.c,v 1.231 2023/03/29 00:59:08 dtucker Exp $ */
1/* $OpenBSD: sftp.c,v 1.232 2023/03/31 04:45:08 dtucker Exp $ */
2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

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

199static void
200killchild(int signo)
201{
202 pid_t pid;
203
204 pid = sshpid;
205 if (pid > 1) {
206 kill(pid, SIGTERM);
2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

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

199static void
200killchild(int signo)
201{
202 pid_t pid;
203
204 pid = sshpid;
205 if (pid > 1) {
206 kill(pid, SIGTERM);
207 waitpid(pid, NULL, 0);
207 (void)waitpid(pid, NULL, 0);
208 }
209
210 _exit(1);
211}
212
213static void
214suspchild(int signo)
215{

--- 2415 unchanged lines hidden ---
208 }
209
210 _exit(1);
211}
212
213static void
214suspchild(int signo)
215{

--- 2415 unchanged lines hidden ---