Mercurial > dropbear
comparison dbutil.c @ 667:fc7ae88e63b3
Rename HAVE_FORK to USE_VFORK
It makes it a bit more obvious why there's a test there since HAVE_FORK
is the normal case.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 09 Apr 2012 20:35:13 +0800 |
parents | 0ad95abf8d3c |
children | 9a5438271556 2202e854d187 |
comparison
equal
deleted
inserted
replaced
666:0ad95abf8d3c | 667:fc7ae88e63b3 |
---|---|
441 } | 441 } |
442 if (ret_errfd && pipe(errfds) != 0) { | 442 if (ret_errfd && pipe(errfds) != 0) { |
443 return DROPBEAR_FAILURE; | 443 return DROPBEAR_FAILURE; |
444 } | 444 } |
445 | 445 |
446 #ifndef HAVE_FORK | 446 #ifdef USE_VFORK |
447 pid = vfork(); | 447 pid = vfork(); |
448 #else | 448 #else |
449 pid = fork(); | 449 pid = fork(); |
450 #endif | 450 #endif |
451 | 451 |