Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ezmlm.spec'], chrootPath='/var/lib/mock/epel-8-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8d4bb010d1f3412a9e3499aa4a8bc0d2', '-D', '/var/lib/mock/epel-8-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ezmlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ezmlm-0.53.324-3.qt.md.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ezmlm.spec'], chrootPath='/var/lib/mock/epel-8-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4fedcb836d8148fa829277570b7dc9d5', '-D', '/var/lib/mock/epel-8-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsmn1qz0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ezmlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wZZKzR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ezmlm-0.53 + /usr/bin/gzip -dc /builddir/build/SOURCES/ezmlm-0.53.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ezmlm-0.53 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd ezmlm-0.53 + /usr/bin/gzip -dc /builddir/build/SOURCES/ezmlm-idx-0.40.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/ -rw-r--r-- lindberg/lindberg 17996 1999-12-24 13:15 ezmlm-idx-0.40/LICENCE.TXT -rw-r--r-- lindberg/lindberg 18896 1999-12-24 13:15 ezmlm-idx-0.40/README.idx -rw-r--r-- lindberg/lindberg 11794 1999-12-24 13:15 ezmlm-idx-0.40/INSTALL.idx -rw-r--r-- lindberg/lindberg 7026 1999-12-24 13:15 ezmlm-idx-0.40/UPGRADE.idx -rw-r--r-- lindberg/lindberg 48155 1999-12-24 13:15 ezmlm-idx-0.40/CHANGES.idx -rw-r--r-- lindberg/lindberg 1898 1999-12-24 13:15 ezmlm-idx-0.40/FILES.idx -rw-r--r-- lindberg/lindberg 1526 1999-12-24 13:15 ezmlm-idx-0.40/DOWNGRADE.idx -rw-r--r-- lindberg/lindberg 282112 1999-12-24 13:15 ezmlm-idx-0.40/FAQ.idx -rw-r--r-- lindberg/lindberg 2134 1999-12-24 13:15 ezmlm-idx-0.40/TARGETS -rw-r--r-- lindberg/lindberg 15879 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.5 -rw-r--r-- lindberg/lindberg 708 1999-12-24 13:15 ezmlm-idx-0.40/ezcgi.css -rw-r--r-- lindberg/lindberg 921 1999-12-24 13:15 ezmlm-idx-0.40/ezcgirc -rw-r--r-- lindberg/lindberg 5377 1999-12-24 13:15 ezmlm-idx-0.40/qmail-verh.tar.gz -rw-r--r-- lindberg/lindberg 1842 1999-12-24 13:15 ezmlm-idx-0.40/qmail-qmqpc.tar.gz -rw-r--r-- lindberg/lindberg 5502 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-gate.c -rw-r--r-- lindberg/lindberg 3298 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-gate.1 -rw-r--r-- lindberg/lindberg 47583 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-get.c -rw-r--r-- lindberg/lindberg 10665 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-get.1 -rw-r--r-- lindberg/lindberg 5395 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-tstdig.c -rw-r--r-- lindberg/lindberg 2363 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-tstdig.1 -rw-r--r-- lindberg/lindberg 2656 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-sub.c -rw-r--r-- lindberg/lindberg 2157 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-unsub.c -rw-r--r-- lindberg/lindberg 1932 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-list.c -rw-r--r-- lindberg/lindberg 26732 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-send.c -rw-r--r-- lindberg/lindberg 11130 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-receipt.c -rw-r--r-- lindberg/lindberg 3257 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-receipt.1 -rw-r--r-- lindberg/lindberg 14256 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-reject.c -rw-r--r-- lindberg/lindberg 3833 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-reject.1 -rw-r--r-- lindberg/lindberg 15430 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-return.c -rw-r--r-- lindberg/lindberg 16461 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-warn.c -rw-r--r-- lindberg/lindberg 15519 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-cron.c -rw-r--r-- lindberg/lindberg 5652 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-cron.1 -rw-r--r-- lindberg/lindberg 1311 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-issubn.c -rw-r--r-- lindberg/lindberg 1605 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-issubn.1 -rw-r--r-- lindberg/lindberg 3872 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-limit.c -rw-r--r-- lindberg/lindberg 2950 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-limit.1 -rw-r--r-- lindberg/lindberg 2579 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmglrc -rw-r--r-- lindberg/lindberg 1411 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmglrc.5 -rw-r--r-- lindberg/lindberg 4021 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmsubrc -rw-r--r-- lindberg/lindberg 2523 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmsubrc.5 -rw-r--r-- lindberg/lindberg 2982 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-glconf.sh -rw-r--r-- lindberg/lindberg 1267 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-glconf.1 -rw-r--r-- lindberg/lindberg 20155 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-make.c -rw-r--r-- lindberg/lindberg 23470 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-make.1 -rw-r--r-- lindberg/lindberg 45160 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-manage.c -rw-r--r-- lindberg/lindberg 14113 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-manage.1 -rw-r--r-- lindberg/lindberg 10399 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-idx.c -rw-r--r-- lindberg/lindberg 2336 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-idx.1 -rw-r--r-- lindberg/lindberg 65516 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-cgi.c -rw-r--r-- lindberg/lindberg 11101 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-cgi.1 -rw-r--r-- lindberg/lindberg 15558 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-archive.c -rw-r--r-- lindberg/lindberg 5888 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-archive.1 -rw-r--r-- lindberg/lindberg 26609 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-request.c -rw-r--r-- lindberg/lindberg 5807 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-request.1 -rw-r--r-- lindberg/lindberg 9465 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-split.c -rw-r--r-- lindberg/lindberg 5377 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-split.1 -rw-r--r-- lindberg/lindberg 12289 1999-12-24 13:15 ezmlm-idx-0.40/idx.h -rw-r--r-- lindberg/lindberg 7961 1999-12-24 13:15 ezmlm-idx-0.40/errtxt.h -rw-r--r-- lindberg/lindberg 34309 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.en_US -rw-r--r-- lindberg/lindberg 32092 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.da -rw-r--r-- lindberg/lindberg 32915 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.cs -rw-r--r-- lindberg/lindberg 36378 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.it -rw-r--r-- lindberg/lindberg 29813 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.ru -rw-r--r-- lindberg/lindberg 34459 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.sv -rw-r--r-- lindberg/lindberg 40670 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.jp -rw-r--r-- lindberg/lindberg 40205 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.fr -rw-r--r-- lindberg/lindberg 33899 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.pl -rw-r--r-- lindberg/lindberg 46318 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.de -rw-r--r-- lindberg/lindberg 35294 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.pt_BR -rw-r--r-- lindberg/lindberg 36293 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.id -rw-r--r-- lindberg/lindberg 36693 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.es -rw-r--r-- lindberg/lindberg 74 1999-12-24 13:15 ezmlm-idx-0.40/auto_cron.h -rw-r--r-- lindberg/lindberg 59 1999-12-24 13:15 ezmlm-idx-0.40/conf-cron -rw-r--r-- lindberg/lindberg 22694 1999-12-24 13:15 ezmlm-idx-0.40/idxthread.c -rw-r--r-- lindberg/lindberg 182 1999-12-24 13:15 ezmlm-idx-0.40/idxthread.h -rw-r--r-- lindberg/lindberg 1845 1999-12-24 13:15 ezmlm-idx-0.40/subscribe.h -rw-r--r-- lindberg/lindberg 90160 1999-12-24 13:15 ezmlm-idx-0.40/idx.patch -rw-r--r-- lindberg/lindberg 1766 1999-12-24 13:15 ezmlm-idx-0.40/decodeB.c -rw-r--r-- lindberg/lindberg 2308 1999-12-24 13:15 ezmlm-idx-0.40/decodeQ.c -rw-r--r-- lindberg/lindberg 2683 1999-12-24 13:15 ezmlm-idx-0.40/decodeHDR.c -rw-r--r-- lindberg/lindberg 2413 1999-12-24 13:15 ezmlm-idx-0.40/encodeB.c -rw-r--r-- lindberg/lindberg 1333 1999-12-24 13:15 ezmlm-idx-0.40/encodeQ.c -rw-r--r-- lindberg/lindberg 1384 1999-12-24 13:15 ezmlm-idx-0.40/concatHDR.c -rw-r--r-- lindberg/lindberg 9348 1999-12-24 13:15 ezmlm-idx-0.40/unfoldHDR.c -rw-r--r-- lindberg/lindberg 224 1999-12-24 13:15 ezmlm-idx-0.40/copy.h -rw-r--r-- lindberg/lindberg 5831 1999-12-24 13:15 ezmlm-idx-0.40/copy.c -rw-r--r-- lindberg/lindberg 1812 1999-12-24 13:15 ezmlm-idx-0.40/mime.h -rw-r--r-- lindberg/lindberg 2609 1999-12-24 13:15 ezmlm-idx-0.40/author.c -rw-r--r-- lindberg/lindberg 3268 1999-12-24 13:15 ezmlm-idx-0.40/makehash.c -rw-r--r-- lindberg/lindberg 118 1999-12-24 13:15 ezmlm-idx-0.40/makehash.h -rw-r--r-- lindberg/lindberg 4126 1999-12-24 13:15 ezmlm-idx-0.40/qmail.c -rw-r--r-- lindberg/lindberg 844 1999-12-24 13:15 ezmlm-idx-0.40/qmail.h -rw-r--r-- lindberg/lindberg 245 1999-12-24 13:15 ezmlm-idx-0.40/yyyymm.h -rw-r--r-- lindberg/lindberg 1947 1999-12-24 13:15 ezmlm-idx-0.40/date2yyyymm.c -rw-r--r-- lindberg/lindberg 1069 1999-12-24 13:15 ezmlm-idx-0.40/dateline.c -rw-r--r-- lindberg/lindberg 11264 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-clean.c -rw-r--r-- lindberg/lindberg 4178 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-test.1 -rw-r--r-- lindberg/lindberg 2858 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-clean.1 -rw-r--r-- lindberg/lindberg 1400 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-mktab.1 -rw-r--r-- lindberg/lindberg 19205 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-moderate.c -rw-r--r-- lindberg/lindberg 4697 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-moderate.1 -rw-r--r-- lindberg/lindberg 15742 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-store.c -rw-r--r-- lindberg/lindberg 6042 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-store.1 -rw-r--r-- lindberg/lindberg 20934 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-check.sh -rw-r--r-- lindberg/lindberg 1005 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-check.1 -rw-r--r-- lindberg/lindberg 76899 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-test.sh -rw-r--r-- lindberg/lindberg 788 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-accept.sh -rw-r--r-- lindberg/lindberg 477 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-accept.1 -rw-r--r-- lindberg/lindberg 393 1999-12-24 13:15 ezmlm-idx-0.40/case_diffs.c -rw-r--r-- lindberg/lindberg 340 1999-12-24 13:15 ezmlm-idx-0.40/case_starts.c -rw-r--r-- lindberg/lindberg 2289 1999-12-24 13:15 ezmlm-idx-0.40/env.c drwxr-xr-x lindberg/lindberg 0 1999-12-19 09:55 ezmlm-idx-0.40/sub_std/ -rw-r--r-- lindberg/lindberg 3377 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/issub.c -rw-r--r-- lindberg/lindberg 7306 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/subscribe.c -rw-r--r-- lindberg/lindberg 2283 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/putsubs.c -rw-r--r-- lindberg/lindberg 3157 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/searchlog.c -rwxr-xr-x lindberg/lindberg 148 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/ezmlm-mktab -rw-r--r-- lindberg/lindberg 99 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/conf-sqlcc -rw-r--r-- lindberg/lindberg 97 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/conf-sqlld -rw-r--r-- lindberg/lindberg 515 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/opensql.c -rw-r--r-- lindberg/lindberg 1522 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/tagmsg.c -rw-r--r-- lindberg/lindberg 401 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/logmsg.c -rw-r--r-- lindberg/lindberg 1220 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/checktag.c -rw-r--r-- lindberg/lindberg 1103 1999-12-24 13:15 ezmlm-idx-0.40/sub_std/README drwxr-xr-x lindberg/lindberg 0 1999-12-19 09:55 ezmlm-idx-0.40/sub_mysql/ -rw-r--r-- lindberg/lindberg 5531 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/issub.c -rw-r--r-- lindberg/lindberg 12941 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/subscribe.c -rw-r--r-- lindberg/lindberg 4001 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/putsubs.c -rw-r--r-- lindberg/lindberg 5289 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/searchlog.c -rwxr-xr-x lindberg/lindberg 5500 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/ezmlm-mktab -rw-r--r-- lindberg/lindberg 151 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/conf-sqlcc -rw-r--r-- lindberg/lindberg 169 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/conf-sqlld -rw-r--r-- lindberg/lindberg 3372 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/opensql.c -rw-r--r-- lindberg/lindberg 3157 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/tagmsg.c -rw-r--r-- lindberg/lindberg 1866 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/logmsg.c -rw-r--r-- lindberg/lindberg 3824 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/checktag.c -rw-r--r-- lindberg/lindberg 7957 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/README -rwxr-xr-x lindberg/lindberg 468 1999-12-24 13:15 ezmlm-idx-0.40/sub_mysql/to40x drwxr-xr-x lindberg/lindberg 0 1999-12-19 09:56 ezmlm-idx-0.40/sub_pgsql/ -rw-r--r-- lindberg/lindberg 4915 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/issub.c -rw-r--r-- lindberg/lindberg 12154 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/subscribe.c -rw-r--r-- lindberg/lindberg 3873 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/putsubs.c -rw-r--r-- lindberg/lindberg 5155 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/searchlog.c -rwxr-xr-x lindberg/lindberg 5758 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/ezmlm-mktab -rw-r--r-- lindberg/lindberg 223 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/conf-sqlcc -rw-r--r-- lindberg/lindberg 128 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/conf-sqlld -rw-r--r-- lindberg/lindberg 3333 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/opensql.c -rw-r--r-- lindberg/lindberg 4034 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/tagmsg.c -rw-r--r-- lindberg/lindberg 2990 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/logmsg.c -rw-r--r-- lindberg/lindberg 3436 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/checktag.c -rw-r--r-- lindberg/lindberg 8695 1999-12-24 13:15 ezmlm-idx-0.40/sub_pgsql/README lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/checktag.c -> sub_std/checktag.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/issub.c -> sub_std/issub.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/logmsg.c -> sub_std/logmsg.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/subscribe.c -> sub_std/subscribe.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/opensql.c -> sub_std/opensql.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/putsubs.c -> sub_std/putsubs.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/tagmsg.c -> sub_std/tagmsg.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/searchlog.c -> sub_std/searchlog.c lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/conf-sqlcc -> sub_std/conf-sqlcc lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/conf-sqlld -> sub_std/conf-sqlld lrwxrwxrwx lindberg/lindberg 0 1999-12-24 13:15 ezmlm-idx-0.40/ezmlm-mktab -> sub_std/ezmlm-mktab -rw-r--r-- lindberg/lindberg 27457 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.ch_GB -rw-r--r-- lindberg/lindberg 35232 1999-12-24 13:15 ezmlm-idx-0.40/ezmlmrc.pt + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv -f ezmlm-idx-0.40/CHANGES.idx ezmlm-idx-0.40/DOWNGRADE.idx ezmlm-idx-0.40/FAQ.idx ezmlm-idx-0.40/FILES.idx ezmlm-idx-0.40/INSTALL.idx ezmlm-idx-0.40/LICENCE.TXT ezmlm-idx-0.40/README.idx ezmlm-idx-0.40/TARGETS ezmlm-idx-0.40/UPGRADE.idx ezmlm-idx-0.40/author.c ezmlm-idx-0.40/auto_cron.h ezmlm-idx-0.40/case_diffs.c ezmlm-idx-0.40/case_starts.c ezmlm-idx-0.40/checktag.c ezmlm-idx-0.40/concatHDR.c ezmlm-idx-0.40/conf-cron ezmlm-idx-0.40/conf-sqlcc ezmlm-idx-0.40/conf-sqlld ezmlm-idx-0.40/copy.c ezmlm-idx-0.40/copy.h ezmlm-idx-0.40/date2yyyymm.c ezmlm-idx-0.40/dateline.c ezmlm-idx-0.40/decodeB.c ezmlm-idx-0.40/decodeHDR.c ezmlm-idx-0.40/decodeQ.c ezmlm-idx-0.40/encodeB.c ezmlm-idx-0.40/encodeQ.c ezmlm-idx-0.40/env.c ezmlm-idx-0.40/errtxt.h ezmlm-idx-0.40/ezcgi.css ezmlm-idx-0.40/ezcgirc ezmlm-idx-0.40/ezmlm-accept.1 ezmlm-idx-0.40/ezmlm-accept.sh ezmlm-idx-0.40/ezmlm-archive.1 ezmlm-idx-0.40/ezmlm-archive.c ezmlm-idx-0.40/ezmlm-cgi.1 ezmlm-idx-0.40/ezmlm-cgi.c ezmlm-idx-0.40/ezmlm-check.1 ezmlm-idx-0.40/ezmlm-check.sh ezmlm-idx-0.40/ezmlm-clean.1 ezmlm-idx-0.40/ezmlm-clean.c ezmlm-idx-0.40/ezmlm-cron.1 ezmlm-idx-0.40/ezmlm-cron.c ezmlm-idx-0.40/ezmlm-gate.1 ezmlm-idx-0.40/ezmlm-gate.c ezmlm-idx-0.40/ezmlm-get.1 ezmlm-idx-0.40/ezmlm-get.c ezmlm-idx-0.40/ezmlm-glconf.1 ezmlm-idx-0.40/ezmlm-glconf.sh ezmlm-idx-0.40/ezmlm-idx.1 ezmlm-idx-0.40/ezmlm-idx.c ezmlm-idx-0.40/ezmlm-issubn.1 ezmlm-idx-0.40/ezmlm-issubn.c ezmlm-idx-0.40/ezmlm-limit.1 ezmlm-idx-0.40/ezmlm-limit.c ezmlm-idx-0.40/ezmlm-list.c ezmlm-idx-0.40/ezmlm-make.1 ezmlm-idx-0.40/ezmlm-make.c ezmlm-idx-0.40/ezmlm-manage.1 ezmlm-idx-0.40/ezmlm-manage.c ezmlm-idx-0.40/ezmlm-mktab ezmlm-idx-0.40/ezmlm-mktab.1 ezmlm-idx-0.40/ezmlm-moderate.1 ezmlm-idx-0.40/ezmlm-moderate.c ezmlm-idx-0.40/ezmlm-receipt.1 ezmlm-idx-0.40/ezmlm-receipt.c ezmlm-idx-0.40/ezmlm-reject.1 ezmlm-idx-0.40/ezmlm-reject.c ezmlm-idx-0.40/ezmlm-request.1 ezmlm-idx-0.40/ezmlm-request.c ezmlm-idx-0.40/ezmlm-return.c ezmlm-idx-0.40/ezmlm-send.c ezmlm-idx-0.40/ezmlm-split.1 ezmlm-idx-0.40/ezmlm-split.c ezmlm-idx-0.40/ezmlm-store.1 ezmlm-idx-0.40/ezmlm-store.c ezmlm-idx-0.40/ezmlm-sub.c ezmlm-idx-0.40/ezmlm-test.1 ezmlm-idx-0.40/ezmlm-test.sh ezmlm-idx-0.40/ezmlm-tstdig.1 ezmlm-idx-0.40/ezmlm-tstdig.c ezmlm-idx-0.40/ezmlm-unsub.c ezmlm-idx-0.40/ezmlm-warn.c ezmlm-idx-0.40/ezmlmglrc ezmlm-idx-0.40/ezmlmglrc.5 ezmlm-idx-0.40/ezmlmrc.5 ezmlm-idx-0.40/ezmlmrc.ch_GB ezmlm-idx-0.40/ezmlmrc.cs ezmlm-idx-0.40/ezmlmrc.da ezmlm-idx-0.40/ezmlmrc.de ezmlm-idx-0.40/ezmlmrc.en_US ezmlm-idx-0.40/ezmlmrc.es ezmlm-idx-0.40/ezmlmrc.fr ezmlm-idx-0.40/ezmlmrc.id ezmlm-idx-0.40/ezmlmrc.it ezmlm-idx-0.40/ezmlmrc.jp ezmlm-idx-0.40/ezmlmrc.pl ezmlm-idx-0.40/ezmlmrc.pt ezmlm-idx-0.40/ezmlmrc.pt_BR ezmlm-idx-0.40/ezmlmrc.ru ezmlm-idx-0.40/ezmlmrc.sv ezmlm-idx-0.40/ezmlmsubrc ezmlm-idx-0.40/ezmlmsubrc.5 ezmlm-idx-0.40/idx.h ezmlm-idx-0.40/idx.patch ezmlm-idx-0.40/idxthread.c ezmlm-idx-0.40/idxthread.h ezmlm-idx-0.40/issub.c ezmlm-idx-0.40/logmsg.c ezmlm-idx-0.40/makehash.c ezmlm-idx-0.40/makehash.h ezmlm-idx-0.40/mime.h ezmlm-idx-0.40/opensql.c ezmlm-idx-0.40/putsubs.c ezmlm-idx-0.40/qmail-qmqpc.tar.gz ezmlm-idx-0.40/qmail-verh.tar.gz ezmlm-idx-0.40/qmail.c ezmlm-idx-0.40/qmail.h ezmlm-idx-0.40/searchlog.c ezmlm-idx-0.40/sub_mysql ezmlm-idx-0.40/sub_pgsql ezmlm-idx-0.40/sub_std ezmlm-idx-0.40/subscribe.c ezmlm-idx-0.40/subscribe.h ezmlm-idx-0.40/tagmsg.c ezmlm-idx-0.40/unfoldHDR.c ezmlm-idx-0.40/yyyymm.h . + patch -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WB70S2 + umask 022 + cd /builddir/build/BUILD + cd ezmlm-0.53 + RC=/etc/ezmlm/ezmlmrc + sed -e 's{^#define TXT_ETC_EZMLMRC \"/etc/ezmlmrc\"{#define TXT_ETC_EZMLMRC \"$RC\"{' idx.h + mv idx.h.tmp idx.h + /usr/bin/perl -pi -e 's|`head -1 conf-sqlld`|-L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz|g' Makefile + echo 'gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + echo 'gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + echo /usr/bin + echo /usr/man Fixing errno.h for new GLIBC + echo 'Fixing errno.h for new GLIBC' + echo '#include ' + make ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile chmod 755 compile ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile ezmlm-idx.c ezmlm-idx.c: In function 'idx_get_trimsubject': ezmlm-idx.c:128:17: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] pos = byte_chr(line.s,line.len,';'); ^~~~~~~~ str_chr ezmlm-idx.c:92:7: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^~ ezmlm-idx.c: In function 'main': ezmlm-idx.c:209:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-idx.c:213:3: warning: implicit declaration of function 'sig_pipeignore'; did you mean 'sgoptprogname'? [-Wimplicit-function-declaration] sig_pipeignore(); ^~~~~~~~~~~~~~ sgoptprogname ezmlm-idx.c:283:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ezmlm-idx.c:320:11: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdindexn) == -1) ^~~~~ ezmlm-idx.c:326:11: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(fnifn.s,fnif.s) == -1) ^~~~~~ read ./compile slurp.c slurp.c: In function 'slurp': slurp.c:17:7: warning: implicit declaration of function 'slurpclose'; did you mean 'slurp'? [-Wimplicit-function-declaration] if (slurpclose(fd,sa,bufsize) == -1) return -1; ^~~~~~~~~~ slurp ./compile slurpclose.c slurpclose.c: In function 'slurpclose': slurpclose.c:13:44: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } ^~~~~ cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 makelib ./compile concatHDR.c concatHDR.c: In function 'concatHDR': concatHDR.c:24:36: warning: implicit declaration of function 'die_nomem' [-Wimplicit-function-declaration] if (!stralloc_copys(outdata,"")) die_nomem(fatal); ^~~~~~~~~ ./compile decodeHDR.c decodeHDR.c: In function 'decodeHDR': decodeHDR.c:29:16: warning: variable 'pos' set but not used [-Wunused-but-set-variable] unsigned int pos; ^~~ ./compile unfoldHDR.c unfoldHDR.c: In function 'trimre': unfoldHDR.c:75:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (cpnew <= cpend && /* skip number/space */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ *cpnew == ' ' || (*cpnew <= '9' && *cpnew >= '0')) ++cpnew; ~~~~~~~~~~~~~ unfoldHDR.c: In function 'unfoldHDR': unfoldHDR.c:159:37: warning: implicit declaration of function 'die_nomem' [-Wimplicit-function-declaration] if (!stralloc_copys(&tmpdata,"")) die_nomem(fatal); ^~~~~~~~~ unfoldHDR.c:273:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (state != SI) /* need to end in ascii */ ^ ./compile decodeQ.c decodeQ.c: In function 'decodeQ': decodeQ.c:25:55: warning: array subscript has type 'char' [-Wchar-subscripts] #define char16enc(c) (((c) & 0x80) ? -1 : char16table[(c)]) ^ decodeQ.c:62:13: note: in expansion of macro 'char16enc' ch1 = char16enc(*cp); ^~~~~~~~~ decodeQ.c:25:55: warning: array subscript has type 'char' [-Wchar-subscripts] #define char16enc(c) (((c) & 0x80) ? -1 : char16table[(c)]) ^ decodeQ.c:65:13: note: in expansion of macro 'char16enc' ch2 = char16enc(*cp); ^~~~~~~~~ ./compile encodeQ.c ./compile decodeB.c decodeB.c: In function 'decodeB': decodeB.c:18:55: warning: array subscript has type 'char' [-Wchar-subscripts] #define char64enc(c) (((c) & 0x80) ? -1 : char64table[(c)]) ^ decodeB.c:60:11: note: in expansion of macro 'char64enc' c = char64enc(*cp); ^~~~~~~~~ ./compile encodeB.c ./compile author.c ./makelib mime.a concatHDR.o decodeHDR.o decodeQ.o encodeQ.o \ decodeB.o encodeB.o unfoldHDR.o author.o ./compile wait_pid.c ./makelib wait.a wait_pid.o ./compile subgetopt.c ./compile sgetopt.c ./makelib getopt.a subgetopt.o sgetopt.o ./compile getln.c ./compile getln2.c ./makelib getln.a getln.o getln2.o ./compile strerr.c ./compile strerr_sys.c ./compile strerr_die.c ./makelib strerr.a strerr.o strerr_sys.o strerr_die.o ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact ./compile sig_catch.c ./compile sig_pipe.c ./makelib sig.a sig_catch.o sig_pipe.o ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./makelib open.a open_append.o open_read.o open_trunc.o ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \ 2>&1 \ && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock ./compile lock_ex.c ./makelib lock.a lock_ex.o ./compile substdio.c ./compile substdi.c ./compile substdo.c ./compile subfderr.c ./compile substdio_copy.c ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o substdio_copy.o ./compile stralloc_eady.c ./compile stralloc_pend.c ./compile stralloc_copy.c ./compile stralloc_opys.c ./compile stralloc_opyb.c ./compile stralloc_cat.c ./compile stralloc_cats.c ./compile stralloc_catb.c ./compile stralloc_arts.c ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ stralloc_cat.o stralloc_cats.o stralloc_catb.o \ stralloc_arts.o ./compile alloc.c alloc.c:3:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ ./compile alloc_re.c ./makelib alloc.a alloc.o alloc_re.o ./compile error.c ./compile error_str.c ./makelib error.a error.o error_str.o ./compile str_len.c str_len.c: In function 'str_len': str_len.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:10:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:11:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:12:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:13:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ ./compile str_diff.c ./compile str_diffn.c str_diffn.c: In function 'str_diffn': str_diffn.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^~ str_diffn.c:11:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^ str_diffn.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^~ str_diffn.c:12:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^ str_diffn.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^~ str_diffn.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^ str_diffn.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^~ str_diffn.c:14:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!len--) return 0; x = *s; if (x != *t) break; if (!x) break; ++s; ++t; ^ ./compile str_cpy.c str_cpy.c: In function 'str_copy': str_cpy.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:11:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:12:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:13:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ str_cpy.c:14:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(*s = *t)) return len; ++s; ++t; ++len; ^~ ./compile str_chr.c str_chr.c: In function 'str_chr': str_chr.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:13:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:15:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:16:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ ./compile str_rchr.c str_rchr.c: In function 'str_rchr': str_rchr.c:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:15:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:16:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:17:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) u = t; ++t; ^~ str_rchr.c:18:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) u = t; ++t; ^~ ./compile str_start.c ./compile byte_chr.c byte_chr.c: In function 'byte_chr': byte_chr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:14:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:15:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:16:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:17:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ ./compile byte_rchr.c byte_rchr.c: In function 'byte_rchr': byte_rchr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:16:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:17:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:18:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:19:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ ./compile byte_diff.c byte_diff.c: In function 'byte_diff': byte_diff.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:10:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:11:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:12:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ ./compile byte_copy.c byte_copy.c: In function 'byte_copy': byte_copy.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:9:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:10:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:11:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ ./compile byte_cr.c byte_cr.c: In function 'byte_copyr': byte_cr.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:11:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:13:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ ./compile byte_zero.c byte_zero.c: In function 'byte_zero': byte_zero.c:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:8:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:9:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:10:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:11:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \ str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \ byte_diff.o byte_copy.o byte_cr.o byte_zero.o ./compile fd_copy.c fd_copy.c: In function 'fd_copy': fd_copy.c:10:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(to); ^~~~~ ./compile fd_move.c fd_move.c: In function 'fd_move': fd_move.c:9:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(from); ^~~~~ ./makelib fd.a fd_copy.o fd_move.o ./compile case_diffb.c ./compile case_diffs.c ./compile case_starts.c ./compile case_lowerb.c ./compile case_startb.c ./makelib case.a case_diffb.o case_lowerb.o case_startb.o \ case_diffs.o case_starts.o ./compile fmt_str.c fmt_str.c: In function 'fmt_str': fmt_str.c:9:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s) { while (ch = t[len]) s[len++] = ch; } ^~ ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile scan_8long.c ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o \ fmt_ulong.o scan_ulong.o scan_8long.o ./compile getconf.c getconf.c: In function 'getconf_line': getconf.c:59:13: warning: implicit declaration of function 'byte_chr' [-Wimplicit-function-declaration] sa->len = byte_chr(sa->s,sa->len,0); ^~~~~~~~ ./compile makehash.c makehash.c: In function 'mkauthhash': makehash.c:115:7: warning: implicit declaration of function 'byte_rchr' [-Wimplicit-function-declaration] i = byte_rchr(s,len,'@'); ^~~~~~~~~ makehash.c:129:47: warning: implicit declaration of function 'die_nomem' [-Wimplicit-function-declaration] if (!stralloc_copyb(&dummy,s + k, l - k)) die_nomem(); ^~~~~~~~~ ./compile surf.c ./load ezmlm-idx \ mime.a slurp.o slurpclose.o wait.a getln.a strerr.a sig.a open.a \ lock.a mime.a substdio.a stralloc.a alloc.a error.a str.a fd.a \ getopt.a case.a fs.a getconf.o makehash.o surf.o (cat warn-auto.sh; \ echo EZPATH=\'`head -1 conf-bin`\'; \ cat ezmlm-accept.sh ) > ezmlm-accept ./compile ezmlm-archive.c ezmlm-archive.c: In function 'close_proper': ezmlm-archive.c:62:9: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(ss->fd) == -1) ^~~~~ ezmlm-archive.c:64:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (close(ss->fd) == -1) ^~~~~ ezmlm-archive.c:66:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(sn,s) == -1) ^~~~~~ read ezmlm-archive.c: In function 'write_threads': ezmlm-archive.c:124:18: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] if ((fdn = open_trunc(fnn.s)) == -1) ^~~~~~~~~~ ezmlm-archive.c:127:17: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] if ((fd = open_read(fn.s)) == -1) { ^~~~~~~~~ ezmlm-archive.c:136:13: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] pos = scan_ulong(line.s,&msgnum); ^~~~~~~~~~ fmt_ulong ezmlm-archive.c:208:9: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(fn.s,0755) == -1) ^~~~~ ezmlm-archive.c:88:20: warning: unused variable 'l' [-Wunused-variable] unsigned int pos,l; ^ ezmlm-archive.c:78:29: warning: variable 'psubtlast' set but not used [-Wunused-but-set-variable] subentry *psubt,*psubtm, *psubtlast; ^~~~~~~~~ ezmlm-archive.c: In function 'main': ezmlm-archive.c:365:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(022); ^~~~~ ezmlm-archive.c:399:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-archive.c:414:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ ezmlm-archive.c:417:7: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) { ^~~~~~~ ezmlm-archive.c:446:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); /* nothing to do */ ^~~~~ ezmlm-archive.c:446:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-archive.c:464:8: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); /* go bye-bye */ ^~~~~ ezmlm-archive.c: In function 'write_threads': ezmlm-archive.c:183:55: warning: 'startmsg' may be used uninitialized in this function [-Wmaybe-uninitialized] if (psubtm->firstmsg < nextmsg && psubtm->lastmsg >= startmsg) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./compile idxthread.c idxthread.c: In function 'lockup': idxthread.c:58:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ idxthread.c:62:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdlock); ^~~~~ idxthread.c: In function 'idx_mkthreads': idxthread.c:244:10: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(line.s); ^~~~~~~~~ idxthread.c:263:13: warning: implicit declaration of function 'getln' [-Wimplicit-function-declaration] if (getln(&ssindex,&line,&match,'\n') == -1) ^~~~~ idxthread.c:268:17: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] pos = scan_ulong(line.s,&tmpmsg); ^~~~~~~~~~ fmt_ulong idxthread.c:336:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (!(*pdatetable = (dateentry *) alloc_re(*pdatetable, ^ idxthread.c:344:11: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] posa = byte_chr(authline.s,authline.len,';'); ^~~~~~~~ str_chr idxthread.c:172:17: warning: variable 'submax' set but not used [-Wunused-but-set-variable] unsigned long submax; /* max subject num in subtable */ ^~~~~~ idxthread.c:326:10: warning: 'flagauth' may be used uninitialized in this function [-Wmaybe-uninitialized] if (hasauth) { ^ idxthread.c:285:16: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] sublen = line.len - pos; ~~~~~~~^~~~~~~~~~~~~~~~ idxthread.c:361:15: warning: 'authlen' may be used uninitialized in this function [-Wmaybe-uninitialized] newauth(pauthnext,auth,authlen,msg,fatal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ idxthread.c:356:17: warning: 'auth' may be used uninitialized in this function [-Wmaybe-uninitialized] res = str_diffn(pautht->auth,auth,HASHLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./compile date2yyyymm.c ./compile dateline.c dateline.c: In function 'dateline': dateline.c:29:14: warning: implicit declaration of function 'cgierr' [-Wimplicit-function-declaration] default: cgierr("I don't know any month > 12", ^~~~~~ dateline.c:32:8: warning: 'mo' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!stralloc_copys(dt,mo)) return -1; ^~~~~~~~~~~~~~~~~~~~~ ./makelib yyyymm.a date2yyyymm.o dateline.o ./load ezmlm-archive getconf.o slurpclose.o slurp.o getln.a sig.a \ idxthread.o yyyymm.a strerr.a substdio.a stralloc.a alloc.a \ error.a str.a fs.a open.a lock.a fd.a getopt.a (cat warn-auto.sh; \ echo EZPATH=\'`head -1 conf-bin`\'; \ echo QMPATH=\'`head -1 conf-qmail`\'; \ cat ezmlm-check.sh ) > ezmlm-check ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork ./compile ezmlm-gate.c ezmlm-gate.c: In function 'mailprog': ezmlm-gate.c:56:2: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(*sendargs,sendargs); ^~~~~ ezmlm-gate.c: At top level: ezmlm-gate.c:81:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-gate.c: In function 'main': ezmlm-gate.c:93:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ ezmlm-gate.c:129:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-gate.c:191:7: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp(*sendargs,sendargs); ^~~~~~ ezmlm-gate.c:91:20: warning: unused variable 'k' [-Wunused-variable] unsigned int i,j,k; ^ ./compile checktag.c `head -1 conf-sqlcc` checktag.c: In function 'checktag': checktag.c:35:12: warning: implicit declaration of function 'slurp' [-Wimplicit-function-declaration] switch(slurp("key",&key,32)) { ^~~~~ checktag.c:43:9: warning: implicit declaration of function 'byte_diff' [-Wimplicit-function-declaration] if (byte_diff(hash,COOKIE,newcookie)) return ""; ^~~~~~~~~ At top level: checktag.c:14:17: warning: 'quoted' defined but not used [-Wunused-variable] static stralloc quoted = {0}; ^~~~~~ checktag.c:13:17: warning: 'line' defined but not used [-Wunused-variable] static stralloc line = {0}; ^~~~ ./compile issub.c `head -1 conf-sqlcc` issub.c: In function 'issub': issub.c:89:15: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] { close(fd); return line.s+1; } ^~~~~ closesql At top level: issub.c:30:13: warning: 'szh' defined but not used [-Wunused-variable] static char szh[FMT_ULONG]; ^~~ issub.c:26:17: warning: 'quoted' defined but not used [-Wunused-variable] static stralloc quoted = {0}; ^~~~~~ ./compile logmsg.c `head -1 conf-sqlcc` logmsg.c:9:8: warning: type defaults to 'int' in declaration of 'strnum' [-Wimplicit-int] static strnum[FMT_ULONG]; ^~~~~~ logmsg.c:9:8: warning: 'strnum' defined but not used [-Wunused-variable] logmsg.c:8:17: warning: 'logline' defined but not used [-Wunused-variable] static stralloc logline = {0}; ^~~~~~~ ./compile subscribe.c `head -1 conf-sqlcc` In file included from subscribe.c:17: log.h:4:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(); ^~~ subscribe.c: In function 'subscribe': subscribe.c:93:16: warning: implicit declaration of function 'str_chr'; did you mean 'byte_chr'? [-Wimplicit-function-declaration] if (userhost[str_chr(userhost,'\n')]) ^~~~~~~ byte_chr subscribe.c:151:35: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (errno != error_noent) { close(fdnew); die_read(fatal); } ^~~~~ subscribe.c:181:9: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdnew) == -1) { close(fdnew); die_write(fatal); } ^~~~~ subscribe.c:184:9: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(fnnew.s,fn.s) == -1) ^~~~~~ read subscribe.c:85:8: warning: unused variable 'szhash' [-Wunused-variable] char szhash[3] = "00"; ^~~~~~ At top level: subscribe.c:35:13: warning: 'szh' defined but not used [-Wunused-variable] static char szh[FMT_ULONG]; ^~~ subscribe.c:31:17: warning: 'quoted' defined but not used [-Wunused-variable] static stralloc quoted = {0}; ^~~~~~ subscribe.c:30:17: warning: 'logline' defined but not used [-Wunused-variable] static stralloc logline = {0}; ^~~~~~~ subscribe.c:29:17: warning: 'domain' defined but not used [-Wunused-variable] static stralloc domain = {0}; ^~~~~~ ./compile opensql.c `head -1 conf-sqlcc` opensql.c:12:14: warning: 'ourtable' defined but not used [-Wunused-variable] static char *ourtable = (char *) 0; ^~~~~~~~ opensql.c:11:17: warning: 'ourdb' defined but not used [-Wunused-variable] static stralloc ourdb = {0}; ^~~~~ opensql.c:10:17: warning: 'fn' defined but not used [-Wunused-variable] static stralloc fn = {0}; ^~ opensql.c:9:17: warning: 'ers' defined but not used [-Wunused-variable] static stralloc ers = {0}; ^~~ opensql.c:8:17: warning: 'myp' defined but not used [-Wunused-variable] static stralloc myp = {0}; ^~~ ./compile putsubs.c `head -1 conf-sqlcc` putsubs.c: In function 'putsubs': putsubs.c:75:15: warning: implicit declaration of function 'getln'; did you mean 'getlistno'? [-Wimplicit-function-declaration] if (getln(&ssin,&line,&match,'\0') == -1) ^~~~~ getlistno putsubs.c:82:9: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] close(fd); ^~~~~ closesql At top level: putsubs.c:19:17: warning: 'quoted' defined but not used [-Wunused-variable] static stralloc quoted = {0}; ^~~~~~ putsubs.c:18:17: warning: 'domains' defined but not used [-Wunused-variable] static stralloc domains = {0}; ^~~~~~~ ./compile tagmsg.c `head -1 conf-sqlcc` tagmsg.c:18:13: warning: 'die_nomem' defined but not used [-Wunused-function] static void die_nomem(fatal) ^~~~~~~~~ tagmsg.c:13:17: warning: 'line' defined but not used [-Wunused-variable] static stralloc line = {0}; ^~~~ ./compile searchlog.c `head -1 conf-sqlcc` searchlog.c: In function 'searchlog': searchlog.c:81:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (fd == -1) ^ searchlog.c:89:9: warning: implicit declaration of function 'getln'; did you mean 'getlistno'? [-Wimplicit-function-declaration] if (getln(&ssin,&line,&match,'\n') == -1) ^~~~~ getlistno searchlog.c:113:3: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] close(fd); ^~~~~ closesql ./makelib subdb.a checktag.o issub.o logmsg.o subscribe.o \ opensql.o putsubs.o tagmsg.o searchlog.o ./compile auto-str.c auto-str.c:8:6: warning: conflicting types for built-in function 'puts' [-Wbuiltin-declaration-mismatch] void puts(s) ^~~~ auto-str.c:14:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ auto-str.c: In function 'main': auto-str.c:32:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ch = *value++) { ^~ ./load auto-str substdio.a error.a str.a ./auto-str auto_bin `head -1 conf-bin` > auto_bin.c ./compile auto_bin.c ./compile env.c ./compile envread.c envread.c: In function 'env_get': envread.c:12:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 0;envi = environ[i];++i) ^~~~ ./makelib env.a env.o envread.o ./compile seek_set.c seek_set.c: In function 'seek_set': seek_set.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^~~~~ ./makelib seek.a seek_set.o ./load ezmlm-gate subdb.a getconf.o slurpclose.o slurp.o \ getopt.a getln.a auto_bin.o env.a sig.a fs.a \ strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a wait.a \ open.a lock.a seek.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-get.c ezmlm-get.c: In function 'lockup': ezmlm-get.c:175:14: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ ezmlm-get.c:178:9: warning: implicit declaration of function 'lock_ex'; did you mean 'lockup'? [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) { ^~~~~~~ lockup ezmlm-get.c:179:7: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] close(fdlock); ^~~~~ closesql ezmlm-get.c: In function 'get_num': ezmlm-get.c:258:11: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] pos = scan_ulong(num.s,&max); ^~~~~~~~~~ fmt_ulong ezmlm-get.c: In function 'write_ulong': ezmlm-get.c:283:8: warning: implicit declaration of function 'open_trunc'; did you mean 'seek_trunc'? [-Wimplicit-function-declaration] fd = open_trunc(fnn); ^~~~~~~~~~ seek_trunc ezmlm-get.c:303:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) ^~~~~ ezmlm-get.c:307:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(fnn,fn) == -1) ^~~~~~ read ezmlm-get.c: In function 'copymsg': ezmlm-get.c:544:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archdate,&line)) die_nomem(); break; ^~ ezmlm-get.c:544:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archdate,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:546:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archfrom,&line)) die_nomem(); break; ^~ ezmlm-get.c:546:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archfrom,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:548:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archto,&line)) die_nomem(); break; ^~ ezmlm-get.c:548:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archto,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:550:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archcc,&line)) die_nomem(); break; ^~ ezmlm-get.c:550:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archcc,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:552:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archsubject,&line)) die_nomem(); break; ^~ ezmlm-get.c:552:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archsubject,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:554:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archmessageid,&line)) die_nomem(); break; ^~ ezmlm-get.c:554:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archmessageid,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c:556:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!stralloc_cat(&archkeywords,&line)) die_nomem(); break; ^~ ezmlm-get.c:556:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!stralloc_cat(&archkeywords,&line)) die_nomem(); break; ^~~~~ ezmlm-get.c: In function 'msgout': ezmlm-get.c:651:7: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fn.s); ^~~~~~~~~ ezmlm-get.c: In function 'doheaders': ezmlm-get.c:796:36: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); ^~~~~~ getln2 ezmlm-get.c:826:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (case_startb(line.s,line.len,"mailing-list:")) ^ ezmlm-get.c: At top level: ezmlm-get.c:845:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-get.c: In function 'main': ezmlm-get.c:900:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-get.c:926:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); /* list-@host should do -help from manager */ ^~~~~ ezmlm-get.c:926:2: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-get.c:969:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-get.c:1444:16: warning: 'subs' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) logmsg(workdir,mno,0L,subs,4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ezmlm-get.c:1391:12: warning: 'mno' may be used uninitialized in this function [-Wmaybe-uninitialized] strnum[fmt_ulong(strnum,mno)] = '\0'; ^~~~~~~~~~~~~~~~~~~~~ ezmlm-get.c:1283:18: warning: 'pos1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (pos1 >= line.len) { /* bad! */ ^ ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c ./compile auto_qmail.c ./compile now.c ./compile datetime.c ./compile date822fmt.c ./compile qmail.c qmail.c: In function 'qmail_open': qmail.c:25:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe(pim) == -1) return -1; ^~~~ qmail.c:26:26: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; } ^~~~~ qmail.c:38:11: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) _exit(61); ^~~~~ qmail.c:53:2: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(*cpp,cpp); ^~~~~ qmail.c: In function 'qmail_puts': qmail.c:86:11: warning: implicit declaration of function 'str_len' [-Wimplicit-function-declaration] len = str_len(s); ^~~~~~~ qmail.c:89:16: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] qq->msgbytes += len; ^~ ./compile quote.c ./compile cookie.c ./compile surfpcs.c ./makelib surf.a surf.o surfpcs.o ./compile constmap.c ./compile copy.c copy.c: In function 'copy': copy.c:127:13: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] if ((fd = open_read(fn)) == -1) ^~~~~~~~~ copy.c:127:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fd = open_read(fn)) == -1) ^ copy.c:161:22: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] while ((pos += byte_chr(line.s+pos,line.len-pos,'<')) != line.len) { ^~~~~~~~ str_chr copy.c:168:5: warning: implicit declaration of function 'die_nomem' [-Wimplicit-function-declaration] die_nomem(fatal); ^~~~~~~~~ copy.c:209:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ./load ezmlm-get idxthread.o subdb.a auto_qmail.o getopt.a getconf.o \ now.o datetime.o date822fmt.o cookie.o makehash.o slurpclose.o slurp.o \ yyyymm.a \ constmap.o substdio.a copy.o mime.a strerr.a stralloc.a alloc.a \ qmail.o quote.o surf.a getln.a env.a sig.a \ error.a str.a fs.a case.a \ open.a seek.a wait.a lock.a fd.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ( ./compile trydrent.c >/dev/null 2>&1 \ && cat direntry.h2 || cat direntry.h1 ) > direntry.h rm -f trydrent.o ./compile ezmlm-clean.c ezmlm-clean.c: In function 'sendnotice': ezmlm-clean.c:144:12: warning: implicit declaration of function 'open_read'; did you mean 'die_read'? [-Wimplicit-function-declaration] fd = open_read(d); ^~~~~~~~~ die_read ezmlm-clean.c:170:36: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); ^~~~~~ getln2 ezmlm-clean.c:230:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (fd); ^~~~~ ezmlm-clean.c: In function 'dodir': ezmlm-clean.c:282:5: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] scan_ulong(d->d_name,&modtime); ^~~~~~~~~~ fmt_ulong ezmlm-clean.c:295:11: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(fnmsg.s); ^~~~~~ unix ezmlm-clean.c: At top level: ezmlm-clean.c:305:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-clean.c: In function 'main': ezmlm-clean.c:332:7: warning: implicit declaration of function 'chdir'; did you mean 'dodir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ dodir ezmlm-clean.c:343:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("mod/lock"); ^~~~~~~~~~~ ezmlm-clean.c:346:7: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) ^~~~~~~ ezmlm-clean.c:353:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-clean.c:353:3: warning: incompatible implicit declaration of built-in function '_exit' ./load ezmlm-clean auto_qmail.o getconf.o copy.o mime.a \ now.o datetime.o date822fmt.o slurpclose.o \ slurp.o qmail.o quote.o getln.a env.a sig.a strerr.a \ substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \ open.a seek.a wait.a lock.a fd.a cookie.o getopt.a surf.a (cat warn-auto.sh; \ echo EZPATH=\'`head -1 conf-bin`\'; \ cat ezmlm-glconf.sh ) > ezmlm-glconf ./compile ezmlm-moderate.c ezmlm-moderate.c: In function 'code_qput': ezmlm-moderate.c:99:9: warning: implicit declaration of function 'encodeB' [-Wimplicit-function-declaration] encodeB(s,n,&qline,0,FATAL); ^~~~~~~ ezmlm-moderate.c:101:9: warning: implicit declaration of function 'encodeQ' [-Wimplicit-function-declaration] encodeQ(s,n,&qline,FATAL); ^~~~~~~ ezmlm-moderate.c: At top level: ezmlm-moderate.c:193:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-moderate.c: In function 'main': ezmlm-moderate.c:259:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-moderate.c:304:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("mod/lock"); ^~~~~~~~~~~ ezmlm-moderate.c:307:7: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) ^~~~~~~ ezmlm-moderate.c:336:10: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fnmsg.s); ^~~~~~~~~ ezmlm-moderate.c:363:36: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); ^~~~~~ getln2 ezmlm-moderate.c:435:9: warning: implicit declaration of function 'decodeB' [-Wimplicit-function-declaration] decodeB(text.s,text.len,&line,FATAL); ^~~~~~~ ezmlm-moderate.c:437:9: warning: implicit declaration of function 'decodeQ' [-Wimplicit-function-declaration] decodeQ(text.s,text.len,&line,FATAL); ^~~~~~~ ezmlm-moderate.c:501:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ezmlm-moderate.c:528:14: warning: implicit declaration of function 'open_trunc'; did you mean 'seek_trunc'? [-Wimplicit-function-declaration] fd = open_trunc(fnnew.s); ^~~~~~~~~~ seek_trunc ezmlm-moderate.c:531:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(fnmsg.s); ^~~~~~ unix ezmlm-moderate.c:539:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (fd == -1) ^ ezmlm-moderate.c:577:9: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] dup(fd); /* make fnmsg.s stdin */ ^~~ ezmlm-moderate.c:578:9: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(*sendargs,sendargs); ^~~~~ ezmlm-moderate.c:609:7: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-moderate.c:609:7: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-moderate.c:216:21: warning: variable 'cpfirst' set but not used [-Wunused-but-set-variable] char *cp,*cpnext,*cpfirst,*cplast,*cpafter; ^~~~~~~ ezmlm-moderate.c:202:7: warning: variable 'flagcomment' set but not used [-Wunused-but-set-variable] int flagcomment; ^~~~~~~~~~~ ./load ezmlm-moderate auto_qmail.o getconf.o copy.o mime.a \ cookie.o now.o datetime.o date822fmt.o slurpclose.o \ slurp.o qmail.o quote.o surf.a getln.a env.a sig.a strerr.a \ substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \ auto_bin.o open.a seek.a wait.a lock.a fd.a getopt.a ./compile ezmlm-store.c ezmlm-store.c:149:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-store.c: In function 'main': ezmlm-store.c:205:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-store.c:227:9: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp(*sendargs,sendargs); ^~~~~~ ezmlm-store.c:266:10: warning: implicit declaration of function 'slurp' [-Wimplicit-function-declaration] switch(slurp("key",&key,32)) { ^~~~~ ezmlm-store.c:300:8: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] pid = getpid(); /* unique file name */ ^~~~~~ getln2 ezmlm-store.c:314:4: warning: implicit declaration of function 'sleep'; did you mean 'select'? [-Wimplicit-function-declaration] sleep(2); ^~~~~ select ezmlm-store.c:322:8: warning: implicit declaration of function 'quote' [-Wimplicit-function-declaration] if (!quote("ed,&outlocal)) die_nomem(); ^~~~~ ezmlm-store.c:451:4: warning: implicit declaration of function 'byte_diff'; did you mean 'str_diff'? [-Wimplicit-function-declaration] !byte_diff(line.s,line.len,mydtline.s)) { ^~~~~~~~~ str_diff ezmlm-store.c:452:2: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] close(fdmsg); /* be nice - clean up */ ^~~~~ closesql ezmlm-store.c:453:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(fnmsg.s); ^~~~~~ unix ezmlm-store.c:456:11: warning: implicit declaration of function 'case_startb'; did you mean 'str_start'? [-Wimplicit-function-declaration] if (case_startb(line.s,line.len,"mailing-list:")) { ^~~~~~~~~~~ str_start ezmlm-store.c:479:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdmsg) == -1) die_msg(); ^~~~~ ./compile log.c In file included from log.c:4: log.h:4:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(); ^~~ log.c: In function 'log': log.c:32:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ch = *addr++) { ^~ log.c:38:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ch = *comment++) { ^~ log.c:55:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ./load ezmlm-store auto_qmail.o getconf.o subdb.a copy.o mime.a \ log.o cookie.o now.o datetime.o date822fmt.o slurpclose.o \ slurp.o qmail.o quote.o surf.a getln.a env.a sig.a strerr.a \ substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \ open.a seek.a wait.a lock.a fd.a getopt.a auto_bin.o -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-tstdig.c ezmlm-tstdig.c:37:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-tstdig.c: In function 'main': ezmlm-tstdig.c:54:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(022); ^~~~~ ezmlm-tstdig.c:62:19: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] scan_ulong(optarg,&deltasize); ^~~~~~~~~~ fmt_ulong ezmlm-tstdig.c:82:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-tstdig.c:88:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(99); /* no msgs no shirt -> no digest */ ^~~~~ ezmlm-tstdig.c:88:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-tstdig.c:112:12: warning: implicit declaration of function 'case_starts' [-Wimplicit-function-declaration] if (!case_starts(def,"dig") || case_starts(def,"digest-")) ^~~~~~~~~~~ ezmlm-tstdig.c:113:9: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-tstdig.c:118:8: warning: implicit declaration of function 'str_len' [-Wimplicit-function-declaration] pos = str_len(local); ^~~~~~~ ezmlm-tstdig.c:123:8: warning: implicit declaration of function 'case_diffb' [-Wimplicit-function-declaration] if (case_diffb(local,line.len,line.s)) /* local */ ^~~~~~~~~~ ezmlm-tstdig.c:127:6: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-tstdig.c:129:6: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-tstdig.c:135:46: warning: incompatible implicit declaration of built-in function '_exit' if (!deltawhen && !deltasize && !deltanum) _exit(0); ^~~~~ ezmlm-tstdig.c:141:16: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ ezmlm-tstdig.c:145:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdlock); ^~~~~ ezmlm-tstdig.c:153:14: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] fd = open_trunc("tstdign"); ^~~~~~~~~~ ezmlm-tstdig.c:163:13: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) ^~~~~ ezmlm-tstdig.c:167:13: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename("tstdign","tstdig") == -1) ^~~~~~ read ezmlm-tstdig.c:169:9: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-tstdig.c:172:9: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-tstdig.c:174:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ./load ezmlm-tstdig getopt.a getconf.o env.a now.o fs.a strerr.a \ lock.a getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \ sig.a slurpclose.o slurp.o open.a ./compile ezmlm-make.c ezmlm-make.c: In function 'linkdotdir': ezmlm-make.c:128:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(dotplus.s) == -1) ^~~~~~ unix ezmlm-make.c:131:7: warning: implicit declaration of function 'symlink' [-Wimplicit-function-declaration] if (symlink(dirplus.s,dotplus.s) == -1) ^~~~~~~ ezmlm-make.c: In function 'dcreate': ezmlm-make.c:140:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(dirplus.s,0755) == -1) ^~~~~ ezmlm-make.c: In function 'f_close': ezmlm-make.c:180:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(ss.fd) == -1) ^~~~~ ezmlm-make.c:182:7: warning: implicit declaration of function 'close'; did you mean 'f_close'? [-Wimplicit-function-declaration] if (close(ss.fd) == -1) /* NFS stupidity */ ^~~~~ f_close ezmlm-make.c: At top level: ezmlm-make.c:197:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-make.c: In function 'main': ezmlm-make.c:221:26: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] keyadd((unsigned long) getpid()); ^~~~~~ getln2 ezmlm-make.c:222:26: warning: implicit declaration of function 'getppid'; did you mean 'getopt'? [-Wimplicit-function-declaration] keyadd((unsigned long) getppid()); ^~~~~~~ getopt ezmlm-make.c:223:26: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] euid = (unsigned long) geteuid(); ^~~~~~~ ezmlm-make.c:225:26: warning: implicit declaration of function 'getgid'; did you mean 'getln2'? [-Wimplicit-function-declaration] keyadd((unsigned long) getgid()); ^~~~~~ getln2 ezmlm-make.c:229:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(077); ^~~~~ ezmlm-make.c:322:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = *argv++) { ^ ezmlm-make.c:324:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = *argv++) { ^ ezmlm-make.c:328:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = *argv++) { ^ ezmlm-make.c:332:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = *argv++) { ^ ezmlm-make.c:377:14: warning: array subscript has type 'char' [-Wchar-subscripts] if (flags[ch]) ^ ezmlm-make.c:414:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fdin = open_read(template.s)) == -1) ^ ezmlm-make.c:429:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fdin = open_read(template.s)) == -1) ^ ezmlm-make.c:422:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fdin = open_read(template.s)) == -1) ^ ezmlm-make.c:488:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ch == 'E' && !flagnot || ch == 'e' && flagnot) { ~~~~~~~~~~^~~~~~~~~~~ ezmlm-make.c:585:15: warning: 'flagdo' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (!flagdo) ^ ./load ezmlm-make auto_bin.o open.a getln.a getopt.a substdio.a \ strerr.a stralloc.a alloc.a error.a lock.a str.a ./compile ezmlm-manage.c ezmlm-manage.c: In function 'lock': ezmlm-manage.c:131:14: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ ezmlm-manage.c:134:9: warning: implicit declaration of function 'lock_ex'; did you mean 'lock'? [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) ^~~~~~~ lock ezmlm-manage.c: In function 'unlock': ezmlm-manage.c:140:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdlock); ^~~~~ ezmlm-manage.c: In function 'make_verptarget': ezmlm-manage.c:156:3: warning: implicit declaration of function 'set_cpverptarget'; did you mean 'set_cptarget'? [-Wimplicit-function-declaration] set_cpverptarget(verptarget.s); ^~~~~~~~~~~~~~~~ set_cptarget ezmlm-manage.c: In function 'store_from': ezmlm-manage.c:172:16: warning: implicit declaration of function 'open_trunc'; did you mean 'seek_trunc'? [-Wimplicit-function-declaration] if ((fdout = open_trunc("fromn")) == -1) ^~~~~~~~~~ seek_trunc ezmlm-manage.c:175:15: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] if ((fdin = open_read("from")) == -1) { ^~~~~~~~~ ezmlm-manage.c:184:9: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] (void) scan_ulong(line.s,&linetime); ^~~~~~~~~~ fmt_ulong ezmlm-manage.c:201:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^~~~~ ezmlm-manage.c:205:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename("fromn","from") == -1) ^~~~~~ read ezmlm-manage.c: In function 'get_from': ezmlm-manage.c:238:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fd = open_read("from")) == -1) ^ ezmlm-manage.c: In function 'code_qput': ezmlm-manage.c:304:9: warning: implicit declaration of function 'encodeB' [-Wimplicit-function-declaration] encodeB(s,n,&qline,0,FATAL); ^~~~~~~ ezmlm-manage.c:306:9: warning: implicit declaration of function 'encodeQ' [-Wimplicit-function-declaration] encodeQ(s,n,&qline,FATAL); ^~~~~~~ ezmlm-manage.c: In function 'msg_headers': ezmlm-manage.c:414:36: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); ^~~~~~ getln2 ezmlm-manage.c: In function 'doconfirm': ezmlm-manage.c:591:16: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ ezmlm-manage.c: In function 'main': ezmlm-manage.c:748:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-manage.c:1212:9: warning: implicit declaration of function 'decodeB' [-Wimplicit-function-declaration] decodeB(text.s,text.len,&line,FATAL); ^~~~~~~ ezmlm-manage.c:1214:9: warning: implicit declaration of function 'decodeQ' [-Wimplicit-function-declaration] decodeQ(text.s,text.len,&line,FATAL); ^~~~~~~ ezmlm-manage.c:686:13: warning: variable 'cpfirst' set but not used [-Wunused-but-set-variable] char *cp,*cpfirst,*cplast,*cpnext,*cpafter; ^~~~~~~ ./load ezmlm-manage subdb.a auto_qmail.o getconf.o copy.o \ mime.a log.o cookie.o now.o datetime.o date822fmt.o slurpclose.o \ slurp.o qmail.o quote.o surf.a getln.a env.a sig.a strerr.a \ substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \ open.a seek.a wait.a lock.a fd.a getopt.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-send.c ezmlm-send.c: In function 'numwrite': ezmlm-send.c:210:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) die_numnew(); ^~~~~ ezmlm-send.c:211:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (close(fd) == -1) die_numnew(); /* NFS stupidity */ ^~~~~ ezmlm-send.c:212:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename("numnew","num") == -1) ^~~~~~ read ezmlm-send.c: In function 'idx_copy_insertsubject': ezmlm-send.c:245:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(fnadir.s,0755) == -1) ^~~~~ ezmlm-send.c:317:7: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] if (fchmod(fdindexn,MODE_ARCHIVE | 0700) == -1) die_indexn(); ^~~~~~ ezmlm-send.c: At top level: ezmlm-send.c:352:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-send.c: In function 'main': ezmlm-send.c:381:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ ezmlm-send.c:418:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-send.c:495:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (str_start(sender+pos,"-return-")) ^~ ezmlm-send.c:497:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' pos += scan_ulong(sender+pos,&innum); ^~~ ezmlm-send.c:741:15: warning: 'flagarchiveonly' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (flagarchiveonly && flagarchived) /* received headers */ ^ ezmlm-send.c:689:19: warning: 'flagcontline' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (flagcontline) { ^ ezmlm-send.c:579:19: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(r & 2)) { ~~~^~~~ ezmlm-send.c:376:7: warning: 'flagtrailer' may be used uninitialized in this function [-Wmaybe-uninitialized] int flagtrailer; ^~~~~~~~~~~ ./load ezmlm-send subdb.a cookie.o surf.a auto_qmail.o getconf.o \ getopt.a qmail.o quote.o constmap.o slurp.o slurpclose.o \ wait.a getln.a strerr.a \ sig.a env.a open.a lock.a substdio.a stralloc.a alloc.a error.a \ fd.a case.a fs.a getopt.a copy.o mime.a makehash.o str.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-reject.c ezmlm-reject.c: In function 'findhost': ezmlm-reject.c:133:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*s == ')') --level; if (!level) break; ^~ ezmlm-reject.c:133:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*s == ')') --level; if (!level) break; ^~ ezmlm-reject.c: In function 'getto': ezmlm-reject.c:158:22: warning: implicit declaration of function 'byte_chr' [-Wimplicit-function-declaration] while ((pos += 1 + byte_chr(sa->s+pos+1,sa->len-pos-1,'@')) != sa->len) { ^~~~~~~~ ezmlm-reject.c:162:12: warning: implicit declaration of function 'case_diffb' [-Wimplicit-function-declaration] if (!case_diffb(sa->s+pos1,outhost.len,outhost.s)) { /* got host */ ^~~~~~~~~~ ezmlm-reject.c: At top level: ezmlm-reject.c:174:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-reject.c: In function 'main': ezmlm-reject.c:214:9: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-reject.c:271:4: warning: implicit declaration of function 'case_startb' [-Wimplicit-function-declaration] (case_startb(cp,len,"to:") || case_startb(cp,len,"cc:"))) { ^~~~~~~~~~~ ezmlm-reject.c:286:9: warning: implicit declaration of function 'byte_diff' [-Wimplicit-function-declaration] if (!byte_diff(line.s,line.len,mydtline.s)) ^~~~~~~~~ ezmlm-reject.c:304:20: warning: implicit declaration of function 'case_starts' [-Wimplicit-function-declaration] if (len > 9 && case_starts(cp,"subscribe") || ^~~~~~~~~~~ ezmlm-reject.c:304:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (len > 9 && case_starts(cp,"subscribe") || ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ezmlm-reject.c:333:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (flagrejectcommands && flaghavecommand) ^ ezmlm-reject.c:362:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (len && *cp == ' ' || *cp == '\t') { ++cp; --len; } ~~~~^~~~~~~~~~~~~ ezmlm-reject.c:383:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (cp < cpafter && (*cp == ' ') || (*cp == '\t')) ++cp; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ezmlm-reject.c:432:3: warning: implicit declaration of function 'str_diffn' [-Wimplicit-function-declaration] !str_diffn(line.s,boundary.s,boundary.len)) { ^~~~~~~~~ ezmlm-reject.c:452:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-reject.c:452:3: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-reject.c: In function 'findlocal': ezmlm-reject.c:112:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ezmlm-reject.c: In function 'findhost': ezmlm-reject.c:148:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./load ezmlm-reject qmail.o getln.a strerr.a substdio.a error.a fs.a \ env.a constmap.o getconf.o slurp.o slurpclose.o stralloc.a alloc.a \ seek.a str.a getopt.a case.a open.a fd.a wait.a auto_qmail.o ./compile ezmlm-return.c ezmlm-return.c: In function 'makedir': ezmlm-return.c:75:7: warning: implicit declaration of function 'mkdir'; did you mean 'makedir'? [-Wimplicit-function-declaration] if (mkdir(s,0755) == -1) ^~~~~ makedir ezmlm-return.c: In function 'dowit': ezmlm-return.c:106:70: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) ^~~~~~ getln2 ezmlm-return.c:112:8: warning: implicit declaration of function 'open_trunc'; did you mean 'opendir'? [-Wimplicit-function-declaration] fd = open_trunc(fndatenew.s); ^~~~~~~~~~ opendir ezmlm-return.c:123:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) die_datenew(); ^~~~~ ezmlm-return.c:124:7: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] if (close(fd) == -1) die_datenew(); /* NFS stupidity */ ^~~~~ closesql ezmlm-return.c:126:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(fndatenew.s,fndate.s) == -1) ^~~~~~ read ezmlm-return.c: In function 'doit': ezmlm-return.c:205:8: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fnhash.s); ^~~~~~~~~ ezmlm-return.c:220:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(fndatenew.s) == -1) ^~~~~~ unix ezmlm-return.c: At top level: ezmlm-return.c:249:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-return.c: In function 'main': ezmlm-return.c:270:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ ezmlm-return.c:293:7: warning: implicit declaration of function 'chdir'; did you mean 'scandir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ scandir ezmlm-return.c:336:17: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] action += scan_ulong(action,&cookiedate); ^~~~~~~~~~ fmt_ulong ezmlm-return.c:356:7: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(99); ^~~~~ ezmlm-return.c:356:7: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-return.c:363:14: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append(line.s); ^~~~~~~~~~~ ezmlm-return.c:366:9: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) ^~~~~~~ ezmlm-return.c:390:11: warning: implicit declaration of function 'slurpclose'; did you mean 'slurp'? [-Wimplicit-function-declaration] if (slurpclose(0,&bounce,1024) == -1) die_msgin(); ^~~~~~~~~~ slurp ezmlm-return.c:392:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-return.c:437:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-return.c:506:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ./load ezmlm-return quote.o getconf.o subdb.a \ log.o slurpclose.o slurp.o now.o cookie.o surf.a lock.a \ env.a sig.a strerr.a getln.a substdio.a stralloc.a alloc.a \ error.a str.a fs.a case.a open.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-warn.c ezmlm-warn.c: In function 'doit': ezmlm-warn.c:121:8: warning: implicit declaration of function 'open_read'; did you mean 'die_read'? [-Wimplicit-function-declaration] fd = open_read(fn.s); ^~~~~~~~~ die_read ezmlm-warn.c:126:17: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] if (!match) { close(fd); return; } ^~~~~ closesql ezmlm-warn.c:128:12: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] /*XXX*/unlink(fn.s); return; } ^~~~~~ unix ezmlm-warn.c:154:68: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) ^~~~~~ getln2 ezmlm-warn.c:164:8: warning: implicit declaration of function 'quote' [-Wimplicit-function-declaration] if (!quote("ed,&outlocal)) die_nomem(); ^~~~~ ezmlm-warn.c:169:8: warning: implicit declaration of function 'quote2' [-Wimplicit-function-declaration] if (!quote2("ed,addr.s)) die_nomem(); ^~~~~~ ezmlm-warn.c:194:3: warning: implicit declaration of function 'copy' [-Wimplicit-function-declaration] copy(&qq,"text/top",flagcd,FATAL); ^~~~ ezmlm-warn.c: At top level: ezmlm-warn.c:280:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-warn.c: In function 'main': ezmlm-warn.c:305:26: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] (void) scan_ulong(optarg,&lockout); ^~~~~~~~~~ fmt_ulong ezmlm-warn.c:322:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-warn.c:342:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); /* exit silently. Second check is to prevent lockup */ ^~~~~ ezmlm-warn.c:342:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-warn.c:371:3: warning: implicit declaration of function 'set_cpoutlocal'; did you mean 'sig_contblock'? [-Wimplicit-function-declaration] set_cpoutlocal(&outlocal); /* for copy */ ^~~~~~~~~~~~~~ sig_contblock ezmlm-warn.c:372:3: warning: implicit declaration of function 'set_cpouthost' [-Wimplicit-function-declaration] set_cpouthost(&outhost); /* for copy */ ^~~~~~~~~~~~~ ezmlm-warn.c:379:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append(line.s); ^~~~~~~~~~~ ezmlm-warn.c:382:7: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) ^~~~~~~ ezmlm-warn.c:393:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); /* no bouncedir - no bounces! */ ^~~~~ ezmlm-warn.c:389:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!bouncedir) ^ ezmlm-warn.c:434:11: warning: implicit declaration of function 'rmdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (rmdir(bdname.s) == -1) /* the directory itself */ ^~~~~ mkdir ezmlm-warn.c:443:8: warning: implicit declaration of function 'open_trunc'; did you mean 'opendir'? [-Wimplicit-function-declaration] fd = open_trunc(line.s); /* write lastd. Do safe */ ^~~~~~~~~~ opendir ezmlm-warn.c:453:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) ^~~~~ ezmlm-warn.c:458:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename(line.s,fnlastd.s) == -1) ^~~~~~ read ezmlm-warn.c:467:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); /* 2nd comp to guard against corruption */ ^~~~~ ezmlm-warn.c:521:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-warn.c:292:9: warning: unused variable 'err' [-Wunused-variable] char *err; ^~~ ezmlm-warn.c:290:22: warning: variable 'dfile' set but not used [-Wunused-but-set-variable] unsigned long ddir,dfile; ^~~~~ ./load ezmlm-warn auto_qmail.o getconf.o mime.a \ cookie.o subdb.a getopt.a \ now.o slurpclose.o slurp.o quote.o datetime.o date822fmt.o \ qmail.o surf.a case.a strerr.a sig.a getln.a substdio.a \ stralloc.a alloc.a error.a open.a lock.a str.a fs.a fd.a \ wait.a copy.o -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-weed.c ezmlm-weed.c: In function 'get': ezmlm-weed.c:26:15: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] if (!match) _exit(0); ^~~~~ ezmlm-weed.c:26:15: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-weed.c: At top level: ezmlm-weed.c:63:6: warning: return type of 'main' is not 'int' [-Wmain] void main() ^~~~ ezmlm-weed.c: In function 'main': ezmlm-weed.c:78:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:80:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:82:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:84:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:87:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:89:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:91:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ezmlm-weed.c:101:9: warning: implicit declaration of function 'case_startb'; did you mean 'str_start'? [-Wimplicit-function-declaration] if (case_startb(line.s,line.len,"Content-type: multipart/report")) ^~~~~~~~~~~ str_start ezmlm-weed.c:101:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (case_startb(line.s,line.len,"Content-type: multipart/report")) ^~ ezmlm-weed.c:103:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' flagdsn = 1; ^~~~~~~ ezmlm-weed.c:141:9: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); /* end: not failure report */ ^~~~~ ezmlm-weed.c:139:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (line.len == boundary.len + 5 && line.s[line.len - 1] == '-' ^~ ezmlm-weed.c:142:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' get(&line); /* Content-type */ ^~~ ezmlm-weed.c:156:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); /* failure notice */ ^~~~~ ezmlm-weed.c:158:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); /* there shouldn't be more than 1 action */ ^~~~~ ezmlm-weed.c:191:46: warning: incompatible implicit declaration of built-in function '_exit' if (flagmds && flagsw && flagas && flagbw) _exit(99); ^~~~~ ezmlm-weed.c:192:36: warning: incompatible implicit declaration of built-in function '_exit' if (flagmds && flagsr && flagbw) _exit(99); ^~~~~ ezmlm-weed.c:194:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ./load ezmlm-weed getln.a strerr.a substdio.a error.a \ case.a stralloc.a alloc.a str.a ./compile ezmlm-list.c ezmlm-list.c:48:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-list.c: In function 'main': ezmlm-list.c:73:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ./load ezmlm-list subdb.a fs.a getconf.o slurpclose.o slurp.o \ strerr.a getln.a getopt.a substdio.a stralloc.a \ alloc.a error.a open.a str.a case.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-sub.c ezmlm-sub.c:31:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-sub.c: In function 'main': ezmlm-sub.c:46:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(022); ^~~~~ ezmlm-sub.c:68:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-sub.c:113:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-sub.c:113:3: warning: incompatible implicit declaration of built-in function '_exit' ./load ezmlm-sub subdb.a getconf.o slurpclose.o slurp.o \ log.o now.o fs.a strerr.a getopt.a fs.a \ getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \ open.a lock.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-unsub.c ezmlm-unsub.c:26:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-unsub.c: In function 'main': ezmlm-unsub.c:41:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(022); ^~~~~ ezmlm-unsub.c:64:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-unsub.c:96:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-unsub.c:96:3: warning: incompatible implicit declaration of built-in function '_exit' ./load ezmlm-unsub subdb.a getopt.a getconf.o slurpclose.o slurp.o \ log.o now.o fs.a strerr.a fs.a \ getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \ open.a lock.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-cgi.c ezmlm-cgi.c: In function 'decode_charset': ezmlm-cgi.c:226:16: warning: unused variable 'r' [-Wunused-variable] unsigned int r; ^ ezmlm-cgi.c: In function 'link': ezmlm-cgi.c:489:19: warning: array subscript has type 'char' [-Wchar-subscripts] cmdstr[0] = ITEM[item]; ^ ezmlm-cgi.c:490:19: warning: array subscript has type 'char' [-Wchar-subscripts] cmdstr[1] = ITEM[axis]; ^ ezmlm-cgi.c: In function 'linktoindex': ezmlm-cgi.c:527:19: warning: array subscript has type 'char' [-Wchar-subscripts] cmdstr[0] = ITEM[item]; ^ ezmlm-cgi.c:528:19: warning: array subscript has type 'char' [-Wchar-subscripts] cmdstr[1] = ITEM[item]; ^ ezmlm-cgi.c: In function 'link_msg': ezmlm-cgi.c:563:19: warning: array subscript has type 'char' [-Wchar-subscripts] cmdstr[1] = ITEM[axis]; ^ ezmlm-cgi.c:572:24: warning: array subscript has type 'char' [-Wchar-subscripts] if (infop->subjnav[direction]) { ^ ezmlm-cgi.c:573:28: warning: array subscript has type 'char' [-Wchar-subscripts] msg = infop->subjnav[direction]; ^ ezmlm-cgi.c:582:24: warning: array subscript has type 'char' [-Wchar-subscripts] if (infop->authnav[direction]) { ^ ezmlm-cgi.c:583:28: warning: array subscript has type 'char' [-Wchar-subscripts] msg = infop->authnav[direction]; ^ ezmlm-cgi.c: In function 'html_footer': ezmlm-cgi.c:770:11: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] execv(*bannerargs,bannerargs); ^~~~~ ezmlm-cgi.c: In function 'finddate': ezmlm-cgi.c:837:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!archivedir) ^ ezmlm-cgi.c:858:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (infop->direction == DIRECT_NEXT && above != MAXULONG || !below) ^ ezmlm-cgi.c: At top level: ezmlm-cgi.c:902:1: warning: return type defaults to 'int' [-Wimplicit-int] indexlinks(struct msginfo *infop) ^~~~~~~~~~ ezmlm-cgi.c: In function 'show_index': ezmlm-cgi.c:935:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fd = open_read(fn.s)) == -1) ^ ezmlm-cgi.c:986:3: warning: implicit declaration of function 'close'; did you mean 'closesql'? [-Wimplicit-function-declaration] close(fd); ^~~~~ closesql ezmlm-cgi.c:931:20: warning: variable 'l' set but not used [-Wunused-but-set-variable] unsigned int pos,l; ^ ezmlm-cgi.c: In function 'show_object': ezmlm-cgi.c:1040:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fd = open_read(fn.s)) == -1) ^ ezmlm-cgi.c: In function 'new_mime': ezmlm-cgi.c:1143:42: warning: implicit declaration of function 'alloc' [-Wimplicit-function-declaration] if (!(mime_current = (mime_info *) alloc(sizeof (mime_info)))) ^~~~~ ezmlm-cgi.c:1143:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (!(mime_current = (mime_info *) alloc(sizeof (mime_info)))) ^ ezmlm-cgi.c: In function 'show_part': ezmlm-cgi.c:1360:8: warning: variable 'linetype' set but not used [-Wunused-but-set-variable] char linetype; ^~~~~~~~ ezmlm-cgi.c:1359:25: warning: unused variable 'pos' [-Wunused-variable] unsigned int colpos,l,pos; ^~~ ezmlm-cgi.c:1359:23: warning: unused variable 'l' [-Wunused-variable] unsigned int colpos,l,pos; ^ ezmlm-cgi.c: In function 'show_message': ezmlm-cgi.c:1526:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((fd = open_read(fn.s)) == -1) ^ ezmlm-cgi.c: In function 'do_cmd': ezmlm-cgi.c:1830:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!infop->author) ^~ ezmlm-cgi.c:1832:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' auth2msg(infop); ^~~~~~~~ ezmlm-cgi.c:1867:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!infop->date && infop->source) ^~ ezmlm-cgi.c:1869:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' getdate(infop,0); ^~~~~~~ ezmlm-cgi.c: In function 'list_list': ezmlm-cgi.c:1919:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!archivedir) ^ ezmlm-cgi.c: In function 'drop_priv': ezmlm-cgi.c:1979:11: warning: implicit declaration of function 'chroot' [-Wimplicit-function-declaration] if (chroot(dir) == -1) /* chroot listdir */ ^~~~~~ ezmlm-cgi.c:1981:9: warning: implicit declaration of function 'setuid'; did you mean 'setmsg'? [-Wimplicit-function-declaration] if (setuid(uid) == -1) /* setuid */ ^~~~~~ setmsg ezmlm-cgi.c:1984:26: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] euid = (unsigned long) geteuid(); ^~~~~~~ ezmlm-cgi.c: In function 'main': ezmlm-cgi.c:2005:25: warning: implicit declaration of function 'getuid'; did you mean 'getln2'? [-Wimplicit-function-declaration] uid = (unsigned long) getuid(); /* should be http */ ^~~~~~ getln2 ezmlm-cgi.c:2061:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!cfline.s[pos++] == sep) ^~ ezmlm-cgi.c:2061:9: note: add parentheses around left hand side expression to silence this warning if (!cfline.s[pos++] == sep) ^~~~~~~~~~~~~~~~ ( ) ezmlm-cgi.c:2078:7: warning: implicit declaration of function 'chdir'; did you mean 'scandir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) /* chdir listdir */ ^~~~~ scandir ezmlm-cgi.c: In function 'indexlinks': ezmlm-cgi.c:926:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ezmlm-cgi.c: In function 'show_part': ezmlm-cgi.c:1501:5: warning: 'flaghtml' may be used uninitialized in this function [-Wmaybe-uninitialized] if (flaghtml) ^ ezmlm-cgi.c:1488:39: warning: 'whatheader' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!stralloc_catb(&hdr[whatheader - 1],line.s,line.len)) ~~~~~~~~~~~^~~ ezmlm-cgi.c: In function 'main': ezmlm-cgi.c:2231:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ret) { ^ ezmlm-cgi.c:2092:7: warning: 'sep' may be used uninitialized in this function [-Wmaybe-uninitialized] l = byte_chr(cfline.s + pos, cfline.len - pos,sep); /* ... home */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ezmlm-cgi.c:2089:8: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] pos++; ~~~^~ ./load ezmlm-cgi getconf.o slurpclose.o slurp.o constmap.o getln.a \ mime.a sig.a env.a case.a datetime.o now.o mime.a wait.a yyyymm.a \ strerr.a substdio.a stralloc.a alloc.a error.a str.a fs.a open.a \ lock.a fd.a getopt.a ./compile ezmlm-limit.c ezmlm-limit.c:49:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-limit.c: In function 'main': ezmlm-limit.c:61:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(022); ^~~~~ ezmlm-limit.c:73:19: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] scan_ulong(optarg,&deltanum); ^~~~~~~~~~ fmt_ulong ezmlm-limit.c:86:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-limit.c:92:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); /* already mod */ ^~~~~ ezmlm-limit.c:92:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-limit.c:94:12: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("lock"); ^~~~~~~~~~~ ezmlm-limit.c:101:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); /* no msgs */ ^~~~~ ezmlm-limit.c:112:12: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] fd = open_trunc(fn); /* no need to write crash-proof */ ^~~~~~~~~~ ezmlm-limit.c:120:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ezmlm-limit.c:127:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(fn); ^~~~~~ unix ezmlm-limit.c:133:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-limit.c:58:17: warning: unused variable 'numwhen' [-Wunused-variable] unsigned long numwhen = 0L; ^~~~~~~ ./load ezmlm-limit getconf.o slurpclose.o slurp.o getopt.a \ strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a \ open.a lock.a fs.a sig.a now.o ./compile ezmlm-issubn.c ezmlm-issubn.c:24:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-issubn.c: In function 'main': ezmlm-issubn.c:48:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-issubn.c:56:7: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(flagsub); /* subscriber */ ^~~~~ ezmlm-issubn.c:56:7: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-issubn.c:61:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-issubn.c:63:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(99); ^~~~~ ./load ezmlm-issubn subdb.a getconf.o slurpclose.o slurp.o \ getopt.a env.a fs.a strerr.a \ getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \ open.a lock.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz ./compile ezmlm-cron.c ezmlm-cron.c: In function 'isclean': ezmlm-cron.c:104:5: warning: implicit declaration of function 'case_lowerb' [-Wimplicit-function-declaration] case_lowerb(addr+pos,str_len(addr)-pos); ^~~~~~~~~~~ ezmlm-cron.c: At top level: ezmlm-cron.c:126:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-cron.c: In function 'main': ezmlm-cron.c:135:10: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void) umask(077); ^~~~~ ezmlm-cron.c:136:3: warning: implicit declaration of function 'sig_pipeignore'; did you mean 'sgoptprogname'? [-Wimplicit-function-declaration] sig_pipeignore(); ^~~~~~~~~~~~~~ sgoptprogname ezmlm-cron.c:144:17: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] case 'i': scan_ulong(optarg,&deltah); break; ^~~~~~~~~~ fmt_ulong ezmlm-cron.c:149:36: warning: comparison of constant '58' with boolean expression is always false [-Wbool-compare] if (!optarg[pos++] == ':') die_usage(); ^~ ezmlm-cron.c:149:36: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ezmlm-cron.c:149:21: note: add parentheses around left hand side expression to silence this warning if (!optarg[pos++] == ':') die_usage(); ^~~~~~~~~~~~~~ ( ) ezmlm-cron.c:173:9: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] uid = getuid(); ^~~~~~ getpwuid ezmlm-cron.c:174:23: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if (uid && !(euid = geteuid())) ^~~~~~~ getpwuid ezmlm-cron.c:187:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir.s) == -1) ^~~~~ ezmlm-cron.c:216:15: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] if ((fdin = open_read(TXT_EZCRONRC)) == -1) ^~~~~~~~~ ezmlm-cron.c:220:7: warning: implicit declaration of function 'getln'; did you mean 'getopt'? [-Wimplicit-function-declaration] if (getln(&ssin,&line,&match,'\n') == -1) ^~~~~ getopt ezmlm-cron.c:239:10: warning: implicit declaration of function 'case_startb'; did you mean 'str_start'? [-Wimplicit-function-declaration] if (!case_startb(line.s,line.len,user.s)) ^~~~~~~~~~~ str_start ezmlm-cron.c:247:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdin); ^~~~~ ezmlm-cron.c:258:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ ezmlm-cron.c:258:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-cron.c:282:14: warning: implicit declaration of function 'case_diffb'; did you mean 'str_diffn'? [-Wimplicit-function-declaration] if (!case_diffb(line.s+pos,len,host)) ^~~~~~~~~~ str_diffn ezmlm-cron.c:365:14: warning: implicit declaration of function 'open_append' [-Wimplicit-function-declaration] fdlock = open_append("crontabl"); ^~~~~~~~~~~ ezmlm-cron.c:368:9: warning: implicit declaration of function 'lock_ex' [-Wimplicit-function-declaration] if (lock_ex(fdlock) == -1) { ^~~~~~~ ezmlm-cron.c:381:18: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] if ((fdout = open_trunc("crontabn")) == -1) ^~~~~~~~~~ ezmlm-cron.c:411:13: warning: implicit declaration of function 'byte_rchr'; did you mean 'str_rchr'? [-Wimplicit-function-declaration] pos = byte_rchr(line.s,line.len,'<'); /* should be Return-Path: < */ ^~~~~~~~~ str_rchr ezmlm-cron.c:453:7: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-cron.c:468:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^~~~~ ezmlm-cron.c:472:7: warning: implicit declaration of function 'rename'; did you mean 'read'? [-Wimplicit-function-declaration] if (rename("crontabn","crontab") == -1) ^~~~~~ read ezmlm-cron.c:488:13: warning: implicit declaration of function 'setreuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if (setreuid(euid,euid) == -1) ^~~~~~~~ getpwuid ezmlm-cron.c:490:9: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp(*sendargs,sendargs); ^~~~~~ ezmlm-cron.c:503:9: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ./auto-str auto_cron `head -1 conf-cron` > auto_cron.c ./compile auto_cron.c ./load ezmlm-cron getopt.a getln.a strerr.a substdio.a \ stralloc.a alloc.a sig.a fs.a open.a fd.a lock.a error.a \ wait.a case.a str.a auto_qmail.o auto_cron.o ./compile ezmlm-request.c ezmlm-request.c: In function 'code_qput': ezmlm-request.c:168:9: warning: implicit declaration of function 'encodeB' [-Wimplicit-function-declaration] encodeB(s,n,&qline,0,FATAL); ^~~~~~~ ezmlm-request.c:170:9: warning: implicit declaration of function 'encodeQ' [-Wimplicit-function-declaration] encodeQ(s,n,&qline,FATAL); ^~~~~~~ ezmlm-request.c: At top level: ezmlm-request.c:300:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-request.c: In function 'main': ezmlm-request.c:323:9: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] (void)umask(022); ^~~~~ ezmlm-request.c:339:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ ezmlm-request.c:584:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ezmlm-request.c:699:36: warning: implicit declaration of function 'getpid'; did you mean 'getln2'? [-Wimplicit-function-declaration] fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); ^~~~~~ getln2 ezmlm-request.c:780:17: warning: implicit declaration of function 'issub' [-Wimplicit-function-declaration] if (issub(line.s+pos,to.s,(char *) 0,FATAL)) { ^~~~~ ezmlm-request.c:784:6: warning: implicit declaration of function 'closesql' [-Wimplicit-function-declaration] closesql(); /* likely different dbs for different lists */ ^~~~~~~~ ./load ezmlm-request subdb.a getconf.o constmap.o getln.a auto_qmail.o \ qmail.o date822fmt.o datetime.o now.o quote.o \ slurpclose.o slurp.o env.a open.a sig.a wait.a getopt.a \ strerr.a substdio.a error.a copy.o stralloc.a alloc.a substdio.a \ str.a case.a fs.a fd.a sig.a wait.a seek.a mime.a -L/usr/lib64/mysql -lmysqlclient -lnsl-2.28 -lm -lz (cat warn-auto.sh; \ echo QMPATH=\'`head -1 conf-qmail`\'; \ cat ezmlm-test.sh ) > ezmlm-test; \ chmod 755 ezmlm-test ./compile ezmlm-split.c ezmlm-split.c: In function 'findname': ezmlm-split.c:124:13: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] if ((fd = open_read(split)) == -1) ^~~~~~~~~ ezmlm-split.c:145:9: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] (void) scan_ulong(line.s + pos, &u); /* scan_uint() not in ezmlm */ ^~~~~~~~~~ fmt_ulong ezmlm-split.c:162:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ ezmlm-split.c: At top level: ezmlm-split.c:181:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ ezmlm-split.c: In function 'main': ezmlm-split.c:209:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(dir) == -1) ^~~~~ mkdir ezmlm-split.c:253:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); /* not for us */ ^~~~~ ezmlm-split.c:253:5: warning: incompatible implicit declaration of built-in function '_exit' ezmlm-split.c:292:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-split.c:312:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ezmlm-split.c:273:12: warning: 'nhost' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!stralloc_cats(&to,nhost)) die_nomem(); /* host */ ^~~~~~~~~~~~~~~~~~~~~~~~ ./load ezmlm-split auto_qmail.o getconf.o slurpclose.o \ slurp.o qmail.o quote.o getln.a env.a sig.a strerr.a \ substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \ open.a fd.a wait.a cp -f ezmlmrc.en_US ezmlmrc + make it install make: Nothing to be done for 'it'. ./compile install.c install.c: In function 'doit': install.c:71:26: warning: implicit declaration of function 'scan_ulong' [-Wimplicit-function-declaration] uid = -1; if (*uidstr) scan_ulong(uidstr,&uid); ^~~~~~~~~~ install.c:73:3: warning: implicit declaration of function 'scan_8long' [-Wimplicit-function-declaration] scan_8long(modestr,&mode); ^~~~~~~~~~ install.c:77:11: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(target.s,0700) == -1) ^~~~~ install.c:100:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdin); ^~~~~ install.c:103:11: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^~~~~ install.c:112:7: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] if (chown(target.s,uid,gid) == -1) ^~~~~ install.c:114:7: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] if (chmod(target.s,mode) == -1) ^~~~~ install.c: At top level: install.c:122:6: warning: return type of 'main' is not 'int' [-Wmain] void main(argc,argv) ^~~~ install.c: In function 'main': install.c:128:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(077); ^~~~~ ./load install getln.a strerr.a substdio.a stralloc.a \ alloc.a open.a error.a str.a fs.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iTGd2J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 + cd ezmlm-0.53 + rm -rf /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//usr/bin + mkdir -p /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//usr/man + mkdir -p /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm + mkdir -p /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/toaster/cgi-bin + sed /cat/d MAN + mv MAN.tmp MAN + ./install /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//usr/bin + ./install /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//usr/man + /usr/bin/perl -pi -e 's|/ezcgi.css|/scripts/styles.css|g' /builddir/build/BUILD/ezmlm-0.53/ezcgirc + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.en_US /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ezmlmrc + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.en_US /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ezmlmrc.dist + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.it /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.cs /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.da /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.de /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.es /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.fr /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlmrc.ru /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ + cp /builddir/build/BUILD/ezmlm-0.53/ezmlm-cgi /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//usr/share/toaster/cgi-bin/ezmlm.cgi + cp /builddir/build/BUILD/ezmlm-0.53/ezcgirc /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ezcgirc + cp /builddir/build/BUILD/ezmlm-0.53/ezcgirc /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64//etc/ezmlm/ezcgirc.dist + tar xvzf /builddir/build/SOURCES/ezman-0.32.html.tar.gz ezman/ ezman/ezman.html ezman/ezman-1.html ezman/ezman-2.html ezman/ezman-3.html ezman/ezman-4.html ezman/ezman-5.html ezman/ezman-6.html + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ezmlm-0.53.324-3.qt.md.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ui5D6W + umask 022 + cd /builddir/build/BUILD + cd ezmlm-0.53 + DOCDIR=/builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr BLURB /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr CHANGES CHANGES.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr FAQ.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr INSTALL INSTALL.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr README README.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr THANKS /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr TODO /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr UPGRADE.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr VERSION /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr DOWNGRADE.idx /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr ezmlmrc /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr ezmlmrc.ch_GB ezmlmrc.cs ezmlmrc.da ezmlmrc.de ezmlmrc.en_US ezmlmrc.es ezmlmrc.fr ezmlmrc.id ezmlmrc.it ezmlmrc.jp ezmlmrc.pl ezmlmrc.pt ezmlmrc.pt_BR ezmlmrc.ru ezmlmrc.sv /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr ezman /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + cp -pr qmail-qmqpc.tar.gz qmail-verh.tar.gz /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64/usr/share/doc/ezmlm + exit 0 Provides: config(ezmlm) = 0.53.324-3.qt.md.el8 ezmlm = 0.53.324-3.qt.md.el8 ezmlm(x86-64) = 0.53.324-3.qt.md.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libnsl.so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: ezmlm-idx-mysql ezmlm-idx-pgsql ezmlm-idx-std Obsoletes: ezmlm-idx Processing files: ezmlm-cgi-0.53.324-3.qt.md.el8.x86_64 Provides: config(ezmlm-cgi) = 0.53.324-3.qt.md.el8 ezmlm-cgi = 0.53.324-3.qt.md.el8 ezmlm-cgi(x86-64) = 0.53.324-3.qt.md.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 Wrote: /builddir/build/RPMS/ezmlm-0.53.324-3.qt.md.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ezmlm-cgi-0.53.324-3.qt.md.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f6J9Vc + umask 022 + cd /builddir/build/BUILD + cd ezmlm-0.53 + rm -rf /builddir/build/BUILDROOT/ezmlm-0.53.324-3.qt.md.el8.x86_64 + exit 0 Child return code was: 0