Re: CVS commit: src/sbin/gpt

2017-02-13 Thread David Laight
n non-compliaint, completely f*cked. It reorders argv[] to move all 'options' before filenames. So 'foo bar -baz' is changed to 'foo -baz bar' before being processed. I've NFI of the justification for it. Historically you could do 'rlogin host -l username' but I don't know of any others. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/net

2016-01-12 Thread David Laight
the same effect and is about as easy to debug. Whether kmem_alloc(KM_SLEEP) can return NULL is another matter. Seems wrong to me - maybe even for impossible allications. ISTR a problem waiting for KVA and phys-mem being 'difficult'. I know that the Linux equivalent will return NULL, not sure when. It would be useful to define that allocation for non-huge (maybe even several MB) amounts will always sleep. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/bin/sh

2016-01-12 Thread David Laight
ough they are probably dup'ed back before anything is run. Personally I think it is the job of the scripts to close any extra fd, not the shell. David -- David Laight: da...@l8s.co.uk

Re: CVS import: othersrc/external/bsd/ibbs

2016-01-12 Thread David Laight
to be quite efficient, generating numbers at 10 MBps > on a NetBSD VM running in Fusion hosted on Mac OS X. Doesn't sound like anywhere near enough entropy. If you start with 32 bits you'll get 'birthday paradox' duplicated sequences after a relatively small number of boots. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/common/lib/libc/stdlib

2016-01-12 Thread David Laight
"0b" always came out > as 0 before, but now it doesn't. > > that's a fairly major semantic change, i think i agree with joerg that > it has a high chance of breaking existing usage. Worse that that, some code might be relying on getting a pointer to the 'b' and continuing to parse the buffer. Not a good idea to change it. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/i386/stand/bootxx

2016-01-12 Thread David Laight
he pbr only the mbr (and shouldn't look at much of that). OTOH, no point changing it. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2015-10-18 Thread David Laight
On Tue, Oct 13, 2015 at 09:28:35PM +, Robert Swindells wrote: > Module Name: src > Committed By: rjs > Date: Tue Oct 13 21:28:35 UTC 2015 ... > Log Message: > Add core networking support for SCTP. As a matter of interest, where did this come from? David -

Re: CVS commit: src/sys/kern

2015-09-27 Thread David Laight
mes were the same (or for compat names) they are not copied and the array > has NULL for them. H Isn't that going to be even more confusing since you won't know whether a 'compat' (or old) system call is being used which might have issues in the compatibility layer itself. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/m68k/fpsp

2015-09-06 Thread David Laight
being in a .a file was to allow builds on systems with short command line length limits. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2015-09-02 Thread David Laight
> thought about it again and came to the conclusion that if I felt I > needed to bump that number more than once in a day, it would mean that > I'm not designing and/or developing correctly. I feel that conclusion > still stands. If desparate you can always use tomorrow... David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/external/gpl3

2015-08-31 Thread David Laight
On Tue, Aug 11, 2015 at 10:26:43PM +0400, Alan Barrett wrote: > On Tue, 11 Aug 2015, David Laight wrote: > >The system should probably clean 'turds' from both /tmp and /var/tmp. > > That would be surprising, at least to me. > > I rely on /var/tmp/vi.recover being persiste

Re: CVS commit: src/usr.bin/config

2015-08-31 Thread David Laight
ource file and (probably) makes it easier to have MI fallback sources. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.bin/patch

2015-08-11 Thread David Laight
. XXX: pullup-7 Maybe patch should stop ed from executing shell commands. Setting SHELL=/bin/false might be enough. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/external/mit/xorg

2015-08-11 Thread David Laight
likely; but stranger things have happened, and it doesn't help that regexp tools have a long-standing culture of not complaining about invalid regexp syntax. anyway it's a very minor point. It is also less likely to go wrong when someone adds another character. David -- David Laight: da

Re: CVS commit: src/external/gpl3

2015-08-11 Thread David Laight
. Historically /tmp was likely to be small. That is why /var/tmp exists, and is probably why the compiler defaults to /var/tmp. The system should probably clean 'turds' from both /tmp and /var/tmp. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/amd64/amd64

2015-07-07 Thread David Laight
(for adds) so happening at a different stage in the pipeline and having different result delay and/or concurrency rules - but I can't remember which particular cpu that applied to. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2015-03-14 Thread David Laight
On Wed, Mar 11, 2015 at 06:12:32PM -0400, Greg Troxel wrote: David Laight da...@l8s.co.uk writes: I'm also not sure we need a new kernel config. It seems the systems of interest are limited to 486 machines without PCI (and thus EISA probably), and that's a pretty narrow window around

Re: CVS commit: src

2015-03-11 Thread David Laight
, and no pentium ones. They probably need a 'small' kernel anyway. More interesting might be the embedded 486-like systems from soekris (etc). Not sure if any of those have graphics but they will normally run a generic kernel. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: [netbsd-7] xsrc/external/mit/MesaLib/dist/src/mapi

2015-02-17 Thread David Laight
? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2015-01-08 Thread David Laight
platforms have 64-bit off_t. Specifying uint32_t and ensuring that 64bit fields are 'aligned' is good practice and does no harm. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/sparc64/include

2014-12-31 Thread David Laight
On Tue, Dec 30, 2014 at 04:34:42PM -0600, Dennis Ferguson wrote: On 30 Dec, 2014, at 12:52 , David Laight da...@l8s.co.uk wrote: Is that the correct fix? Unless the rdpr actually accesses memory (don't think it does) then then problem is probably a missing 'volatile' instead

Re: CVS commit: xsrc/external/mit/MesaLib/dist/src/mesa/main

2014-12-31 Thread David Laight
-- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/sparc64/include

2014-12-31 Thread David Laight
On Wed, Dec 31, 2014 at 11:15:24AM +0100, Martin Husemann wrote: On Wed, Dec 31, 2014 at 10:05:22AM +, David Laight wrote: In this case I suspect removing __constfunc and making the asm volatile will force correct sequencing. Check the commit history. Can we make only the hypverisor

Re: CVS commit: src/sys/arch/atari/stand/installboot

2014-12-02 Thread David Laight
involved - and apply the 'strict aliasing' rules in the same way that is applied the 'alignment' ones. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/atari/stand/installboot

2014-12-02 Thread David Laight
if the checksum is inlined and any earlier writes to the sector itself are still 'pending'. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/fs/puffs

2014-10-15 Thread David Laight
wrong. Do we need to support any compilers that don't support __VA_ARGS__ ? Even microsoft's compiler almost supports it. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/tests/lib/libm

2014-10-15 Thread David Laight
to be accurate to one or two counts on the lsb of the mantissa. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/x86/x86

2014-10-15 Thread David Laight
for it. However, this solves the problem I was having. And, given that XEN being broken is pretty much a show-stopper for a release, something needed to be done. One option would be to detect the fault at runtime. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/common/lib/libc/arch/i386/string/small

2014-09-26 Thread David Laight
'strchr(s, 0)' is actually 's + strlen(s)' David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2014-08-15 Thread David Laight
not to a reasonable amount of free space. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/vax/include

2014-08-15 Thread David Laight
that the underlying type differs between architectures. There must be a gcc config switch somewhere. I wonder what they are on other 32bit archs (they mut be 'long' on 64bit ones). David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/vax/include

2014-08-15 Thread David Laight
On Fri, Aug 15, 2014 at 08:14:06AM +0100, David Laight wrote: On Thu, Aug 14, 2014 at 09:17:33AM +, Martin Husemann wrote: Module Name:src Committed By: martin Date: Thu Aug 14 09:17:32 UTC 2014 Modified Files: src/sys/arch/vax/include: int_fmtio.h

Re: CVS commit: src/sys/fs/msdosfs

2014-08-12 Thread David Laight
and lsof could use the new define instead of _KERNEL. MSDOSFS_MOUNT_USERLAND_DEFS or something. or _KMEM_USER ? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.sbin/sysinst

2014-08-12 Thread David Laight
(if available), fall back to . if not, or use build-in english otherwise. Is that really the best order? Wouldn't it be more useful to look in . first? David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src

2014-08-12 Thread David Laight
space for sysinst to drop core. Unless the system has very limited memory (in which case it really won't run much) then adding a meg or two to the ramdisk size probably doen't matter. IIRC it is compressed in the install media. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/compat/netbsd32

2014-06-16 Thread David Laight
years ago... David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/arch

2014-06-16 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jun 16 19:08:18 UTC 2014 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 src/sys/arch/i386/conf: GENERIC XEN3_DOM0 Log Message: Comment out the xhci entries. The driver really doesn't work well enough to be

CVS commit: src/sys/arch

2014-06-16 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Jun 16 19:08:18 UTC 2014 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 src/sys/arch/i386/conf: GENERIC XEN3_DOM0 Log Message: Comment out the xhci entries. The driver really doesn't work well enough to be

Re: CVS commit: src/sys/ufs/ufs

2014-05-16 Thread David Laight
that NFS clients would write to the wrong file in the wrong FS. The 'impossible to get rid of' retries for hard mounts were something up with which I had to put. (A preposition is something you should not end a sentence with.) David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/arch/i386/stand

2014-05-01 Thread David Laight
Module Name:src Committed By: dsl Date: Thu May 1 18:37:26 UTC 2014 Modified Files: src/sys/arch/i386/stand: Makefile.inc Log Message: Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds. One of these (probably the first) is needed to stop the eh-frame

CVS commit: src/sys/arch/i386/stand

2014-05-01 Thread David Laight
Module Name:src Committed By: dsl Date: Thu May 1 18:37:26 UTC 2014 Modified Files: src/sys/arch/i386/stand: Makefile.inc Log Message: Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds. One of these (probably the first) is needed to stop the eh-frame

Re: CVS commit: src/usr.bin/netstat

2014-04-24 Thread David Laight
the internal route statistics. Restore the old kmem route printing code that was not just used for post-mortem displays. Reported by kardel@, test by netstat -nrvf inet That seems a large backwards step... David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/common/lib/libc/string

2014-04-23 Thread David Laight
. A prefetch there could also fault. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-23 Thread David Laight
paging - so you could only run OS that swap entire processes. The '020 saves the mid-instruction state for some faults (as well as the actual fault reason) so they can be recovered. (Just don't continue on a cpu with a different mask level.) David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread David Laight
though that loading the kernel from other than the root parition was needed for some non-raid configurations - eg large disks. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/distrib/utils/embedded/conf

2014-04-01 Thread David Laight
about for dumps? Although I'm not at all sure what this particular file is for... From the diff it looks like it needs for TLC in order to get sane partition offsets. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/x86/x86

2014-04-01 Thread David Laight
On Tue, Apr 01, 2014 at 07:16:18AM +, David Laight wrote: Module Name: src Committed By: dsl Date: Tue Apr 1 07:16:18 UTC 2014 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Revert most of the machdep sysctls to 32bit I think I remember why I set

CVS commit: src/sys/arch/x86/x86

2014-04-01 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Apr 1 07:16:18 UTC 2014 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Revert most of the machdep sysctls to 32bit To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

CVS commit: src/sys/arch/x86/x86

2014-04-01 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Apr 1 07:16:18 UTC 2014 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Revert most of the machdep sysctls to 32bit To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

Re: CVS commit: src/usr.sbin/rtsold

2014-03-25 Thread David Laight
hadn't spotted that xtos had added a cast as well. There is another cast that ought to be pointless two lines later. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/games

2014-03-23 Thread David Laight
++) it can't matter that the comparison is unsigned because 'i' can be assumed to be non-negative (even if 'sizeof foo' is greater than MAXINT). David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.sbin/rtsold

2014-03-18 Thread David Laight
an interval in microseconds and bounded to less than a second. The code is doing: long x = arc4random() % (1 * 100); That really shouldn't generate a compiler warning. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/usr.sbin/rtsold

2014-03-18 Thread David Laight
On Tue, Mar 18, 2014 at 08:21:19PM +, Christos Zoulas wrote: In article 20140318201420.go20...@snowdrop.l8s.co.uk, David Laight da...@l8s.co.uk wrote: On Tue, Mar 18, 2014 at 03:30:09PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date

CVS commit: src/usr.sbin/rtsold

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 20:39:55 UTC 2014 Modified Files: src/usr.sbin/rtsold: rtsold.c Log Message: Change previous to use uint32_t for 'interval'. The value is a random interval in usec obtained by reducing a uint32_t value modulo 100

CVS commit: src/lib/libm/src

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 21:52:19 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Change 'i0' to be signed so that the sign bit is preserved on 'k' and the code at the bottom splits the multiply. Fixes denormal results. This

CVS commit: src/usr.sbin/rtsold

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 20:39:55 UTC 2014 Modified Files: src/usr.sbin/rtsold: rtsold.c Log Message: Change previous to use uint32_t for 'interval'. The value is a random interval in usec obtained by reducing a uint32_t value modulo 100

CVS commit: src/lib/libm/src

2014-03-18 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Mar 18 21:52:19 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Change 'i0' to be signed so that the sign bit is preserved on 'k' and the code at the bottom splits the multiply. Fixes denormal results. This

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 18:42:21 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Check that the result isn't equaly to the expected value before checking the absolute size of the error term. If the expected result is

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:30:44 UTC 2014 Modified Files: src/lib/libm/src: s_exp2f.c Log Message: Fix overflow and underflow on i386. The return value of a 'float' function is in the x87 %st(0) register. This is an 80bit 'long double' register.

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:44:48 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Simplify somewhat: this is C not FORTRAN-IV - we have structures! Directly us 'ieee_double_shape_type' when ripping apart the fp number to avoid

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:49:27 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Print the result as a 'long double' - on i386 a return value that should be infinity might just be too large for 'double' and won't get converted

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:51:19 UTC 2014 Modified Files: src/tests/lib/libm: t_exp.c Log Message: Add a lot more tests for exp2() and exp2f(). exp2f(7.7) and exp2f(8.8) seem too far from their expected values (especially the latter).

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 18:42:21 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Check that the result isn't equaly to the expected value before checking the absolute size of the error term. If the expected result is

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:30:44 UTC 2014 Modified Files: src/lib/libm/src: s_exp2f.c Log Message: Fix overflow and underflow on i386. The return value of a 'float' function is in the x87 %st(0) register. This is an 80bit 'long double' register.

CVS commit: src/lib/libm/src

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:44:48 UTC 2014 Modified Files: src/lib/libm/src: s_exp2.c Log Message: Simplify somewhat: this is C not FORTRAN-IV - we have structures! Directly us 'ieee_double_shape_type' when ripping apart the fp number to avoid

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:49:27 UTC 2014 Modified Files: src/tests/lib/libm: t_libm.h Log Message: Print the result as a 'long double' - on i386 a return value that should be infinity might just be too large for 'double' and won't get converted

CVS commit: src/tests/lib/libm

2014-03-16 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 16 22:51:19 UTC 2014 Modified Files: src/tests/lib/libm: t_exp.c Log Message: Add a lot more tests for exp2() and exp2f(). exp2f(7.7) and exp2f(8.8) seem too far from their expected values (especially the latter).

CVS commit: src/lib/libm/src

2014-03-14 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Mar 14 22:21:32 UTC 2014 Modified Files: src/lib/libm/src: math_private.h Log Message: There is some very odd code in s_exp2.c that only works if 'double' values are rounded to 53 bit mantissa in teh x87 registers. This

CVS commit: src/lib/libm/src

2014-03-14 Thread David Laight
Module Name:src Committed By: dsl Date: Fri Mar 14 22:21:32 UTC 2014 Modified Files: src/lib/libm/src: math_private.h Log Message: There is some very odd code in s_exp2.c that only works if 'double' values are rounded to 53 bit mantissa in teh x87 registers. This

Re: CVS commit: src/sys/miscfs/genfs

2014-03-12 Thread David Laight
and then realise that they are just longhand! I don't normally compare bit masking against zero, just: if (var BIT) or if (!(var BIT)) to me they read better that way. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/external/public-domain/sqlite/lib

2014-03-07 Thread David Laight
to remove the target file on failure. Or maybe change the last line to: ${.TARGET}.tmp mv ${.TARGET}.tmp ${.TARGET} David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/kern

2014-03-06 Thread David Laight
will be quite happy with either a 32bit of 64bit result. David -- David Laight: da...@l8s.co.uk

Re: CVS commit: src/sys/arch/i386/i386

2014-03-06 Thread David Laight
managed to get gcc 4.8 to optimise some fp loops to use the ymm registers - the xsave/xrstor code seemed to worn an amd64. But I don't have an i386 install on a new enough system. David -- David Laight: da...@l8s.co.uk

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 19:43:46 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Added Files: src/tests/lib/libm: t_libm.h Log Message: Move the #defines that simplified the test definitions and checks into a separate header than

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:14:46 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c t_libm.h Log Message: Fix some typos. Make the infinity and nan constants 'double' not 'long double'. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:15:41 UTC 2014 Modified Files: src/tests/lib/libm: t_atan.c Log Message: A couple of the atan tests are randomly failing. Print the incorrect value. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:14:46 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c t_libm.h Log Message: Fix some typos. Make the infinity and nan constants 'double' not 'long double'. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/tests/lib/libm

2014-03-05 Thread David Laight
Module Name:src Committed By: dsl Date: Wed Mar 5 20:15:41 UTC 2014 Modified Files: src/tests/lib/libm: t_atan.c Log Message: A couple of the atan tests are randomly failing. Print the incorrect value. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/lib/libm/arch/i387

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 08:00:50 UTC 2014 Modified Files: src/lib/libm/arch/i387: e_acos.S Log Message: Drop in a fabs() after the fsqrt(). While it may seem pointless, it the rouding mode is set to round towards minus infinity then acos(-1)

CVS commit: src/tests/lib/libm

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 18:21:33 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Remove the print of the rounding mode. It was added in case it was non-zero - which it isn't. It still isn't clear why acos(-1) gives the wrong

CVS commit: src/sys/arch/xen/x86

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 22:09:32 UTC 2014 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Use the global pci_mode to avoid 'set but not used' warnings from gcc 4.8.3. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/lib/libm/arch/i387

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 08:00:50 UTC 2014 Modified Files: src/lib/libm/arch/i387: e_acos.S Log Message: Drop in a fabs() after the fsqrt(). While it may seem pointless, it the rouding mode is set to round towards minus infinity then acos(-1)

CVS commit: src/tests/lib/libm

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 18:21:33 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Remove the print of the rounding mode. It was added in case it was non-zero - which it isn't. It still isn't clear why acos(-1) gives the wrong

CVS commit: src/sys/arch/xen/x86

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 22:09:32 UTC 2014 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Use the global pci_mode to avoid 'set but not used' warnings from gcc 4.8.3. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/tests/lib/libm

2014-03-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 2 22:40:45 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Include the subtest number in any error output. Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign

CVS commit: src/tests/lib/libm

2014-03-02 Thread David Laight
Module Name:src Committed By: dsl Date: Sun Mar 2 22:40:45 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Include the subtest number in any error output. Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign

Re: CVS commit: src/sys/kern

2014-03-01 Thread David Laight
On Sat, Mar 01, 2014 at 08:31:42AM +0200, Alan Barrett wrote: On Thu, 27 Feb 2014, David Laight wrote: Modified Files: src/sys/kern: kern_sysctl.c +case CTLTYPE_INT: +/* Allow for 64bit read of 32bit value */ +if (*oldlenp == sizeof (uint64_t

CVS commit: src/external/bsd/bind/dist/lib/dns/include/dns

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 12:12:57 UTC 2014 Modified Files: src/external/bsd/bind/dist/lib/dns/include/dns: rbt.h Log Message: Add missing #endif To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/distrib/sets/lists

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 15:41:00 UTC 2014 Modified Files: src/distrib/sets/lists/base: ad.arm ad.mips md.amd64 md.sparc64 shl.mi src/distrib/sets/lists/debug: ad.arm ad.mips md.amd64 md.sparc64 shl.mi Log Message: Replace all the

CVS commit: src/sys/kern

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 17:27:48 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: When converting out of range 64bit sysctl values to 'int' (because of an 'int' sized read) don't assume that sizeof (int) is 4. To generate a

CVS commit: src/tests/lib/libm

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 21:08:39 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Some of the acos() tests seem to fail on some systems. Sorting out why isn't helped by the tests not reporting the erronous value. Change the

CVS commit: src/external/bsd/bind/dist/lib/dns/include/dns

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 12:12:57 UTC 2014 Modified Files: src/external/bsd/bind/dist/lib/dns/include/dns: rbt.h Log Message: Add missing #endif To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/distrib/sets/lists

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 15:41:00 UTC 2014 Modified Files: src/distrib/sets/lists/base: ad.arm ad.mips md.amd64 md.sparc64 shl.mi src/distrib/sets/lists/debug: ad.arm ad.mips md.amd64 md.sparc64 shl.mi Log Message: Replace all the

CVS commit: src/sys/kern

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 17:27:48 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: When converting out of range 64bit sysctl values to 'int' (because of an 'int' sized read) don't assume that sizeof (int) is 4. To generate a

CVS commit: src/tests/lib/libm

2014-03-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Mar 1 21:08:39 UTC 2014 Modified Files: src/tests/lib/libm: t_acos.c Log Message: Some of the acos() tests seem to fail on some systems. Sorting out why isn't helped by the tests not reporting the erronous value. Change the

Re: CVS commit: src/sys/uvm

2014-02-28 Thread David Laight
the old style #define constants instead of the new style (since 2005) CTL_CREATE idiom? I certainly thought that no new 'fixed number' sysctls were supposed to be added. David -- David Laight: da...@l8s.co.uk

CVS commit: src/sys/kern

2014-02-27 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 27 22:50:52 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: Allow CTLTYPE_INT and CTLTYPE_QUAD to be read and written as either 4 or 8 byte values regardless of the type. 64bit writes to 32bit variables

CVS commit: src/sys/kern

2014-02-27 Thread David Laight
Module Name:src Committed By: dsl Date: Thu Feb 27 22:50:52 UTC 2014 Modified Files: src/sys/kern: kern_sysctl.c Log Message: Allow CTLTYPE_INT and CTLTYPE_QUAD to be read and written as either 4 or 8 byte values regardless of the type. 64bit writes to 32bit variables

CVS commit: src/sys/arch/x86/x86

2014-02-25 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 25 17:56:03 UTC 2014 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a 'stupido' that stopped (amongst other things) the cpu brand string being read. The most obvious side effect the anita tests failed to

CVS commit: src/sys/arch/x86/include

2014-02-25 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Feb 25 22:11:11 UTC 2014 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add the XCR bits for snazzy upcoming features. Define a mask for the fpu releated ones - only these wll be enabled. The memory bound

  1   2   3   4   5   6   7   8   9   >