summaryrefslogtreecommitdiff
path: root/build-aux/config.sub
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-05 07:55:01 +0100
committerBruno Haible <bruno@clisp.org>2021-01-05 08:18:08 +0100
commit25a7d014d697f7c1b7af2eb6f4b144c7aa3baf13 (patch)
tree84ff8d490be3c720ad2ac43dcd669d88c96e97a6 /build-aux/config.sub
parentdbe8b3ba0b605079280c281e68728d417796a381 (diff)
downloadgnulib-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