Re: CVS commit: src/sys/modules

2011-07-19 Thread Matthias Scheler
On Tue, Jul 19, 2011 at 11:13:32PM +, enami tsugutomo wrote:
> Module Name:  src
> Committed By: enami
> Date: Tue Jul 19 23:13:31 UTC 2011
> 
> Modified Files:
>   src/sys/modules: Makefile
> 
> Log Message:
> Build v7fs module on all architecture rather than only on i386.

Yes, that was the intention. Sorry about the mistake.

Kind regards

-- 
Matthias Scheler  http://zhadum.org.uk/


Re: CVS commit: src/sbin/newfs_v7fs

2011-07-19 Thread Matthias Scheler
On Tue, Jul 19, 2011 at 08:20:52AM +0900, tsugutomo.en...@jp.sony.com wrote:
> > Log Message:
> > Don't use roundup2(9) (which should have been howmany(9) anyway) to
> > fix builds on platforms other than NetBSD.
> 
> Since usr.sbin/makefs/cd9660.[ch] already uses howmany(), we can use it
> here too, can't we?

Indeed, we can and we should.

Thanks a lot

-- 
Matthias Scheler  http://zhadum.org.uk/


Re: CVS commit: src/lib/libc/sys

2011-07-19 Thread Jukka Ruohonen
On Sat, Jul 16, 2011 at 04:51:41PM +0100, David Laight wrote:
> > Log Message:
> > Note that dup2(2) and dup3(2) may not fail with EMFILE; from PR lib/45148.
> 
> What happens if the 'new' file number is above RLIMIT_NOFILES?

It fails with EBADF.

- Jukka.