Mercurial > hg > octave-kai > gnulib-hg
comparison MODULES.html.sh @ 12040:e8108d5c7ca7
unlink: new module, for Solaris 9 bug
unlink("file/") mistakenly succeeded. This patch favors, but
does not enforce, GNU semantics that unlink("link-to-dir/")
flat-out fails rather than attempting to unlink "dir".
* modules/unlink: New file.
* lib/unlink.c: Likewise.
* m4/unlink.m4 (gl_FUNC_UNLINK): Likewise.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witnesses.
* modules/unistd (Makefile.am): Use them.
* lib/unistd.in.h (stat): Declare replacement.
* MODULES.html.sh (systems lacking POSIX:2008): Mention module.
* doc/posix-functions/unlink.texi (unlink): Likewise.
* modules/unlink-tests: New test.
* tests/test-unlink.c: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 16 Sep 2009 17:13:20 -0600 |
parents | 1762604ec0a7 |
children | 73e9ab6e2c90 |
comparison
equal
deleted
inserted
replaced
12039:eacd308b94de | 12040:e8108d5c7ca7 |
---|---|
2357 func_module sys_time | 2357 func_module sys_time |
2358 func_module sys_times | 2358 func_module sys_times |
2359 func_module sys_wait | 2359 func_module sys_wait |
2360 func_module tsearch | 2360 func_module tsearch |
2361 func_module unistd | 2361 func_module unistd |
2362 func_module unlink | |
2362 func_module utime | 2363 func_module utime |
2363 func_module vasnprintf-posix | 2364 func_module vasnprintf-posix |
2364 func_module vasprintf-posix | 2365 func_module vasprintf-posix |
2365 func_module vfprintf-posix | 2366 func_module vfprintf-posix |
2366 func_module vprintf-posix | 2367 func_module vprintf-posix |