Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'], chrootPath='/var/lib/mock/f33-build-196330-47339/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ckermit.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587945600 Wrote: /builddir/build/SRPMS/ckermit-9.0.302-22.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'], chrootPath='/var/lib/mock/f33-build-196330-47339/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ckermit.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1587945600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3Nld3l + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ckermit-9.0.302 + /usr/bin/mkdir -p ckermit-9.0.302 + cd ckermit-9.0.302 + /usr/bin/gzip -dc /builddir/build/SOURCES/cku302.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/README.fedora . + echo 'Patch #0 (ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch):' Patch #0 (ckermit-9.0.302-fix_build_with_glibc_2_28_and_earlier.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .glibc2_28 --fuzz=0 patching file ckucmd.c Hunk #1 succeeded at 7370 (offset 267 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WWV50m + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + /usr/bin/make -O -j4 V=1 VERBOSE=1 linux 'KFLAGS=-O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'\''krb5_init_ets(__ctx)='\''' 'LNKFLAGS=-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' K4LIB= K4INC= K5LIB=-lutil K5INC=-I/usr/include/et SSLLIB= SSLINC= make[1]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' Making C-Kermit "9.0.302" for Linux 1.2 or later... IMPORTANT: Read the comments in the linux section of the makefile if you have trouble. make[1]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" "LNKFLAGS = -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" \ "LIBS = -lncurses -lutil -lresolv -lcrypt -llockdev -lm" make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcmai.c ckcmai.c: In function 'main': ckcmai.c:3160:13: warning: implicit declaration of function 'time'; did you mean 'ztime'? [-Wimplicit-function-declaration] 3160 | c = time(NULL); | ^~~~ | ztime make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus2.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuus2.c: In function 'hmsga': ckuus2.c:7249:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 7249 | if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ | ^ At top level: ckuus2.c:8392:14: warning: 'hmxyauth' defined but not used [-Wunused-variable] 8392 | static char *hmxyauth[] = { | ^~~~~~~~ ckuus2.c:172:14: warning: 'tophlpi' defined but not used [-Wunused-variable] 172 | static char *tophlpi[] = { /* Top-level help for IKSD */ | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckclib.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckclib.c: In function 'ckmatch': ckclib.c:1402:30: warning: variable 'xstar' set but not used [-Wunused-but-set-variable] 1402 | int plen, dot, globbing, xstar = 0; | ^~~~~ ckclib.c:1401:12: warning: variable 'patstart' set but not used [-Wunused-but-set-variable] 1401 | char * patstart; /* Start of pattern */ | ^~~~~~~~ ckclib.c: In function 'ckround': ckclib.c:2082:26: warning: unused variable 'digits' [-Wunused-variable] 2082 | int i, p, len, x, n, digits; | ^~~~~~ ckclib.c:2082:20: warning: unused variable 'x' [-Wunused-variable] 2082 | int i, p, len, x, n, digits; | ^ ckclib.c:2082:9: warning: unused variable 'i' [-Wunused-variable] 2082 | int i, p, len, x, n, digits; | ^ ckclib.c: In function 'cksplit': ckclib.c:3016:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3016 | while (c = *ss++ && !flag) { | ^ ckclib.c:3156:9: warning: value computed is not used [-Wunused-value] 3156 | *s2++; | ^~~~~ ckclib.c: In function 'ckmatch': ckclib.c:1476:8: warning: 'dot' may be used uninitialized in this function [-Wmaybe-uninitialized] 1476 | if (!dot) { /* For UNIX file globbing */ | ^ ckclib.c: In function 'ckround': ckclib.c:2090:27: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 2090 | sprintf(buf,"%200.100f",fpnum); /* Make string version to work with */ | ^ In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckclib.c:72: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 201 and 412 bytes into a destination of size 200 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckclib.c: In function 'hhmmss': ckclib.c:2602:20: warning: '%02ld' directive writing between 2 and 17 bytes into a region of size 10 [-Wformat-overflow=] 2602 | sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); | ^~~~~ ckclib.c:2602:19: note: directive argument in the range [-2562047788015215, 2562047788015215] 2602 | sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); | ^~~~~~~~~~~~~~~~~~~ ckclib.c:2602:19: note: directive argument in the range [0, 59] ckclib.c:2602:19: note: directive argument in the range [0, 59] In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckclib.c:72: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 24 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckucmd.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckucmd.c: In function 'cmifi2': ckucmd.c:1729:23: warning: unused variable 'p' [-Wunused-variable] 1729 | char *sv = NULL, *p = NULL; | ^ ckucmd.c: In function 'cmdelta': ckucmd.c:3790:22: warning: unused variable 'd3' [-Wunused-variable] 3790 | long d1 = 0, d2, d3; | ^~ ckucmd.c:3788:34: warning: unused variable 'zss' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c:3788:29: warning: unused variable 'zmm' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c:3788:24: warning: unused variable 'zhh' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c:3788:19: warning: unused variable 'zdd' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c:3788:14: warning: unused variable 'zmo' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c:3788:9: warning: unused variable 'zyy' [-Wunused-variable] 3788 | int zyy, zmo, zdd, zhh, zmm, zss; | ^~~ ckucmd.c: In function 'cmcvtdate': ckucmd.c:4311:15: warning: unused variable 'minus' [-Wunused-variable] 4311 | int i, k, n, minus = 0; | ^~~~~ ckucmd.c:4311:12: warning: unused variable 'n' [-Wunused-variable] 4311 | int i, k, n, minus = 0; | ^ ckucmd.c:4090:23: warning: unused variable 'tb' [-Wunused-variable] 4090 | char timbuf[16], *tb, cc; | ^~ ckucmd.c:4090:10: warning: unused variable 'timbuf' [-Wunused-variable] 4090 | char timbuf[16], *tb, cc; | ^~~~~~ ckucmd.c:4079:41: warning: unused variable 'sec' [-Wunused-variable] 4079 | char * hour = "00", * min = "00", * sec = "00"; | ^~~ ckucmd.c:4079:27: warning: unused variable 'min' [-Wunused-variable] 4079 | char * hour = "00", * min = "00", * sec = "00"; | ^~~ ckucmd.c:4079:12: warning: unused variable 'hour' [-Wunused-variable] 4079 | char * hour = "00", * min = "00", * sec = "00"; | ^~~~ ckucmd.c:4061:9: warning: variable 'kn' set but not used [-Wunused-but-set-variable] 4061 | int kn = 0, ft[8], isletter = 0, f2len = 0; | ^~ ckucmd.c: In function 'shuffledate': ckucmd.c:5437:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5437 | while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ckucmd.c:5439:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5439 | while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ckucmd.c: In function 'cmdate': ckucmd.c:5555:11: warning: variable 'o' set but not used [-Wunused-but-set-variable] 5555 | char *o, *s, *zq, *dp; | ^ ckucmd.c: In function 'cmcvtdate': ckucmd.c:4567:18: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] 4567 | sprintf(tmpbuf,"%02d",x); | ^~~~ ckucmd.c:4567:17: note: directive argument in the range [0, 2147483647] 4567 | sprintf(tmpbuf,"%02d",x); | ^~~~~~ In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckucmd.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckucmd.c:4567:18: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] 4567 | sprintf(tmpbuf,"%02d",x); | ^~~~ ckucmd.c:4567:17: note: directive argument in the range [0, 2147483647] 4567 | sprintf(tmpbuf,"%02d",x); | ^~~~~~ In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckucmd.c:41: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusr.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuusr.c: In function 'doxsend': ckuusr.c:3945:12: warning: unused variable 'm' [-Wunused-variable] 3945 | char * m; /* For making help messages */ | ^ ckuusr.c: In function 'doxconn': ckuusr.c:5357:19: warning: unused variable 'macp' [-Wunused-variable] 5357 | extern char * macp[]; | ^~~~ ckuusr.c:5356:19: warning: unused variable 'tfile' [-Wunused-variable] 5356 | extern FILE * tfile[]; | ^~~~~ ckuusr.c: In function 'doadd': ckuusr.c:5582:15: warning: unused variable 'k' [-Wunused-variable] 5582 | int i, j, k, n = 0, x = 0, last; | ^ ckuusr.c: In function 'copyarray': ckuusr.c:6214:10: warning: variable 'c1' set but not used [-Wunused-but-set-variable] 6214 | char c1, c2, * a1, * a2; | ^~ In file included from ckcnet.h:1245, from ckuusr.c:93: ckuusr.c: In function 'dotelopt': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckuusr.c:6815:42: note: in expansion of macro 'TELCMD' 6815 | ckmakmsg(tn_msg,256,"TELNET SENT ",TELCMD(x),NULL,NULL); | ^~~~~~ ckuusr.c: In function 'dohttp': ckuusr.c:7515:2: warning: label 'havehost' defined but not used [-Wunused-label] 7515 | havehost: /* Come here with s -> host */ | ^~~~~~~~ ckuusr.c: In function 'redossh': ckuusr.c:7827:12: warning: variable 'netsave' set but not used [-Wunused-but-set-variable] 7827 | int x, netsave; | ^~~~~~~ ckuusr.c: In function 'hmsgaa': ckuusr.c:7890:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 7890 | if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ | ^ ckuusr.c: In function 'docmd': ckuusr.c:9140:16: warning: unused variable 'k_info_dir' [-Wunused-variable] 9140 | extern char * k_info_dir; | ^~~~~~~~~~ ckuusr.c:9217:34: warning: unused variable 'isinbuflen' [-Wunused-variable] 9217 | extern int itsapattern, isjoin, isinbuflen; | ^~~~~~~~~~ ckuusr.c:11883:6: warning: unused variable 'i' [-Wunused-variable] 11883 | int i, n, xpipe = 0, xbinary = 0, xxlate = 1, xxnowait = 0, getval; | ^ ckuusr.c:12059:6: warning: unused variable 'height' [-Wunused-variable] 12059 | int height = 0, count = 0; | ^~~~~~ ckuusr.c:12718:14: warning: unused variable 'cmdatebuf' [-Wunused-variable] 12718 | extern char cmdatebuf[], * cmdatemsg; | ^~~~~~~~~ ckuusr.c:13296:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 13296 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuusr.c:13299:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 13299 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuusr.c:13304:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 13304 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuusr.c:13306:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 13306 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuusr.c:13235:20: warning: unused variable 'p' [-Wunused-variable] 13235 | char * s, *p, vbuf[32]; | ^ ckuusr.c:13345:15: warning: comparison with string literal results in unspecified behavior [-Waddress] 13345 | if (s) if (s == "") s = NULL; | ^~ ckuusr.c:13353:15: warning: comparison with string literal results in unspecified behavior [-Waddress] 13353 | if (s) if (s == "") s = NULL; | ^~ ckuusr.c:13341:16: warning: unused variable 't' [-Wunused-variable] 13341 | char * t = tmpbuf; /* Create or alter environment var */ | ^ At top level: ckuusr.c:7134:22: warning: 'sslswtab' defined but not used [-Wunused-variable] 7134 | static struct keytab sslswtab[] = { | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus3.c ckuus3.c:320:33: warning: missing braces around initializer [-Wmissing-braces] 320 | static struct keytab pfxtab[] = { | ^ 321 | "all", PX_ALL, 0, | { } 322 | "cautious", PX_CAU, 0, | { } 323 | "minimal", PX_WIL, 0, | { } 324 | "none", PX_NON, 0 | { 325 | }; | } ckuus3.c:363:26: warning: missing braces around initializer [-Wmissing-braces] 363 | struct keytab ctltab[] = { | ^ 364 | "prefixed", 1, 0, /* Note, the values are important. */ | { } 365 | "unprefixed", 0, 0 | { 366 | }; | } ckuus3.c:369:33: warning: missing braces around initializer [-Wmissing-braces] 369 | static struct keytab oldnew[] = { | ^ 370 | "new", 0, 0, | { } 371 | "old", 1, 0 | { 372 | }; | } ckuus3.c:383:34: warning: missing braces around initializer [-Wmissing-braces] 383 | static struct keytab functab[] = { | ^ 384 | "diagnostics", FUNC_DI, 0, | { } 385 | "error", FUNC_ER, 0 | { 386 | }; | } ckuus3.c:389:27: warning: missing braces around initializer [-Wmissing-braces] 389 | struct keytab outptab[] = { /* SET OUTPUT parameters */ | ^ 390 | "pacing", 0, 0, /* only one so far... */ | { } 391 | "special-escapes", 1, 0 | { 392 | }; | } ckuus3.c:396:26: warning: missing braces around initializer [-Wmissing-braces] 396 | struct keytab chktab[] = { /* Block check types */ | ^ 397 | "1", 1, 0, /* 1 = 6-bit checksum */ | { } 398 | "2", 2, 0, /* 2 = 12-bit checksum */ | { } 399 | "3", 3, 0, /* 3 = 16-bit CRC */ | { } 400 | "4", 4, 0, /* Same as B */ | { } 401 | "5", 5, 0, /* Same as F */ | { } 402 | "blank-free-2", 4, CM_INV, /* B = 12-bit checksum, no blanks */ | { } 403 | "force-3", 5, CM_INV /* F = Force CRC on ALL packets */ | { 404 | }; | } ckuus3.c:407:26: warning: missing braces around initializer [-Wmissing-braces] 407 | struct keytab rpttab[] = { /* SET REPEAT */ | ^ 408 | "counts", 0, 0, /* On or Off */ | { } ...... 412 | "prefix", 2, 0 /* Repeat-prefix character value */ | { 413 | }; | } ckuus3.c:418:26: warning: missing braces around initializer [-Wmissing-braces] 418 | struct keytab crrtab[] = { | ^ 419 | "automatic", CAR_AUT, 0, /* 2 */ | { } 420 | "off", CAR_OFF, 0, /* 0 */ | { } 421 | "on", CAR_ON, 0 /* 1 */ | { 422 | }; | } ckuus3.c:426:26: warning: missing braces around initializer [-Wmissing-braces] 426 | struct keytab ooatab[] = { /* On/Off/Auto table */ | ^ 427 | "automatic", SET_AUTO, 0, /* 2 */ | { } 428 | "off", SET_OFF, 0, /* 0 */ | { } 429 | "on", SET_ON, 0 /* 1 */ | { 430 | }; | } ckuus3.c:432:26: warning: missing braces around initializer [-Wmissing-braces] 432 | struct keytab ooetab[] = { /* On/Off/Stderr table 2010/03/12 */ | ^ 433 | "off", SET_OFF, 0, /* for SET DEBUG MESSAGES */ | { } 434 | "on", SET_ON, 0, | { } 435 | "s", 2, CM_ABR|CM_INV, | { } 436 | "st", 2, CM_ABR|CM_INV, | { } 437 | "std", 2, CM_ABR|CM_INV, | { } 438 | "stderr", 2, 0, | { } 439 | "stdout", SET_ON, CM_INV | { 440 | }; | } ckuus3.c:443:26: warning: missing braces around initializer [-Wmissing-braces] 443 | struct keytab ooktab[] = { /* On/Off/Ask table */ | ^ 444 | "ask", 2, 0, /* 2 */ | { } 445 | "off", SET_OFF, 0, /* 0 */ | { } 446 | "on", SET_ON, 0 /* 1 */ | { 447 | }; | } ckuus3.c:449:25: warning: missing braces around initializer [-Wmissing-braces] 449 | struct keytab qvtab[] = { /* Quiet/Verbose table */ | ^ 450 | "quiet", 1, 0, | { } 451 | "verbose", 0, 0 | { 452 | }; | } ckuus3.c:464:26: warning: missing braces around initializer [-Wmissing-braces] 464 | struct keytab dbgtab[] = { | ^ 465 | "linelength", DEB_LEN, CM_INV, | { } 466 | "m", DEB_MSG, CM_ABR|CM_INV, | { } 467 | "message", DEB_MSG, 0, | { } 468 | "msg", DEB_MSG, CM_INV, | { } 469 | "off", DEB_OFF, 0, | { } 470 | "on", DEB_ON, 0, | { } 471 | "session", DEB_SES, 0, | { } 472 | "timestamps", DEB_TIM, 0 | { 473 | }; | } ckuus3.c:571:28: warning: missing braces around initializer [-Wmissing-braces] 571 | struct keytab tnspdtab[] = { /* RFC 2217 TELNET COMPORT Option */ | ^ 572 | "115200", 11520, 0, /* (add any other defined speeds) */ | { } 573 | "1200", 120, 0, | { } 574 | "14400", 1440, 0, | { } 575 | "19200", 1920, 0, | { } 576 | "230400", 23040, 0, | { } 577 | "2400", 240, 0, | { } 578 | "28800", 2880, 0, | { } 579 | "300", 30, 0, | { } 580 | "38400", 3840, 0, | { } 581 | "460800", 46080, 0, | { } 582 | "4800", 480, 0, | { } 583 | "57600", 5760, 0, | { } 584 | "600", 60, 0, | { } 585 | "9600", 960, 0 | { 586 | }; | } ckuus3.c:599:26: warning: missing braces around initializer [-Wmissing-braces] 599 | struct keytab dpxtab[] = { | ^ 600 | "full", 0, 0, | { } 601 | "half", 1, 0 | { 602 | }; | } ckuus3.c:607:28: warning: missing braces around initializer [-Wmissing-braces] 607 | struct keytab cxtypesw[] = { | ^ ...... 611 | "/direct-serial", CXT_DIRECT, 0, | { } ...... 619 | "/modem", CXT_MODEM, 0, | { } ...... 626 | "/remote", CXT_REMOTE, 0, | { } 627 | #ifdef TCPSOCKET 628 | make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' "/tcpip", CXT_TCPIP, 0, | { } ...... 633 | "", 0, 0 | { 634 | }; | } ckuus3.c:638:28: warning: missing braces around initializer [-Wmissing-braces] 638 | struct keytab tnflotab[] = { /* SET FLOW-CONTROL keyword table */ | ^ 639 | "dtr/cd", FLO_DTRC, 0, /* for RFC 2217 Telnet COMPORT */ | { } 640 | "dtr/cts", FLO_DTRT, 0, | { } 641 | "keep", FLO_KEEP, 0, | { } 642 | "none", FLO_NONE, 0, | { } 643 | "rts/cts", FLO_RTSC, 0, | { } 644 | "xon/xoff", FLO_XONX, 0 | { 645 | }; | } ckuus3.c:649:26: warning: missing braces around initializer [-Wmissing-braces] 649 | struct keytab flotab[] = { /* SET FLOW-CONTROL keyword table */ | ^ 650 | "automatic", FLO_AUTO, CM_INV, /* Not needed any more */ | { } ...... 657 | "keep", FLO_KEEP, 0, | { } 658 | "none", FLO_NONE, 0, | { } 659 | #ifdef CK_RTSCTS 660 | "rts/cts", FLO_RTSC, 0, | { } ...... 663 | "xon/xoff", FLO_XONX, 0, | { } 664 | #endif /* Plan9 */ 665 | "", 0, 0 | { 666 | }; | } ckuus3.c:671:26: warning: missing braces around initializer [-Wmissing-braces] 671 | struct keytab hshtab[] = { | ^ 672 | "bell", 007, 0, | { } 673 | "code", 998, 0, | { } 674 | "cr", 015, 0, | { } 675 | "esc", 033, 0, | { } 676 | "lf", 012, 0, | { } 677 | "none", 999, 0, /* (can't use negative numbers) */ | { } 678 | "xoff", 023, 0, | { } 679 | "xon", 021, 0 | { 680 | }; | } ckuus3.c:684:33: warning: missing braces around initializer [-Wmissing-braces] 684 | static struct keytab sfttab[] = { /* File types for SET SESSION-LOG */ | ^ 685 | "ascii", XYFT_T, CM_INV, | { } 686 | "binary", XYFT_B, 0, | { } 687 | "debug", XYFT_D, 0, | { } 688 | "null-padded-lines", 998, 0, | { } 689 | "text", XYFT_T, 0, | { } 690 | "timestamped-text", 999, 0 | { 691 | }; | } ckuus3.c:761:35: warning: missing braces around initializer [-Wmissing-braces] 761 | static struct keytab drstrtab[] = { | ^ 762 | "international", 5, 0, | { } 763 | "local", 2, 0, | { } 764 | "long-distance", 4, 0, | { } 765 | "none", 6, 0 | { 766 | }; | } ckuus3.c:768:34: warning: missing braces around initializer [-Wmissing-braces] 768 | static struct keytab dcnvtab[] = { | ^ 769 | "ask", 2, 0, | { } 770 | "off", 0, 0, | { } 771 | "on", 1, 0 | { 772 | }; | } ckuus3.c:774:26: warning: missing braces around initializer [-Wmissing-braces] 774 | struct keytab setmdm[] = { | ^ 775 | "capabilities", XYDCAP, 0, | { } 776 | "carrier-watch", XYDMCD, 0, | { } 777 | "command", XYDSTR, 0, | { } 778 | "compression", XYDDC, CM_INV, | { } 779 | "data-compression", XYDDC, 0, | { } 780 | "dial-command", XYDDIA, 0, | { } 781 | "error-correction", XYDEC, 0, | { } 782 | "escape-character", XYDESC, 0, | { } 783 | "flow-control", XYDFC, 0, | { } 784 | "hangup-method", XYDMHU, 0, | { } 785 | #ifndef NOXFER 786 | "kermit-spoof", XYDKSP, 0, | { } 787 | #endif /* NOXFER */ 788 | "maximum-speed", XYDMAX, 0, | { } 789 | "name", XYDNAM, 0, | { } 790 | "speaker", XYDSPK, 0, | { } 791 | "speed-matching", XYDSPD, 0, | { } 792 | "type", XYDTYP, 0, | { } 793 | "volume", XYDVOL, 0 | { 794 | }; | } ckuus3.c:797:26: warning: missing braces around initializer [-Wmissing-braces] 797 | struct keytab voltab[] = { | ^ 798 | "high", 3, 0, | { } 799 | "low", 1, 0, | { } 800 | "medium", 2, 0 | { 801 | }; | } ckuus3.c:803:26: warning: missing braces around initializer [-Wmissing-braces] 803 | struct keytab mdmcap[] = { | ^ 804 | "at-commands", CKD_AT, 0, | { } 805 | "compression", CKD_DC, 0, | { } 806 | "dc", CKD_DC, CM_INV, | { } 807 | "ec", CKD_EC, CM_INV, | { } 808 | "error-correction", CKD_EC, 0, | { } 809 | "hardware-flow", CKD_HW, 0, | { } 810 | "hwfc", CKD_HW, CM_INV, | { } 811 | "itu", CKD_V25, CM_INV, | { } 812 | "kermit-spoof", CKD_KS, 0, | { } 813 | "ks", CKD_KS, CM_INV, | { } 814 | "sb", CKD_SB, CM_INV, | { } 815 | "software-flow", CKD_SW, 0, | { } 816 | "speed-buffering", CKD_SB, 0, | { } 817 | "swfc", CKD_SW, CM_INV, | { } 818 | "tb", CKD_TB, CM_INV, | { } 819 | "telebit", CKD_TB, 0, | { } 820 | "v25bis-commands", CKD_V25, 0 | { 821 | }; | } ckuus3.c:833:27: warning: missing braces around initializer [-Wmissing-braces] 833 | struct keytab dialtab[] = { /* SET DIAL table */ | ^ 834 | "area-code", XYDLAC, 0, /* Also still includes items */ | { } 835 | "compression", XYDDC, CM_INV, /* that were moved to SET MODEM, */ | { } 836 | "confirmation", XYDCNF, 0, /* but they are CM_INVisible... */ | { } 837 | "connect", XYDCON, 0, | { } 838 | "convert-directory",XYDCVT, 0, | { } 839 | "country-code", XYDLCC, 0, | { } 840 | "dial-command", XYDDIA, CM_INV, | { } 841 | "directory", XYDDIR, 0, | { } 842 | "display", XYDDPY, 0, | { } 843 | "escape-character", XYDESC, CM_INV, | { } 844 | "error-correction", XYDEC, CM_INV, | { } 845 | "flow-control", XYDFC, CM_INV, | { } 846 | "force-long-distance", XYDFLD, 0, | { } 847 | "hangup", XYDHUP, 0, | { } 848 | "ignore-dialtone", XYDIDT, 0, | { } 849 | "interval", XYDINT, 0, | { } 850 | "in", XYDINI, CM_INV|CM_ABR, | { } 851 | "init-string", XYDINI, CM_INV, | { } 852 | "intl-prefix", XYDIXP, 0, | { } 853 | "intl-suffix", XYDIXS, 0, | { } 854 | #ifndef NOXFER 855 | "kermit-spoof", XYDKSP, CM_INV, | { } 856 | #endif /* NOXFER */ 857 | "lc-area-codes", XYDLLAC, 0, | { } 858 | "lc-prefix", XYDLCP, 0, | { } 859 | "lc-suffix", XYDLCS, 0, | { } 860 | "ld-prefix", XYDLDP, 0, | { } 861 | "ld-suffix", XYDLDS, 0, | { } 862 | "local-area-code", XYDLAC, CM_INV, | { } 863 | "local-prefix", XYDLCP, CM_INV, | { } 864 | "local-suffix", XYDLCS, CM_INV, | { } 865 | "m", XYDMTH, CM_INV|CM_ABR, | { } 866 | #ifndef NOSPL 867 | "macro", XYDMAC, 0, /* 195 */ | { } ...... 870 | "me", XYDMTH, CM_INV|CM_ABR, | { } 871 | #endif /* MDMHUP */ 872 | "method", XYDMTH, 0, | { } 873 | "mnp-enable", XYDMNP, CM_INV, /* obsolete but still accepted */ | { } 874 | #ifdef MDMHUP 875 | "modem-hangup", XYDMHU, CM_INV, | { } 876 | #endif /* MDMHUP */ 877 | "pacing", XYDPAC, 0, | { } 878 | "pbx-exchange", XYDPXX, 0, | { } 879 | "pbx-inside-prefix",XYDPXI, 0, | { } 880 | "pbx-outside-prefix",XYDPXO, 0, | { } 881 | "prefix", XYDNPR, 0, | { } 882 | "pulse-countries", XYDPUCC, 0, | { } 883 | "restrict", XYDRSTR, 0, | { } 884 | "retries", XYDRTM, 0, | { } 885 | "sort", XYDSRT, 0, | { } 886 | "speed-matching", XYDSPD, CM_INV, | { } 887 | "string", XYDSTR, CM_INV, | { } 888 | "suffix", XYDSFX, 0, | { } 889 | "test", XYDTEST, 0, | { } 890 | "timeout", XYDTMO, 0, | { } 891 | "tf-area-code", XYDTFC, CM_INV, | { } 892 | "tf-prefix", XYDTFP, CM_INV, | { } 893 | "toll-free-area-code",XYDTFC,0, | { } 894 | "toll-free-prefix", XYDTFP, 0, | { } 895 | "tone-countries", XYDTOCC, 0 | { 896 | }; | } ckuus3.c:900:27: warning: missing braces around initializer [-Wmissing-braces] 900 | struct keytab mdmhang[] = { | ^ 901 | "dtr", 0, 0, | { } 902 | "modem-command", 1, 0, | { } 903 | "rs232-signal", 0, 0, | { } 904 | "v24-signal", 0, CM_INV | { 905 | }; | } ckuus3.c:908:33: warning: missing braces around initializer [-Wmissing-braces] 908 | static struct keytab mdmcmd[] = { | ^ 909 | "autoanswer", XYDS_AN, 0, /* autoanswer */ | { } 910 | "compression", XYDS_DC, 0, /* data compression */ | { } 911 | "dial-mode-prompt", XYDS_MP, 0, /* dial mode prompt */ | { } 912 | "dial-mode-string", XYDS_MS, 0, /* dial mode string */ | { } 913 | "error-correction", XYDS_EC, 0, /* error correction */ | { } 914 | "hangup-command", XYDS_HU, 0, /* hangup command */ | { } 915 | "hardware-flow", XYDS_HW, 0, /* hwfc */ | { } 916 | "ignore-dialtone", XYDS_ID, 0, /* ignore dialtone */ | { } 917 | "init-string", XYDS_IN, 0, /* init string */ | { } 918 | "no-flow-control", XYDS_NF, 0, /* no flow control */ | { } 919 | "predial-init", XYDS_I2, 0, /* last-minute setup commands */ | { } 920 | "pulse", XYDS_DP, 0, /* pulse */ | { } 921 | "software-flow", XYDS_SW, 0, /* swfc */ | { } 922 | "speaker", XYDS_SP, 0, /* Speaker */ | { } 923 | "tone", XYDS_DT, 0, /* tone */ | { } 924 | "volume", XYDS_VO, 0 /* Volume */ | { 925 | }; | } ckuus3.c:928:27: warning: missing braces around initializer [-Wmissing-braces] 928 | struct keytab dial_fc[] = { | ^ 929 | "auto", FLO_AUTO, 0, | { } 930 | "none", FLO_NONE, 0, | { } 931 | "rts/cts", FLO_RTSC, 0, | { } 932 | "xon/xoff", FLO_XONX, 0 | { 933 | }; | } ckuus3.c:935:26: warning: missing braces around initializer [-Wmissing-braces] 935 | struct keytab dial_m[] = { /* DIAL METHOD */ | ^ 936 | "auto", XYDM_A, 0, | { } 937 | "default", XYDM_D, 0, | { } 938 | "pulse", XYDM_P, 0, | { } 939 | "tone", XYDM_T, 0 | { 940 | }; | } ckuus3.c:987:27: warning: missing braces around initializer [-Wmissing-braces] 987 | struct keytab wildtab[] = { /* SET WILDCARD-EXPANSION */ | ^ 988 | #ifdef UNIX 989 | "kermit", WILD_KER, 0, /* By Kermit */ | { } 990 | #endif /* UNIX */ 991 | "off", WILD_OFF, 0, /* Disabled */ | { } 992 | "on", WILD_ON, 0, /* Enabled */ | { } 993 | #ifdef UNIX 994 | "shell", WILD_SHE, 0, /* By Shell */ | { } 995 | #endif /* UNIX */ 996 | "", 0, 0 | { 997 | }; | } ckuus3.c:1000:27: warning: missing braces around initializer [-Wmissing-braces] 1000 | struct keytab wdottab[] = { /* cont'd */ | ^ 1001 | "/match-dot-files", 1, 0, | { } 1002 | "/no-match-dot-files", 0, 0 | { 1003 | }; | } ckuus3.c:1059:32: warning: missing braces around initializer [-Wmissing-braces] 1059 | static struct keytab vbtab[] = { | ^ 1060 | "brief", 0, 0, | { } 1061 | #ifdef OS2ORUNIX 1062 | "ftp", 2, 0, | { } ...... 1068 | "verbose", 1, 0 | { 1069 | }; | } ckuus3.c:1074:36: warning: missing braces around initializer [-Wmissing-braces] 1074 | static struct keytab syslogtab[] = { | ^ 1075 | "all", SYSLG_CX, 0, | { } 1076 | "commands", SYSLG_CM, 0, | { } 1077 | "connection", SYSLG_AC, 0, | { } 1078 | "debug", SYSLG_DB, 0, | { } 1079 | "dial", SYSLG_DI, 0, | { } 1080 | "file-access", SYSLG_FA, 0, | { } 1081 | "file-create", SYSLG_FC, 0, | { } 1082 | "login", SYSLG_LI, 0, | { } 1083 | "none", SYSLG_NO, 0, | { } 1084 | "protocol", SYSLG_PR, 0 | { 1085 | }; | } ckuus3.c:1091:26: warning: missing braces around initializer [-Wmissing-braces] 1091 | struct keytab partbl[] = { | ^ 1092 | "even", 'e', 0, | { } 1093 | #ifdef HWPARITY 1094 | "hardware",'H', 0, | { } 1095 | #endif /* HWPARITY */ 1096 | "mark", 'm', 0, | { } 1097 | "none", 0 , 0, | { } 1098 | "odd", 'o', 0, | { } 1099 | "space", 's', 0 | { 1100 | }; | } ckuus3.c:1104:28: warning: missing braces around initializer [-Wmissing-braces] 1104 | struct keytab hwpartbl[] = { | ^ 1105 | /* Add mark and space if needed and possible */ 1106 | "even", 'e', 0, | { } ...... 1110 | "odd", 'o', 0, | { } ...... 1114 | "", 0, 0 | { 1115 | }; | } ckuus3.c:1121:25: warning: missing braces around initializer [-Wmissing-braces] 1121 | struct keytab onoff[] = { | ^ 1122 | "off", 0, 0, | { } 1123 | "on", 1, 0 | { 1124 | }; | } ckuus3.c:1130:25: warning: missing braces around initializer [-Wmissing-braces] 1130 | struct keytab cdtab[] = { | ^ 1131 | "home", XYCD_H, 0, | { } 1132 | "message", XYCD_M, 0, | { } 1133 | "path", XYCD_P, 0 | { 1134 | }; | } ckuus3.c:1137:25: warning: missing braces around initializer [-Wmissing-braces] 1137 | struct keytab cdmsg[] = { | ^ 1138 | "file", 2, 0, | { } 1139 | "off", 0, 0, | { } 1140 | "on", 1, 0 | { 1141 | }; | } ckuus3.c:1145:26: warning: missing braces around initializer [-Wmissing-braces] 1145 | struct keytab xittab[] = { /* SET EXIT */ | ^ 1146 | "hangup", 3, 0, /* ...HANGUP */ | { } 1147 | "on-disconnect", 2, 0, /* ...ON-DISCONNECT */ | { } 1148 | "status", 0, 0, /* ...STATUS */ | { } 1149 | "warning", 1, 0 /* ...WARNING */ | { 1150 | }; | } ckuus3.c:1153:27: warning: missing braces around initializer [-Wmissing-braces] 1153 | struct keytab xitwtab[] = { /* SET EXIT WARNING */ | ^ 1154 | "always", 2, 0, /* even when not connected */ | { } 1155 | "off", 0, 0, /* no warning */ | { } 1156 | "on", 1, 0 /* when connected */ | { 1157 | }; | } ckuus3.c:1160:25: warning: missing braces around initializer [-Wmissing-braces] 1160 | struct keytab rltab[] = { | ^ 1161 | "local", 1, 0, /* ECHO values */ | { } 1162 | "off", 0, CM_INV, | { } 1163 | "on", 1, CM_INV, | { } 1164 | "remote", 0, 0 | { 1165 | }; | } ckuus3.c:1170:26: warning: missing braces around initializer [-Wmissing-braces] 1170 | struct keytab ifdtab[] = { | ^ 1171 | "discard", SET_OFF, 0, | { } 1172 | "keep", SET_ON, 0 | { 1173 | }; | } ckuus3.c:1175:27: warning: missing braces around initializer [-Wmissing-braces] 1175 | struct keytab ifdatab[] = { | ^ 1176 | "auto", SET_AUTO, 0, | { } 1177 | "discard", SET_OFF, 0, | { } 1178 | "keep", SET_ON, 0 | { 1179 | }; | } ckuus3.c:1185:26: warning: missing braces around initializer [-Wmissing-braces] 1185 | struct keytab taktab[] = { | ^ 1186 | "echo", 0, 0, | { } 1187 | "error", 1, 0, | { } 1188 | "off", 2, CM_INV, /* For compatibility */ | { } 1189 | "on", 3, CM_INV /* with MS-DOS Kermit... */ | { 1190 | }; | } ckuus3.c:1204:27: warning: missing braces around initializer [-Wmissing-braces] 1204 | struct keytab smactab[] = { | ^ 1205 | "echo", 0, 0, | { } 1206 | "error", 1, 0 | { 1207 | }; | } ckuus3.c:1212:26: warning: missing braces around initializer [-Wmissing-braces] 1212 | struct keytab scrtab[] = { | ^ 1213 | "echo", 0, 0 | { 1214 | }; | } ckuus3.c:1240:34: warning: missing braces around initializer [-Wmissing-braces] 1240 | static struct keytab scmdtab[] = { | ^ 1241 | #ifdef CK_AUTODL 1242 | "autodownload", SCMD_ADL, 0, | { } ...... 1252 | "bytesize", SCMD_BSZ, 0, | { } 1253 | "cbreak", SCMD_CBR, CM_INV, | { } ...... 1259 | "doublequoting", SCMD_DBQ, 0, | { } 1260 | #endif /* DOUBLEQUOTING */ 1261 | "error-display", SCMD_ERR, 0, | { } 1262 | "height", SCMD_HIG, 0, | { } 1263 | "interruption", SCMD_INT, 0, | { } 1264 | "more-prompting", SCMD_MOR, 0, | { } 1265 | "quoting", SCMD_QUO, 0, | { } 1266 | #ifdef CK_RECALL 1267 | "recall-buffer-size", SCMD_RCL, 0, | { } ...... 1270 | "retry", SCMD_RTR, 0, | { } ...... 1278 | "variable-evaluation", SCMD_VAR,0, | { } 1279 | "width", SCMD_WID, 0 | { 1280 | }; | } ckuus3.c:1285:33: warning: missing braces around initializer [-Wmissing-braces] 1285 | static struct keytab srvtab[] = { | ^ 1286 | "cd-message", XYSERC, 0, | { } 1287 | "display", XYSERD, 0, | { } 1288 | "get-path", XYSERP, 0, | { } 1289 | "idle-timeout", XYSERI, 0, | { } 1290 | "keepalive", XYSERK, 0, | { } 1291 | "login", XYSERL, 0, | { } 1292 | "timeout", XYSERT, 0 | { 1293 | }; | } ckuus3.c:1297:35: warning: missing braces around initializer [-Wmissing-braces] 1297 | static struct keytab sleeptab[] = { /* SET SLEEP table */ | ^ 1298 | "cancellation", 0, 0 | { 1299 | }; | } ckuus3.c:1301:32: warning: missing braces around initializer [-Wmissing-braces] 1301 | static struct keytab tstab[] = { /* SET TRANSFER/XFER table */ | ^ 1302 | "bell", XYX_BEL, 0, | { } 1303 | #ifdef XFRCAN 1304 | "cancellation", XYX_CAN, 0, | { } ...... 1307 | "character-set", XYX_CSE, 0, | { } ...... 1310 | "crc-calculation", XYX_CRC, 0, | { } 1311 | #endif /* NOSPL */ 1312 | "display", XYX_DIS, 0, | { } 1313 | "interruption", XYX_INT, 0, | { } 1314 | "locking-shift", XYX_LSH, 0, | { } 1315 | "message", XYX_MSG, 0, | { } 1316 | "mode", XYX_MOD, 0, | { } 1317 | "msg", XYX_MSG, CM_INV, | { } 1318 | #ifdef PIPESEND 1319 | "pipes", XYX_PIP, 0, | { } ...... 1322 | "protocol", XYX_PRO, 0, | { } 1323 | #endif /* CK_XYZ */ 1324 | "report", XYX_RPT, 0, | { } 1325 | "slow-start", XYX_SLO, 0, | { } 1326 | #ifndef NOCSETS 1327 | "translation", XYX_XLA, 0, | { } ...... 1331 | "xlation", XYX_XLA, CM_INV, | { } 1332 | "", 0, 0 | { 1333 | }; | } ckuus3.c:1336:33: warning: missing braces around initializer [-Wmissing-braces] 1336 | static struct keytab rtstab[] = { /* REMOTE SET TRANSFER/XFER table */ | ^ 1337 | #ifndef NOCSETS 1338 | "character-set", XYX_CSE, 0, | { } 1339 | #endif /* NOCSETS */ 1340 | "mode", XYX_MOD, 0 | { 1341 | }; | } ckuus3.c:1344:27: warning: missing braces around initializer [-Wmissing-braces] 1344 | struct keytab xfrmtab[] = { /* TRANSFER MODE table */ | ^ 1345 | "automatic", XMODE_A, 0, | { } 1346 | "manual", XMODE_M, 0 | { 1347 | }; | } ckuus3.c:1372:25: warning: missing braces around initializer [-Wmissing-braces] 1372 | struct keytab lstab[] = { | ^ 1373 | "forced", 2, 0, | { } 1374 | "off", 0, 0, | { } 1375 | "on", 1, 0 | { 1376 | }; | } ckuus3.c:1591:35: warning: missing braces around initializer [-Wmissing-braces] 1591 | static struct keytab tnnegtab[] = { /* TELNET NEGOTIATION table */ | ^ 1592 | "accepted", TN_NG_AC, 0, | { } 1593 | "refused", TN_NG_RF, 0, | { } 1594 | "req", TN_NG_RQ, CM_INV|CM_ABR, | { } 1595 | "requ", TN_NG_RQ, CM_INV|CM_ABR, | { } 1596 | "reque", TN_NG_RQ, CM_INV|CM_ABR, | { } 1597 | "reques", TN_NG_RQ, CM_INV|CM_ABR, | { } 1598 | "request", TN_NG_RQ, CM_INV|CM_ABR, | { } 1599 | "requeste", TN_NG_RQ, CM_INV|CM_ABR, | { } 1600 | "requested", TN_NG_RQ, 0, | { } 1601 | "required", TN_NG_MU, 0 | { 1602 | }; | } ckuus3.c:1636:35: warning: missing braces around initializer [-Wmissing-braces] 1636 | static struct keytab tnbugtab[] = { /* TELNET BUG table */ | ^ 1637 | "auth-krb5-des", 4, 0, | { } 1638 | "binary-me-means-u-too", 0, 0, | { } 1639 | "binary-u-means-me-too", 1, 0, | { } 1640 | "infinite-loop-check", 2, 0, | { } 1641 | "sb-implies-will-do", 3, 0 | { 1642 | }; | } ckuus3.c:1645:35: warning: missing braces around initializer [-Wmissing-braces] 1645 | static struct keytab tnenvtab[] = { /* TELNET ENVIRONMENT table */ | ^ 1646 | "acct", TN_ENV_ACCT, 0, | { } 1647 | "display", TN_ENV_DISP, 0, | { } 1648 | "job", TN_ENV_JOB, 0, | { } 1649 | "location", TN_ENV_LOC, 0, | { } 1650 | "off", TN_ENV_OFF, CM_INV, | { } 1651 | "on", TN_ENV_ON, CM_INV, | { } 1652 | "printer", TN_ENV_PRNT, 0, | { } 1653 | "systemtype",TN_ENV_SYS, 0, | { } 1654 | "user", TN_ENV_USR, 0, | { } 1655 | "uservar", TN_ENV_UVAR, 0, | { } 1656 | "", 0, 0 | { 1657 | }; | } ckuus3.c:1728:36: warning: missing braces around initializer [-Wmissing-braces] 1728 | static struct keytab tn_nlmtab[] = { /* TELNET NEWLINE-MODE table */ | ^ 1729 | "binary-mode", TN_NL_BIN, 0, /* Binary mode */ | { } 1730 | "nvt", TN_NL_NVT, 0, /* NVT mode */ | { } 1731 | "off", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */ | { } 1732 | "on", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */ | { } 1733 | "raw", TNL_CR, CM_INV /* CR only (out of spec) */ | { 1734 | }; | } ckuus3.c:1737:34: warning: missing braces around initializer [-Wmissing-braces] 1737 | static struct keytab tnlmtab[] = { /* TELNET NEWLINE-MODE table */ | ^ 1738 | "cr", TNL_CR, CM_INV, /* CR only (out of spec) */ | { } 1739 | "cr-lf", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */ | { } 1740 | "cr-nul", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */ | { } 1741 | "lf", TNL_LF, CM_INV, /* LF instead of CR-LF */ | { } 1742 | "off", TNL_CRNUL, 0, /* CR-NUL (TELNET spec) */ | { } 1743 | "on", TNL_CRLF, 0, /* CR-LF (TELNET spec) */ | { } 1744 | "raw", TNL_CR, 0 /* CR only (out of spec) */ | { 1745 | }; | } ckuus3.c:1748:25: warning: missing braces around initializer [-Wmissing-braces] 1748 | struct keytab tntab[] = { | ^ ...... 1752 | "b", CK_TN_BM, CM_INV|CM_ABR, | { } 1753 | "bi", CK_TN_BM, CM_INV|CM_ABR, | { } 1754 | "bin", CK_TN_BM, CM_INV|CM_ABR, | { } 1755 | "bina", CK_TN_BM, CM_INV|CM_ABR, | { } 1756 | "binar", CK_TN_BM, CM_INV|CM_ABR, | { } 1757 | "binary", CK_TN_BM, CM_INV|CM_ABR, | { } 1758 | "binary-", CK_TN_BM, CM_INV|CM_ABR, | { } 1759 | "binary-mode", CK_TN_BM, CM_INV, | { } 1760 | "binary-transfer-mode", CK_TN_XF, 0, | { } 1761 | "binary-xfer-mode", CK_TN_XF, CM_INV, | { } 1762 | "bug", CK_TN_BUG, 0, | { } 1763 | "debug", CK_TN_DB, 0, | { } 1764 | "delay-sb", CK_TN_DL, 0, | { } 1765 | "echo", CK_TN_EC, 0, | { } ...... 1770 | "environment", CK_TN_ENV, 0, | { } ...... 1776 | "kermit", CK_TN_IKS, CM_INV, | { } ...... 1779 | "location", CK_TN_LOC, 0, | { } ...... 1782 | "naws", CK_TN_NAWS, CM_INV, | { } 1783 | #endif /* CK_NAWS */ 1784 | "newline-mode", CK_TN_NL, 0, | { } 1785 | "no-encrypt-during-xfer", CK_TN_NE, CM_INV, | { } 1786 | "prompt-for-userid",CK_TN_PUID,0, | { } 1787 | "remote-echo", CK_TN_RE, 0, | { } ...... 1794 | "sfu-compatibility", CK_TN_SFU, CM_INV, | { } 1795 | #endif /* NT */ 1796 | "terminal-type", CK_TN_TT, 0, | { } 1797 | "wait-for-negotiations", CK_TN_WAIT, 0, | { } 1798 | #ifdef CK_ENVIRONMENT 1799 | "xdisplay-location",CK_TN_XD, CM_INV, | { } 1800 | #endif /* CK_ENVIRONMENT */ 1801 | "", 0, 0 | { 1802 | }; | } ckuus3.c:1805:28: warning: missing braces around initializer [-Wmissing-braces] 1805 | struct keytab tnopttab[] = { | ^ ...... 1809 | "authentication", CK_TN_AU, CM_INV, | { } 1810 | #endif /* CK_AUTHENTICATION */ 1811 | "binary-mode", CK_TN_BM, 0, | { } 1812 | #ifdef TN_COMPORT 1813 | "c", CK_TN_CPC, CM_INV|CM_ABR, | { } 1814 | "co", CK_TN_CPC, CM_INV|CM_ABR, | { } 1815 | "com", CK_TN_CPC, CM_INV|CM_ABR, | { } 1816 | "com-port-control",CK_TN_CPC, 0, | { } 1817 | "comport-control", CK_TN_CPC, CM_INV, | { } ...... 1822 | "echo", CK_TN_EC, 0, | { } ...... 1826 | "encryption", CK_TN_ENC, CM_INV, | { } ...... 1831 | "forward-x", CK_TN_FX, CM_INV, | { } 1832 | #endif /* CK_FORWARD_X */ 1833 | "ibm-sak", CK_TN_SAK, CM_INV, | { } 1834 | #ifdef IKS_OPTION 1835 | "kermit", CK_TN_IKS, 0, | { } ...... 1839 | "lflow", CK_TN_FLW, CM_INV, | { } 1840 | "logout", CK_TN_LOG, 0, | { } 1841 | #ifdef CK_NAWS 1842 | "naws", CK_TN_NAWS, 0, | { } ...... 1847 | "new-environment", CK_TN_ENV, 0, | { } ...... 1851 | "pragma-heartbeat",CK_TN_PHR, CM_INV, | { } 1852 | "pragma-logon", CK_TN_PLG, CM_INV, | { } 1853 | "pragma-sspi", CK_TN_PSP, CM_INV, | { } 1854 | "sak", CK_TN_SAK, CM_INV, | { } 1855 | #ifdef CK_SNDLOC 1856 | "send-location", CK_TN_LOC, 0, | { } ...... 1860 | "sga", CK_TN_SGA, CM_INV|CM_ABR, | { } ...... 1864 | "start-tls", CK_TN_TLS, CM_INV, | { } 1865 | #endif /* CK_SSL */ 1866 | "suppress-go-aheads", CK_TN_SGA, 0, | { } 1867 | "terminal-type", CK_TN_TT, 0, | { } 1868 | "ttype", CK_TN_TT, CM_INV|CM_ABR, | { } 1869 | #ifdef CK_ENVIRONMENT 1870 | "xdisplay-location", CK_TN_XD, 0, | { } ...... 1874 | "", 0, 0 | { 1875 | }; | } ckuus3.c:1878:27: warning: missing braces around initializer [-Wmissing-braces] 1878 | struct keytab tnoptsw[] = { | ^ 1879 | "/client", CK_TN_CLIENT, 0, | { } 1880 | "/server", CK_TN_SERVER, 0 | { 1881 | }; | } ckuus3.c:1885:26: warning: missing braces around initializer [-Wmissing-braces] 1885 | struct keytab ftrtab[] = { /* Feature table */ | ^ 1886 | #ifndef NOCSETS /* 0 = we have it, 1 = we don't */ 1887 | "character-sets", 0, 0, | { } ...... 1892 | "cyrillic", 0, 0, | { } ...... 1898 | "cx-log", 0, 0, | { } ...... 1904 | "debug", 0, 0, | { } ...... 1910 | "dial", 0, 0, | { } ...... 1916 | "dynamic-memory", 0, 0, | { } ...... 1922 | "file-transfer", 0, 0, | { } ...... 1928 | "forward", 0, 0, | { } ...... 1934 | "ftp", 0, 0, | { } ...... 1940 | "fullscreen-display", 0, 0, | { } ...... 1945 | "greek", 0, 0, | { } ...... 1950 | "hebrew", 0, 0, | { } ...... 1955 | "help", 0, 0, | { } ...... 1961 | "iksd", 0, 0, | { } ...... 1967 | "if-command", 0, 0, | { } ...... 1973 | "job-control", 0, 0, | { } ...... 1981 | "kanji", 0, 0, | { } ...... 1987 | "kermit", 0, 0, | { } ...... 1995 | "kerberos", 1, 0, | { } ...... 1999 | "latin1", 0, 0, | { } ...... 2004 | "latin2", 0, 0, | { } ...... 2010 | "learned-scripts", 0, 0, | { } ...... 2016 | "making-connections", 0, 0, | { } ...... 2022 | "network", 0, 0, | { } ...... 2034 | "ntlm", 0, 0, | { } ...... 2038 | "pipes", 0, 0, | { } ...... 2051 | "pty", 0, 0, | { } ...... 2057 | "push", 0, 0, | { } ...... 2063 | "redirect", 0, 0, | { } ...... 2069 | "rts/cts", 0, 0, | { } ...... 2075 | "script-command", 0, 0, | { } ...... 2080 | "server-mode", 0, 0, | { } ...... 2086 | "sexpression", 0, 0, | { } ...... 2094 | "sftp", 0, 0, | { } ...... 2098 | "show-command", 0, 0, | { } ...... 2106 | "srp", 1, 0, | { } ...... 2112 | "ssh", 1, 0, | { } ...... 2118 | "ssl/tls", 1, 0, | { } ...... 2122 | "transmit", 0, 0, | { } ...... 2128 | "unicode", 0, 0, | { } ...... 2134 | "xyzmodem", 0, 0, | { } ...... 2139 | "", 0, 0 | { 2140 | }; | } ckuus3.c:2143:27: warning: missing braces around initializer [-Wmissing-braces] 2143 | struct keytab desttab[] = { /* SET DESTINATION */ | ^ 2144 | #ifdef CALIBRATE 2145 | "calibrate", DEST_N, CM_INV, | { } 2146 | #endif /* CALIBRATE */ 2147 | "disk", DEST_D, 0, | { } 2148 | #ifdef CALIBRATE 2149 | "nowhere", DEST_N, 0, | { } 2150 | #endif /* CALIBRATE */ 2151 | "printer", DEST_P, 0, | { } 2152 | "screen", DEST_S, 0 | { 2153 | }; | } ckuus3.c:2464:34: warning: missing braces around initializer [-Wmissing-braces] 2464 | static struct keytab q0yesno[] = { /* Yes/No/Quit keyword table */ | ^ 2465 | "no", 0, 0, | { } 2466 | "ok", 1, 0, | { } 2467 | "yes", 1, 0 | { 2468 | }; | } ckuus3.c:2471:34: warning: missing braces around initializer [-Wmissing-braces] 2471 | static struct keytab q1yesno[] = { /* Yes/No/Quit keyword table */ | ^ 2472 | "no", 0, 0, | { } 2473 | "ok", 1, 0, | { } 2474 | "quit", 2, 0, | { } 2475 | "yes", 1, 0 | { 2476 | }; | } ckuus3.c:2479:34: warning: missing braces around initializer [-Wmissing-braces] 2479 | static struct keytab q2yesno[] = { /* Yes/No/Quit keyword table */ | ^ 2480 | "go", 3, 0, | { } 2481 | "no", 0, 0, | { } 2482 | "ok", 1, 0, | { } 2483 | "yes", 1, 0 | { 2484 | }; | } ckuus3.c:2487:34: warning: missing braces around initializer [-Wmissing-braces] 2487 | static struct keytab q3yesno[] = { /* Yes/No/Quit keyword table */ | ^ 2488 | "go", 3, 0, | { } 2489 | "no", 0, 0, | { } 2490 | "ok", 1, 0, | { } 2491 | "quit", 2, 0, | { } 2492 | "yes", 1, 0 | { 2493 | }; | } ckuus3.c: In function 'uq_ok': ckuus3.c:2629:12: warning: unused variable 'text' [-Wunused-variable] 2629 | char * text=NULL; | ^~~~ ckuus3.c:2628:13: warning: unused variable 'len' [-Wunused-variable] 2628 | int rc, len; | ^~~ ckuus3.c:2628:9: warning: unused variable 'rc' [-Wunused-variable] 2628 | int rc, len; | ^~ ckuus3.c: In function 'uq_txt': ckuus3.c:2734:9: warning: unused variable 'rc' [-Wunused-variable] 2734 | int rc; | ^~ ckuus3.c: In function 'uq_mtxt': ckuus3.c:2801:12: warning: unused variable 'rc' [-Wunused-variable] 2801 | int i, rc; | ^~ ckuus3.c: At top level: ckuus3.c:3023:35: warning: missing braces around initializer [-Wmissing-braces] 3023 | static struct keytab uchmodsw[] = { | ^ 3024 | "/directories", CHM_DIR, 0, | { } 3025 | "/dotfiles", CHM_DOT, 0, | { } 3026 | "/files", CHM_FIL, 0, | { } 3027 | "/list", CHM_LIS, 0, | { } 3028 | "/nolist", CHM_NOL, 0, | { } 3029 | "/nopage", CHM_NOP, 0, | { } 3030 | "/page", CHM_PAG, 0, | { } 3031 | "/quiet", CHM_QUI, CM_INV, | { } 3032 | "/recursive", CHM_REC, 0, | { } 3033 | "/simulate", CHM_SIM, 0, | { } 3034 | "/type", CHM_TYP, CM_ARG, | { } 3035 | "/verbose", CHM_VRB, CM_INV, | { 3036 | }; | } ckuus3.c: In function 'douchmod': ckuus3.c:3041:38: warning: unused variable 'diractive' [-Wunused-variable] 3041 | extern int recursive, nscanfile, diractive; | ^~~~~~~~~ ckuus3.c: At top level: ckuus3.c:3274:27: warning: missing braces around initializer [-Wmissing-braces] 3274 | struct keytab sexptab[] = { | ^ 3275 | "depth-limit", 1, 0, | { } 3276 | "echo-result", 0, 0, | { } 3277 | "truncate-all-results", 2 | { 3278 | }; | } ckuus3.c:3347:34: warning: missing braces around initializer [-Wmissing-braces] 3347 | static struct keytab sexpops[] = { /* Built-in operators */ | ^ 3348 | "setq", SX_SET, 0, /* Global assignment */ | { } 3349 | "+", SX_ADD, 0, /* Simple arithmetic */ | { } 3350 | "-", SX_SUB, 0, | { } 3351 | "*", SX_MUL, 0, | { } 3352 | "/", SX_DIV, SXF_TWO, | { } 3353 | "^", SX_POW, SXF_TWO, | { } 3354 | 3355 | "if", SX_IFC, SXF_TWO, /* IF */ | { } 3356 | "let", SX_LET, 0, /* Local assignment */ | { } 3357 | "not", SX_NOT, SXF_ONE, /* NOT */ | { } 3358 | "mod", SX_MOD, SXF_TWO, /* Modulus */ | { } 3359 | 3360 | "<", SX_ALT, SXF_PRE, /* Comparisons */ | { } 3361 | ">", SX_AGT, SXF_PRE, | { } 3362 | "<=", SX_ALE, SXF_PRE, | { } 3363 | "=", SX_AEQ, SXF_PRE, | { } 3364 | ">=", SX_AGE, SXF_PRE, | { } 3365 | "!=", SX_NEQ, SXF_PRE, | { } 3366 | 3367 | "++", SX_INC, SXF_ONE|SXF_TWO, /* Increment */ | { } 3368 | "--", SX_DEC, SXF_ONE|SXF_TWO, /* Decrement */ | { } 3369 | 3370 | "**", SX_POW, SXF_TWO, /* Common synonyms */ | { } 3371 | "==", SX_AEQ, SXF_PRE, | { } 3372 | "!", SX_NOT, SXF_ONE, | { } 3373 | ".", SX_EVA, 0, | { } 3374 | 3375 | "and", SX_AND, 0, /* Logical operators */ | { } 3376 | "or", SX_LOR, 0, | { } 3377 | "xor", SX_XOR, SXF_TWO, | { } 3378 | 3379 | "max", SX_MAX, SXF_ONE|SXF_TWO, /* Max and min */ | { } 3380 | "min", SX_MIN, SXF_ONE|SXF_TWO, | { } 3381 | 3382 | "%", SX_MOD, SXF_TWO, /* More synonyms */ | { } 3383 | "||", SX_LOR, 0, | { } 3384 | "&&", SX_AND, 0, | { } 3385 | 3386 | "quote", SX_QUO, SXF_ONE, | { } 3387 | "string", SX_STR, SXF_ONE, | { } 3388 | 3389 | "eval", SX_EVA, 0, /* Assorted commands */ | { } 3390 | "abs", SX_ABS, SXF_ONE, | { } 3391 | "truncate",SX_TRU, SXF_ONE|SXF_FLO, | { } 3392 | "round", SX_ROU, SXF_ONE|SXF_TWO|SXF_FLO, | { } 3393 | "ceiling", SX_CEI, SXF_ONE|SXF_FLO, | { } 3394 | "floor", SX_FLR, SXF_ONE|SXF_FLO, | { } 3395 | "float", SX_FLO, SXF_ONE|SXF_FLO, | { } ...... 3398 | "sqrt", SX_SQR, SXF_ONE|SXF_FLO, /* Floating point functions */ | { } 3399 | "exp", SX_EXP, SXF_ONE|SXF_FLO, | { } 3400 | "sin", SX_SIN, SXF_ONE|SXF_FLO, | { } 3401 | "cos", SX_COS, SXF_ONE|SXF_FLO, | { } 3402 | "tan", SX_TAN, SXF_ONE|SXF_FLO, | { } 3403 | "log", SX_LGN, SXF_ONE|SXF_FLO, | { } 3404 | "log10", SX_LGX, SXF_ONE|SXF_FLO, | { } ...... 3407 | "#", SX_BWX, SXF_TWO, /* Bitwise operators */ | { } 3408 | "&", SX_BWA, 0, | { } 3409 | "|", SX_BWO, 0, | { } 3410 | "~", SX_BWN, SXF_ONE, | { } 3411 | "", 0, 0 /* (end) */ | { 3412 | }; | } ckuus3.c:3415:37: warning: missing braces around initializer [-Wmissing-braces] 3415 | static struct keytab sexpconsts[] = { /* Built-in constants */ | ^ 3416 | "nil", SXC_NIL, 0, /* NIL (false) */ | { } 3417 | "pi", SXC_PI, 0, /* Pi (3.1415926...) */ | { } 3418 | "t", SXC_T, 0, /* T (true) */ | { } 3419 | "", 0, 0 | { 3420 | }; | } ckuus3.c: In function 'dosexp': ckuus3.c:3857:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 3857 | float r; | ^ ckuus3.c: In function 'dologend': ckuus3.c:4731:13: warning: unused variable 'x' [-Wunused-variable] 4731 | int x = locus; | ^ ckuus3.c: In function 'shomodem': ckuus3.c:6066:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6066 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6069:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6069 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6072:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6072 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6079:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6079 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6082:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6082 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6085:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6085 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6088:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6088 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6091:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6091 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6094:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6094 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6098:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6098 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6101:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6101 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6104:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6104 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6107:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6107 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6110:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6110 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6114:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6114 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6117:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6117 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6120:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6120 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6123:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6123 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6126:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6126 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6130:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6130 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6134:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6134 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c:6138:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6138 | if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0; | ^ ckuus3.c: At top level: ckuus3.c:6736:26: warning: missing braces around initializer [-Wmissing-braces] 6736 | struct keytab protos[] = { | ^ 6737 | #ifdef CK_XYZ 6738 | "g", PROTO_G, CM_INV, | { } 6739 | #endif /* CK_XYZ */ 6740 | "kermit", PROTO_K, 0, | { } 6741 | #ifdef CK_XYZ 6742 | "other", PROTO_O, 0, | { } 6743 | "x", PROTO_X, CM_INV|CM_ABR, | { } 6744 | "xmodem", PROTO_X, 0, | { } 6745 | "xmodem-crc", PROTO_XC, 0, | { } 6746 | "y", PROTO_Y, CM_INV|CM_ABR, | { } 6747 | "ymodem", PROTO_Y, 0, | { } 6748 | "ymodem-g", PROTO_G, 0, | { } 6749 | "zmodem", PROTO_Z, 0 | { 6750 | #endif /* CK_XYZ */ 6751 | }; | } ckuus3.c: In function 'dosetssh': ckuus3.c:8097:19: warning: unused variable 'z' [-Wunused-variable] 8097 | int cx, x, y, z; | ^ ckuus3.c:8097:16: warning: unused variable 'y' [-Wunused-variable] 8097 | int cx, x, y, z; | ^ ckuus3.c: In function 'doprm': ckuus3.c:9813:18: warning: unused variable 'n' [-Wunused-variable] 9813 | int c, n; /* Workers */ | ^ ckuus3.c:13165:22: warning: unused variable 'cmask' [-Wunused-variable] 13165 | extern int cmask; | ^~~~~ ckuus3.c:8895:22: warning: unused variable 'p' [-Wunused-variable] 8895 | char *s = NULL, *p = NULL; | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus5.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuus5.c: In function 'doinit': ckuus5.c:1390:12: warning: unused variable 'ckrooterr' [-Wunused-variable] 1390 | extern int ckrooterr; | ^~~~~~~~~ ckuus5.c: In function 'vardef': ckuus5.c:3368:31: warning: array subscript has type 'char' [-Wchar-subscripts] 3368 | return(g_var[c]); /* if no macro is active */ | ^ ckuus5.c:3373:29: warning: array subscript has type 'char' [-Wchar-subscripts] 3373 | return(g_var[c]); /* Letter for global variable */ | ^ ckuus5.c: In function 'dooutput': ckuus5.c:3496:16: warning: variable 'y' set but not used [-Wunused-but-set-variable] 3496 | int x, xx, y, quote; /* Workers */ | ^ ckuus5.c: In function 'addmac': ckuus5.c:4286:22: warning: array subscript has type 'char' [-Wchar-subscripts] 4286 | g_var[c] = p; /* No, it's top level one */ | ^ ckuus5.c:4295:18: warning: array subscript has type 'char' [-Wchar-subscripts] 4295 | g_var[c] = p; /* Put pointer in global-var table */ | ^ ckuus5.c:4219:26: warning: unused variable 's' [-Wunused-variable] 4219 | char * p = NULL, c, *s; | ^ ckuus5.c: In function 'delmac': ckuus5.c:4514:34: warning: array subscript has type 'char' [-Wchar-subscripts] 4514 | if (p) if (p != g_var[c]) { | ^ ckuus5.c:4518:22: warning: array subscript has type 'char' [-Wchar-subscripts] 4518 | p = g_var[c]; | ^ ckuus5.c:4519:18: warning: array subscript has type 'char' [-Wchar-subscripts] 4519 | g_var[c] = NULL; /* Zero the table entry */ | ^ ckuus5.c:4522:34: warning: array subscript has type 'char' [-Wchar-subscripts] 4522 | if (p) if (p != g_var[c]) { | ^ ckuus5.c:4530:22: warning: array subscript has type 'char' [-Wchar-subscripts] 4530 | p = g_var[c]; /* Get pointer from global-var table */ | ^ ckuus5.c:4531:18: warning: array subscript has type 'char' [-Wchar-subscripts] 4531 | g_var[c] = NULL; /* Zero the table entry */ | ^ ckuus5.c: In function 'shotrm': ckuus5.c:5636:30: warning: unused variable 'tt_idleact' [-Wunused-variable] 5636 | extern int tt_idlelimit, tt_idleact; | ^~~~~~~~~~ ckuus5.c:5635:16: warning: unused variable 'tt_idlesnd_tmo' [-Wunused-variable] 5635 | extern int tt_idlesnd_tmo; | ^~~~~~~~~~~~~~ ckuus5.c:5634:19: warning: unused variable 'tt_idlesnd_str' [-Wunused-variable] 5634 | extern char * tt_idlesnd_str; | ^~~~~~~~~~~~~~ ckuus5.c: In function 'doshow': ckuus5.c:7904:18: warning: unused variable 'myhome' [-Wunused-variable] 7904 | extern char * myhome; | ^~~~~~ ckuus5.c:6432:12: warning: unused variable 'z' [-Wunused-variable] 6432 | int y, z, i; long zz; | ^ ckuus5.c: In function 'dclarray': ckuus5.c:8577:19: warning: array subscript has type 'char' [-Wchar-subscripts] 8577 | if ((p = a_ptr[a]) != NULL) { /* Delete old array of same name */ | ^ ckuus5.c:8578:19: warning: array subscript has type 'char' [-Wchar-subscripts] 8578 | if (a_link[a] > -1) { /* Is it a link? */ | ^ ckuus5.c:8580:22: warning: array subscript has type 'char' [-Wchar-subscripts] 8580 | a_ptr[a] = (char **) NULL; /* clear all the info. */ | ^ ckuus5.c:8581:22: warning: array subscript has type 'char' [-Wchar-subscripts] 8581 | a_dim[a] = 0; | ^ ckuus5.c:8582:23: warning: array subscript has type 'char' [-Wchar-subscripts] 8582 | a_link[a] = -1; | ^ ckuus5.c:8585:23: warning: array subscript has type 'char' [-Wchar-subscripts] 8585 | a = a_link[a]; /* Switch to linked-to array */ | ^ ckuus5.c:8587:19: warning: array subscript has type 'char' [-Wchar-subscripts] 8587 | n2 = a_dim[a]; /* Real array */ | ^ ckuus5.c:8594:27: warning: array subscript has type 'char' [-Wchar-subscripts] 8594 | free((char *)a_ptr[a]); /* Then the element list */ | ^ ckuus5.c:8604:14: warning: array subscript has type 'char' [-Wchar-subscripts] 8604 | a_ptr[a] = (char **) NULL; /* Remove pointer to element list */ | ^ ckuus5.c:8605:14: warning: array subscript has type 'char' [-Wchar-subscripts] 8605 | a_dim[a] = 0; /* Set dimension at zero. */ | ^ ckuus5.c:8606:15: warning: array subscript has type 'char' [-Wchar-subscripts] 8606 | a_link[a] = -1; /* Unset link word */ | ^ ckuus5.c:8612:10: warning: array subscript has type 'char' [-Wchar-subscripts] 8612 | a_ptr[a] = p; /* Save pointer to member list */ | ^ ckuus5.c:8613:10: warning: array subscript has type 'char' [-Wchar-subscripts] 8613 | a_dim[a] = n; /* Save dimension */ | ^ ckuus5.c:8563:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] 8563 | char c, **p; int i, n2, rc; | ^ ckuus5.c: In function 'boundspair': ckuus5.c:8705:12: warning: unused variable 'x' [-Wunused-variable] 8705 | int i, x, y, range[2], bc = 0; | ^ ckuus5.c: In function 'arraybounds': ckuus5.c:8806:12: warning: unused variable 'tmp' [-Wunused-variable] 8806 | char * tmp = NULL; | ^~~ ckuus5.c:8805:31: warning: unused variable 'q' [-Wunused-variable] 8805 | char zz, buf[256], * p, * q; | ^ ckuus5.c:8805:26: warning: unused variable 'p' [-Wunused-variable] 8805 | char zz, buf[256], * p, * q; | ^ ckuus5.c:8805:14: warning: unused variable 'buf' [-Wunused-variable] 8805 | char zz, buf[256], * p, * q; | ^~~ ckuus5.c:8804:18: warning: unused variable 'range' [-Wunused-variable] 8804 | int i, x, y, range[2]; | ^~~~~ ckuus5.c:8804:9: warning: unused variable 'i' [-Wunused-variable] 8804 | int i, x, y, range[2]; | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus7.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuus7.c: In function 'dopurge': ckuus7.c:3015:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3015 | if (++lines > cmd_rows - 3) | ^ ckuus7.c: In function 'doputenv': ckuus7.c:3830:12: warning: unused variable 's' [-Wunused-variable] 3830 | char * s, * t = tmpbuf; /* Create or alter environment var */ | ^ ckuus7.c: In function 'getiact': ckuus7.c:3961:28: warning: unused variable 't' [-Wunused-variable] 3961 | char * p, * q, * t; | ^ ckuus7.c: In function 'setlclcharset': ckuus7.c:4012:9: warning: unused variable 'i' [-Wunused-variable] 4012 | int i; | ^ ckuus7.c: In function 'setremcharset': ckuus7.c:4027:9: warning: unused variable 'i' [-Wunused-variable] 4027 | int i; | ^ ckuus7.c: In function 'settrm': ckuus7.c:4206:9: warning: unused variable 'i' [-Wunused-variable] 4206 | int i = 0; | ^ ckuus7.c: In function 'cx_net': ckuus7.c:9659:7: warning: unused variable 'x' [-Wunused-variable] 9659 | int x; | ^ ckuus7.c:9833:3: warning: label 'xcx_net' defined but not used [-Wunused-label] 9833 | xcx_net: | ^~~~~~~ ckuus7.c:8835:40: warning: unused variable 'g_pcpt' [-Wunused-variable] 8835 | extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; | ^~~~~~ ckuus7.c:8835:32: warning: unused variable 'g_pflg' [-Wunused-variable] 8835 | extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; | ^~~~~~ ckuus7.c:8835:23: warning: unused variable 'pwcrypt' [-Wunused-variable] 8835 | extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; | ^~~~~~~ ckuus7.c:8835:16: warning: unused variable 'pwflg' [-Wunused-variable] 8835 | extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; | ^~~~~ ckuus7.c:8834:28: warning: unused variable 'g_pswd' [-Wunused-variable] 8834 | extern char pwbuf[], * g_pswd; | ^~~~~~ ckuus7.c:8834:17: warning: unused variable 'pwbuf' [-Wunused-variable] 8834 | extern char pwbuf[], * g_pswd; | ^~~~~ ckuus7.c: In function 'cx_serial': ckuus7.c:10086:9: warning: unused variable 'x' [-Wunused-variable] 10086 | int x; /* Find a safe, long buffer */ | ^ ckuus7.c:10124:3: warning: label 'xcx_serial' defined but not used [-Wunused-label] 10124 | xcx_serial: | ^~~~~~~~~~ ckuus7.c:9933:15: warning: unused variable 'x' [-Wunused-variable] 9933 | int i, n, x, y, msg; | ^ ckuus7.c:9933:12: warning: unused variable 'n' [-Wunused-variable] 9933 | int i, n, x, y, msg; | ^ ckuus7.c:9933:9: warning: unused variable 'i' [-Wunused-variable] 9933 | int i, n, x, y, msg; | ^ ckuus7.c: In function 'setlin': ckuus7.c:10224:9: warning: variable 'wild' set but not used [-Wunused-but-set-variable] 10224 | int wild = 0; /* Filespec has wildcards */ | ^~~~ ckuus7.c:10222:9: warning: variable 'haveuser' set but not used [-Wunused-but-set-variable] 10222 | int haveuser = 0; | ^~~~~~~~ ckuus7.c:10221:12: warning: unused variable 'i' [-Wunused-variable] 10221 | int c, i, haveswitch = 0; | ^ ckuus7.c:10220:9: warning: unused variable '_local' [-Wunused-variable] 10220 | int _local = -1; | ^~~~~~ ckuus7.c: In function 'z_in': ckuus7.c:11765:12: warning: unused variable 'p' [-Wunused-variable] 11765 | char * p; | ^ ckuus7.c:11763:12: warning: unused variable 'j' [-Wunused-variable] 11763 | int i, j, x; | ^ ckuus7.c: In function 'z_seek': ckuus7.c:11915:9: warning: unused variable 'i' [-Wunused-variable] 11915 | int i, x = 0, rc; | ^ ckuus7.c: In function 'z_line': ckuus7.c:11945:9: warning: unused variable 'i' [-Wunused-variable] 11945 | int i, len, x = 0; | ^ ckuus7.c: In function 'z_count': ckuus7.c:12138:9: warning: unused variable 'i' [-Wunused-variable] 12138 | int i, x; | ^ ckuus7.c: In function 'dofile': ckuus7.c:12633:24: warning: unused variable 'k' [-Wunused-variable] 12633 | int i, k, xx; | ^ ckuus7.c:12957:20: warning: unused variable 'ispat' [-Wunused-variable] 12957 | int flag = 0, ispat = 0, matchresult = 0; | ^~~~~ ckuus7.c: In function 'savkeys': ckuus7.c:13131:23: warning: unused variable 'k' [-Wunused-variable] 13131 | int savfil, i, j, k; | ^ ckuus7.c: In function 'readpass': ckuus7.c:13738:9: warning: unused variable 'x' [-Wunused-variable] 13738 | int x; | ^ ckuus7.c: In function 'sho_iks': ckuus7.c:14013:34: warning: unused variable 'cdmsgstr' [-Wunused-variable] 14013 | extern char * cdmsgfile[], * cdmsgstr, *kermrc; | ^~~~~~~~ ckuus7.c:14012:35: warning: unused variable 'iksdcf' [-Wunused-variable] 14012 | extern int srvcdmsg, success, iksdcf, noinit, arg_x; | ^~~~~~ ckuus7.c:13992:16: warning: unused variable 'ckxperms' [-Wunused-variable] 13992 | extern int ckxperms; | ^~~~~~~~ ckuus7.c: In function 'dofile': ckuus7.c:12938:19: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized] 12938 | z += pos; | ~~^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus6.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuus6.c: In function 'doask': ckuus6.c:882:9: warning: variable 'guiflg' set but not used [-Wunused-but-set-variable] 882 | int guiflg = 0; | ^~~~~~ ckuus6.c:881:9: warning: variable 'popupflg' set but not used [-Wunused-but-set-variable] 881 | int popupflg = 0; | ^~~~~~~~ ckuus6.c: In function 'xxundef': ckuus6.c:1393:24: warning: array subscript has type 'char' [-Wchar-subscripts] 1393 | p = g_var[c]; | ^ ckuus6.c:1399:24: warning: array subscript has type 'char' [-Wchar-subscripts] 1399 | p = g_var[c]; | ^ ckuus6.c: In function 'ludial': ckuus6.c:2410:25: warning: unused variable 'i' [-Wunused-variable] 2410 | int dd, n1, n2, n3, i, j, t; /* Workers */ | ^ ckuus6.c: In function 'dodial': ckuus6.c:3006:24: warning: unused variable 'p' [-Wunused-variable] 3006 | char * p; | ^ ckuus6.c:3292:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3292 | if (!success) | ^ ckuus6.c: In function 'dotype': ckuus6.c:3773:12: warning: unused variable 'c' [-Wunused-variable] 3773 | int x, c, n, i, j, k = 0; | ^ ckuus6.c: In function 'domydir': ckuus6.c:5556:13: warning: unused variable 'filename' [-Wunused-variable] 5556 | char * filename; | ^~~~~~~~ ckuus6.c:5706:17: warning: unused variable 'i' [-Wunused-variable] 5706 | int i, x, y; | ^ ckuus6.c: In function 'dodel': ckuus6.c:6800:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6800 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6809:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6809 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6820:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6820 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6830:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6830 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6840:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6840 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6847:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6847 | if (++n > cmd_rows - 3) | ^ ckuus6.c:6682:17: warning: unused variable 'i' [-Wunused-variable] 6682 | int i; | ^ ckuus6.c:6193:12: warning: unused variable 'j' [-Wunused-variable] 6193 | int i, j, k, x; | ^ ckuus6.c: In function 'docopy': ckuus6.c:8050:10: warning: unused variable 'skip' [-Wunused-variable] 8050 | int i, skip = 0; | ^~~~ ckuus6.c:7811:9: warning: unused variable 'i' [-Wunused-variable] 7811 | int i, x, listing = 0, nolist = 0, havename = 0, getval; | ^ ckuus6.c: In function 'renameone': ckuus6.c:8716:11: warning: unused variable 'c' [-Wunused-variable] 8716 | char c; | ^ ckuus6.c: In function 'dorenam': ckuus6.c:9031:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 9031 | if ((x = cmfld("Character or string to replace spaces with", | ^ ckuus6.c:8894:9: warning: unused variable 'i' [-Wunused-variable] 8894 | int i, x, z, fn, listing = 0, havename = 0, wild = 0, rc = 1, noarg = 0; | ^ ckuus6.c:8889:26: warning: unused variable 'fcsinfo' [-Wunused-variable] 8889 | extern struct csinfo fcsinfo[]; | ^~~~~~~ ckuus6.c: In function 'dogta': ckuus6.c:10415:39: warning: array subscript has type 'char' [-Wchar-subscripts] 10415 | if (maclvl == 1) p = g_var[c]; /* If at level 1 use globals 0..9 */ | ^ ckuus6.c:10384:12: warning: unused variable 'n' [-Wunused-variable] 10384 | int i, n; | ^ ckuus6.c: In function 'dogoto': ckuus6.c:10480:9: warning: unused variable 'i' [-Wunused-variable] 10480 | int i, j, x, y, z, bc; | ^ ckuus6.c: In function 'doif': ckuus6.c:11736:11: warning: unused variable 'q' [-Wunused-variable] 11736 | char *q; | ^ In file included from ckuus6.c:19: ckuus6.c: At top level: ckuus6.c:635:22: warning: 'doymdir' declared 'static' but never defined [-Wunused-function] 635 | _PROTOTYP(static int doymdir,(int)); | ^~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' 1272 | #define _PROTOTYP( func, parms ) func parms | ^~~~ ckuus6.c: In function 'dncvt': ckuus6.c:2205:16: warning: 'xx' may be used uninitialized in this function [-Wmaybe-uninitialized] 2205 | if (!xx) { | ^ In file included from ckuus6.c:19: ckcdeb.h:5129:16: warning: 'kx' may be used uninitialized in this function [-Wmaybe-uninitialized] 5129 | ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) | ^~~~~~~ ckuus6.c:2193:20: note: 'kx' was declared here 2193 | int xx,kx; /* Begin 1 Dec 2001... */ | ^~ ckuus6.c: In function 'dotype': ckuus6.c:4181:5: warning: 'oldsig' may be used uninitialized in this function [-Wmaybe-uninitialized] 4181 | signal(SIGINT,oldsig); /* Put old signal action back. */ | ^~~~~~~~~~~~~~~~~~~~~ ckuus6.c: In function 'domydir': ckuus6.c:5628:43: warning: '%02d' directive writing between 2 and 6 bytes into a region of size between 0 and 17 [-Wformat-overflow=] 5628 | "%2d-%s-%4d %02d:%02d:%02d", | ^~~~ ckuus6.c:5628:21: note: directive argument in the range [-32768, 32767] 5628 | "%2d-%s-%4d %02d:%02d:%02d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckuus6.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 39) into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ckuus6.c:19: ckuus6.c: In function 'docopy': ckcdeb.h:5129:16: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5129 | ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) | ^~~~~~~ ckuus6.c:8049:16: note: 'n2' was declared here 8049 | char * n1, * n2; | ^~ ckuus6.c:8068:8: warning: 'n1' may be used uninitialized in this function [-Wmaybe-uninitialized] 8068 | if (!strcmp(n1,n2)) { /* Same name? */ | ^~~~~~~~~~~~~ In file included from ckuus6.c:19: ckuus6.c: In function 'shorename': ckcdeb.h:1389:16: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] 1389 | #define printf ckxprintf | ^~~~~~~~~ ckuus6.c:8458:12: note: 's' was declared here 8458 | char * s; | ^ ckuus6.c: In function 'dorenam': ckuus6.c:9242:18: warning: 'line[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 9242 | if (!line[0]) | ~~~~^~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus4.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuus4.c: In function 'prescan': ckuus4.c:1826:30: warning: unused variable 'p' [-Wunused-variable] 1826 | char * p; | ^ ckuus4.c:1517:9: warning: unused variable 'z' [-Wunused-variable] 1517 | int z; | ^ ckuus4.c: In function 'xlate': ckuus4.c:3223:15: warning: unused variable 'c2' [-Wunused-variable] 3223 | int x, c, c2; /* Workers */ | ^~ ckuus4.c: In function 'shoparc': ckuus4.c:4386:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4384 | (reliable == SET_ON || (reliable == SET_AUTO && !local) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4385 | #ifdef TN_COMPORT | ~~~~~~~~~~~~~~~~~ 4386 | && !istncomport() | ^~~~~~~~~~~~~~~~~ ckuus4.c:4366:9: warning: unused variable 'i' [-Wunused-variable] 4366 | int i; char *s; | ^ ckuus4.c: In function 'shotcp': ckuus4.c:4721:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4721 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:4723:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4723 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4727:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4727 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4734:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4734 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4745:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4745 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4750:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4750 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4755:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4755 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4763:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4763 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4770:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4770 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:4775:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4775 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:4778:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4778 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c: In function 'shotopt': ckuus4.c:4805:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4805 | if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:4839:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4839 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:4856:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4856 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c: In function 'shotel': ckuus4.c:4884:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4884 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:4994:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4994 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5003:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5003 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5021:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5021 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5023:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5023 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5025:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5025 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5027:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5027 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5029:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5029 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5031:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5031 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5048:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5048 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5051:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5051 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5053:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5053 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5056:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5056 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5058:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5058 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5060:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5060 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5063:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5063 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5066:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5066 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5071:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5071 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c:5077:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5077 | if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; | ^ ckuus4.c: In function 'shonet': ckuus4.c:5136:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5136 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5145:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5145 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5154:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5154 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5299:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5299 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5307:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5307 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5311:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5311 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5323:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5323 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5344:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5344 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5393:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5393 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5413:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5413 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5444:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5444 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5446:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5446 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5451:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5451 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5125:9: warning: unused variable 'i' [-Wunused-variable] 5125 | int i, n = 4; | ^ ckuus4.c: In function 'doshodial': ckuus4.c:5515:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5515 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5518:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5518 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5525 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5537:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5537 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5541:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5541 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5544:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5544 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5547:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5547 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5550:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5550 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5560:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5560 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5567:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5567 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5577:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5577 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5580:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5580 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5583:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5583 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5586:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5586 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5589:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5589 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5592:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5592 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5595:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5595 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5604:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5604 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5614:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5614 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5624:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5624 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5631:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5631 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5640:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5640 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5643:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5643 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c:5646:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5646 | if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; | ^ ckuus4.c: In function 'shofil': ckuus4.c:5714:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5714 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5745:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5745 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5752:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5752 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5755:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5755 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5757:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5757 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5760:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5760 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5762:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5762 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5764:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5764 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5767:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5767 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5770:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5770 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5773:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5773 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5785:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5785 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5790:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5790 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5795:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5795 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5815:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5815 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5818:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5818 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5821:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5821 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5824:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5824 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5835:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5835 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5839:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5839 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5853:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5853 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5856:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5856 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5858:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5858 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5863:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5863 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5865:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5865 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5869:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5869 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5871:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5871 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:5874:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 5874 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c: In function 'showassoc': ckuus4.c:6218:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6218 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:6222:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6222 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:6224:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6224 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c:6234:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 6234 | if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; | ^ ckuus4.c: In function 'dostat': ckuus4.c:6295:23: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 6295 | if (!xferstat > 0) { | ^ ckuus4.c:6295:13: note: add parentheses around left hand side expression to silence this warning 6295 | if (!xferstat > 0) { | ^~~~~~~~~ | ( ) ckuus4.c: In function 'doinput': ckuus4.c:7007:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 7007 | int dummy = 0, skip = 0; | ^~~~~ ckuus4.c:6537:10: warning: unused variable 'ch' [-Wunused-variable] 6537 | char ch, *xp, *s; | ^~ ckuus4.c: In function 'fneval': ckuus4.c:8042:28: warning: array subscript has type 'char' [-Wchar-subscripts] 8042 | p = g_var[c]; /* if no macro is active */ | ^ ckuus4.c:8068:26: warning: array subscript has type 'char' [-Wchar-subscripts] 8068 | p = g_var[c]; /* Letter for global variable */ | ^ ckuus4.c:10604:16: warning: unused variable 'j' [-Wunused-variable] 10604 | int i, j, places = 0; | ^ ckuus4.c:11388:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11388 | while (c = *s++) { /* Loop thru arg chars */ | ^ ckuus4.c:11577:16: warning: unused variable 'd1' [-Wunused-variable] 11577 | char * d1, * dp; | ^~ ckuus4.c:11711:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 11711 | while (k >= 0 && s[k] == CR || s[k] == LF) ckuus4.c:11713:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 11713 | while (k >= 0 && s[k] == SP || s[k] == HT) ckuus4.c:11701:6: warning: unused variable 'pc' [-Wunused-variable] 11701 | int pc = 0; /* For nested comments */ | ^~ ckuus4.c:11700:31: warning: unused variable 'infield' [-Wunused-variable] 11700 | int k, state = 0, quote = 0, infield = 0; | ^~~~~~~ ckuus4.c:11700:20: warning: unused variable 'quote' [-Wunused-variable] 11700 | int k, state = 0, quote = 0, infield = 0; | ^~~~~ ckuus4.c:11700:9: warning: unused variable 'state' [-Wunused-variable] 11700 | int k, state = 0, quote = 0, infield = 0; | ^~~~~ ckuus4.c:11699:14: warning: unused variable 'c' [-Wunused-variable] 11699 | char c, * s = bp[0], * s2, * s3, * ap = ""; | ^ ckuus4.c:11846:15: warning: unused variable 'i' [-Wunused-variable] 11846 | unsigned int i, j, k; | ^ ckuus4.c:12026:6: warning: unused variable 't' [-Wunused-variable] 12026 | int t, n; | ^ ckuus4.c:12086:20: warning: unused variable 's2' [-Wunused-variable] 12086 | char *s1, *s2; | ^~ ckuus4.c: In function 'nvlook': ckuus4.c:13747:18: warning: unused variable 's' [-Wunused-variable] 13747 | char * s = unm_mod; | ^ ckuus4.c:13746:15: warning: unused variable 'y' [-Wunused-variable] 13746 | int y = VVBUFL - 1; | ^ ckuus4.c: In function 'zzstring': ckuus4.c:14552:29: warning: array subscript has type 'char' [-Wchar-subscripts] 14552 | vp = g_var[vb]; /* if no macro is active */ | ^ ckuus4.c:14573:27: warning: array subscript has type 'char' [-Wchar-subscripts] 14573 | vp = g_var[vb]; /* Letter for global variable */ | ^ ckuus4.c: In function 'doinput': ckuus4.c:6685:42: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 9 [-Wformat-overflow=] 6685 | sprintf(xbuf,"doinput string %2d",y); /* SAFE (24) */ | ^~~ ckuus4.c:6685:26: note: directive argument in the range [0, 2147483647] 6685 | sprintf(xbuf,"doinput string %2d",y); /* SAFE (24) */ | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from ckcdeb.h:668, from ckuus4.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 26 bytes into a destination of size 24 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ckcdeb.h:5881, from ckuus4.c:22: In function 'strncpy', inlined from 'fneval' at ckuus4.c:8978:29, inlined from 'zzstring' at ckuus4.c:14777:18: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus4.c: In function 'zzstring': ckuus4.c:8970:26: note: length computed here 8970 | k = (int)strlen(bp[0]); /* Length of string to be padded */ | ^~~~~~~~~~~~~ ckuus4.c:11336:20: warning: 'seplen' may be used uninitialized in this function [-Wmaybe-uninitialized] 11336 | if (z < seplen) | ^ ckuus4.c:11175:51: note: 'seplen' was declared here 11175 | int i, x, y, z, flag, flag2, hi, lo, max, seplen, grouping = 0; | ^~~~~~ ckuus4.c:14592:13: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] 14592 | if (q) free(q); | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckwart.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckwart.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] 531 | main(argc,argv) int argc; char **argv; { | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusy.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuusy.c:198:26: warning: missing braces around initializer [-Wmissing-braces] 198 | struct keytab urltab[] = { | ^ 199 | #ifdef NEWFTP 200 | "ftp", URL_FTP, 0, | { } ...... 203 | "http", URL_HTTP, 0, | { } 204 | "https", URL_HTTPS, 0, | { } 205 | #endif /* NOHTTP */ 206 | "iksd", URL_IKSD, 0, | { } 207 | "kermit", URL_IKSD, 0, | { } 208 | "telnet", URL_TELNET, 0, | { } 209 | "", 0, 0 | { 210 | }; | } ckuusy.c: In function 'urlparse': ckuusy.c:250:9: warning: unused variable 'x' [-Wunused-variable] 250 | int x; | ^ ckuusy.c: In function 'cmdlin': ckuusy.c:801:13: warning: unused variable 'xx' [-Wunused-variable] 801 | int xx; | ^~ ckuusy.c: In function 'doxarg': ckuusy.c:2793:22: warning: unused variable 'nttyp' [-Wunused-variable] 2793 | extern int nttyp; | ^~~~~ ckuusy.c:2792:32: warning: unused variable 'ttyptab' [-Wunused-variable] 2792 | extern struct keytab ttyptab[]; | ^~~~~~~ At top level: ckuusy.c:637:12: warning: 'nhttpztab' defined but not used [-Wunused-variable] 637 | static int nhttpztab = sizeof(httpztab) / sizeof(struct keytab) - 1; | ^~~~~~~~~ ckuusy.c:216:13: warning: 'urlbuf' defined but not used [-Wunused-variable] 216 | static char urlbuf[URLBUFLEN]; | ^~~~~~ ckuusy.c:157:12: warning: 'have_cx' defined but not used [-Wunused-variable] 157 | static int have_cx = 0; /* Have connection */ | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusx.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuusx.c: In function 'scanfile': ckuusx.c:1562:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1562 | count > 9 && buf[8] == SP && buf[9] == '\015') { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ckuusx.c: In function 'scanstring': ckuusx.c:2003:9: warning: variable 'pctzero' set but not used [-Wunused-but-set-variable] 2003 | int pctzero = 0; /* Percentage of 0 bytes */ | ^~~~~~~ ckuusx.c:2002:9: warning: unused variable 'runzero' [-Wunused-variable] 2002 | int runzero = 0; /* Run of 0 bytes */ | ^~~~~~~ ckuusx.c:1995:9: warning: unused variable 'readsize' [-Wunused-variable] 1995 | int readsize = 0; /* How much to read */ | ^~~~~~~~ ckuusx.c:1987:9: warning: unused variable 'pv' [-Wunused-variable] 1987 | int pv = -1; /* Pattern-match value */ | ^~ ckuusx.c:1985:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] 1985 | int x, val = -1, count = 0; /* Workers */ | ^ ckuusx.c: In function 'ckhost': ckuusx.c:2840:9: warning: unused variable 'havefull' [-Wunused-variable] 2840 | int havefull = 0; | ^~~~~~~~ ckuusx.c: In function 'chkint': ckuusx.c:3804:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3804 | if (what & W_SEND) | ^ ckuusx.c: In function 'ckscreen': ckuusx.c:4441:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4441 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~ ckuusx.c:4441:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4441 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~~~~ ckuusx.c:4442:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4442 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~ ckuusx.c:4442:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4442 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~~~~ ckuusx.c:4471:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4471 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~ ckuusx.c:4471:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4471 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~~~~ ckuusx.c:4472:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4472 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~ ckuusx.c:4472:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4472 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~~~~ ckuusx.c:4516:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4516 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~ ckuusx.c:4516:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4516 | if (*abuf) conol(" => "); conol(abuf); /* Names */ | ^~~~~ ckuusx.c:4517:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4517 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~ ckuusx.c:4517:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4517 | if (*a2buf) conol(" => "); conol(a2buf); /* Names */ | ^~~~~ ckuusx.c: In function 'dodebug': ckuusx.c:5378:15: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 5378 | int x, flag = 0; | ^~~~ ckuusx.c: In function 'fxdinit': ckuusx.c:5980:17: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 5980 | x = tgetent(trmbuf,s); | ^~~~~~~ | getenv ckuusx.c:5919:12: warning: unused variable 'dummy' [-Wunused-variable] 5919 | int x, dummy; | ^~~~~ ckuusx.c: In function 'ck_termset': ckuusx.c:6481:13: warning: implicit declaration of function 'tgetstr'; did you mean 'tigetstr'? [-Wimplicit-function-declaration] 6481 | if (tgetstr("cl", &bp)) { /* Get clear-screen code */ | ^~~~~~~ | tigetstr ckuusx.c: In function 'ck_curpos': ckuusx.c:6560:9: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 6560 | tputs( | ^~~~~ | puts ckuusx.c:6564:15: warning: implicit declaration of function 'tgoto'; did you mean 'dogoto'? [-Wimplicit-function-declaration] 6564 | tgoto(cur_cm,col-1,row-1),1,fn); | ^~~~~ | dogoto ckuusx.c: In function 'screenc': ckuusx.c:7103:10: warning: variable 'cps' set but not used [-Wunused-but-set-variable] 7103 | long cps = 0L; | ^~~ ckuusx.c: In function 'getslot': ckuusx.c:9502:24: warning: unused variable 's' [-Wunused-variable] 9502 | char pidbuf[64], * s; | ^ ckuusx.c:9530:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 9530 | write(lockfd,idstring,(int)strlen(idstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuusx.c:9624:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 9624 | ftruncate(fileno(dbfp),(CK_OFF_T)i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ckcdeb.h:5881, from ckuusx.c:26: In function 'strncpy', inlined from 'initslot' at ckuusx.c:9394:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'initslot' at ckuusx.c:9397:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'initslot' at ckuusx.c:9400:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'initslot' at ckuusx.c:9402:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfn2.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcfn2.c: In function 'chkspkt': ckcfn2.c:2661:9: warning: unused variable 'i' [-Wunused-variable] 2661 | int i; | ^ ckcfn2.c: In function 'rpack': ckcfn2.c:2873:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2873 | if (nakstate) /* j == -1 is a read timeout */ | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfn3.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcfn3.c: In function 'dofast': ckcfn3.c:346:30: warning: unused variable 'spmax' [-Wunused-variable] 346 | rpsiz, urpsiz, spsizr, spmax, wslotr; | ^~~~~ ckcfn3.c:346:22: warning: unused variable 'spsizr' [-Wunused-variable] 346 | rpsiz, urpsiz, spsizr, spmax, wslotr; | ^~~~~~ ckcfn3.c:345:16: warning: unused variable 'spsizf' [-Wunused-variable] 345 | extern int spsizf, /* For bug in IRIX Telnet server */ | ^~~~~~ ckcfn3.c: In function 'getreason': ckcfn3.c:1365:10: warning: array subscript has type 'char' [-Wchar-subscripts] 1365 | reason[c] : | ^ ckcfn3.c: In function 'gattr': ckcfn3.c:1477:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1477 | while (c = *s++) { /* Get attribute tag */ | ^ ckcfn3.c: In function 'opena': ckcfn3.c:2117:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2117 | if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ | ^ ckcfn3.c:2173:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2173 | if (*rf_err) | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuxla.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckuxla.c:159:27: warning: missing braces around initializer [-Wmissing-braces] 159 | struct csinfo tcsinfo[] = { | ^ 160 | /* Name size code designator alphabet keyword */ 161 | "TRANSPARENT", 256,TC_TRANSP, "", AL_UNK, "transparent", /* 0 */ | { } 162 | "ASCII", 128,TC_USASCII,"", AL_ROMAN,"ascii", /* 1 */ | { } 163 | "ISO 8859-1 Latin-1",256,TC_1LATIN, "I6/100",AL_ROMAN,"latin1-iso", /* 2 */ | { } 164 | #ifdef LATIN2 165 | "ISO 8859-2 Latin-2",256,TC_2LATIN, "I6/101",AL_ROMAN,"latin2-iso", /* 3 */ | { } ...... 169 | "ISO 8859-5 Latin/Cyrillic",256,TC_CYRILL,"I6/144",AL_CYRIL,"cyrillic-iso", | { } ...... 172 | "Japanese EUC",16384,TC_JEUC, "I14/87/13", AL_JAPAN, "euc-jp", /* 5 */ | { } ...... 176 | "ISO 8859-8 Latin/Hebrew",256,TC_HEBREW,"I6/138",AL_HEBREW,"hebrew-iso", | { } ...... 179 | "ISO 8859-7 Latin/Greek",256,TC_GREEK,"I6/126",AL_GREEK,"greek-iso", /* 7 */ | { } 180 | #endif /* GREEK */ 181 | "ISO 8859-15 Latin-9",256,TC_9LATIN,"I6/203",AL_ROMAN,"latin9-iso", /* 8 */ | { } 182 | "ISO 10646 / Unicode UCS-2",64000,TC_UCS2,"I162",AL_UNIV,"ucs2", /* 9 */ | { } 183 | "ISO 10646 / Unicode UTF-8",64000,TC_UTF8,"I190",AL_UNIV,"utf8", /* 10 */ | { } 184 | "",0,0,"",0,"" | { 185 | }; | } ckuxla.c:188:26: warning: missing braces around initializer [-Wmissing-braces] 188 | struct keytab tcstab[] = { /* Keyword table for */ | ^ 189 | "ascii", TC_USASCII, 0, /* SET TRANSFER CHARACTER-SET */ | { } 190 | #ifdef CYRILLIC 191 | "cyrillic-iso", TC_CYRILL, 0, | { } ...... 194 | "elot928-greek", TC_GREEK, CM_INV, | { } ...... 197 | "euc-jp", TC_JEUC, 0, | { } ...... 200 | "greek-iso", TC_GREEK, 0, | { } ...... 203 | "hebrew-iso", TC_HEBREW, 0, | { } ...... 207 | "iso-10646-ucs-2", TC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ | { } 208 | #endif /* UNICODE */ 209 | "iso-8859-1", TC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ | { } 210 | "iso-8859-15", TC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ | { } 211 | "iso-8859-2", TC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ | { } 212 | #ifdef CYRILLIC 213 | "iso-8859-5", TC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ | { } ...... 216 | "iso-8859-7", TC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ | { } ...... 219 | "iso-8859-8", TC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ | { } ...... 223 | "japanese-euc", TC_JEUC, CM_INV, | { } 224 | #endif /* KANJI */ 225 | "l", TC_1LATIN, CM_ABR|CM_INV, | { } 226 | "la", TC_1LATIN, CM_ABR|CM_INV, | { } 227 | "lat", TC_1LATIN, CM_ABR|CM_INV, | { } 228 | "lati", TC_1LATIN, CM_ABR|CM_INV, | { } 229 | "latin", TC_1LATIN, CM_ABR|CM_INV, | { } 230 | "latin1-iso", TC_1LATIN, 0, | { } 231 | #ifdef LATIN2 232 | "latin2-iso", TC_2LATIN, 0, | { } 233 | #endif /* LATIN2 */ 234 | "latin9-iso", TC_9LATIN, 0, | { } 235 | "transparent", TC_TRANSP, 0, | { } 236 | #ifdef UNICODE 237 | "ucs2", TC_UCS2, 0, | { } 238 | #endif /* UNICODE */ 239 | "us-ascii", TC_USASCII, CM_INV, | { } 240 | "usascii", TC_USASCII, CM_INV, | { } 241 | #ifdef UNICODE 242 | "utf-8", TC_UTF8, CM_INV, | { } 243 | "utf8", TC_UTF8, 0, | { } 244 | #endif /* UNICODE */ 245 | "", 0, 0 | { 246 | }; | } ckuxla.c:253:27: warning: missing braces around initializer [-Wmissing-braces] 253 | struct csinfo fcsinfo[] = { /* File character set information... */ | ^ 254 | /* Descriptive Name Size Designator */ 255 | "US ASCII", 128, FC_USASCII, NULL, AL_ROMAN, "ascii", | { } 256 | "British/UK ISO-646", 128, FC_UKASCII, NULL, AL_ROMAN, "british", | { } 257 | "Dutch ISO-646", 128, FC_DUASCII, NULL, AL_ROMAN, "dutch", | { } 258 | "Finnish ISO-646", 128, FC_FIASCII, NULL, AL_ROMAN, "finnish", | { } 259 | "French ISO-646", 128, FC_FRASCII, NULL, AL_ROMAN, "french", | { } 260 | "Canadian-French NRC", 128, FC_FCASCII, NULL, AL_ROMAN, "canadian-french", | { } 261 | "German ISO-646", 128, FC_GEASCII, NULL, AL_ROMAN, "german", | { } 262 | "Hungarian ISO-646", 128, FC_HUASCII, NULL, AL_ROMAN, "hungarian", | { } 263 | "Italian ISO-646", 128, FC_ITASCII, NULL, AL_ROMAN, "italian", | { } 264 | "Norwegian/Danish ISO-646",128,FC_NOASCII,NULL,AL_ROMAN,"norwegian/danish", | { } 265 | "Portuguese ISO-646", 128, FC_POASCII, NULL, AL_ROMAN,"portuguese", | { } 266 | "Spanish ISO-646", 128, FC_SPASCII, NULL, AL_ROMAN, "spanish", | { } 267 | "Swedish ISO-646", 128, FC_SWASCII, NULL, AL_ROMAN, "swedish", | { } 268 | "Swiss NRC", 128, FC_CHASCII, NULL, AL_ROMAN, "swiss", | { } 269 | "ISO 8859-1 Latin-1", 256, FC_1LATIN, NULL, AL_ROMAN,"latin1-iso", | { } 270 | "ISO 8859-2 Latin-2", 256, FC_2LATIN, NULL, AL_ROMAN,"latin2-iso", | { } 271 | "DEC Multinational", 256, FC_DECMCS, NULL,AL_ROMAN,"dec-multinational", | { } 272 | "NeXT Multinational", 256, FC_NEXT, NULL,AL_ROMAN,"next-multinational", | { } 273 | "PC Code Page 437", 256, FC_CP437, NULL, AL_ROMAN,"cp437", | { } 274 | "PC Code Page 850", 256, FC_CP850, NULL, AL_ROMAN,"cp850", | { } 275 | "PC Code Page 852", 256, FC_CP852, NULL, AL_ROMAN,"cp852", | { } 276 | "Apple Macintosh Latin", 256, FC_APPQD, NULL, AL_ROMAN,"macintosh-latin", | { } 277 | "Data General International",256,FC_DGMCS,NULL,AL_ROMAN,"dg-international", | { } 278 | "Hewlett Packard Roman8", 256, FC_HPR8, NULL, AL_ROMAN, "hp-roman8", | { } 279 | "ISO 8859-5 Latin/Cyrillic", 256, FC_CYRILL, NULL, AL_CYRIL,"cyrillic-iso", | { } 280 | "CP866 Cyrillic", 256, FC_CP866, NULL, AL_CYRIL,"cp866", | { } 281 | "Short KOI", 128, FC_KOI7, NULL, AL_CYRIL,"short-koi", | { } 282 | "Old KOI-8 Cyrillic", 256, FC_KOI8, NULL, AL_CYRIL,"koi8-cyrillic", | { } 283 | "Japanese JIS7", 16384, FC_JIS7, NULL, AL_JAPAN, "jis7-kanji", | { } 284 | "Japanese Shift JIS", 16384, FC_SHJIS, NULL, AL_JAPAN, "shift-jis-kanji", | { } 285 | "Japanese EUC", 16384, FC_JEUC, NULL, AL_JAPAN, "euc-jp", | { } 286 | "Japanese DEC Kanji", 16384, FC_JDEC, NULL, AL_JAPAN, "dec-kanji", | { } 287 | "Hebrew-7 DEC", 128, FC_HE7, NULL, AL_HEBREW, "hebrew-7", | { } 288 | "ISO 8859-8 Latin/Hebrew",256, FC_HEBREW, NULL, AL_HEBREW, "hebrew-iso", | { } 289 | "CP862 Hebrew", 256, FC_CP862, NULL, AL_HEBREW, "cp862-hebrew", | { } 290 | "ELOT 927 Greek", 128, FC_ELOT, NULL, AL_GREEK, "elot927-greek", | { } 291 | "ISO 8859-7 Latin/Greek", 256, FC_GREEK, NULL, AL_GREEK, "greek-iso", | { } 292 | "CP869 Greek", 256, FC_CP869, NULL, AL_GREEK, "cp869-greek", | { } 293 | "ISO 8859-15 Latin-9", 256, FC_9LATIN, NULL, AL_ROMAN, "latin9-iso", | { } 294 | "PC Code Page 858", 256, FC_CP850, NULL, AL_ROMAN, "cp858", | { } 295 | "PC Code Page 855", 256, FC_CP855, NULL, AL_CYRIL, "cp855-cyrillic", | { } 296 | "Windows Code Page 1251", 256, FC_CP1251, NULL, AL_CYRIL, "cp1251-cyrillic", | { } 297 | "Bulgarian PC Code Page", 256, FC_BULGAR, NULL, AL_CYRIL, "bulgaria-pc", | { } 298 | "Windows Code Page 1250", 256, FC_CP1250, NULL, AL_ROMAN, "cp1250", | { } 299 | "Polish Mazovia PC Code Page", 256, FC_MAZOVIA, NULL, AL_ROMAN, "mazovia-pc", | { } 300 | "ISO 10646 / Unicode UCS-2", 64000, FC_UCS2, NULL, AL_UNIV, "ucs2", | { } 301 | "ISO 10646 / Unicode UTF-8", 64000, FC_UCS2, NULL, AL_UNIV, "utf8", | { } 302 | "KOI8-R Russian+Boxdrawing",256, FC_KOI8R, NULL, AL_CYRIL,"koi8r", | { } 303 | "KOI8-U Ukrainian+Boxdrawing",256,FC_KOI8U, NULL, AL_CYRIL,"koi8u", | { } 304 | "Windows Code Page 1252", 256, FC_CP1252, NULL, AL_ROMAN, "cp1252", | { } 305 | "",0,0,NULL,0,NULL | { 306 | }; | } ckuxla.c:315:26: warning: missing braces around initializer [-Wmissing-braces] 315 | struct keytab fcstab[] = { /* Keyword table for 'set file character-set' */ | ^ ...... 324 | "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ | { } 325 | "ascii", FC_USASCII, 0, /* ASCII */ | { } 326 | "british", FC_UKASCII, 0, /* British NRC */ | { } 327 | "bulgaria-pc", FC_BULGAR, 0, /* Bulgarian PC Code Page */ | { } 328 | "canadian-french", FC_FCASCII, 0, /* French Canadian NRC */ | { } 329 | #ifdef LATIN2 330 | "cp1250", FC_CP1250, 0, /* Windows CP 1250 */ | { } ...... 333 | "cp1251-cyrillic", FC_CP1251, 0, /* Windows CP 1251 */ | { } 334 | #endif /* CYRILLIC */ 335 | "cp1252", FC_CP1252, 0, /* Windows CP 1252 */ | { } 336 | "cp437", FC_CP437, 0, /* PC CP437 */ | { } 337 | "cp850", FC_CP850, 0, /* PC CP850 */ | { } 338 | #ifdef LATIN2 339 | "cp852", FC_CP852, 0, /* PC CP852 */ | { } ...... 342 | "cp855-cyrillic", FC_CP855, 0, /* PC CP855 */ | { } 343 | #endif /* CYRILLIC */ 344 | "cp858", FC_CP858, 0, /* PC CP858 */ | { } 345 | #ifdef HEBREW 346 | "cp862-hebrew", FC_CP862, 0, /* PC CP862 */ | { } ...... 349 | "cp866-cyrillic", FC_CP866, 0, /* CP866 Cyrillic */ | { } ...... 352 | "cp869-greek", FC_CP869, 0, /* CP869 Greek */ | { } ...... 355 | "cyrillic-iso", FC_CYRILL, 0, /* ISO Latin/Cyrillic Alphabet */ | { } 356 | #endif /* CYRILLIC */ 357 | "danish", FC_NOASCII, 0, /* Norwegian and Danish NRC */ | { } 358 | #ifdef KANJI 359 | "dec-kanji", FC_JDEC, 0, /* Japanese DEC Kanji */ | { } 360 | #endif /* KANJI */ 361 | "dec-mcs", FC_DECMCS, CM_INV, /* DEC multinational char set */ | { } 362 | "dec-multinational", FC_DECMCS, 0, /* DEC multinational character set */ | { } 363 | "dg-international", FC_DGMCS, 0, /* Data General multinational */ | { } 364 | "dutch", FC_DUASCII, 0, /* Dutch NRC */ | { } 365 | #ifdef GREEK 366 | "elot927-greek", FC_ELOT, 0, /* ELOT 927 Greek */ | { } 367 | "elot928-greek", FC_GREEK, 0, /* Same as ISO 8859-7 Latin/Greek */ | { } ...... 370 | "euc-jp", FC_JEUC, 0, /* Japanese EUC */ | { } 371 | #endif /* KANJI */ 372 | "finnish", FC_FIASCII, 0, /* Finnish NRC */ | { } 373 | "french", FC_FRASCII, 0, /* French NRC */ | { } 374 | "fr-canadian", FC_FCASCII, CM_INV, /* French Canadian NRC */ | { } 375 | "german", FC_GEASCII, 0, /* German NRC */ | { } 376 | #ifdef GREEK 377 | "greek-iso", FC_GREEK, 0, /* ISO 8859-7 Latin/Greek */ | { } ...... 380 | "he", FC_HEBREW, CM_ABR|CM_INV, | { } 381 | "heb", FC_HEBREW, CM_ABR|CM_INV, | { } 382 | "hebr", FC_HEBREW, CM_ABR|CM_INV, | { } 383 | "hebre", FC_HEBREW, CM_ABR|CM_INV, | { } 384 | "hebrew", FC_HEBREW, CM_ABR|CM_INV, | { } 385 | "hebrew-7", FC_HE7, 0, /* DEC 7-Bit Hebrew */ | { } 386 | "hebrew-iso", FC_HEBREW, 0, /* ISO Latin/Hebrew */ | { } 387 | #endif /* HEBREW */ 388 | "hp-roman8", FC_HPR8, 0, /* Hewlett Packard Roman8 */ | { } 389 | "hungarian", FC_HUASCII, 0, /* Hungarian NRC */ | { } 390 | 391 | "ibm437", FC_CP437, CM_INV, /* PC CP437 */ | { } 392 | "ibm850", FC_CP850, CM_INV, /* PC CP850 (not in MIME) */ | { } 393 | #ifdef LATIN2 394 | "ibm852", FC_CP852, CM_INV, /* PC CP852 */ | { } ...... 397 | "ibm855", FC_CP855, CM_INV, /* PC CP855 */ | { } 398 | #endif /* CYRILLIC */ 399 | "ibm858", FC_CP858, CM_INV, /* PC CP858 (not in MIME) */ | { } 400 | #ifdef HEBREW 401 | "ibm862", FC_CP862, CM_INV, /* PC CP862 (not in MIME) */ | { } ...... 404 | "ibm866", FC_CP866, CM_INV, /* CP866 Cyrillic */ | { } ...... 407 | "ibm869", FC_CP869, CM_INV, /* CP869 Greek */ | { } ...... 411 | "iso-10646-ucs-2", FC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ | { } 412 | #endif /* UNICODE */ 413 | "iso-8859-1", FC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ | { } 414 | "iso-8859-15", FC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ | { } 415 | "iso-8859-2", FC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ | { } 416 | #ifdef CYRILLIC 417 | "iso-8859-5", FC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ | { } ...... 420 | "iso-8859-7", FC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ | { } ...... 423 | "iso-8859-8", FC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ | { } ...... 426 | "iso2022jp-kanji", FC_JIS7, CM_INV, /* Synonym for JIS-7 */ | { } ...... 429 | "iso646-gb", FC_UKASCII, CM_INV, /* British NRC */ | { } 430 | "iso646-ca", FC_FCASCII, CM_INV, /* French Canadian NRC */ | { } 431 | "iso646-de", FC_GEASCII, CM_INV, /* German NRC */ | { } 432 | "iso646-dk", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ | { } 433 | "iso646-es", FC_SPASCII, CM_INV, /* Spanish NRC */ | { } 434 | "iso646-fi", FC_FIASCII, CM_INV, /* Finnish NRC */ | { } 435 | "iso646-fr", FC_FRASCII, CM_INV, /* French NRC */ | { } 436 | "iso646-hu", FC_HUASCII, CM_INV, /* Hungarian NRC */ | { } 437 | "iso646-it", FC_ITASCII, CM_INV, /* Italian NRC */ | { } 438 | "iso646-no", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ | { } 439 | "iso646-po", FC_POASCII, CM_INV, /* Portuguese NRC */ | { } 440 | "iso646-se", FC_SWASCII, CM_INV, /* Swedish NRC */ | { } 441 | 442 | "italian", FC_ITASCII, CM_INV, /* Italian NRC */ | { } 443 | #ifdef KANJI 444 | "japanese-euc", FC_JEUC, CM_INV, /* Japanese EUC */ | { } 445 | "jis7-kanji", FC_JIS7, 0, /* Japanese JIS7 7bit code */ | { } ...... 448 | "k", FC_KOI8, CM_ABR|CM_INV, | { } 449 | "ko", FC_KOI8, CM_ABR|CM_INV, | { } 450 | "koi", FC_KOI8, CM_ABR|CM_INV, | { } 451 | "koi7", FC_KOI7, 0, /* Short KOI Cyrillic */ | { } 452 | "koi8", FC_KOI8, 0, /* Old KOI-8 Cyrillic */ | { } 453 | "koi8-e", FC_KOI8, CM_INV, /* Old KOI-8 Cyrillic */ | { } 454 | "koi8-cyrillic", FC_KOI8, CM_INV, | { } 455 | "koi8-r", FC_KOI8R, CM_INV, /* KOI8-R RFC1489 */ | { } 456 | "koi8-u", FC_KOI8U, CM_INV, /* KOI8-U RFC2319 */ | { } 457 | "koi8r", FC_KOI8R, 0, /* KOI8-R RFC1489 */ | { } 458 | "koi8u", FC_KOI8U, 0, /* KOI8-U RFC2319 */ | { } 459 | #endif /* CYRILLIC */ 460 | "l", FC_1LATIN, CM_ABR|CM_INV, | { } 461 | "la", FC_1LATIN, CM_ABR|CM_INV, | { } 462 | "lat", FC_1LATIN, CM_ABR|CM_INV, | { } 463 | "lati", FC_1LATIN, CM_ABR|CM_INV, | { } 464 | "latin", FC_1LATIN, CM_ABR|CM_INV, | { } 465 | "latin1-iso", FC_1LATIN, 0, /* ISO Latin Alphabet 1 */ | { } 466 | #ifdef LATIN2 467 | "latin2-iso", FC_2LATIN, 0, /* ISO Latin Alphabet 2 */ | { } 468 | #endif /* LATIN2 */ 469 | "latin9-iso", FC_9LATIN, 0, /* ISO Latin Alphabet 9 */ | { } 470 | "macintosh-latin", FC_APPQD, 0, /* "Extended Mac Latin" */ | { } 471 | #ifdef LATIN2 472 | "mazovia-pc", FC_MAZOVIA, 0, /* Polish Mazovia PC code page */ | { } 473 | #endif /* LATIN2 */ 474 | "next-multinational", FC_NEXT, 0, /* NeXT workstation */ | { } 475 | "norwegian", FC_NOASCII, 0, /* Norwegian and Danish NRC */ | { } 476 | "portuguese", FC_POASCII, 0, /* Portuguese NRC */ | { } 477 | #ifdef KANJI 478 | "shift-jis-kanji", FC_SHJIS, 0, /* Japanese Kanji Shift-JIS */ | { } 479 | "shift_jis", FC_SHJIS, CM_INV, /* Japanese Kanji Shift-JIS */ | { } ...... 482 | "short-koi", FC_KOI7, 0, /* Short KOI Cyrillic */ | { } 483 | #endif /* CYRILLIC */ 484 | "spanish", FC_SPASCII, 0, /* Spanish NRC */ | { } 485 | "swedish", FC_SWASCII, 0, /* Swedish NRC */ | { } 486 | "swiss", FC_CHASCII, 0, /* Swiss NRC */ | { } 487 | #ifdef UNICODE 488 | "ucs2", FC_UCS2, 0, /* ISO 10646 / Unicode UCS-2 */ | { } 489 | #endif /* UNICODE */ 490 | "us-ascii", FC_USASCII, CM_INV, /* MIME */ | { } 491 | "usascii", FC_USASCII, CM_INV, | { } 492 | #ifdef UNICODE 493 | "utf-8", FC_UTF8, CM_INV, /* ISO 10646 / Unicode UTF-8 */ | { } 494 | "utf8", FC_UTF8, 0, /* ISO 10646 / Unicode UTF-8 */ | { } ...... 497 | "windows-1250", FC_CP1250, CM_INV, /* Windows CP 1250 */ | { } ...... 500 | "windows-1251", FC_CP1251, CM_INV, /* Windows CP 1251 */ | { } 501 | #endif /* CYRILLIC */ 502 | "windows-1252", FC_CP1252, CM_INV, /* Windows CP 1252 */ | { } 503 | "", 0, 0 | { 504 | }; | } ckuxla.c:507:27: warning: missing braces around initializer [-Wmissing-braces] 507 | struct keytab ttcstab[] = { /* Keyword table for SET TERMINAL CHARACTER-SET */ | ^ ...... 514 | "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ | { } 515 | "ascii", FC_USASCII, 0, /* ASCII */ | { } 516 | "british", FC_UKASCII, 0, /* British NRC */ | { } 517 | "bulgaria-pc", FC_BULGAR, 0, /* Bulgarian PC Code Page */ | { } 518 | "canadian-french", FC_FCASCII, 0, /* French Canadian NRC */ | { } 519 | #ifdef LATIN2 520 | "cp1250", FC_CP1250, 0, /* Windows CP 1250 */ | { } ...... 523 | "cp1251-cyrillic", FC_CP1251, 0, /* Windows CP 1251 */ | { } 524 | #endif /* CYRILLIC */ 525 | "cp1252", FC_CP1252, 0, /* Windows CP 1252 */ | { } 526 | "cp437", FC_CP437, 0, /* PC CP437 */ | { } 527 | "cp850", FC_CP850, 0, /* PC CP850 */ | { } 528 | #ifdef LATIN2 529 | "cp852", FC_CP852, 0, /* PC CP852 */ | { } ...... 532 | "cp855-cyrillic", FC_CP855, 0, /* PC CP855 */ | { } 533 | #endif /* CYRILLIC */ 534 | "cp858", FC_CP858, 0, /* PC CP858 */ | { } 535 | #ifdef HEBREW 536 | "cp862-hebrew", FC_CP862, 0, /* PC CP862 */ | { } ...... 539 | "cp866-cyrillic", FC_CP866, 0, /* CP866 Cyrillic */ | { } ...... 542 | "cp869-greek", FC_CP869, 0, /* CP869 Greek */ | { } ...... 545 | "cyrillic-iso", FC_CYRILL, 0, /* ISO Latin/Cyrillic Alphabet */ | { } 546 | #endif /* CYRILLIC */ 547 | "danish", FC_NOASCII, 0, /* Norwegian and Danish NRC */ | { } 548 | "dec-mcs", FC_DECMCS, CM_INV, /* DEC multinational char set */ | { } 549 | "dec-multinational", FC_DECMCS, 0, /* DEC multinational character set */ | { } 550 | "dg-international", FC_DGMCS, 0, /* Data General multinational */ | { } 551 | "dutch", FC_DUASCII, 0, /* Dutch NRC */ | { } 552 | #ifdef GREEK 553 | "elot927-greek", FC_ELOT, 0, /* ELOT 927 Greek */ | { } 554 | "elot928-greek", FC_GREEK, 0, /* Same as ISO 8859-7 Latin/Greek */ | { } 555 | #endif /* GREEK */ 556 | "finnish", FC_FIASCII, 0, /* Finnish NRC */ | { } 557 | "french", FC_FRASCII, 0, /* French NRC */ | { } 558 | "fr-canadian", FC_FCASCII, CM_INV, /* French Canadian NRC */ | { } 559 | "german", FC_GEASCII, 0, /* German NRC */ | { } 560 | #ifdef GREEK 561 | "greek-iso", FC_GREEK, 0, /* ISO 8859-7 Latin/Greek */ | { } ...... 564 | "he", FC_HEBREW, CM_ABR|CM_INV, | { } 565 | "heb", FC_HEBREW, CM_ABR|CM_INV, | { } 566 | "hebr", FC_HEBREW, CM_ABR|CM_INV, | { } 567 | "hebre", FC_HEBREW, CM_ABR|CM_INV, | { } 568 | "hebrew", FC_HEBREW, CM_ABR|CM_INV, | { } 569 | "hebrew-7", FC_HE7, 0, /* DEC 7-Bit Hebrew */ | { } 570 | "hebrew-iso", FC_HEBREW, 0, /* ISO Latin/Hebrew */ | { } 571 | #endif /* HEBREW */ 572 | "hp-roman8", FC_HPR8, 0, /* Hewlett Packard Roman8 */ | { } 573 | "hungarian", FC_HUASCII, 0, /* Hungarian NRC */ | { } 574 | 575 | "ibm437", FC_CP437, CM_INV, /* PC CP437 */ | { } 576 | "ibm850", FC_CP850, CM_INV, /* PC CP850 (not in MIME) */ | { } 577 | #ifdef LATIN2 578 | "ibm852", FC_CP852, CM_INV, /* PC CP852 */ | { } ...... 581 | "ibm855", FC_CP855, CM_INV, /* PC CP855 */ | { } 582 | #endif /* CYRILLIC */ 583 | "ibm858", FC_CP858, CM_INV, /* PC CP858 (not in MIME) */ | { } 584 | #ifdef HEBREW 585 | "ibm862", FC_CP862, CM_INV, /* PC CP862 (not in MIME) */ | { } ...... 588 | "ibm866", FC_CP866, CM_INV, /* CP866 Cyrillic */ | { } ...... 591 | "ibm869", FC_CP869, CM_INV, /* CP869 Greek */ | { } ...... 595 | "iso-10646-ucs-2", FC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ | { } 596 | #endif /* UNICODE */ 597 | "iso-8859-1", FC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ | { } 598 | "iso-8859-15", FC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ | { } 599 | "iso-8859-2", FC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ | { } 600 | #ifdef CYRILLIC 601 | "iso-8859-5", FC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ | { } ...... 604 | "iso-8859-7", FC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ | { } ...... 607 | "iso-8859-8", FC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ | { } ...... 610 | "iso646-gb", FC_UKASCII, CM_INV, /* British NRC */ | { } 611 | "iso646-ca", FC_FCASCII, CM_INV, /* French Canadian NRC */ | { } 612 | "iso646-de", FC_GEASCII, CM_INV, /* German NRC */ | { } 613 | "iso646-dk", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ | { } 614 | "iso646-es", FC_SPASCII, CM_INV, /* Spanish NRC */ | { } 615 | "iso646-fi", FC_FIASCII, CM_INV, /* Finnish NRC */ | { } 616 | "iso646-fr", FC_FRASCII, CM_INV, /* French NRC */ | { } 617 | "iso646-hu", FC_HUASCII, CM_INV, /* Hungarian NRC */ | { } 618 | "iso646-it", FC_ITASCII, CM_INV, /* Italian NRC */ | { } 619 | "iso646-no", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ | { } 620 | "iso646-po", FC_POASCII, CM_INV, /* Portuguese NRC */ | { } 621 | "iso646-se", FC_SWASCII, CM_INV, /* Swedish NRC */ | { } 622 | 623 | "italian", FC_ITASCII, CM_INV, /* Italian NRC */ | { } ...... 626 | "k", FC_KOI8, CM_ABR|CM_INV, | { } 627 | "ko", FC_KOI8, CM_ABR|CM_INV, | { } 628 | "koi", FC_KOI8, CM_ABR|CM_INV, | { } 629 | "koi7", FC_KOI7, 0, /* Short KOI Cyrillic */ | { } 630 | "koi8", FC_KOI8, 0, /* Old KOI-8 Cyrillic */ | { } 631 | "koi8-e", FC_KOI8, CM_INV, /* Old KOI-8 Cyrillic */ | { } 632 | "koi8-cyrillic", FC_KOI8, CM_INV, | { } 633 | "koi8-r", FC_KOI8R, CM_INV, /* KOI8-R RFC1489 */ | { } 634 | "koi8-u", FC_KOI8U, CM_INV, /* KOI8-U RFC2319 */ | { } 635 | "koi8r", FC_KOI8R, 0, /* KOI8-R RFC1489 */ | { } 636 | "koi8u", FC_KOI8U, 0, /* KOI8-U RFC2319 */ | { } 637 | #endif /* CYRILLIC */ 638 | "l", FC_1LATIN, CM_ABR|CM_INV, | { } 639 | "la", FC_1LATIN, CM_ABR|CM_INV, | { } 640 | "lat", FC_1LATIN, CM_ABR|CM_INV, | { } 641 | "lati", FC_1LATIN, CM_ABR|CM_INV, | { } 642 | "latin", FC_1LATIN, CM_ABR|CM_INV, | { } 643 | "latin1-iso", FC_1LATIN, 0, /* ISO Latin Alphabet 1 */ | { } 644 | #ifdef LATIN2 645 | "latin2-iso", FC_2LATIN, 0, /* ISO Latin Alphabet 2 */ | { } 646 | #endif /* LATIN2 */ 647 | "latin9-iso", FC_9LATIN, 0, /* ISO Latin Alphabet 9 */ | { } 648 | "macintosh-latin", FC_APPQD, 0, /* "Extended Mac Latin" */ | { } 649 | #ifdef LATIN2 650 | "mazovia-pc", FC_MAZOVIA, 0, /* Polish Mazovia PC code page */ | { } 651 | #endif /* LATIN2 */ 652 | "next-multinational", FC_NEXT, 0, /* NeXT workstation */ | { } 653 | "norwegian", FC_NOASCII, 0, /* Norwegian and Danish NRC */ | { } 654 | "portuguese", FC_POASCII, 0, /* Portuguese NRC */ | { } ...... 657 | "short-koi", FC_KOI7, 0, /* Short KOI Cyrillic */ | { } 658 | #endif /* CYRILLIC */ 659 | "spanish", FC_SPASCII, 0, /* Spanish NRC */ | { } 660 | "swedish", FC_SWASCII, 0, /* Swedish NRC */ | { } 661 | "swiss", FC_CHASCII, 0, /* Swiss NRC */ | { } 662 | "transparent", FC_TRANSP, 0, /* Transparent */ | { } 663 | #ifdef UNICODE 664 | "ucs2", FC_UCS2, 0, /* ISO 10646 / Unicode UCS-2 */ | { } 665 | #endif /* UNICODE */ 666 | "us-ascii", FC_USASCII, CM_INV, /* MIME */ | { } 667 | "usascii", FC_USASCII, CM_INV, | { } 668 | #ifdef UNICODE 669 | "utf-8", FC_UTF8, CM_INV, /* ISO 10646 / Unicode UTF-8 */ | { } 670 | "utf8", FC_UTF8, 0, /* ISO 10646 / Unicode UTF-8 */ | { } ...... 673 | "windows-1250", FC_CP1250, CM_INV, /* Windows CP 1250 */ | { } ...... 676 | "windows-1251", FC_CP1251, CM_INV, /* Windows CP 1251 */ | { } 677 | #endif /* CYRILLIC */ 678 | "windows-1252", FC_CP1252, CM_INV, /* Windows CP 1252 */ | { } 679 | "", 0, 0 | { 680 | }; | } ckuxla.c:718:27: warning: missing braces around initializer [-Wmissing-braces] 718 | struct langinfo langs[] = { | ^ ckuxla.c:757:26: warning: missing braces around initializer [-Wmissing-braces] 757 | struct keytab lngtab[] = { | ^ 758 | "ascii", L_USASCII, CM_INV, | { } 759 | "danish", L_DANISH, 0, | { } 760 | "dutch", L_DUTCH, 0, | { } 761 | "english", L_USASCII, CM_INV, | { } 762 | "finnish", L_FINNISH, 0, | { } 763 | "french", L_FRENCH, 0, | { } 764 | "german", L_GERMAN, 0, | { } 765 | #ifdef GREEK 766 | "greek", L_GREEK, CM_INV, | { } ...... 769 | "hebrew", L_HEBREW, CM_INV, | { } 770 | #endif /* HEBREW */ 771 | "hungarian", L_HUNGARIAN, CM_INV, | { } 772 | "icelandic", L_ICELANDIC, 0, | { } 773 | "italian", L_ITALIAN, CM_INV, | { } 774 | #ifdef KANJI 775 | "japanese", L_JAPANESE, CM_INV, | { } 776 | #endif /* KANJI */ 777 | "norwegian", L_NORWEGIAN, 0, | { } 778 | "none", L_USASCII, 0, | { } 779 | "portuguese", L_PORTUGUESE, CM_INV, | { } 780 | #ifdef CYRILLIC 781 | "russian", L_RUSSIAN, 0, | { } 782 | #endif /* CYRILLIC */ 783 | "spanish", L_SPANISH, CM_INV, | { } 784 | "swedish", L_SWEDISH, 0, | { } 785 | #ifdef CYRILLIC 786 | "ukrainian", L_RUSSIAN, 0, | { } 787 | #endif /* CYRILLIC */ 788 | "", 0, 0 | { 789 | }; | } ckuxla.c:6073:1: warning: missing braces around initializer [-Wmissing-braces] 6073 | { | ^ ckuxla.c:6638:1: warning: missing braces around initializer [-Wmissing-braces] 6638 | { | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfns.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcfns.c: In function 'rcvfil': ckcfns.c:3783:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3775 | if ( ( | ~ 3776 | #ifdef UNIX | ~~~~~~~~~~~ 3777 | strcmp(ofn1,"/dev/null") && /* It's not the null device? */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3778 | #else | ~~~~~ 3779 | #ifdef OSK | ~~~~~~~~~~ 3780 | strcmp(ofn1,"/nil") && | ~~~~~~~~~~~~~~~~~~~~~~ 3781 | #endif /* OSK */ | ~~~~~~~~~~~~~~~~ 3782 | #endif /* UNIX */ | ~~~~~~~~~~~~~~~~~ 3783 | !stdouf ) && /* Not copying to standard output? */ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3784 | ofn1x || /* File of same name exists? */ | ~~~~~ ckcfns.c:3394:20: warning: unused variable 'y' [-Wunused-variable] 3394 | int dirflg, x, y; | ^ ckcfns.c:3394:17: warning: unused variable 'x' [-Wunused-variable] 3394 | int dirflg, x, y; | ^ ckcfns.c:3387:12: warning: unused variable 'dispo' [-Wunused-variable] 3387 | char * dispo; | ^~~~~ ckcfns.c: In function 'spar': ckcfns.c:5323:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5321 | (reliable == SET_ON || (reliable == SET_AUTO && !local) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5322 | #ifdef TN_COMPORT | ~~~~~~~~~~~~~~~~~ 5323 | && !istncomport() | ^~~~~~~~~~~~~~~~~ ckcfns.c: In function 'nxthlp': ckcfns.c:5891:19: warning: unused variable 'ckxsys' [-Wunused-variable] 5891 | extern char * ckxsys; | ^~~~~~ ckcfns.c: In function 'snddir': ckcfns.c:6416:9: warning: unused variable 't' [-Wunused-variable] 6416 | int t = 0, rc = 0; | ^ ckcfns.c: In function 'remset': ckcfns.c:6854:14: warning: unused variable 'i' [-Wunused-variable] 6854 | int len, i, x, y; | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckucns.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckucns.c: In function 'ckcgetc': ckucns.c:804:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 804 | if (n > (IBUFL - ibc)) /* Get them all at once. */ | ^~ ckucns.c:806:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 806 | if ((n = ttxin(n,(CHAR *)ibp)) > 0) { | ^~ ckucns.c: In function 'conect': ckucns.c:1966:7: warning: unused variable 'x_auth' [-Wunused-variable] 1966 | int x_auth = 0; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuscr.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckudia.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckudia.c:4227:26: warning: missing braces around initializer [-Wmissing-braces] 4227 | struct keytab mdmtab[] = { | ^ 4228 | #ifndef MINIDIAL 4229 | "3com-usr-megahertz-56k", n_USRX2, CM_INV, | { } 4230 | "acer-v90", n_RWV90, M_ALIAS, | { } 4231 | "atlas-newcom-33600ifxC", n_ATLAS, 0, | { } 4232 | "att-1900-stu-iii", n_ATT1900, 0, | { } 4233 | "att-1910-stu-iii", n_ATT1910, 0, | { } 4234 | "att-7300", n_ATTUPC, 0, | { } 4235 | "att-dataport", n_DATAPORT, 0, | { } 4236 | "att-dtdm", n_ATTDTDM, 0, | { } 4237 | "att-isn", n_ATTISN, 0, | { } 4238 | "att-keepintouch", n_KEEPINTOUCH, 0, | { } 4239 | "att-switched-net", n_ATTMODEM, 0, | { } 4240 | 4241 | "att7300", n_ATTUPC, CM_INV, /* old name */ | { } 4242 | "attdtdm", n_ATTDTDM, CM_INV, /* old name */ | { } 4243 | "attisn", n_ATTISN, CM_INV, /* old name */ | { } 4244 | "attmodem", n_ATTMODEM, CM_INV, /* old name */ | { } 4245 | 4246 | "bestdata", n_BESTDATA, 0, | { } 4247 | "boca", n_BOCA, 0, | { } 4248 | "cardinal", n_CARDINAL, 0, | { } 4249 | #endif /* MINIDIAL */ 4250 | "ccitt-v25bis", n_CCITT, CM_INV, /* Name changed to ITU-T */ | { } ...... 4253 | "cermetek", n_CERMETEK, M_OLD, | { } 4254 | #endif /* OLDMODEMS */ 4255 | "compaq", n_COMPAQ, 0, | { } 4256 | #ifdef OLDMODEMS 4257 | "concord", n_CONCORD, M_OLD, | { } 4258 | #endif /* OLDMODEMS */ 4259 | "conexant", n_CONEXANT, 0, | { } 4260 | "courier", n_USR, CM_INV, | { } 4261 | "dataport", n_DATAPORT, CM_INV, /* == att-dataport */ | { } 4262 | #ifdef OLDMODEMS 4263 | "df03-ac", n_DF03, M_OLD, | { } 4264 | "df100-series", n_DF100, M_OLD, | { } 4265 | "df200-series", n_DF200, M_OLD, | { } 4266 | #endif /* OLDMODEMS */ 4267 | "digitel-dt22", n_DIGITEL, 0, | { } 4268 | #endif /* MINIDIAL */ 4269 | "direct", 0, CM_INV, /* Synonym for NONE */ | { } 4270 | #ifndef MINIDIAL 4271 | "fujitsu", n_FUJITSU, 0, | { } 4272 | "gateway-telepath", n_TELEPATH, 0, | { } 4273 | #ifdef OLDMODEMS 4274 | "gdc-212a/ed", n_GDC, M_OLD, | { } 4275 | "ge", n_GENERIC, CM_INV|CM_ABR, | { } 4276 | "gen", n_GENERIC, CM_INV|CM_ABR, | { } 4277 | "gendatacomm", n_GDC, CM_INV, /* Synonym for GDC */ | { } ...... 4280 | "gene", n_GENERIC, CM_INV|CM_ABR, | { } 4281 | "generic", n_GENERIC, 0, | { } 4282 | "generic-high-speed",n_GENERIC, CM_INV, | { } 4283 | "h", n_HAYES, CM_INV|CM_ABR, | { } 4284 | "ha", n_HAYES, CM_INV|CM_ABR, | { } 4285 | "hay", n_HAYES, CM_INV|CM_ABR, | { } 4286 | "haye", n_HAYES, CM_INV|CM_ABR, | { } 4287 | "hayes", n_HAYES, CM_INV|CM_ABR, /* Hayes 2400 */ | { } 4288 | #ifndef MINIDIAL 4289 | "hayes-1200", n_H_1200, 0, | { } 4290 | #endif /* MINIDIAL */ 4291 | "hayes-2400", n_HAYES, 0, | { } 4292 | #ifndef MINIDIAL 4293 | "hayes-high-speed", n_H_ACCURA, 0, | { } 4294 | "hayes-accura", n_H_ACCURA, CM_INV, | { } 4295 | "hayes-optima", n_H_ACCURA, CM_INV, | { } 4296 | "hayes-ultra", n_H_ULTRA, CM_INV, | { } 4297 | "hst-courier", n_USR, CM_INV, /* Synonym for COURIER */ | { } 4298 | "intel", n_INTEL, 0, | { } ...... 4301 | "itu-t-v250", n_ITUTV250, 0, | { } 4302 | "itu-t-v25bis", n_CCITT, 0, /* New name for CCITT */ | { } 4303 | "itu-t-v25ter/v250",n_ITUTV250, CM_INV, | { } ...... 4306 | "lucent", n_LUCENT, 0, | { } 4307 | "maxtech", n_MAXTECH, 0, | { } 4308 | 4309 | "megahertz-att-v34", n_MHZATT, 0, /* Megahertzes */ | { } 4310 | "megahertz-xjack", n_XJACK, CM_INV|CM_ABR, | { } 4311 | "megahertz-xjack-33.6", n_XJACK, 0, | { } 4312 | "megahertz-xjack-56k", n_USRX2, 0, /* 3COM/USR/Megahertz 33.6 PC Card */ | { } 4313 | 4314 | "mi", n_MICROCOM, CM_INV|CM_ABR, | { } 4315 | "mic", n_MICROCOM, CM_INV|CM_ABR, | { } 4316 | "micr", n_MICROCOM, CM_INV|CM_ABR, | { } 4317 | "micro", n_MICROCOM, CM_INV|CM_ABR, | { } 4318 | "microc", n_MICROCOM, CM_INV|CM_ABR, | { } 4319 | "microco", n_MICROCOM, CM_INV|CM_ABR, | { } 4320 | "microcom", n_MICROCOM, CM_INV|CM_ABR, | { } 4321 | "microcom-at-mode", n_UCOM_AT, 0, /* Microcom DeskPorte, etc */ | { } 4322 | "microcom-sx-mode", n_MICROCOM, 0, /* Microcom AX,QX,SX, native mode */ | { } 4323 | "microlink", n_MICROLINK, 0, | { } 4324 | "microlink-v250", n_ULINKV250, 0, | { } 4325 | "motorola-codex", n_CODEX, 0, | { } 4326 | "motorola-fastalk", n_MOTOROLA, 0, | { } 4327 | "motorola-lifestyle",n_MOTOROLA, 0, | { } 4328 | "motorola-montana", n_MONTANA, 0, | { } 4329 | "motorola-sm56-v90",n_MOTSM56, 0, | { } 4330 | "mt5634zpx", n_MT5634ZPX, 0, | { } 4331 | "multitech", n_MULTI, 0, | { } 4332 | "mwave", n_MWAVE, 0, | { } 4333 | #endif /* MINIDIAL */ 4334 | "none", 0, 0, | { } ...... 4337 | "old-telebit", n_TELEBIT, 0, | { } 4338 | #endif /* OLDTBCODE */ 4339 | "pctel", n_PCTEL, 0, | { } 4340 | #ifdef OLDMODEMS 4341 | "penril", n_PENRIL, M_OLD, | { } 4342 | #endif /* OLDMODEMS */ 4343 | "ppi", n_PPI, 0, | { } 4344 | #ifdef OLDMODEMS 4345 | "racalvadic", n_RACAL, M_OLD, | { } 4346 | #endif /* OLDMODEMS */ 4347 | "rockwell-v32", n_RWV32, 0, | { } 4348 | "rockwell-v32bis", n_RWV32B, 0, | { } 4349 | "rockwell-v34", n_RWV34, 0, | { } 4350 | "rockwell-v90", n_RWV90, 0, | { } 4351 | "rolm", n_ROLM, CM_INV|CM_ABR, | { } 4352 | "rolm-244pc", n_ROLMAT, 0, | { } 4353 | "rolm-600-series", n_ROLMAT, 0, | { } 4354 | "rolm-dcm", n_ROLM, 0, | { } 4355 | "smartlink-v90", n_USR, M_ALIAS, | { } 4356 | "spirit-ii", n_SPIRITII, 0, | { } 4357 | "sportster", n_USR, M_ALIAS, | { } 4358 | "sup", n_SUPRA, CM_INV|CM_ABR, | { } 4359 | "supr", n_SUPRA, CM_INV|CM_ABR, | { } 4360 | "supra", n_SUPRA, CM_INV|CM_ABR, | { } 4361 | "supra-express-v90",n_SUPRAX, 0, | { } 4362 | "suprafaxmodem", n_SUPRA, 0, | { } 4363 | "suprasonic", n_SUPRASON, 0, | { } ...... 4367 | "te", n_TBNEW, CM_INV|CM_ABR, | { } 4368 | "tel", n_TBNEW, CM_INV|CM_ABR, | { } 4369 | "telebit", n_TBNEW, 0, | { } 4370 | "telepath", n_TELEPATH, CM_INV, | { } 4371 | #endif /* MINIDIAL */ 4372 | "unknown", n_UNKNOWN, 0, | { } 4373 | "user-defined", n_UDEF, 0, | { } ...... 4376 | "usr", n_USR, CM_INV|CM_ABR, | { } 4377 | "usr-212a", n_HAYES, CM_INV|M_ALIAS, | { } 4378 | "usr-courier", n_USR, CM_INV, | { } 4379 | "usr-megahertz-56k", n_USRX2, 0, | { } 4380 | "usr-sportster", n_USR, CM_INV, | { } 4381 | "usr-xj1560-x2", n_USRX2, CM_INV, | { } 4382 | "usrobotics", n_USR, 0, | { } 4383 | 4384 | "v25bis", n_CCITT, CM_INV, /* Name changed to ITU-T */ | { } 4385 | #ifdef OLDMODEMS 4386 | "ventel", n_VENTEL, M_OLD, | { } 4387 | #endif /* OLDMODEMS */ 4388 | "zoltrix-v34", n_ZOLTRIX, 0, | { } 4389 | "zoltrix-hsp-v90", n_PCTEL, M_ALIAS, | { } 4390 | "zoltrix-hcf-v90", n_ITUTV250, 0, | { } 4391 | "zoo", n_ZOOM, CM_INV|CM_ABR, | { } 4392 | "zoom", n_ZOOM, CM_INV|CM_ABR, | { } 4393 | "zoom-v32bis", n_ZOOM, 0, | { } 4394 | "zoom-v34", n_ZOOMV34, 0, | { } 4395 | "zoom-v90", n_ZOOMV90, 0, | { } 4396 | "zoom-v92", n_ZOOMV92, 0, | { } 4397 | "zyxel", n_ZYXEL, 0, | { } 4398 | #endif /* MINIDIAL */ 4399 | "", 0, 0 | { 4400 | }; | } ckudia.c: In function 'dialfail': ckudia.c:4996:14: warning: the address of 'lbuf' will always evaluate as 'true' [-Waddress] 4996 | if (lbuf && *lbuf) { | ^~~~ ckudia.c:5027:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5027 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:5027:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5027 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:5028:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5028 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:5028:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5028 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c: In function '_dodial': ckudia.c:5076:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5076 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:5076:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5076 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:5077:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5077 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:5077:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5077 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:5140:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5140 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:5140:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5140 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:5141:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5141 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:5141:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5141 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:5324:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5324 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:5324:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5324 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:5325:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5325 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:5325:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5325 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:5882:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5882 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:5882:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5882 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:5883:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5883 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:5883:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5883 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:6393:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6393 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:6393:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6393 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:6394:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6394 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:6394:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6394 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c: In function 'ckdial': ckudia.c:6565:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6565 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:6565:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6565 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:6582:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6582 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:6582:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6582 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:6583:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6583 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:6583:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6583 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:6608:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6608 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:6608:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6608 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:6609:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6609 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:6609:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6609 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:6629:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6629 | if (rbuf) free(rbuf); rbuf = NULL; | ^~ ckudia.c:6629:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6629 | if (rbuf) free(rbuf); rbuf = NULL; | ^~~~ ckudia.c:6630:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6630 | if (fbuf) free(fbuf); fbuf = NULL; | ^~ ckudia.c:6630:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6630 | if (fbuf) free(fbuf); fbuf = NULL; | ^~~~ ckudia.c:6435:9: warning: unused variable 'n' [-Wunused-variable] 6435 | int n = F_TIME; | ^ ckudia.c: In function 'dook': ckudia.c:6937:16: warning: unused variable 'inserver' [-Wunused-variable] 6937 | extern int inserver; | ^~~~~~~~ ckudia.c:6932:12: warning: unused variable 'mdmmsg' [-Wunused-variable] 6932 | char * mdmmsg = ""; | ^~~~~~ ckudia.c: In function 'mdmhup': ckudia.c:8069:15: warning: unused variable 'p' [-Wunused-variable] 8069 | char *s, *p, c; | ^ ckudia.c:8065:9: warning: unused variable 'm' [-Wunused-variable] 8065 | int m, x = 0; | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckutio.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckutio.c: In function 'sysinit': ckutio.c:2289:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2289 | if (p = getenv("LOCATION")) | ^ ckutio.c:2290:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2290 | if (tn_loc = (char *)malloc((int)strlen(p)+1)) | ^~~~~~ ckutio.c: In function 'tthang': ckutio.c:3855:20: warning: unused variable 'ttc_save' [-Wunused-variable] 3855 | unsigned short ttc_save; | ^~~~~~~~ ckutio.c:3854:9: warning: unused variable 'flags' [-Wunused-variable] 3854 | int flags; /* fcntl flags */ | ^~~~~ ckutio.c:3825:9: warning: unused variable 'x' [-Wunused-variable] 3825 | int x = 0; /* Sometimes used as return code. */ | ^ ckutio.c: In function 'ttres': ckutio.c:4518:17: warning: unused variable 'tcp_nodelay' [-Wunused-variable] 4518 | extern int tcp_nodelay; /* Just put this back if necessary */ | ^~~~~~~~~~~ ckutio.c: In function 'ttlock': ckutio.c:4978:9: warning: unused variable 'islink' [-Wunused-variable] 4978 | int islink = 0; | ^~~~~~ ckutio.c:4977:12: warning: unused variable 'n' [-Wunused-variable] 4977 | int x, n; | ^ ckutio.c: In function 'ttunlck': ckutio.c:5629:9: warning: unused variable 'x' [-Wunused-variable] 5629 | int x; | ^ ckutio.c: In function 'ttvt': ckutio.c:6984:9: warning: variable 's' set but not used [-Wunused-but-set-variable] 6984 | int s, s2, x; | ^ ckutio.c: In function 'ttgspd': ckutio.c:7981:9: warning: unused variable 'x' [-Wunused-variable] 7981 | int x; | ^ ckutio.c: In function 'ttflux': ckutio.c:9007:19: warning: variable 'x' set but not used [-Wunused-but-set-variable] 9007 | int dotnopts, x; | ^ ckutio.c: In function 'ttflui': ckutio.c:9041:9: warning: variable 'dotnopts' set but not used [-Wunused-but-set-variable] 9041 | int dotnopts; | ^~~~~~~~ ckutio.c:9039:9: warning: unused variable 'n' [-Wunused-variable] 9039 | int n, fd; | ^ ckutio.c: In function 'ttxin': ckutio.c:10218:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 10218 | int fd; | ^~ ckutio.c: In function 'ttinl': ckutio.c:10746:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 10746 | int fd; | ^~ ckutio.c: In function 'ttinc': ckutio.c:11147:16: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 11147 | int n = 0, fd; | ^~ ckutio.c: In function 'msleep': ckutio.c:11573:9: warning: variable 't1' set but not used [-Wunused-but-set-variable] 11573 | int t1, x; | ^~ ckutio.c: In function 'concb': ckutio.c:12186:12: warning: unused variable 'y' [-Wunused-variable] 12186 | int x, y = 0; | ^ ckutio.c: In function 'coninc': ckutio.c:12874:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 12874 | if (errno == EINTR) /* Read interrupted. */ | ^ ckutio.c: In function 'pty_chk': ckutio.c:14415:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] 14415 | int x, n = 0; | ^ ckutio.c: In function 'pty_get_status': ckutio.c:14439:11: warning: unused variable 'w' [-Wunused-variable] 14439 | PID_T w; | ^ ckutio.c: In function 'ttptycmd': ckutio.c:14664:9: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] 14664 | if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) { | ^~~~~~~ | openat ckutio.c:14579:18: warning: unused variable 't' [-Wunused-variable] 14579 | int c, n, m, t, x; /* Workers */ | ^ ckutio.c:14579:15: warning: unused variable 'm' [-Wunused-variable] 14579 | int c, n, m, t, x; /* Workers */ | ^ ckutio.c:14579:9: warning: unused variable 'c' [-Wunused-variable] 14579 | int c, n, m, t, x; /* Workers */ | ^ ckutio.c: In function 'ttopen': ckutio.c:2564:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2564 | system(ttname); | ^~~~~~~~~~~~~~ At top level: ckutio.c:14414:1: warning: 'pty_chk' defined but not used [-Wunused-function] 14414 | pty_chk(fd) int fd; { | ^~~~~~~ ckutio.c:13729:14: warning: 'realgid' defined but not used [-Wunused-variable] 13729 | static GID_T realgid = (GID_T) -1, privgid = (GID_T) -1; | ^~~~~~~ ckutio.c:12162:1: warning: 'congetbuf' defined but not used [-Wunused-function] 12162 | congetbuf(x) int x; { | ^~~~~~~~~ ckutio.c:4913:15: warning: 'linkdev' defined but not used [-Wunused-variable] 4913 | static char * linkdev = NULL; | ^~~~~~~ ckutio.c:4912:13: warning: 'linkto' defined but not used [-Wunused-variable] 4912 | static char linkto[DEVNAMLEN+1]; | ^~~~~~ ckutio.c:4691:1: warning: 'ttchkpid' defined but not used [-Wunused-function] 4691 | ttchkpid(f) char *f; { | ^~~~~~~~ ckutio.c:1600:1: warning: 'xxlast' defined but not used [-Wunused-function] 1600 | xxlast(char *s, char c) | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckusig.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckufio.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckufio.c: In function 'zinfill': ckufio.c:1959:13: warning: unused variable 'i' [-Wunused-variable] 1959 | int i; | ^ ckufio.c: In function 'zchko': ckufio.c:2656:3: warning: label 'doaccess' defined but not used [-Wunused-label] 2656 | doaccess: | ^~~~~~~~ ckufio.c:2510:12: warning: variable 'oname' set but not used [-Wunused-but-set-variable] 2510 | char * oname; | ^~~~~ ckufio.c: In function 'zchdir': ckufio.c:3022:16: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 3022 | char *hd, *sp; | ^~ ckufio.c: In function 'zstrdt': ckufio.c:4858:20: warning: unused variable 'tp' [-Wunused-variable] 4858 | struct utimbuf tp; | ^~ ckufio.c: In function 'zlocaltime': ckufio.c:5139:20: warning: unused variable 'tp' [-Wunused-variable] 5139 | struct utimbuf tp; | ^~ ckufio.c:5122:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] 5122 | int i, n, x, isleapyear; | ^ ckufio.c: In function 'zfnqfp': ckufio.c:7504:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7504 | if (p = zgtdir()) { /* So get current directory */ | ^ /usr/include/utmp.h: In function 'logwtmp': ckufio.c:1204:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1204 | ftruncate(wtmpfd, buf.st_size); /* Error, undo any partial write */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckufio.c: In function 'zclose': ckufio.c:1766:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1766 | write(xferlog, iksdmsg, (int)strlen(iksdmsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckufio.c: In function 'zvpass': ckufio.c:8354:12: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 8354 | (VOID) setgid((GID_T)pw->pw_gid); /* Set group ID */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcnet.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcnet.c: In function 'ck_linger': ckcnet.c:1705:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1705 | nettype != NET_TCPA && nettype != NET_TCPB && ckcnet.c: In function 'sendbuf': ckcnet.c:1827:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1827 | nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'recvbuf': ckcnet.c:1923:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1923 | nettype != NET_TCPA && nettype != NET_TCPB && ckcnet.c: In function 'keepalive': ckcnet.c:2014:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2014 | nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'dontroute': ckcnet.c:2132:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2132 | nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'no_delay': ckcnet.c:2250:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2250 | nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'tcpsrv_open': ckcnet.c:2972:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2972 | if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { | ^~~~ ckcnet.c: In function 'netopen': ckcnet.c:3897:17: warning: variable 'uidfound' set but not used [-Wunused-but-set-variable] 3897 | int uidfound=0; | ^~~~~~~~ ckcnet.c:4885:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4885 | if ((tcp_rdns && dns || tcp_rdns == SET_ON | ~~~~~~~~~^~~~~~ ckcnet.c:4906:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4906 | if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { | ^~~~ ckcnet.c:3537:15: warning: unused variable 'rc_inet_addr' [-Wunused-variable] 3537 | int i, x, rc_inet_addr = 0, dns = 0; | ^~~~~~~~~~~~ ckcnet.c: In function 'netclos': ckcnet.c:5087:19: warning: unused variable 'z' [-Wunused-variable] 5087 | int x = 0, y, z; | ^ ckcnet.c:5087:16: warning: unused variable 'y' [-Wunused-variable] 5087 | int x = 0, y, z; | ^ ckcnet.c: In function 'getlocalipaddr': ckcnet.c:6979:20: warning: unused variable 'laddr' [-Wunused-variable] 6979 | struct in_addr laddr; | ^~~~~ In file included from ckcnet.h:1245, from ckcnet.c:58: ckcnet.c: In function 'netbreak': ckctel.h:183:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 183 | (unsigned int)(x) >= TELCMD_FIRST || \ | ^~ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckcnet.c:7567:59: note: in expansion of macro 'TELCMD' 7567 | ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET SENT ",TELCMD(BREAK), | ^~~~~~ ckcnet.c: In function 'http_date': ckcnet.c:9981:17: warning: unused variable 'cmdatebuf' [-Wunused-variable] 9981 | extern char cmdatebuf[18]; | ^~~~~~~~~ ckcnet.c: In function 'http_open': ckcnet.c:10790:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 10790 | if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { | ^~~~ ckcnet.c:10249:12: warning: unused variable 'x' [-Wunused-variable] 10249 | int i, x, dns = 0; | ^ ckcnet.c: In function 'http_head': ckcnet.c:11868:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 11868 | time_t local_t; | ^~~~~~~ ckcnet.c:11867:12: warning: unused variable 'srv_t' [-Wunused-variable] 11867 | time_t srv_t; | ^~~~~ ckcnet.c:11866:12: warning: unused variable 'mod_t' [-Wunused-variable] 11866 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'http_index': ckcnet.c:12058:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 12058 | time_t local_t; | ^~~~~~~ ckcnet.c:12057:12: warning: unused variable 'srv_t' [-Wunused-variable] 12057 | time_t srv_t; | ^~~~~ ckcnet.c:12056:12: warning: unused variable 'mod_t' [-Wunused-variable] 12056 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'http_put': ckcnet.c:12306:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 12306 | time_t local_t; | ^~~~~~~ ckcnet.c:12305:12: warning: unused variable 'srv_t' [-Wunused-variable] 12305 | time_t srv_t; | ^~~~~ ckcnet.c:12304:12: warning: unused variable 'mod_t' [-Wunused-variable] 12304 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'http_delete': ckcnet.c:12611:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 12611 | time_t local_t; | ^~~~~~~ ckcnet.c:12610:12: warning: unused variable 'srv_t' [-Wunused-variable] 12610 | time_t srv_t; | ^~~~~ ckcnet.c:12609:12: warning: unused variable 'mod_t' [-Wunused-variable] 12609 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'http_post': ckcnet.c:12851:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 12851 | time_t local_t; | ^~~~~~~ ckcnet.c:12850:12: warning: unused variable 'srv_t' [-Wunused-variable] 12850 | time_t srv_t; | ^~~~~ ckcnet.c:12849:12: warning: unused variable 'mod_t' [-Wunused-variable] 12849 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'http_connect': ckcnet.c:13139:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] 13139 | time_t local_t; | ^~~~~~~ ckcnet.c:13138:12: warning: unused variable 'srv_t' [-Wunused-variable] 13138 | time_t srv_t; | ^~~~~ ckcnet.c:13137:12: warning: unused variable 'mod_t' [-Wunused-variable] 13137 | time_t mod_t; | ^~~~~ ckcnet.c: In function 'locate_srv_dns': ckcnet.c:13525:22: warning: macro expands to multiple statements [-Wmultistatement-macros] 13525 | INCR_CHECK(p, rdlen); | ^ ckcnet.c:13312:25: note: in definition of macro 'INCR_CHECK' 13312 | #define INCR_CHECK(x,y) x += y; if (x > size + answer.bytes) goto dnsout | ^ ckcnet.c:13524:11: note: some parts of macro expansion are not guarded by this 'else' clause 13524 | } else | ^~~~ At top level: ckcnet.c:3532:13: warning: 'xxname' defined but not used [-Wunused-variable] 3532 | static char xxname[XXNAMELEN]; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckupty.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckupty.c: In function 'pty_getpty': ckupty.c:705:9: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] 705 | if (openpty(fd, | ^~~~~~~ | openat ckupty.c:690:17: warning: unused variable 'stb' [-Wunused-variable] 690 | struct stat stb; | ^~~ ckupty.c:689:12: warning: unused variable 'ptynum' [-Wunused-variable] 689 | int i, ptynum; | ^~~~~~ ckupty.c:689:9: warning: unused variable 'i' [-Wunused-variable] 689 | int i, ptynum; | ^ ckupty.c:688:11: warning: unused variable 'p' [-Wunused-variable] 688 | char *p; | ^ ckupty.c:687:11: warning: unused variable 'cp' [-Wunused-variable] 687 | char *cp; | ^~ ckupty.c: In function 'pty_open_slave': ckupty.c:1086:14: warning: unused variable 'testfd' [-Wunused-variable] 1086 | int vfd, testfd; | ^~~~~~ ckupty.c:1086:9: warning: unused variable 'vfd' [-Wunused-variable] 1086 | int vfd, testfd; | ^~~ ckupty.c: In function 'do_pty': ckupty.c:1948:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1948 | write(syncpipe[1],"y",1); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuath.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ck_crp.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ck_ssl.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' 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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o wart ckwart.o -lncurses -lutil -lresolv -lcrypt -llockdev -lm make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' ./wart ckcpro.w ckcpro.c 16 states, 74 actions make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckctel.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' In file included from ckcnet.h:1245, from ckctel.c:48: ckctel.c: In function 'tn_sopt': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.c:728:10: note: in expansion of macro 'TELCMD_OK' 728 | if (!TELCMD_OK(cmd)) return(-1); | ^~~~~~~~~ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckctel.c:753:28: note: in expansion of macro 'TELCMD' 753 | TELCMD(cmd), " ", | ^~~~~~ ckctel.c:762:29: warning: array subscript has type 'char' [-Wchar-subscripts] 762 | tncnts[index][tnopps[m]] = 0; | ~~~~~~^~~ In file included from ckcnet.h:1245, from ckctel.c:48: ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckctel.c:770:49: note: in expansion of macro 'TELCMD' 770 | ckmakmsg(msg,sizeof(msg),"TELNET SENT ",TELCMD(cmd)," ", | ^~~~~~ ckctel.c: In function 'tn_ssbopt': ckctel.c:806:11: warning: unused variable 'm' [-Wunused-variable] 806 | int n,m,rc; | ^ ckctel.c:806:9: warning: unused variable 'n' [-Wunused-variable] 806 | int n,m,rc; | ^ ckctel.c: In function 'iks_tn_sb': ckctel.c:2384:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2384 | || !local && cmdadl | ~~~~~~~^~~~~~~~~ ckctel.c: In function 'tn_set_modes': ckctel.c:2486:15: warning: unused variable 'j' [-Wunused-variable] 2486 | int i,j; | ^ ckctel.c: In function 'tn_reset': ckctel.c:2696:9: warning: unused variable 'x' [-Wunused-variable] 2696 | int x,opt,cmd; | ^ ckctel.c: In function 'tn_siks': ckctel.c:3460:11: warning: unused variable 'm' [-Wunused-variable] 3460 | int n,m,rc; | ^ ckctel.c:3460:9: warning: unused variable 'n' [-Wunused-variable] 3460 | int n,m,rc; | ^ ckctel.c: In function 'tn_sb': ckctel.c:3562:21: warning: unused variable 'm' [-Wunused-variable] 3562 | int c, x, y, n, m, flag; | ^ ckctel.c:3562:12: warning: unused variable 'x' [-Wunused-variable] 3562 | int c, x, y, n, m, flag; | ^ ckctel.c:3562:9: warning: unused variable 'c' [-Wunused-variable] 3562 | int c, x, y, n, m, flag; | ^ In file included from ckcnet.h:1245, from ckctel.c:48: ckctel.c: In function 'tn_xdoop': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.c:4391:10: note: in expansion of macro 'TELCMD_OK' 4391 | if (!TELCMD_OK(c)) { | ^~~~~~~~~ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckctel.c:4419:55: note: in expansion of macro 'TELCMD' 4419 | ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c),NULL,NULL); | ^~~~~~ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ | ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' 185 | #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ | ^~~~~~~~~ ckctel.c:4480:51: note: in expansion of macro 'TELCMD' 4480 | ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c)," ",TELOPT(x)); | ^~~~~~ ckctel.c:4369:21: warning: unused variable 'm' [-Wunused-variable] 4369 | int c, x, y, n, m; | ^ ckctel.c: In function 'tn_rnenv': ckctel.c:5638:15: warning: unused variable 'n' [-Wunused-variable] 5638 | int i,j,k,n; /* Worker. */ | ^ ckctel.c:5637:25: warning: unused variable 's' [-Wunused-variable] 5637 | char * reply = 0, * s = 0; | ^ ckctel.c:5637:12: warning: unused variable 'reply' [-Wunused-variable] 5637 | char * reply = 0, * s = 0; | ^~~~~ ckctel.c: In function 'tn_snenv': ckctel.c:5808:25: warning: unused variable 's' [-Wunused-variable] 5808 | char * reply = 0, * s = 0; | ^ ckctel.c: In function 'tn_sndcomport': ckctel.c:6627:18: warning: variable 'signature' set but not used [-Wunused-but-set-variable] 6627 | CONST char * signature; | ^~~~~~~~~ ckctel.c:6626:50: warning: variable 'iflow' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~~ ckctel.c:6626:43: warning: variable 'oflow' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~~ ckctel.c:6626:33: warning: variable 'stopsize' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~~~~~ ckctel.c:6626:25: warning: variable 'parity' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~~~ ckctel.c:6626:15: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~~~~~ ckctel.c:6626:9: warning: variable 'baud' set but not used [-Wunused-but-set-variable] 6626 | int baud, datasize, parity, stopsize, oflow, iflow; | ^~~~ ckctel.c: In function 'tngmdm': ckctel.c:8966:9: warning: unused variable 'rc' [-Wunused-variable] 8966 | int rc = -1; | ^~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcuni.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcuni.c:4378:37: warning: missing braces around initializer [-Wmissing-braces] 4378 | struct x_to_unicode u_transparent = { | ^ 4379 | 256, X2U_CXG, 0, 0, "Transparent", "transparent", 0, "", 4380 | 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, | { ...... 4412 | }; | } ckcuni.c:4416:31: warning: missing braces around initializer [-Wmissing-braces] 4416 | struct x_to_unicode u_ascii = { | ^ 4417 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "US ASCII", "ascii", 6, "B", 4418 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4430 | }; | } ckcuni.c:4432:33: warning: missing braces around initializer [-Wmissing-braces] 4432 | struct x_to_unicode u_british = { | ^ 4433 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "British ISO 646", "british", 1, "A", 4434 | 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4446 | }; | } ckcuni.c:4448:31: warning: missing braces around initializer [-Wmissing-braces] 4448 | struct x_to_unicode u_dutch = { | ^ 4449 | 94, 33, X2U_DEC|X2U_STD, AL_ROMAN, "Dutch NRC", "dutch", 0, "4", 4450 | 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4462 | }; | } ckcuni.c:4464:33: warning: missing braces around initializer [-Wmissing-braces] 4464 | struct x_to_unicode u_finnish = { | ^ 4465 | 94, 33, X2U_DEC|X2U_STD, AL_ROMAN, "Finnish NRC", "finnish", 0, "5C", 4466 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4478 | }; | } ckcuni.c:4480:32: warning: missing braces around initializer [-Wmissing-braces] 4480 | struct x_to_unicode u_french = { | ^ 4481 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "French ISO 646", "french", 0, "fR", 4482 | 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4494 | }; | } ckcuni.c:4496:37: warning: missing braces around initializer [-Wmissing-braces] 4496 | struct x_to_unicode u_fr_canadian = { | ^ 4497 | 94,33,X2U_DEC|X2U_STD,AL_ROMAN,"French Canadian NRC","canadian-french",0,"9Q", 4498 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4510 | }; | } ckcuni.c:4512:32: warning: missing braces around initializer [-Wmissing-braces] 4512 | struct x_to_unicode u_german = { | ^ 4513 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "German ISO 646", "german", 21, "K", 4514 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4526 | }; | } ckcuni.c:4528:35: warning: missing braces around initializer [-Wmissing-braces] 4528 | struct x_to_unicode u_hungarian = { | ^ 4529 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "Hungarian ISO 646","hungarian",86,"i", 4530 | 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, | { ...... 4542 | }; | } ckcuni.c:4544:33: warning: missing braces around initializer [-Wmissing-braces] 4544 | struct x_to_unicode u_italian = { | ^ 4545 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "Italian ISO 646", "italian", 15, "Y", 4546 | 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4558 | }; | } ckcuni.c:4560:35: warning: missing braces around initializer [-Wmissing-braces] 4560 | struct x_to_unicode u_icelandic = { | ^ 4561 | 94, 33, X2U_DEC|X2U_STD, AL_ROMAN, "Icelandic NRC", "icelandic", 0, NULL, 4562 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4574 | }; | } ckcuni.c:4576:34: warning: missing braces around initializer [-Wmissing-braces] 4576 | struct x_to_unicode u_jis0201r = { | ^ 4577 | 94, 33, X2U_ISO|X2U_STD,AL_ROMAN,"Japanese Roman","japanese-roman",14,"J", 4578 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4590 | }; | } ckcuni.c:4592:34: warning: missing braces around initializer [-Wmissing-braces] 4592 | struct x_to_unicode u_jis0201k = { | ^ 4593 | 94, 33, X2U_ISO|X2U_STD,AL_KANA,"Japanese Katakana", "katakana", 13, "I", 4594 | 0xff61, 0xff62, 0xff63, 0xff64, 0xff65, 0xff66, 0xff67, | { ...... 4606 | }; | } ckcuni.c:4608:35: warning: missing braces around initializer [-Wmissing-braces] 4608 | struct x_to_unicode u_norwegian = { /* Same as Danish */ | ^ 4609 | 94,33,X2U_ISO|X2U_STD,AL_ROMAN,"Norwegian ISO 646", "norwegian", 60, "`E6", 4610 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4622 | }; | } ckcuni.c:4624:32: warning: missing braces around initializer [-Wmissing-braces] 4624 | struct x_to_unicode u_danish = { /* Same as Norwegian */ | ^ 4625 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "Danish ISO 646", "danish", 60, "`E6", 4626 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4638 | }; | } ckcuni.c:4640:36: warning: missing braces around initializer [-Wmissing-braces] 4640 | struct x_to_unicode u_portuguese = { | ^ 4641 | 94,33,X2U_ISO|X2U_STD,AL_ROMAN,"Portuguese ISO 646","portuguese",16,"L%6", 4642 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4654 | }; | } ckcuni.c:4656:33: warning: missing braces around initializer [-Wmissing-braces] 4656 | struct x_to_unicode u_spanish = { | ^ 4657 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "Spanish ISO 646", "spanish", 17, "Z", 4658 | 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4670 | }; | } ckcuni.c:4672:33: warning: missing braces around initializer [-Wmissing-braces] 4672 | struct x_to_unicode u_swedish = { | ^ 4673 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "Swedish ISO 646", "swedish", 11, "HG", 4674 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4686 | }; | } ckcuni.c:4688:31: warning: missing braces around initializer [-Wmissing-braces] 4688 | struct x_to_unicode u_swiss = { | ^ 4689 | 94, 33, X2U_DEC|X2U_STD, AL_ROMAN, "Swiss NRC", "swiss", 0, "=", 4690 | 0x0021, 0x0022, 0x00f9, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4702 | }; | } ckcuni.c:4704:30: warning: missing braces around initializer [-Wmissing-braces] 4704 | struct x_to_unicode u_koi7 = { | ^ 4705 | 94, 33, X2U_STD, AL_CYRIL, "Short KOI", "short-koi", 0, NULL, 4706 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4718 | }; | } ckcuni.c:4720:33: warning: missing braces around initializer [-Wmissing-braces] 4720 | struct x_to_unicode u_elot927 = { | ^ 4721 | 94, 33, X2U_STD, AL_GREEK, "ELOT 927", "elot927-greek", 0, NULL, 4722 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4734 | }; | } ckcuni.c:4737:33: warning: missing braces around initializer [-Wmissing-braces] 4737 | struct x_to_unicode u_hebrew7 = { | ^ 4738 | 94, 33, X2U_STD, AL_HEBREW, "Hebrew-7", "hebrew-7", 0, NULL, 4739 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 4751 | }; | } ckcuni.c:4753:30: warning: missing braces around initializer [-Wmissing-braces] 4753 | struct x_to_unicode u_apl1 = { | ^ 4754 | 94, 33, X2U_ISO|X2U_STD, AL_ROMAN, "APL ISO", "apl-iso", 68, "e", 4755 | 0x00a8, 0x0029, 0x003c, 0x2264, 0x003d, 0x003e, 0x005d, | { ...... 4767 | }; | } ckcuni.c:4771:32: warning: missing braces around initializer [-Wmissing-braces] 4771 | struct x_to_unicode u_8859_1 = { | ^ 4772 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-1", "latin1", 100, "A", 4773 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, | { ...... 4785 | }; | } ckcuni.c:4787:32: warning: missing braces around initializer [-Wmissing-braces] 4787 | struct x_to_unicode u_8859_2 = { | ^ 4788 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-2", "latin2", 101, "B", 4789 | 0x00A0, 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, | { ...... 4801 | }; | } ckcuni.c:4803:32: warning: missing braces around initializer [-Wmissing-braces] 4803 | struct x_to_unicode u_8859_3 = { | ^ 4804 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-3", "latin3", 109, "C", 4805 | 0x00A0, 0x0126, 0x02D8, 0x00A3, 0x00A4, 0xfffd, 0x0124, 0x00A7, | { ...... 4817 | }; | } ckcuni.c:4819:32: warning: missing braces around initializer [-Wmissing-braces] 4819 | struct x_to_unicode u_8859_4 = { | ^ 4820 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-4", "latin4", 110, "D", 4821 | 0x00A0, 0x0104, 0x0138, 0x0156, 0x00A4, 0x0128, 0x013B, 0x00A7, | { ...... 4833 | }; | } ckcuni.c:4835:32: warning: missing braces around initializer [-Wmissing-braces] 4835 | struct x_to_unicode u_8859_5 = { | ^ 4836 | 96,32,X2U_ISO|X2U_STD,AL_CYRIL,"ISO Latin/Cyrillic","cyrillic-iso",144,"L", 4837 | 0x00A0, 0x0401, 0x0402, 0x0403, 0x0404, 0x0405, 0x0406, 0x0407, | { ...... 4849 | }; | } ckcuni.c:4851:32: warning: missing braces around initializer [-Wmissing-braces] 4851 | struct x_to_unicode u_8859_6 = { | ^ 4852 | 96, 32, X2U_ISO|X2U_STD,AL_ARABIC,"ISO Latin/Arabic","arabic-iso",127,"G", 4853 | 0x00A0, 0xfffd, 0xfffd, 0xfffd, 0x00A4, 0xfffd, 0xfffd, 0xfffd, | { ...... 4865 | }; | } ckcuni.c:4867:32: warning: missing braces around initializer [-Wmissing-braces] 4867 | struct x_to_unicode u_8859_7 = { | ^ 4868 | 96, 32, X2U_ISO|X2U_STD,AL_GREEK,"ISO Latin/Greek", "greek-iso", 126, "F", 4869 | 0x00A0, 0x2018, 0x2019, 0x00A3, 0xFFFD, 0xFFFD, 0x00A6, 0x00A7, | { ...... 4881 | }; | } ckcuni.c:4883:32: warning: missing braces around initializer [-Wmissing-braces] 4883 | struct x_to_unicode u_8859_8 = { | ^ 4884 | 96, 32, X2U_ISO|X2U_STD,AL_HEBREW,"ISO Latin/Hebrew","hebrew-iso",121,"H", 4885 | 0x00A0, 0xfffd, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, | { ...... 4897 | }; | } ckcuni.c:4899:32: warning: missing braces around initializer [-Wmissing-braces] 4899 | struct x_to_unicode u_8859_9 = { | ^ 4900 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-5", "latin5", 148, "M", 4901 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, | { ...... 4913 | }; | } ckcuni.c:4915:33: warning: missing braces around initializer [-Wmissing-braces] 4915 | struct x_to_unicode u_8859_10 = { | ^ 4916 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-6", "latin6", 157, "V", 4917 | 0x00a0, 0x0104, 0x0112, 0x0122, 0x012a, 0x0128, 0x0136, 0x013b, | { ...... 4929 | }; | } ckcuni.c:4942:33: warning: missing braces around initializer [-Wmissing-braces] 4942 | struct x_to_unicode u_8859_15 = { | ^ 4943 | 96, 32, X2U_ISO|X2U_STD, AL_ROMAN, "ISO Latin-9", "latin9", 0, NULL, 4944 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x20AC, 0x00A5, 0x0160, 0x00A7, | { ...... 4956 | }; | } ckcuni.c:4961:30: warning: missing braces around initializer [-Wmissing-braces] 4961 | struct x_to_unicode u_apl2 = { /* Dyadic Systems APL + box drawings */ | ^ 4962 | 96, 32, X2U_STD, AL_ROMAN, "Dyadic Systems APL", "apl-dyadic", 0, NULL, 4963 | 0x00a0, 0x00d7, 0x2502, 0x2524, 0x00a2, 0x2510, 0x2514, 0x2534, | { ...... 4975 | }; | } ckcuni.c:4977:30: warning: missing braces around initializer [-Wmissing-braces] 4977 | struct x_to_unicode u_apl3 = { /* APL-Plus = APL-2000 */ | ^ 4978 | 128, 0, X2U_CXG, AL_ROMAN, "APL-2000", "apl-2000", 0, NULL, 4979 | 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, | { ...... 4995 | }; | } ckcuni.c:4997:30: warning: missing braces around initializer [-Wmissing-braces] 4997 | struct x_to_unicode u_apl4 = { /* IBM APL2 */ | ^ 4998 | 128, 0, X2U_CXG, AL_ROMAN, "IBM APL2", "apl2-ibm", 0, NULL, 4999 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, | { ...... 5015 | }; | } ckcuni.c:5017:30: warning: missing braces around initializer [-Wmissing-braces] 5017 | struct x_to_unicode u_apl5 = { /* APL-2741 */ | ^ 5018 | 128, 0, X2U_CXG, AL_ROMAN, "APL-2741", "apl-2741", 0, NULL, 5019 | 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, | { ...... 5035 | }; | } ckcuni.c:5039:30: warning: missing braces around initializer [-Wmissing-braces] 5039 | struct x_to_unicode u_koi8 = { | ^ 5040 | 96, 32, X2U_STD, AL_CYRIL, "KOI-8", "koi8", 0, NULL, 5041 | 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, | { ...... 5053 | }; | } ckcuni.c:5057:31: warning: missing braces around initializer [-Wmissing-braces] 5057 | struct x_to_unicode u_koi8r = { /* (Russia) Table from RFC1489 */ | ^ 5058 | 128, 0, X2U_CP, AL_CYRIL, "KOI8-R", "koi8r", 0, NULL, 5059 | 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, | { ...... 5075 | }; | } ckcuni.c:5077:31: warning: missing braces around initializer [-Wmissing-braces] 5077 | struct x_to_unicode u_koi8u = { /* (Ukraine) From RFC2319 */ | ^ 5078 | 128, 0, X2U_CP, AL_CYRIL, "KOI8-U", "koi8u", 0, NULL, 5079 | 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, | { ...... 5095 | }; | } ckcuni.c:5099:31: warning: missing braces around initializer [-Wmissing-braces] 5099 | struct x_to_unicode u_cp437 = { | ^ 5100 | 128, 0, X2U_CP, AL_ROMAN,"PC Code Page 437","cp437", 0, NULL, 5101 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, | { ...... 5117 | }; | } ckcuni.c:5119:33: warning: missing braces around initializer [-Wmissing-braces] 5119 | struct x_to_unicode u_mazovia = { | ^ 5120 | 128, 0, X2U_CP, AL_ROMAN,"Polish Mazovia PC Code Page","mazovia", 0, NULL, 5121 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x0105, 0x00e7, /* 80 */ | { ...... 5137 | }; | } ckcuni.c:5139:31: warning: missing braces around initializer [-Wmissing-braces] 5139 | struct x_to_unicode u_cp850 = { | ^ 5140 | 128, 0, X2U_CP, AL_ROMAN,"PC Code Page 850","cp850", 0, NULL, 5141 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, | { ...... 5157 | }; | } ckcuni.c:5159:31: warning: missing braces around initializer [-Wmissing-braces] 5159 | struct x_to_unicode u_cp852 = { | ^ 5160 | 128, 0, X2U_CP, AL_ROMAN,"PC Code Page 852","cp852", 0, NULL, 5161 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x016f, 0x0107, 0x00e7, | { ...... 5177 | }; | } ckcuni.c:5179:31: warning: missing braces around initializer [-Wmissing-braces] 5179 | struct x_to_unicode u_cp855 = { /* CP855 Cyrillic to Unicode */ | ^ 5180 | 128, 0, X2U_CP, AL_CYRIL,"PC Code Page 855","cp855", 0, NULL, 5181 | 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, | { ...... 5197 | }; | } ckcuni.c:5199:31: warning: missing braces around initializer [-Wmissing-braces] 5199 | struct x_to_unicode u_cp856 = { /* CP856 (Bulgaria) to Unicode */ | ^ 5200 | 128, 0, X2U_CP, AL_CYRIL,"PC Code Page 856","cp856", 0, NULL, 5201 | 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, | { ...... 5217 | }; | } ckcuni.c:5219:31: warning: missing braces around initializer [-Wmissing-braces] 5219 | struct x_to_unicode u_cp857 = { | ^ 5220 | 128, 0, X2U_CP, AL_ROMAN,"PC Code Page 857","cp857", 0, NULL, 5221 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 0x80 */ | { ...... 5237 | }; | } ckcuni.c:5239:31: warning: missing braces around initializer [-Wmissing-braces] 5239 | struct x_to_unicode u_cp858 = { | ^ 5240 | 128, 0, X2U_CP, AL_ROMAN,"PC Code Page 858","cp858", 0, NULL, 5241 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, | { ...... 5257 | }; | } ckcuni.c:5259:31: warning: missing braces around initializer [-Wmissing-braces] 5259 | struct x_to_unicode u_cp862 = { | ^ 5260 | 128, 0, X2U_CP, AL_HEBREW,"PC Code Page 862","cp862", 0, NULL, 5261 | 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, | { ...... 5277 | }; | } ckcuni.c:5279:31: warning: missing braces around initializer [-Wmissing-braces] 5279 | struct x_to_unicode u_cp864 = { | ^ 5280 | 128, 0, X2U_CP, AL_ARABIC,"PC Code Page 864","cp864", 0, NULL, 5281 | 0x00b0, 0x00b7, 0x2219, 0x221a, 0x2592, 0x2500, 0x2502, 0x253c, | { ...... 5297 | }; | } ckcuni.c:5299:31: warning: missing braces around initializer [-Wmissing-braces] 5299 | struct x_to_unicode u_cp866 = { | ^ 5300 | 128, 0, X2U_CP, AL_CYRIL,"PC Code Page 866","cp866", 0, NULL, 5301 | 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, | { ...... 5317 | }; | } ckcuni.c:5319:31: warning: missing braces around initializer [-Wmissing-braces] 5319 | struct x_to_unicode u_cp869 = { | ^ 5320 | 128, 0, X2U_CP, AL_GREEK,"PC Code Page 869","cp869", 0, NULL, 5321 | 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x0386, 0xfffd, | { ...... 5337 | }; | } ckcuni.c:5341:32: warning: missing braces around initializer [-Wmissing-braces] 5341 | struct x_to_unicode u_cp1250 = { /* Windows Latin-2 */ | ^ 5342 | 128, 0, X2U_CP, AL_ROMAN,"Windows Code Page 1250","cp1250", 0, NULL, 5343 | 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5359 | }; | } ckcuni.c:5361:32: warning: missing braces around initializer [-Wmissing-braces] 5361 | struct x_to_unicode u_cp1251 = { /* Windows Cyrillic */ | ^ 5362 | 128, 0, X2U_CP, AL_CYRIL,"Windows Code Page 1251","cp1251", 0, NULL, 5363 | 0x0402, 0x0403, 0x201a, 0x0453, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5379 | }; | } ckcuni.c:5381:32: warning: missing braces around initializer [-Wmissing-braces] 5381 | struct x_to_unicode u_cp1252 = { /* Windows Latin-1 */ | ^ ...... 5393 | 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, | { ...... 5409 | }; | } ckcuni.c:5411:32: warning: missing braces around initializer [-Wmissing-braces] 5411 | struct x_to_unicode u_cp1253 = { /* Windows Greece */ | ^ 5412 | 128, 0, X2U_CP, AL_GREEK,"Windows Code Page 1253","cp1253", 0, NULL, 5413 | 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5429 | }; | } ckcuni.c:5431:32: warning: missing braces around initializer [-Wmissing-braces] 5431 | struct x_to_unicode u_cp1254 = { /* Windows Turkey */ | ^ 5432 | 128, 0, X2U_CP, AL_ROMAN,"Windows Code Page 1254","cp1254", 0, NULL, 5433 | 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5449 | }; | } ckcuni.c:5451:32: warning: missing braces around initializer [-Wmissing-braces] 5451 | struct x_to_unicode u_cp1255 = { /* Windows Hebrew */ | ^ ...... 5454 | 0x20AC, 0xFFFD, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, | { ...... 5470 | }; | } ckcuni.c:5472:32: warning: missing braces around initializer [-Wmissing-braces] 5472 | struct x_to_unicode u_cp1256 = { /* Windows Arabic */ | ^ ...... 5475 | 0x20ac, 0x067e, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, | { ...... 5491 | }; | } ckcuni.c:5493:32: warning: missing braces around initializer [-Wmissing-braces] 5493 | struct x_to_unicode u_cp1257 = { /* Windows Latin-4 */ | ^ 5494 | 128, 0, X2U_CP, AL_ROMAN,"Windows Code Page 1257","cp1257", 0, NULL, 5495 | 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5511 | }; | } ckcuni.c:5513:32: warning: missing braces around initializer [-Wmissing-braces] 5513 | struct x_to_unicode u_cp1258 = { /* Windows Viet Nam */ | ^ ...... 5516 | 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ | { ...... 5532 | }; | } ckcuni.c:5534:30: warning: missing braces around initializer [-Wmissing-braces] 5534 | struct x_to_unicode u_cp37 = { /* EBCDIC U.S. */ | ^ 5535 | 256, 0, X2U_CP, AL_ROMAN,"Code Page 037 EBCDIC (U.S.)","cp037", 0, NULL, 5536 | 0x0000, 0x0001, 0x0002, 0x0003, 0x009C, 0x0009, 0x0086, 0x007F, | { ...... 5568 | }; | } ckcuni.c:5572:32: warning: missing braces around initializer [-Wmissing-braces] 5572 | struct x_to_unicode u_decmcs = { | ^ 5573 | 96, 32, X2U_DEC|X2U_STD, AL_ROMAN, "DEC Multinational", "dec-mcs", 0, "%5", 5574 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0xfffd, 0x00A5, 0xfffd, 0x00A7, | { ...... 5586 | }; | } ckcuni.c:5588:34: warning: missing braces around initializer [-Wmissing-braces] 5588 | struct x_to_unicode u_hproman8 = { | ^ 5589 | 96, 32, X2U_STD, AL_ROMAN, "Hewlett Packard Roman 8", "hp-roman8", 0, NULL, 5590 | 0x00a0, 0x00c0, 0x00c2, 0x00c8, 0x00ca, 0x00cb, 0x00ce, 0x00cf, | { ...... 5602 | }; | } ckcuni.c:5604:29: warning: missing braces around initializer [-Wmissing-braces] 5604 | struct x_to_unicode u_dgi = { | ^ 5605 | 96,32,X2U_STD,AL_ROMAN,"Data General International","dg-international",0,NULL, 5606 | 0x00a0, 0x00ac, 0x00bd, 0x00b5, 0x00b2, 0x00b3, 0x00a4, 0x00a2, | { ...... 5618 | }; | } ckcuni.c:5620:34: warning: missing braces around initializer [-Wmissing-braces] 5620 | struct x_to_unicode u_nextstep = { | ^ 5621 | 128, 0, 0, AL_ROMAN,"NeXTSTEP Multinational","next-multinational",0,NULL, 5622 | 0x00a0, 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c7, | { ...... 5638 | }; | } ckcuni.c:5640:34: warning: missing braces around initializer [-Wmissing-braces] 5640 | struct x_to_unicode u_maclatin = { | ^ 5641 | 128, 0, 0, AL_ROMAN,"Macintosh Latin","maclatin", 0, NULL, 5642 | 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, | { ...... 5658 | }; | } ckcuni.c:5660:35: warning: missing braces around initializer [-Wmissing-braces] 5660 | struct x_to_unicode u_quickdraw = { | ^ 5661 | 128, 0, 0, AL_ROMAN,"QuickDraw","quickdraw", 0, NULL, 5662 | 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, | { ...... 5678 | }; | } ckcuni.c:5699:33: warning: missing braces around initializer [-Wmissing-braces] 5699 | struct x_to_unicode u_dectech = { | ^ 5700 | 94, 33, X2U_DEC|X2U_STD,AL_ROMAN,"DEC Technical", "dec-technical", 0, ">", 5701 | 0x221a, 0x250c, 0x2500, 0x2320, 0x2321, 0x2502, 0x2308, /* 21-27 */ | { ...... 5713 | }; | } ckcuni.c:5733:33: warning: missing braces around initializer [-Wmissing-braces] 5733 | struct x_to_unicode u_decspec = { | ^ 5734 | 94,33,X2U_DEC|X2U_STD,AL_ROMAN,"DEC Special Graphics","dec-special",0,"0", 5735 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 5747 | }; | } ckcuni.c:5759:32: warning: missing braces around initializer [-Wmissing-braces] 5759 | struct x_to_unicode u_hz1500 = { | ^ ...... 5762 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, /* 0 */ | { ...... 5775 | }; | } ckcuni.c:5794:34: warning: missing braces around initializer [-Wmissing-braces] 5794 | struct x_to_unicode u_heath19g = { | ^ 5795 | 94,33,X2U_STD,AL_ROMAN,"Heath-19 Special Graphics","h19-special",0,NULL, 5796 | 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, | { ...... 5808 | }; | } ckcuni.c:5818:32: warning: missing braces around initializer [-Wmissing-braces] 5818 | struct x_to_unicode u_dgspec = { /* Needs to be checked */ | ^ 5819 | 94, 33, X2U_STD,AL_ROMAN,"DG Special Graphics","dg-specialgraphics",0,NULL, 5820 | 0xfffd, 0xfffd, 0x2424, 0x2594, 0x2594, 0x2581, 0x2581, | { ...... 5832 | }; | } ckcuni.c:5836:32: warning: missing braces around initializer [-Wmissing-braces] 5836 | struct x_to_unicode u_dgline = { | ^ 5837 | 94, 33, X2U_STD,AL_ROMAN,"DG Line Drawing","dg-linedrawing",0,NULL, 5838 | 0x250c, 0x2510, 0x2514, 0x2518, 0x252c, 0x2524, 0x251c, | { ...... 5850 | }; | } ckcuni.c:5852:32: warning: missing braces around initializer [-Wmissing-braces] 5852 | struct x_to_unicode u_dgword = { | ^ 5853 | 94, 33, X2U_STD,AL_ROMAN,"DG Word Processing","dg-wordprocessing",0,NULL, 5854 | 0x2308, 0x230a, 0x2309, 0x230b, 0x0192, 0x223c, 0x2202, | { ...... 5866 | }; | } ckcuni.c:5875:32: warning: missing braces around initializer [-Wmissing-braces] 5875 | struct x_to_unicode u_hpline = { /* Needs to be checked */ | ^ ...... 5878 | 0x2520, 0x2528, 0x252f, 0x2537, 0x255f, 0x2562, 0x2564, | { ...... 5890 | }; | } ckcuni.c:5892:32: warning: missing braces around initializer [-Wmissing-braces] 5892 | struct x_to_unicode u_hpmath = { | ^ 5893 | 94, 33, X2U_STD,AL_ROMAN,"HP Math/Technical","hp-math/technical",0,NULL, 5894 | 0x221a, 0x2223, 0x00a7, 0x2207, 0x00b1, 0x03b1, 0x2320, | { ...... 5906 | }; | } ckcuni.c:5908:30: warning: missing braces around initializer [-Wmissing-braces] 5908 | struct x_to_unicode u_tvig = { | ^ 5909 | 15,65,0,0,"Televideo Special Graphics","tvi-special",0,NULL, 5910 | 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, | { 5911 | 0x2518, 0x253C, 0x2502, 0x2500, 0x2524, 0x251C, 0x252C, 0x2534 5912 | }; | } ckcuni.c:5914:33: warning: missing braces around initializer [-Wmissing-braces] 5914 | struct x_to_unicode u_wyse_gn = { | ^ ...... 5921 | 0x252C, 0x2514, 0x250C, 0x2510, 0x251C, 0x2518, 0x2502, 0x2588, | { ...... 5932 | }; | } ckcuni.c:5934:33: warning: missing braces around initializer [-Wmissing-braces] 5934 | struct x_to_unicode u_wyse_g1 = { | ^ 5935 | 79,48,0,0,"Wyse Graphics 1","wy-graphics-1",0,NULL, 5936 | 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2075, 0x2077, | { ...... 5946 | }; | } ckcuni.c:5948:33: warning: missing braces around initializer [-Wmissing-braces] 5948 | struct x_to_unicode u_wyse_g2 = { | ^ 5949 | 41,64,0,0,"Wyse Graphics 2","wy-graphics-2",0,NULL, 5950 | 0x250C, 0xFFFD, 0xFFFD, 0xFFFD, 0x2510, 0xFFFD, 0xFFFD, 0xFFFD, | { ...... 5956 | }; | } ckcuni.c:5967:33: warning: missing braces around initializer [-Wmissing-braces] 5967 | struct x_to_unicode u_wyse_g3 = { | ^ 5968 | 31,65,0,0,"Wyse Graphics 3","wy-graphics-3",0,NULL, 5969 | 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, | { ...... 5973 | }; | } ckcuni.c:5982:33: warning: missing braces around initializer [-Wmissing-braces] 5982 | struct x_to_unicode u_qnxgrph = { | ^ 5983 | 128,0,0,0,"QNX Console","qnx-console",0,NULL, 5984 | 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 128 */ | { ...... 6000 | }; | } ckcuni.c:6002:34: warning: missing braces around initializer [-Wmissing-braces] 6002 | struct x_to_unicode u_snibrack = { | ^ 6003 | 94, 33, 0, 0,"Siemens Nixdorf 97801 Brackets","sni-brackets",0,"w", 6004 | 0x2590, 0x258c, 0x2584, 0x2580, 0x2590, 0x258c, 0x2584, /* a0-7 */ | { ...... 6016 | }; | } ckcuni.c:6018:35: warning: missing braces around initializer [-Wmissing-braces] 6018 | struct x_to_unicode u_sniblanks = { | ^ 6019 | 94, 33, 0, 0,"Siemens Nixdorf 97801 Blanks","sni-blanks",0,"y", 6020 | 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, /* a0-7 */ | { ...... 6032 | }; | } ckcuni.c:6034:34: warning: missing braces around initializer [-Wmissing-braces] 6034 | struct x_to_unicode u_snifacet = { | ^ 6035 | 94, 33, 0, 0,"Siemens Nixdorf 97801 Facet","sni-facet",0,"c", 6036 | 0x0020, 0x2581, 0x2582, 0x2583, 0x2584, 0x2585, 0x2587, /* a1-a7 */ | { ...... 6048 | }; | } ckcuni.c:6050:32: warning: missing braces around initializer [-Wmissing-braces] 6050 | struct x_to_unicode u_sniibm = { | ^ 6051 | 94, 33, 0, 0,"Siemens Nixdorf 97801 IBM","sni-ibm",0,"v", 6052 | 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x25cf, | { ...... 6064 | }; | } ckcuni.c:6066:33: warning: missing braces around initializer [-Wmissing-braces] 6066 | struct x_to_unicode u_snieuro = { | ^ 6067 | 94, 33, 0, 0,"Siemens Nixdorf 97801 Euro","sni-euro",0,"u", 6068 | 0x00e0, 0x00e1, 0x00e2, 0x00e4, 0x00e5, 0x0105, 0x00e3, | { ...... 6080 | }; | } ckcuni.c:6082:32: warning: missing braces around initializer [-Wmissing-braces] 6082 | struct x_to_unicode u_smiley = { | ^ 6083 | 32,0,X2U_CXG,0,"PC C0 Graphics","smiley-faces",0,NULL, 6084 | 0x00a0, 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022, | { ...... 6088 | }; | } ckcuni.c:6090:32: warning: missing braces around initializer [-Wmissing-braces] 6090 | struct x_to_unicode u_c0pics = { | ^ 6091 | 128,0,X2U_CXG,0,"C0/C1 Display Controls","display-controls",0,NULL, 6092 | 0x2400, 0x2401, 0x2402, 0x2403, 0x2404, 0x2405, 0x2406, 0x2407, | { ...... 6108 | }; | } ckcuni.c:6119:32: warning: missing braces around initializer [-Wmissing-braces] 6119 | struct x_to_unicode u_c1pics = { | ^ 6120 | 32,0,X2U_CXG,0,"C1 Display Controls","c1-display-controls",0,NULL, 6121 | 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, | { ...... 6125 | }; | } make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcpro.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcpro.c: In function 'wart': ckcpro.c:1522:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1522 | if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ckcpro.c:1504:16: warning: unused variable 'rsn' [-Wunused-variable] 1504 | extern int rsn; | ^~~ ckcpro.c: In function 'rcv_firstdata': ckcpro.c:2344:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2344 | if (tmp = (char *)malloc(n)) { | ^~~ ckcpro.c:2358:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2358 | if (tmp = (char *)malloc(n)) { | ^~~ ckcpro.c: In function 'rcv_shortreply': ckcpro.c:2462:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2462 | if (*rdatap) /* add a line terminator */ | ^ ckcpro.c: In function 'srv_login': ckcpro.c:2726:42: warning: variable 'f3' set but not used [-Wunused-but-set-variable] 2726 | char f1[LOGINLEN+1], f2[LOGINLEN+1], f3[LOGINLEN+1]; | ^~ ckcpro.c: In function 'rcv_s_pkt': ckcpro.c:2928:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2928 | if (s = zgtdir()) { /* Get current directory */ | ^ ckcpro.c: In function 'proto': ckcpro.c:3007:9: warning: unused variable 'i' [-Wunused-variable] 3007 | int i; | ^ ckcpro.c: In function 'xxproto': ckcpro.c:3424:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3424 | if (s = zgtdir()) { /* Get current directory */ | ^ ckcpro.c: In function 'sgetinit': ckcpro.c:3629:9: warning: unused variable 'i' [-Wunused-variable] 3629 | int i, n, done = 0; | ^ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcftp.c make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' ckcftp.c: In function 'doftparg': ckcftp.c:2126:12: warning: unused variable 'z' [-Wunused-variable] 2126 | int x, z; | ^ ckcftp.c:2126:9: warning: unused variable 'x' [-Wunused-variable] 2126 | int x, z; | ^ ckcftp.c: In function 'doftpusr': ckcftp.c:3157:24: warning: unused variable 'pwcrypt' [-Wunused-variable] 3157 | extern int pwflg, pwcrypt; | ^~~~~~~ ckcftp.c: In function 'putfile': ckcftp.c:4471:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4471 | else if (rc == SKP_SIM) | ^ ckcftp.c:4469:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4469 | else if (rc == SKP_XUP) | ^ ckcftp.c:4467:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4467 | if (rc == SKP_XNX) | ^ ckcftp.c: In function 'cmdlinget': ckcftp.c:6159:9: warning: unused variable 'i' [-Wunused-variable] 6159 | int i, x, rc = 0, done = 0, good = 0, status = 0, append = 0; | ^ ckcftp.c: In function 'doftpget': ckcftp.c:7310:20: warning: unused variable 'p' [-Wunused-variable] 7310 | char * p; | ^ ckcftp.c:6549:12: warning: unused variable 'pat' [-Wunused-variable] 6549 | char * pat = ""; | ^~~ ckcftp.c:6544:9: warning: unused variable 'matchdot' [-Wunused-variable] 6544 | int matchdot = 0; | ^~~~~~~~ ckcftp.c: In function 'doxftp': ckcftp.c:8168:13: warning: unused variable 'n' [-Wunused-variable] 8168 | int cx, n; | ^ ckcftp.c: In function 'ftpcmd': ckcftp.c:9757:31: warning: variable 'len' set but not used [-Wunused-but-set-variable] 9757 | int r = 0, x = 0, fc = 0, len = 0, cmdlen = 0, q = -1; | ^~~ ckcftp.c: In function 'xlatec': ckcftp.c:10690:13: warning: unused variable 'c1' [-Wunused-variable] 10690 | int c0, c1; | ^~ ckcftp.c: In function 'getreply': ckcftp.c:11178:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 11178 | if (ftpcode && n == '6') | ^ ckcftp.c:10891:9: warning: variable 'safe' set but not used [-Wunused-but-set-variable] 10891 | int safe = 0; | ^~~~ ckcftp.c: In function 'doftpsend2': ckcftp.c:11730:18: warning: variable 'notafile' set but not used [-Wunused-but-set-variable] 11730 | int n, t, x, notafile, unique = 0; | ^~~~~~~~ ckcftp.c:11730:12: warning: unused variable 't' [-Wunused-variable] 11730 | int n, t, x, notafile, unique = 0; | ^ ckcftp.c: In function 'doftprecv2': ckcftp.c:12664:24: warning: variable 'p' set but not used [-Wunused-but-set-variable] 12664 | char * p; | ^ ckcftp.c:12680:17: warning: unused variable 't' [-Wunused-variable] 12680 | int t; | ^ ckcftp.c:12458:12: warning: unused variable 'p' [-Wunused-variable] 12458 | char * p; | ^ ckcftp.c:12457:23: warning: variable 'stop' set but not used [-Wunused-but-set-variable] 12457 | ULONG start = 0L, stop; | ^~~~ ckcftp.c:12457:11: warning: variable 'start' set but not used [-Wunused-but-set-variable] 12457 | ULONG start = 0L, stop; | ^~~~~ ckcftp.c: In function 'initconn': ckcftp.c:13077:17: warning: unused variable 's' [-Wunused-variable] 13077 | int s; | ^ ckcftp.c: In function 'dataconn': ckcftp.c:13449:9: warning: unused variable 'tos' [-Wunused-variable] 13449 | int tos; | ^~~ ckcftp.c: In function 'ftp_login': ckcftp.c:15083:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 15083 | } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { | ~~~~~~~~~^~~~~~~~ ckcftp.c:15046:24: warning: unused variable 'pwcrypt' [-Wunused-variable] 15046 | extern int pwflg, pwcrypt; | ^~~~~~~ ckcftp.c: In function 'remote_files': ckcftp.c:15634:7: warning: label 'notemp' defined but not used [-Wunused-label] 15634 | notemp: | ^~~~~~ ckcftp.c:15426:9: warning: unused variable 'i' [-Wunused-variable] 15426 | int i, x, forced = 0; | ^ At top level: ckcftp.c:14538:1: warning: 'fts_cpl' defined but not used [-Wunused-function] 14538 | fts_cpl(x) int x; { | ^~~~~~~ ckcftp.c:14498:1: warning: 'fts_dpl' defined but not used [-Wunused-function] 14498 | fts_dpl(x) int x; { | ^~~~~~~ ckcftp.c:9713:17: warning: 'ptflag' defined but not used [-Wunused-variable] 9713 | static int ptflag = 0; | ^~~~~~ ckcftp.c:8615:1: warning: 'shopl' defined but not used [-Wunused-function] 8615 | shopl(x) int x; { | ^~~~~ ckcftp.c:2034:1: warning: 'bytswap' defined but not used [-Wunused-function] 2034 | bytswap(c0,c1) int * c0, * c1; { | ^~~~~~~ ckcftp.c:2024:1: warning: 'xprintc' defined but not used [-Wunused-function] 2024 | xprintc(char c) | ^~~~~~~ ckcftp.c:1025:12: warning: 'ptabflg' defined but not used [-Wunused-variable] 1025 | static int ptabflg = 0; | ^~~~~~~ ckcftp.c:1024:16: warning: 'jcancel' defined but not used [-Wunused-variable] 1024 | static jmp_buf jcancel; | ^~~~~~~ ckcftp.c:1023:16: warning: 'ptcancel' defined but not used [-Wunused-variable] 1023 | static jmp_buf ptcancel; | ^~~~~~~~ ckcftp.c:979:12: warning: 'local' defined but not used [-Wunused-variable] 979 | static int local = 1; /* Shadows Kermit global 'local' */ | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' 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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o wermit \ ckcmai.o ckclib.o ckutio.o ckufio.o \ ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \ ckcpro.o ckucmd.o ckuus2.o ckuus3.o \ ckuus4.o ckuus5.o ckuus6.o ckuus7.o \ ckuusx.o ckuusy.o ckuusr.o ckucns.o \ ckudia.o ckuscr.o ckcnet.o ckusig.o \ ckctel.o ckcuni.o ckupty.o ckcftp.o \ ckuath.o ck_crp.o ck_ssl.o -lncurses -lutil -lresolv -lcrypt -llockdev -lm make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' + for f in ckc302.txt + iconv -fiso88591 -tutf8 ckc302.txt + touch -r ckc302.txt ckc302.txt.new + mv ckc302.txt.new ckc302.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OPpzHl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 + cd ckermit-9.0.302 + rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 + install -d /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/bin /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit + perl -pi -e 's|/usr/local/bin/kermit|/usr/bin/kermit|g' ckermit.ini + install -m 755 wermit /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/bin/kermit + install -m 644 ckuker.nr /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/man/man1/kermit.1 + install -m 644 /builddir/build/SOURCES/ckermit.ini /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit/ + install -m 644 /builddir/build/SOURCES/cku-ckermit.local.ini /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit/ckermit.local.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.modem.generic.ini /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit/ckermit.modem.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.locale.ini /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit/ckermit.locale.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.phone /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/etc/kermit/ckermit.phone + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 9.0.302-22.fc33 --unique-debug-suffix -9.0.302-22.fc33.riscv64 --unique-debug-src-base ckermit-9.0.302-22.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ckermit-9.0.302 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/bin/kermit extracting debug info from /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/bin/kermit original debug info size: 5228kB, size after compression: 5084kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 17827 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ckermit-9.0.302-22.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ovfhdo + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + DOCDIR=/builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/doc/ckermit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/doc/ckermit + cp -pr ckc302.txt /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/doc/ckermit + cp -pr README.fedora /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/doc/ckermit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z1kHMo + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + LICENSEDIR=/builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/licenses/ckermit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/licenses/ckermit + cp -pr COPYING.TXT /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64/usr/share/licenses/ckermit + RPM_EC=0 ++ jobs -p + exit 0 Provides: ckermit = 9.0.302-22.fc33 ckermit(riscv-64) = 9.0.302-22.fc33 config(ckermit) = 9.0.302-22.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) liblockdev.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: ckermit-debugsource-9.0.302-22.fc33.riscv64 Provides: ckermit-debugsource = 9.0.302-22.fc33 ckermit-debugsource(riscv-64) = 9.0.302-22.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ckermit-debuginfo-9.0.302-22.fc33.riscv64 Provides: ckermit-debuginfo = 9.0.302-22.fc33 ckermit-debuginfo(riscv-64) = 9.0.302-22.fc33 debuginfo(build-id) = 8b8db399b8a4a1215ecc267d3790d695993a3579 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ckermit-debugsource(riscv-64) = 9.0.302-22.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 Wrote: /builddir/build/RPMS/ckermit-9.0.302-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ckermit-debuginfo-9.0.302-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ckermit-debugsource-9.0.302-22.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OQgbDm + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-22.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0