Move blksize_t and blkcnt_t to replace.h from includes.h

Andrew Bartlett abartlet at samba.org
Mon Apr 9 14:39:10 MDT 2012


On Mon, 2012-04-09 at 13:02 -0700, Jeremy Allison wrote:
> On Mon, Apr 09, 2012 at 09:53:25PM +0200, Jelmer Vernooij wrote:
> > Hi Jeremy,
> > 
> > Am 09/04/12 21:41, schrieb Jeremy Allison:
> > > The branch, master has been updated
> > >        via  5701a4d Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these.
> > >       from  5184f41 libreplace: We have a poll replacement based on select
> > >
> > > http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> > >
> > >
> > > - Log -----------------------------------------------------------------
> > > commit 5701a4d8611ad1e310b76b00b146b0902c9b34ff
> > > Author: Jeremy Allison <jra at samba.org>
> > > Date:   Mon Apr 9 11:04:07 2012 -0700
> > >
> > >     Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these.
> > >     
> > Thanks for moving these to libreplace. It'd be great if you can also
> > move the relevant tests from configure.in / wscript to the equivalent
> > files in lib/replace, so libreplace stays self-contained.
> 
> Hmmm, ok. This is probably easy for wscript, but I'm not sure
> what to change for configure.in.
> 
> Jeremy.

Move:
AC_CHECK_TYPES([blksize_t, blkcnt_t], [], [], [[#include <sys/stat.h>]])
from configure.in to lib/replace/libreplace.m4 near the ino_t checks.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list