[odc] Daily src changes for 2007-11-06

ODC auto at squish.net
Wed Nov 7 07:00:01 GMT 2007


OpenBSD src changes summary for 2007-11-06
==========================================

bin/ed                                  bin/ps
games/atc                               games/hunt
lib/libc                                lib/libossaudio
lib/libpcap                             regress/usr.bin
share/man                               share/zoneinfo
sys/arch/alpha/tc                       sys/arch/amd64/conf
sys/arch/aviion/aviion                  sys/arch/i386/conf
sys/arch/luna88k/luna88k                sys/arch/m88k/include
sys/arch/m88k/m88k                      sys/arch/mvme88k/mvme88k
sys/arch/sparc64/sparc64                sys/dev/acpi
sys/dev/atapiscsi                       sys/dev/ic
sys/dev/mii                             sys/dev/pci
sys/dev/tc                              sys/dev/usb
sys/netinet                             sys/nfs
sys/scsi                                usr.bin/make
usr.bin/top                             usr.sbin/mailwrapper

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

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

ed

  ~ io.c                                  

  > fix format string
  > ok ray@ gilles@ (chl@)

ps

  ~ print.c                               

  > fix format string
  > ok ray@ gilles@ (chl@)

== games ============================================================= 02/08 ==

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

atc

  ~ log.c                                 

  > fix format string
  > ok ray@ gilles@ (chl@)

hunt

  ~ huntd/answer.c                        

  > fix format string
  > ok ray@ gilles@ (chl@)

== lib =============================================================== 03/08 ==

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

libc

  ~ gen/fts.c                             

  > malloc/memset -> calloc
  > ok ray@ (chl@)

libossaudio

  ~ ossaudio.c                            

  > - when we need to do both AUDIO_SETINFO and AUDIO_GETINFO to emulate
  > a single OSS ioctl, return the return value and errno from from
  > AUDIO_SETINFO if there was an error, since it's more informative
  > than the return value and errno from AUDIO_GETINFO.  also, don't
  > bail if AUDIO_SETINFO fails, because OSS ioctls should return the
  > current value of the parameter they are setting, even if there was
  > an error.
  > - avoid a possible (though highly unlikely) divide by zero in
  > SNDCTL_DSP_GET[IO]SPACE.
  > ok ratchov@ (jakemsr@)

libpcap

  ~ gencode.c                             

  > fix format string
  > ok ray@ gilles@ (chl@)

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

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

usr.bin

  ~ pcc/ccom/Makefile                     + pcc/ccom/switch001.c
  + pcc/ccom/switch002.c                  + pcc/ccom/switch003.c

  > Add testcases for switch. ok otto@ (stefan@)

== share ============================================================= 05/08 ==

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

man

  ~ man4/uscanner.4                       

  > - from FreeBSD:
  > add support for Epson multifunction USB devices (i.e. scanner/printer/card
  > readers) by adding their IDs to the table of recognised devices (because
  > we don't have a "scanner" class) and preventing uscanner attach routine to
  > reconfigure the whole USB device while we are dealing only with one of its
  > interfaces.
  > - add the Epson Stylus 3850/4050 ID in the process
  > feedback from mbalmer@ and jmc@
  > ok jsg@ (ajacoutot@)

  ~ man4/uscanner.4                       

  > a little tidy up of text; (jmc@)

zoneinfo

  ~ datfiles/asia                         ~ datfiles/northamerica

  > update to tzdata2007i (millert@)

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

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

arch/alpha/tc

  ~ cfb.c                                 ~ ioasic.c
  ~ scc.c                                 ~ tc_3000_300.c
  ~ tc_3000_500.c                         ~ tc_conf.h

  > Get rid of TC_IPL_xxx values and tc_intrlevel_t, and use IPL_xxx and int.
  > No functional change. (miod@)

arch/amd64/conf

  ~ RAMDISK                               ~ RAMDISK_CD

  > ramdisks should have the same behaviour as GENERIC (deraadt@)

arch/aviion/aviion

  ~ locore.S                              ~ machdep.c

  > Remove the now unused idle_u, and call the secondary processors startup
  > stack a startup stack. (miod@)

arch/i386/conf

  ~ RAMDISK                               ~ RAMDISKB
  ~ RAMDISKC                              ~ RAMDISK_CD

  > ramdisks should have the same behaviour as GENERIC (deraadt@)

arch/luna88k/luna88k

  ~ locore.S                              ~ machdep.c

  > Remove the now unused idle_u, and call the secondary processors startup
  > stack a startup stack. (miod@)

arch/m88k/include

  ~ cpu.h                                 

  > Remove the now unused idle_u, and call the secondary processors startup
  > stack a startup stack. (miod@)

  ~ cpu.h                                 

  > Keep a pending software interrupts mask per processor, instead of having it
  > global; and only schedule software interrupts on the currently running cpu.
  > (miod@)

arch/m88k/m88k

  ~ pmap.c                                

  > Comment out the pmap fine grained locking stuff, it is not necessary for
  > now
  > because of the global lock. It will get enabled again when locking work
  > progresses. (miod@)

  ~ genassym.cf                           ~ m88k_machdep.c

  > Remove the now unused idle_u, and call the secondary processors startup
  > stack a startup stack. (miod@)

  ~ process.S                             

  > Be sure to pmap_deactivate() a process during context switches, so that
  > the cpu which runs it is accounted correctly in MP kernels. (miod@)

  ~ m88k_machdep.c                        

  > Keep a pending software interrupts mask per processor, instead of having it
  > global; and only schedule software interrupts on the currently running cpu.
  > (miod@)

arch/mvme88k/mvme88k

  ~ locore.S                              ~ machdep.c

  > Remove the now unused idle_u, and call the secondary processors startup
  > stack a startup stack. (miod@)

arch/sparc64/sparc64

  ~ locore.s                              ~ vm_machdep.c

  > Close a race where we might save/drop the fpu state of the wrong process in
  > the ipi handlers. (kettenis@)

dev/acpi

  ~ acpi.c                                

  > move acpi_read_pmreg() and acpi_write_pmreg() out of SMALL_KERNEL so
  > that acpi ramdisks can compile (obvious solution) (deraadt@)

  ~ acpi.c                                

  > all ACPI_ENABLE kernels need acpi_interrupt() (deraadt@)

dev/atapiscsi

  ~ atapiscsi.c                           

  > More scsi_done() at SPLBIO. (krw@)

dev/ic

  ~ cac.c                                 

  > More scsi_done() at SPLBIO. (krw@)

dev/mii

  ~ miidevs.h                             

  > regen (kettenis@)

  ~ miidevs                               

  > Add Enable/Agere LU3X31T2. (kettenis@)

dev/pci

  ~ azalia_codec.c                        

  > Generalize most of the apple-specific code, since it works fine on
  > other machines with STAC9221.
  > Tested by Vladas Urbonas on XPS M1210.
  > no objections jakemsr@ (deanna@)

dev/tc

  ~ if_fta.c                              ~ if_le_ioasic.c
  ~ if_le_tc.c                            ~ tcds.c
  ~ tcvar.h                               

  > Get rid of TC_IPL_xxx values and tc_intrlevel_t, and use IPL_xxx and int.
  > No functional change. (miod@)

dev/usb

  ~ uscanner.c                            ~ usbdevs

  > - from FreeBSD:
  > add support for Epson multifunction USB devices (i.e. scanner/printer/card
  > readers) by adding their IDs to the table of recognised devices (because
  > we don't have a "scanner" class) and preventing uscanner attach routine to
  > reconfigure the whole USB device while we are dealing only with one of its
  > interfaces.
  > - add the Epson Stylus 3850/4050 ID in the process
  > feedback from mbalmer@ and jmc@
  > ok jsg@ (ajacoutot@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (ajacoutot@)

netinet

  ~ if_ether.c                            

  > Do not panic in arpintr() if IF_DEQUEUE returns NULL, this is perfectly
  > legal
  > and can happen on slow mp systems under a lot of network load; ok kettenis@
  > (miod@)

nfs

  ~ nfsm_subs.h                           ~ nfs_serv.c

  > Expand the nfsm_srvfillattr() macro and
  > nuke it's definition.
  > OK krw@, blambert@ (thib@)

scsi

  ~ scsiconf.c                            ~ sd.c
  ~ sdvar.h                               

  > Fix SDF_DIRTY handling, eliminate useless SDF_FLUSHING. The sd_flush()
  > called from the last sdclose() on a device will now reset SDF_DIRTY
  > after submitting the SYNCHRONIZE CACHE command. sddone() need not
  > worry about SDF_DIRTY since it was never called for the SYNCHRONIZE
  > CACHE command anyway.
  > This eliminates a spurious SYNCHRONIZE CACHE command being issued for
  > every sd device from sd_shutdown().
  > ok dlg@ (krw@)

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

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

make

  ~ job.c                                 ~ make.c

  > get make.c in a more readable state, by extracting code into separate
  > functions.
  > Restore a big more debug: if DEBUG(JOB), print commands (unexpanded).
  > (espie@)

  ~ compat.c                              ~ engine.c
  ~ gnode.h                               ~ make.c
  ~ suff.c                                ~ targ.c

  > simplify the way we deal with implicit rules and handle $<.
  > Having an `iParents' field is actually backwards, it's ways simpler to
  > store the pointer in the child, as an impliedsrc, and to set the variable
  > just in time along with all the rest in DoAllVar.
  > This is simpler, and it should allow us to call SuffFindDeps much later.
  > (espie@)

  ~ suff.c                                

  > bug-fix: try the empty suffix when we cannot find any transformation, not
  > when we cannot find any suffix.
  > This allows Makefiles like:
  > .SUFFIXES: .in .sh
  > all: truc.sh
  > truc.sh.in:
  > echo "bonjour" >$@
  > .in:
  > sed -e 's/a/b/' <$< >$@
  > to work (before that, the empty suffix would not be tried, since truc.sh
  > matches the .sh suffix, even though there is NO transformation). (espie@)

top

  ~ top.c                                 

  > prevent segv on wrong sort name; Mark Lumsden. (otto@)

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

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

mailwrapper

  ~ mailwrapper.c                         

  > avoid coredump when ther;s only one token on a line; ok millert@ (otto@)

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


More information about the odc mailing list