diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-05 07:55:01 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-05 08:18:08 +0100 |
commit | 25a7d014d697f7c1b7af2eb6f4b144c7aa3baf13 (patch) | |
tree | 84ff8d490be3c720ad2ac43dcd669d88c96e97a6 /build-aux/config.sub | |
parent | dbe8b3ba0b605079280c281e68728d417796a381 (diff) | |
download | gnulib-25a7d014d697f7c1b7af2eb6f4b144c7aa3baf13.tar.gz |
truncate: Work around trailing slash bug in truncate() on AIX 7.2.
* m4/truncate.m4 (gl_FUNC_TRUNCATE): Add a test whether truncate
rejects trailing slashes. Set REPLACE_TRUNCATE and define
TRUNCATE_TRAILING_SLASH_BUG if not.
* lib/truncate.c (orig_truncate): New function.
(truncate): Add alternative implementation when
TRUNCATE_TRAILING_SLASH_BUG is defined.
* modules/truncate (Depends-on): Add sys_stat, stat.
Diffstat (limited to 'build-aux/config.sub')
0 files changed, 0 insertions, 0 deletions