Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
mjacob
Fri Oct 24 11:10:34 PDT 1997
Update of /cvsroot/src/sys/lib/libkern
In directory netbsd1:/var/slash-tmp/cvs-serv24955
Modified Files:
memchr.c libkern.h
Log Message:
Add missing NULL define for KERNEL case and prototype into libkern.h.
chuck
Fri Oct 24 11:14:27 PDT 1997
Update of /cvsroot/src/sys/kern
In directory netbsd1:/var/slash-tmp/cvs-serv25052
Modified Files:
subr_prf.c
Log Message:
import chris torek's vfprintf() from libc [renamed to kprintf and all
floating point stuff removed].
the new kprintf replaces the 3 different (and buggy) versions of
printf that were in the kernel before (kprintf, sprintf, and db_printf),
thus reducing duplicated code by 2/3's. this fixes (or adds) several
printf formats. examples:
%#x - previously only supported by db_printf [not printf/sprintf]
%8.8s - printf would print "000chuck" for "chuck" before
%5p - printf would print "0x 1" for value 1 before
XXX: new kprintf still supports several non-standard '%' formats that
are supposed to eventually be removed:
%: - passes an additional format string and argument list recursively
%b - used to decode error registers
%r - int, but print in radix "db_radix" [DDB only]
%z - 'signed hex' [DDB only]
%n - unsigned int, but print in radix "db_radix" [DDB only]
note that DDB's "%n" conflicts with standard "%n" which takes the
number of characters written so far and stores it into the integer
indicated by the "int *" pointer arg. yuck!
while here, add comments for each function explaining what it is
supposed to do.
chuck
Fri Oct 24 11:16:49 PDT 1997
Update of /cvsroot/src/sys/ddb
In directory netbsd1:/var/slash-tmp/cvs-serv25578
Modified Files:
db_output.h
Log Message:
kill kdbprintf [use db_printf]
thorpej
Fri Oct 24 11:17:46 PDT 1997
Update of /cvsroot/src/gnu/usr.bin/send-pr
In directory netbsd1:/var/slash-tmp/cvs-serv25833
Modified Files:
categories
Log Message:
Add the "pkg" category.
thorpej
Fri Oct 24 11:18:46 PDT 1997
Update of /cvsroot/src/gnu/usr.bin/send-pr
In directory netbsd1:/var/slash-tmp/cvs-serv25966
Modified Files:
Tag: netbsd-1-3
categories
Log Message:
Pull up from trunk: Add the "pkg" category.
Home |
Main Index |
Thread Index |
Old Index