Coda File System

Re: a few more build buglets in 6.1.2 on freebsd 6.1-release

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 2 Nov 2006 22:04:16 -0500
On Thu, Nov 02, 2006 at 05:39:37PM -0500, Sean Caron wrote:
> tracked down a couple more build issues with coda-6.1.2 on freebsd
> 6.1-release. i found that i had to modify the file
...
> also, in the file, coda-6.1.2/coda-src/venus/fso1.cc
> 
> there is a call, setpgrp()
...
> freebsd thinks this should take two arguments. netbsd does too
> apparently from the man page but maybe there is an #if defined()
> overriding the built-in one somewhere for netbsd but not freebsd? for
> my purposes, i made the assumption and tried to run with --
> 
> setpgrp() := setpgrp(0,0)

Now that is interesting, because according to my manual pages,
'int setpgrp(void)' is originally from 4.2BSD. I wonder if I should just
change to using the equivalent, but POSIX defined setpgid(0,0).

> is this correct? it got me a successful compile and sounded like sort
> of what maybe the expected behaviour was from the manpage for setpgrp
> on netbsd and freebsd

setpgrp(0,0) should be correct in this case.

Jan
Received on 2006-11-02 22:05:29