DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sbin/hammer cmd_mirror.c


From: Johannes Hofmann <hofmann@xxxxxxxxxxxxxxxxxxxxxx>
Date: 05 Jul 2008 19:13:30 GMT

Matthew Dillon <dillon@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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]