The Samba-Bugzilla – Bug 12017
utmp.ut_line is 64 bytes long on AIX -- samba_autoconf.py:CHECK_SIZEOF should handle it
Last modified: 2019-01-03 15:04:26 UTC
Created attachment 12268 [details]
patch to buildtools/wafsamba/samba_autoconf.py
I have just compiled samba-4.4.5 on an AIX 6.1 computer and found that it has a problem detecting the size of 'utmp.ut_line' (struct 'utmp' is defined in header '/usr/include/utmp.h').
This field is 32 bytes long in linux, but 64 bytes long in AIX.
A generic rutin called 'CHECK_SIZEOF' (in 'buildtools/wafsamba/samba_autoconf.py') is called to find out this size; the problem is it has a fixed list of possible values: 1, 2, 4, 8, 16, 32
So I'd like to ask you to add value 64 to this list, according to the attached patch.
Yours: Lorinczy Zsigmond
fixed in master with f353c930969f08a5aabe6a7c409f98dbcf90fe9e