view modules/remove @ 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 e73533e769a3
children
line wrap: on
line source

Description:
remove() function: remove a file or directory

Files:
lib/remove.c
m4/remove.m4

Depends-on:
stdio
rmdir           [test $REPLACE_REMOVE = 1]
unlink          [test $REPLACE_REMOVE = 1]

configure.ac:
gl_FUNC_REMOVE
if test $REPLACE_REMOVE = 1; then
  AC_LIBOBJ([remove])
fi
gl_STDIO_MODULE_INDICATOR([remove])

Makefile.am:

Include:
<stdio.h>

License:
LGPL

Maintainer:
Eric Blake