Re: CVS commit: src/sys

2009-10-04 Thread Jason Thorpe


On Oct 2, 2009, at 8:48 AM, Antti Kantee wrote:


Module Name:src
Committed By:   pooka
Date:   Fri Oct  2 15:48:42 UTC 2009

Modified Files:
src/sys/conf: files
src/sys/kern: kern_subr.c
Added Files:
src/sys/kern: subr_humanize.c

Log Message:
Give humanize_number  format_bytes their own spots in the sun and  
move

from kern_subr to subr_humanize.


This stuff really ought just to be in libkern.




To generate a diff of this commit:
cvs rdiff -u -r1.958 -r1.959 src/sys/conf/files
cvs rdiff -u -r1.200 -r1.201 src/sys/kern/kern_subr.c
cvs rdiff -u -r0 -r1.1 src/sys/kern/subr_humanize.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


-- thorpej



Re: CVS commit: src/lib/libc/arch/m68k/sys

2009-10-04 Thread Jason Thorpe


On Oct 3, 2009, at 3:28 PM, Frank Wille wrote:


Module Name:src
Committed By:   phx
Date:   Sat Oct  3 22:28:33 UTC 2009

Modified Files:
src/lib/libc/arch/m68k/sys: cerror.S

Log Message:
SystemV-R4 ABI for M68k returns pointers in %a0, so we have to make  
sure
that CERROR returns -1 in %a0 in addition to %d0 and %d1, to make  
functions
like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in case of an  
error.
A side effect of this bug was a segfault caused by jemalloc, when  
mmap()

failed.


Wow, old bug.  Nice find!




To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/arch/m68k/sys/cerror.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


-- thorpej