Re: truncate: Work around trailing slash bug in truncate() on AIX

2021-01-08 Thread Bruno Haible
> 2021-01-05 Bruno Haible > > 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_TRAILIN

truncate: Work around trailing slash bug in truncate() on AIX

2021-01-04 Thread Bruno Haible
ixes it. Here, the usual idiom with '#undef truncate' does not work, because AIX does '#define truncate truncate64' and we really need to call truncate64 not the truncate function which takes only a 32-bit offset. 2021-01-05 Bruno Haible truncate: Work around tra