Re: CVS commit: src/tests/lib/libc/sys
This change seems to have broken building on 32-bit platforms (certainly at least for 32-bit ARM): # compile sys/t_ptrace_wait.o /nbsd/tools/bin/armv6--netbsdelf-eabihf-gcc -O2 -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wno-missing-noreturn -fPIE--sysroot=/nbsd/destdir/rpi -I/Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/../../.. -c -D_KERNTYPES /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.c In file included from /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.c:59:0: /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h: In function 'trigger_bus': /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:561:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] FORKEE_ASSERT_NEQ((uintmax_t)fp, (uintmax_t)NULL); ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:158:18: note: in definition of macro 'FORKEE_ASSERT_NEQ' uintmax_t vx = (x); \ ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:561:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] FORKEE_ASSERT_NEQ((uintmax_t)fp, (uintmax_t)NULL); ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:159:18: note: in definition of macro 'FORKEE_ASSERT_NEQ' uintmax_t vy = (y); \ ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:565:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] FORKEE_ASSERT_NEQ((uintmax_t)p, (uintmax_t)MAP_FAILED); ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:158:18: note: in definition of macro 'FORKEE_ASSERT_NEQ' uintmax_t vx = (x); \ ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:565:34: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] FORKEE_ASSERT_NEQ((uintmax_t)p, (uintmax_t)MAP_FAILED); ^ /Users/thorpej/NetBSD/current/src/tests/lib/libc/sys/t_ptrace_wait.h:159:18: note: in definition of macro 'FORKEE_ASSERT_NEQ' uintmax_t vy = (y); \ ^ cc1: all warnings being treated as errors *** Failed target: t_ptrace_wait.o Maybe uintptr_t is a better type to cast to? > On May 23, 2018, at 6:18 AM, Kamil Rytarowskiwrote: > > Module Name: src > Committed By: kamil > Date: Wed May 23 13:18:09 UTC 2018 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_wait.h > > Log Message: > Add new auxiliary functions in ATF ptrace(2) tests > > Introduce: > - trigger_trap() > - trigger_segv() > - trigger_ill() > - trigger_fpe() > - trigger_bus() > > These functions generate appropriate signals caused by crashes. > > A debugger is required to collect the crashes regardless of signal masking, > catching or ignoring rules. > > While there, append __used argument to can_we_set_dbregs(). > > Sponsored by > > > To generate a diff of this commit: > cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_ptrace_wait.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > -- thorpej
Re: CVS commit: src/usr.bin/mail
In article <20180523065522.ga18...@homeworld.netbsd.org>,wrote: >You don't get to sneak a controversial change by omitting a real commit >message. Ïο λακÏνίζειν εÏÏί ÏιλοÏοÏείν christos
Re: CVS commit: src/usr.bin/mail
You don't get to sneak a controversial change by omitting a real commit message. On Tue, May 22, 2018 at 09:03:47PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Wed May 23 01:03:46 UTC 2018 > > Modified Files: > src/usr.bin/mail: Makefile mail.1 > > Log Message: > Remove Mail > > > To generate a diff of this commit: > cvs rdiff -u -r1.36 -r1.37 src/usr.bin/mail/Makefile > cvs rdiff -u -r1.63 -r1.64 src/usr.bin/mail/mail.1 > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/usr.bin/mail/Makefile > diff -u src/usr.bin/mail/Makefile:1.36 src/usr.bin/mail/Makefile:1.37 > --- src/usr.bin/mail/Makefile:1.36Sat Jul 5 15:22:04 2014 > +++ src/usr.bin/mail/Makefile Tue May 22 21:03:46 2018 > @@ -1,4 +1,4 @@ > -#$NetBSD: Makefile,v 1.36 2014/07/05 19:22:04 dholland Exp $ > +#$NetBSD: Makefile,v 1.37 2018/05/23 01:03:46 christos Exp $ > #@(#)Makefile8.3 (Berkeley) 4/20/95 > > .include > @@ -26,8 +26,8 @@ SRCS= version.c support.c cmd1.c cmd2.c > dotlock.c edit.c fio.c format.c getname.c head.c v7.local.c lex.c \ > list.c main.c names.c popen.c quit.c send.c sig.c strings.c temp.c \ > tty.c vars.c > -LINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx > -MLINKS= mail.1 Mail.1 mail.1 mailx.1 > +LINKS= ${BINDIR}/mail ${BINDIR}/mailx > +MLINKS= mail.1 mailx.1 > > LDADD+= -lutil > DPADD+= ${LIBUTIL} > > Index: src/usr.bin/mail/mail.1 > diff -u src/usr.bin/mail/mail.1:1.63 src/usr.bin/mail/mail.1:1.64 > --- src/usr.bin/mail/mail.1:1.63 Mon Jul 3 17:34:20 2017 > +++ src/usr.bin/mail/mail.1 Tue May 22 21:03:46 2018 > @@ -1,4 +1,4 @@ > -.\" $NetBSD: mail.1,v 1.63 2017/07/03 21:34:20 wiz Exp $ > +.\" $NetBSD: mail.1,v 1.64 2018/05/23 01:03:46 christos Exp $ > .\" > .\" Copyright (c) 1980, 1990, 1993 > .\" The Regents of the University of California. All rights reserved. > @@ -29,13 +29,12 @@ > .\" > .\" @(#)mail.1 8.8 (Berkeley) 4/28/95 > .\" > -.Dd December 15, 2014 > +.Dd May 22, 2018 > .Dt MAIL 1 > .Os > .Sh NAME > .Nm mail , > -.Nm mailx , > -.Nm Mail > +.Nm mailx > .Nd send and receive mail > .Sh SYNOPSIS > .Nm > @@ -2299,11 +2298,14 @@ originally written by Kurt Shoens. > There are some flags and commands that are not documented here. > Most are not useful to the general user. > .Pp > -Usually, > +Historically, > .Nm > -is just a link to > +was just a link to > .Nm Mail , > -which can be confusing. > +which was confusing. > +.Nm Mail > +has been removed in > +.Nx 9 . > .Pp > The name of the > .Ic alternates >