comparison scp.c @ 801:7dcb46da72d9 ecc

merge in HEAD
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 May 2013 12:09:35 +0800
parents fedfb8ede1fd
children c19acba28590
comparison
equal deleted inserted replaced
799:c344607b7341 801:7dcb46da72d9
228 dup2(pin[0], 0); 228 dup2(pin[0], 0);
229 dup2(pout[1], 1); 229 dup2(pout[1], 1);
230 close(pin[0]); 230 close(pin[0]);
231 close(pout[1]); 231 close(pout[1]);
232 232
233 #ifdef USE_VFORK 233 #ifndef USE_VFORK
234 arg_setup(host, remuser, cmd); 234 arg_setup(host, remuser, cmd);
235 #endif 235 #endif
236 236
237 execvp(ssh_program, args.list); 237 execvp(ssh_program, args.list);
238 perror(ssh_program); 238 perror(ssh_program);