cvs commit: src/sbin/hammer cmd_mirror.c

Johannes Hofmann hofmann at blob.baaderstrasse.com
Sat Jul 5 12:13:30 PDT 2008


Matthew Dillon <dillon at crater.dragonflybsd.org> wrote:
> dillon      2008/07/04 00:20:43 PDT
> 
> DragonFly src repository
> 
>  Modified files:
>    sbin/hammer          cmd_mirror.c 
>  Log:
>  HAMMER Utilities: Stabilization
>  
>  * Fix a bug in mirror-copy that was causing extra process forks to occur.
>  
>  Revision  Changes    Path
>  1.3       +2 -2      src/sbin/hammer/cmd_mirror.c
> 
> 
> http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_mirror.c.diff?r1=1.2&r2=1.3&f=u

a stupid question... Why is _exit() used here instead of exit()? I
understand, that _exit() has to be used in combination with vfork(),
but why is it used with plain fork()?

 Johannes






More information about the Commits mailing list