mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-18 23:42:00 +03:00
Mingw obeys C89, but not POSIX, by not handling directories. Solaris remove("file/") mistakenly succeeded. * modules/remove: New file. * lib/remove.c: Likewise. * m4/remove.m4 (gl_FUNC_REMOVE): Likewise. * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add witnesses. * modules/stdio (Makefile.am): Use them. * lib/stdio.in.h (remove): Declare replacement. * MODULES.html.sh (systems lacking POSIX:2008): Mention module. * doc/posix-functions/remove.texi (remove): Likewise. * modules/remove-tests: New test. * tests/test-remove.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
28 lines
265 B
Plaintext
28 lines
265 B
Plaintext
Description:
|
|
remove(): remove a file or directory
|
|
|
|
Files:
|
|
lib/remove.c
|
|
m4/dos.m4
|
|
m4/remove.m4
|
|
|
|
Depends-on:
|
|
rmdir
|
|
stdio
|
|
unlink
|
|
|
|
configure.ac:
|
|
gl_FUNC_REMOVE
|
|
gl_STDIO_MODULE_INDICATOR([remove])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdio.h>
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
Eric Blake
|