You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As coded in line 45-46, only ENOTEMPTY and ENOENT error will be treated as normal. However, in AIX 7.1, if the target file or folder doesn't exist, the error is EEXIST.
From /usr/include/errno.h in AIX 7.1, we got following comment:
193 /*
194 * AIX returns EEXIST where 4.3BSD used ENOTEMPTY;
195 * but, the standards insist on unique errno values for each errno.
196 * A unique value is reserved for users that want to code case
197 * statements for systems that return either EEXIST or ENOTEMPTY.
198 */
Version
20.18.0
Platform
Subsystem
No response
What steps will reproduce the bug?
CC=gcc-11 CXX=g++-11 MAKE=gmake ./configure --prefix=$HOME/local --shared --libdir=$HOME/local
gmake && gmake install
gmake uninstall
How often does it reproduce? Is there a required condition?
Must appear
What is the expected behavior? Why is that the expected behavior?
Can be uninstalled as expected
What do you see instead?
From
tools/install.py
, contains following source code:As coded in line 45-46, only
ENOTEMPTY
andENOENT
error will be treated as normal. However, in AIX 7.1, if the target file or folder doesn't exist, the error isEEXIST
.From
/usr/include/errno.h
in AIX 7.1, we got following comment:As described in include/uapi/asm-generic/errno-base.h,
EEXIST
is17
, which is referred by python/cpython.Additional information
No response
The text was updated successfully, but these errors were encountered: