[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mkfifoat: Work around trailing slash bugs on AIX
From: |
Bruno Haible |
Subject: |
mkfifoat: Work around trailing slash bugs on AIX |
Date: |
Tue, 05 Jan 2021 05:11:04 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
On AIX 7.2, I'm seeing a test failure:
FAIL: test-mkfifoat
===================
../../gltests/test-mkfifo.h:55: assertion 'func (BASE "fifo/", 0600) == -1'
failed
FAIL test-mkfifoat (exit status: 134)
These two patches fix it.
2021-01-04 Bruno Haible <bruno@clisp.org>
mkfifoat: Work around trailing slash bug in mknodat() on AIX 7.2.
* m4/mkfifoat.m4 (gl_FUNC_MKFIFOAT): Set also REPLACE_MKNODAT.
* lib/sys_stat.in.h (mknodat): Consider REPLACE_MKNODAT.
* lib/mknodat.c: Add an overriding implementation of mknodat().
* m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize REPLACE_MKNODAT.
* modules/sys_stat (Makefile.am): Substitute REPLACE_MKNODAT.
* modules/mkfifoat (Depends-on, configure.ac): Consider REPLACE_MKNODAT.
* doc/posix-functions/mknodat.texi: Mention the AIX bug.
mkfifoat: Work around trailing slash bug in mkfifoat() on AIX 7.2.
* m4/mkfifoat.m4 (gl_FUNC_MKFIFOAT): Add a test whether mkfifoat rejects
trailing slashes. Set REPLACE_MKFIFOAT if not.
* lib/sys_stat.in.h (mkfifoat): Consider REPLACE_MKFIFOAT.
* lib/mkfifoat.c: Add an overriding implementation of mkfifoat().
* m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize
REPLACE_MKFIFOAT.
* modules/sys_stat (Makefile.am): Substitute REPLACE_MKFIFOAT.
* modules/mkfifoat (Depends-on): Add fstatat.
(configure.ac): Consider REPLACE_MKFIFOAT.
* doc/posix-functions/mkfifoat.texi: Mention the AIX bug.
0001-mkfifoat-Work-around-trailing-slash-bug-in-mkfifoat-.patch
Description: Text Data
0002-mkfifoat-Work-around-trailing-slash-bug-in-mknodat-o.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mkfifoat: Work around trailing slash bugs on AIX,
Bruno Haible <=