view modules/stat @ 40211:5f58d2ac35ea

unistr/u8-cmp: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author Bruno Haible <bruno@clisp.org>
date Fri, 08 Mar 2019 20:38:22 +0100
parents e8cf9220814a
children
line wrap: on
line source

Description:
stat() function: query file information

Files:
lib/stat.c
lib/stat-w32.h
lib/stat-w32.c
m4/stat.m4

Depends-on:
sys_stat
largefile
filename        [test $REPLACE_STAT = 1]
malloca         [test $REPLACE_STAT = 1]
pathmax         [test $REPLACE_STAT = 1]
stat-time       [test $REPLACE_STAT = 1]
stdbool         [test $REPLACE_STAT = 1]
verify          [test $REPLACE_STAT = 1]

configure.ac:
gl_FUNC_STAT
if test $REPLACE_STAT = 1; then
  AC_LIBOBJ([stat])
  case "$host_os" in
    mingw*)
      AC_LIBOBJ([stat-w32])
      ;;
  esac
  gl_PREREQ_STAT
fi
gl_SYS_STAT_MODULE_INDICATOR([stat])

Makefile.am:

Include:
<sys/stat.h>

License:
LGPLv2+

Maintainer:
Eric Blake