Re: [PATCH] New module 'stat-size'.

2011-06-10 Thread Jim Meyering
James Youngman wrote: > * modules/stat-size: New module. Provides macros for accessing > file size information in instances of struct stat. Depends on the > fileblocks module because it calls st_blocks. > * lib/stat-size.h: New file, adapted from coreutils' system.h. > * doc/gnulib.texi: Include

[PATCH] New module 'stat-size'.

2011-06-10 Thread James Youngman
* modules/stat-size: New module. Provides macros for accessing file size information in instances of struct stat. Depends on the fileblocks module because it calls st_blocks. * lib/stat-size.h: New file, adapted from coreutils' system.h. * doc/gnulib.texi: Include stat-size.texi. * doc/stat-size.

Re: [PATCH] New module 'stat-size'.

2011-06-10 Thread James Youngman
On Thu, Jun 9, 2011 at 2:08 AM, Bruno Haible wrote: > Actually AC_STRUCT_ST_BLOCKS is already invoked from the module 'fileblocks', > and this module is among the dependencies of your new module. So, I think > you can just drop this invocation here. Thanks for the advice, I'll send an updated pat

Re: [PATCH] New module 'stat-size'.

2011-06-08 Thread Bruno Haible
Hi James, > +AC_DEFUN([gl_STAT_SIZE], > +[ > +  # AC_STRUCT_ST_BLOCKS may add fileblocks to AC_LIBOBJ. > +  AC_STRUCT_ST_BLOCKS > +  AC_CHECK_HEADERS_ONCE([sys/param.h]) > +]) No more AC_LIBOBJ invocations from .m4 files, please! It causes bugs, see [1] for details. Actually AC_STRUCT_ST_BLOCKS

[PATCH] New module 'stat-size'.

2011-06-08 Thread James Youngman
* modules/stat-size: New module. Provides macros for accessing file size informaiton in instances of struct stat. Depends on the fileblocks module because it calls st_blocks. * lib/stat-size.h: New file, adapted from coreutils' system.h. * doc/gnulib.texi: Include stat-size.texi. * doc/stat-size.