summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_291.c
blob: 7c28827e1635254d04069c36779f2a626de6ab17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$NetBSD: msg_291.c,v 1.4 2023/03/28 14:44:35 rillig Exp $	*/
# 3 "msg_291.c"

// Test for message: invalid multibyte character [291]

/* lint1-extra-flags: -X 351 */

char foreign[] = "\x80\xC3\x76";

/* expect+1: error: syntax error ':' [249] */
TODO: "Add example code that triggers the above message."
TODO: "Add example code that almost triggers the above message."
ared by rtsock and keysockozaki-r 2017-04-11Add RO_MSGFILTER socket option to PF_ROUTE to filter outroy 2016-01-20Eliminate struct protosw::pr_output.riastradh 2015-05-02make connect syscall use sockaddr_big and modify pr_{send,connect}rtr 2015-04-24make accept, getsockname and getpeername syscalls use sockaddr_big and modifyrtr 2014-08-09split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreqrtr 2014-08-08split PRU_RCVD function out of pr_generic() usrreq switches and put intortr 2014-08-05split PRU_SEND function out of pr_generic() usrreq switches and put intortr 2014-08-05revert the removal of struct lwp * parameter from bind, listen and connectrtr 2014-07-31fix missed conversion to call to pr_connect() from pr_generic() whenrtr 2014-07-31split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out ofrtr 2014-07-30split PRU_CONNECT function out of pr_generic() usrreq switches and putrtr 2014-07-24split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreqrtr 2014-07-23split PRU_SENDOOB and PRU_RCVOOB function out of pr_generic() usrreqrtr 2014-07-09* split PRU_ACCEPT function out of pr_generic() usrreq switches and putrtr 2014-07-09* split PRU_PEERADDR and PRU_SOCKADDR function out of pr_generic()rtr 2014-07-06* split PRU_SENSE functionality out of xxx_usrreq() switches and place intortr 2014-06-22* split PRU_CONTROL functionality out of xxx_userreq() switches and placertr 2014-05-19- Split off PRU_ATTACH and PRU_DETACH logic into separate functions.rmind 2014-05-18Add struct pr_usrreqs with a pr_generic function and prepare for thermind 2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg 2011-01-11Apply patch from PR kern/44369 by Wolfgang Stukenbrock.pooka 2008-05-29Delete local variable 'sockets', whose value is never used. Reporteddyoung 2008-04-24Merge the socket locking patch:ad 2007-05-06Cosmetic: make the macro 'equal' into an inline subroutine, bcmpdyoung 2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos 2007-02-17KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneousdyoung 2006-11-16__unused removal on arguments; approved by core.christos 2006-10-25Introduce KAUTH_REQ_NETWORK_SOCKET_OPEN, to check if opening a socket iselad 2006-10-12- sprinkle __unused on function decls.christos 2006-07-23Use the LWP cached credentials where sane.ad 2006-05-14integrate kauth.elad 2005-12-11ANSI function decls and application of static.thorpej 2005-12-11merge ktrace-lwp.christos 2005-02-26nuke trailing whitespaceperry 2004-04-26Remove #else of #if __STDC__matt 2003-09-30Fix off-by-one in PRC_NCMDS check. From FreeBSD via OpenBSDchristos 2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc 2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl 2003-06-28Pass lwp pointers throughtout the kernel, as required, so that the lwpid candarrenr