[Bug 274812] /usr/src/bin/stty/modes.c:129:13: error: use of undeclared identifier 'IUTF8'
Date: Thu, 02 Nov 2023 08:36:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274812 Fred L. Finster <wb7odyfred@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wb7odyfred@yahoo.com --- Comment #2 from Fred L. Finster <wb7odyfred@yahoo.com> --- root@fredselfbuilt_rpi4b:/usr/src/include # grep -nRS IUTF8 *.c *.h grep: *.c: No such file or directory root@fredselfbuilt_rpi4b:/usr/src/include # grep -nRS IUTF8 * root@fredselfbuilt_rpi4b:/usr/src/include # cd .. root@fredselfbuilt_rpi4b:/usr/src # grep -nRS IUTF8 * bin/stty/modes.c:129: { "iutf8", IUTF8, 0 }, bin/stty/modes.c:130: { "-iutf8", 0, IUTF8 }, bin/stty/print.c:130: put("-iutf8", IUTF8, 1); crypto/openssh/ttymodes.c:316:#define SSH_TTYMODE_IUTF8 42 /* for SSH_BUG_UTF8TTYMODE */ crypto/openssh/ttymodes.c:319: if (OP == SSH_TTYMODE_IUTF8 && (ssh->compat & SSH_BUG_UTF8TTYMODE)) { \ crypto/openssh/ttymodes.h:121:#ifdef IUTF8 crypto/openssh/ttymodes.h:122:TTYMODE(IUTF8, c_iflag, 42) crypto/openssh/ttymodes.h:123:#endif /* IUTF8 */ share/man/man4/termios.4:887:.It Dv IUTF8 stand/kboot/arch/powerpc64/termios_arch.h:54:#define HOST_IUTF8 0040000 stand/kboot/termios_gen.h:52:#define HOST_IUTF8 0040000 sys/kern/tty_ttydisc.c:811: } else if ((tp->t_termios.c_iflag & IUTF8) != 0 && sys/kern/tty.c:89: IGNCR|ICRNL|IXON|IXOFF|IXANY|IMAXBEL|IUTF8) sys/sys/_termios.h:100:#define IUTF8 0x00004000 /* assume input is utf-8 encoded */ ^C Here is a simplistic answer to something you probably have figured out. Hope this grep -nR helps you find , which *.h file got left out or modified Here are 2 places IUTF8 are defined. Now to figure out why they were not included. You have to just run the preprocessor on the C code base, and then look for what DID NOT GET defined, Fred stand/kboot/termios_gen.h:52 sys/sys/_termios.h:100 -- You are receiving this mail because: You are the assignee for the bug.