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

ODC auto at squish.net
Wed Aug 1 07:00:02 BST 2007


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

bin/ln                                  distrib/sets
libexec/ftpd                            regress/libexec
regress/sys                             sbin/ifconfig
sbin/isakmpd                            sys/arch/sgi/dev
sys/dev                                 sys/dev/i2c
sys/dev/pci                             sys/dev/pcmcia
usr.bin/cdio                            usr.bin/sendbug
usr.sbin/sensorsd                       

== bin =============================================================== 01/08 ==

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

ln

  ~ ln.c                                  

  > Adapted from DragonflyBSD revisions 1.10 and 1.11: warn when source
  > and target are identical.  When -f is specified, don't delete source.
  > OK sobrado, feedback from paesco, kettenis, and tedu. (ray@)

== distrib =========================================================== 02/08 ==

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

sets

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.aviion
  ~ lists/base/md.cats                    ~ lists/base/md.hp300
  ~ lists/base/md.hppa                    ~ lists/base/md.hppa64
  ~ lists/base/md.i386                    ~ lists/base/md.landisk
  ~ lists/base/md.luna88k                 ~ lists/base/md.mac68k
  ~ lists/base/md.macppc                  ~ lists/base/md.mvme68k
  ~ lists/base/md.mvme88k                 ~ lists/base/md.mvmeppc
  ~ lists/base/md.sgi                     ~ lists/base/md.sparc
  ~ lists/base/md.sparc64                 ~ lists/base/md.vax
  ~ lists/base/md.zaurus                  ~ lists/comp/mi

  > sync (deraadt@)

== libexec =========================================================== 03/08 ==

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

ftpd

  ~ ftpd.c                                

  > From Gilles Chehade:
  > - Use strtonum instead of atoi.
  > - Improve strtol error checking.
  > - Change strchr calls to strcspn and eliminating some unused
  > variables as a result.
  > OK moritz (ray@)

== regress =========================================================== 04/08 ==

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

libexec

  + ld.so/hidden/Makefile                 + ld.so/hidden/test2/Makefile
  + ld.so/hidden/test2/test2.c            + ld.so/hidden/test1/Makefile
  + ld.so/hidden/test1/test1.c            + ld.so/hidden/libab/Makefile
  + ld.so/hidden/libab/shlib_version      + ld.so/hidden/libab/ab.c
  + ld.so/hidden/libaa/Makefile           + ld.so/hidden/libaa/aa.c
  + ld.so/hidden/libaa/shlib_version      

  > New import:
  >	add regress to test __asm(".hidden symbol") works as expected. for gcc3

  ~ ld.so/Makefile                        

  > + hidden subdir (kurt@)

sys

  ~ dev/audio_rw/Makefile                 

  > pass command line options to audiotest_rw through OPTS, e.g.
  > $ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make (jakemsr@)

  ~ dev/audio_rw/audiotest_rw.c           

  > set the blocksize to the size of the read/write buffers.
  > the blocksize matters for the poll() cases because we pass the poll
  > when reading from the device when there is any data in the record buffer.
  > since data is transfered into the buffer in blocksize chunks, if there
  > was no and now is some data in the buffer, there is probably about
  > blocksize bytes of data in the buffer.  if in non-blocking mode, which
  > is common when using poll(), and we try to read() more bytes than are in
  > the record buffer, we will receive an EAGAIN.  if we read() in
  > blocksize chunks, we will never try to read more than is available.
  > a more eloquent version of the above description should be in audio(4).
  > (jakemsr@)

== sbin ============================================================== 05/08 ==

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

ifconfig

  ~ ifconfig.8                            ~ ifconfig.c

  > When setting the vlandevice without specifying a tag, infer the tag
  > from the interface name, this allows constructs like:
  > ifconfig vlan15 vlandev smth0
  > ok reyk@, ``makes sense'' henning@ (pyr@)

  ~ ifconfig.8                            

  > oops, forgot to include the man page tweaks from jmc@ (pyr@)

isakmpd

  ~ ipsec.c                               

  > Use correct function name in log message.  Noticed by Igor Zinovk
  > zinovik at cs.karelia.ru.  Thanks! (hshoexer@)

== sys =============================================================== 06/08 ==

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

arch/sgi/dev

  ~ if_mec.c                              ~ if_mecreg.h

  > typo fixes from joel at ionix.com.au (deraadt@)

dev

  ~ audio.c                               

  > always ignore attempts to set the record or play port to 0.
  > this interface to mixer functionality is very limited, and is only
  > used for recording.  it only recognizes 'mic', 'cd', and 'line' as
  > valid recording inputs.  many devices have other inputs.  because of
  > the way AUDIO_INITINFO works, it is impossible to expand this API to
  > include all devices.
  > this fixes another common cause of audioctl(1) problems.  AUDIO_GETINFO
  > returns 0 for record.port when the recording port is something other
  > than 'mic', 'cd', or 'line', and the subsequent AUDIO_SETINFO would
  > fail on this. (jakemsr@)

dev/i2c

  ~ pca9554.c                             

  > remove magic numbers: use PCAGPIO_NPINS instead (no binary change); ok
  > deraadt@ (cnst@)

  ~ pca9554.c                             

  > change sensor type: if .value can only ever be 0 or 1, .type should be
  > indicator (cnst@)

  ~ pca9554.c                             

  > don't duplicate .numt in .desc; 'In this driver, whatever you want'
  > deraadt@ (cnst@)

dev/pci

  ~ azalia_codec.c                        

  > In the mixer to device level conversions, round down to the nearest
  > valid step, and keep them in sync. This lets audio(4) set exact gain
  > levels based on the mixer delta, and unbreaks volume up/down buttons
  > in wscons.	This also avoids a divide by zero that could occur if the
  > generic mixer init found an amplifier with zero steps.
  > Problem noticed and tested by jmc@, similar diff tested by krw@ (deanna@)

  ~ azalia_codec.c                        

  > Our audio layer doesn't know anything about mixer names like
  > "selector" and "front", so instead create the items that it actually
  > needs.
  > This unbreaks the mute button in wscons, and allows setting the volume
  > in programs like xmms and xine.  This is for STAC9200 only - similiar
  > fixes for other codecs coming soon.
  > Tested and ok krw@ (deanna@)

dev/pcmcia

  ~ if_malo.c                             

  > Simplify TX path. (mglocker@)

  ~ if_malo.c                             

  > Start to improve TX/RX path;  don't accept further packets from TX queue
  > unless the last packet has been processed by the device.  Protect RX
  > routine with splnet().  This changes let me scp with ~575KB/s in 11b for
  > now. (mglocker@)

  ~ if_malo.c                             

  > Plug a mbuf leak in the TX path and replace a handbuilt m_copydata()
  > implementation with m_copydata(). Remove the CMALO_DEBUG that slipped in
  > somehow.  OK mglocker@ (claudio@)

  ~ if_malo.c                             

  > Add missing splx(s); calls. OK mglocker@ (claudio@)

  ~ if_malo.c                             ~ if_malovar.h

  > Add first version to enable auto association (best signal AP).  Therefore
  > remove experimental, hard-coded MAC address block.
  > Also tested by claudio@ (mglocker@)

== usr.bin =========================================================== 07/08 ==

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

cdio

  ~ mmc.c                                 ~ rip.c

  > make rip code work like mmc code for how it does progress reports (use
  > a timer, so that stderr does not get splattered); tested by xsa and others
  > (deraadt@)

sendbug

  ~ atomicio.c                            ~ sendbug.c

  > Remove some unused headers, from Igor Zinovik. (ray@)

== usr.sbin ========================================================== 08/08 ==

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

sensorsd

  ~ sensorsd.8                            

  > document the -d option of sensorsd; input and ok from jmc@, deraadt@
  > (robert@)

  ~ sensorsd.8                            

  > something went wrong w/ previous; (jmc@)

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


More information about the odc mailing list