[odc] Daily src changes for 2007-07-17

ODC auto at squish.net
Wed Jul 18 07:00:01 BST 2007


OpenBSD src changes summary for 2007-07-17
==========================================

bin/cat                                 lib/libc
sbin/fsck_ffs                           sbin/growfs
sbin/swapctl                            share/man
sys/arch/sgi/conf                       sys/dev
sys/dev/pci                             sys/sys
usr.bin/cvs                             usr.bin/make

== bin =============================================================== 01/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/bin

cat

  ~ cat.c                                 

  > sync usage(); from Tobias Stoeckmann (jmc@)

== lib =============================================================== 02/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ sys/ktrace.2                          

  > document "pid"; based on a diff from Kristaps Dzonsons
  > ok otto (jmc@)

== sbin ============================================================== 03/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

fsck_ffs

  ~ pass5.c                               

  > rmoev the macppc workaround, now that isset() and friends use expressions
  > that gcc likes better (otto@)

growfs

  ~ Makefile                              

  > remove m68k gcc workaround now that the gcc fix is in; ok miod@ (millert@)

swapctl

  ~ swapctl.8                             

  > do not try to list which options go with -p: the list is currently out of
  > date, and even if i update it, it will obsolete itself if we add or remove
  > options. it works when it makes sense, like it should.
  > after a request from Igor Zinovik (jmc@)

  ~ swapctl.c                             

  > sync swapon usage(); from Igor Zinovik (jmc@)

== share ============================================================= 04/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man5/pf.conf.5                        

  > typo; from Stephan A. Rickauer (jmc@)

== sys =============================================================== 05/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/sgi/conf

  ~ GENERIC                               

  > emu(4) works on sgi.
  > requested by jsg@
  > the digital out port is obscured by the small PCI card access slot
  > on the moosehead case, but we don't support the digital ports anyway
  > (jakemsr@)

dev

  ~ auconv.c                              ~ mulaw.c

  > when looping through an array and advancing your pointer to the array
  > 2x on each loop, only loop .5x times
  > fixes hard hangs on i386 and "hiccups" on sgi when these functions are
  > used through e.g. dd if=/dev/audio of=foo, since mulaw is the default
  > encoding.
  > the commit history wrt this code is interesting.  I am responsible for
  > introducing this braindamage to OpenBSD ... and note that
  > linear16_to_linear8_[lb]e had it right ... (jakemsr@)

  ~ audio.c                               

  > - the data in the read buffer, that was put there by the hardware,
  > may not be the same sample size as what userland is to receive.
  > account for the discrepency between the sample sizes when comparing
  > how much to copy out with what userland expects.
  > - only copy out the part of the buffer that is in the format userland
  > expects.
  > emu(4) can now record with all encodings it claims to be able to.
  > that is, dd if=/dev/audio of=foo does as audio(4) says (monaural
  > mu-law) and does it correctly.
  > AFAIKS, the only other driver that sets a read factor is uaudio(4),
  > and that depends on what the hardware supports.
  > tested on i386, amd64 and sgi with 3 different emu(4) cards (jakemsr@)

  ~ audio.c                               

  > more places where the difference between the hardware sample size
  > and the userland sample size matters.
  > there may be different sample size factors for play and record,
  > so use the appropriate factor when userland sets the blocksize.
  > the reported blocksize, hiwat and lowat are only for the play buffer.
  > IMO, it would be good to report the record blocksize, hiwat and lowat
  > as well, but that is another issue.
  > tested with emu(4) and an auvia(4) modified to only do stereo in
  > hardware. (jakemsr@)

dev/pci

  ~ if_ste.c                              

  > ident/ansify/de-register (jasper@)

  ~ if_ste.c                              

  > Add missing '};' to end struct declaration. Compiles again. (krw@)

sys

  ~ param.h                               

  > rewrite isset() and friends to use shifts and masks instead of divide
  > and modulo. generates smaller code and circumvents bugs seen on macppc
  > and mac68k. ok deraadt@ art@ miod@ (otto@)

== usr.bin =========================================================== 06/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

cvs

  ~ client.c                              

  > Do not send the Directory request when using the rlog command.
  > OK joris at . (xsa@)

  ~ getlog.c                              

  > Simplify the way we check wether the issued command is `log' or `rlog'.
  > Input and OK ray at . (xsa@)

  ~ getlog.c                              

  > Correct function name in error string. (xsa@)

  ~ client.c                              

  > Forgot this part about rlog not needing the Directory request to be sent.
  > (xsa@)

make

  ~ cond.c                                

  > comment snicky usage of strchr (espie@)

===============================================================================


More information about the odc mailing list