[odc] Daily src changes for 2007-09-16
ODC
auto at squish.net
Mon Sep 17 07:00:01 BST 2007
OpenBSD src changes summary for 2007-09-16
==========================================
bin/cp bin/ln
lib/libc sbin/fsck_ffs
sys/dev/i2o sys/dev/ic
sys/dev/usb sys/net
sys/scsi usr.bin/make
usr.bin/mg usr.bin/pcc
usr.bin/ssh usr.bin/tail
usr.sbin/bgpd usr.sbin/ospfd
== bin =============================================================== 01/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
cp
~ cp.1 ~ utils.c
> "source" and "target" can be either files or directories;
> cp(1) and ln(1) must have a synopsis consistent with mkdir(1),
> mv(1), rmdir(1) and others
> ok jmc@, millert@, otto@ (sobrado@)
ln
~ ln.1 ~ ln.c
> "source" and "target" can be either files or directories;
> cp(1) and ln(1) must have a synopsis consistent with mkdir(1),
> mv(1), rmdir(1) and others
> ok jmc@, millert@, otto@ (sobrado@)
== lib =============================================================== 02/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ db/man/dbopen.3
> for get the flags arg must be 0; from Tamas TEVESZ; ok millert@ (otto@)
== sbin ============================================================== 03/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
fsck_ffs
~ dir.c
> Do not use DIP() as an lvalue; founc by pcc. ok millert@ ray@ (otto@)
== sys =============================================================== 04/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
dev/i2o
~ iop.c ~ iopsp.c
> Obvious M_ZERO changes. (krw@)
dev/ic
~ bwi.c
> Remove most of the __unused due to to code being enabled. (jsg@)
~ bwi.c
> Convert most of the remaining non firmware handling code. (jsg@)
~ bwi.c
> Free ucode if an error happens while FW / IV load. Always return a proper
> code in case of error. (mglocker@)
~ bwi.c
> CardBus works much better when sc_enable is called.
> Remove some safety returns while here.
> ok mglocker@ (jsg@)
~ bwi.c
> Move some noisy debug printfs to higher levels. (jsg@)
~ bwi.c
> Clear error before starting m_defrag() equivalent. (jsg@)
~ bwi.c
> Do sc_disable when device gets stopped.
> OK jsg@ (mglocker@)
~ bwi.c
> Better version of fake KKASSERT until they are changed properly. (jsg@)
~ bwi.c ~ bwivar.h
> Remove obsolete firmware specific bits. (mglocker@)
~ bwi.c
> Remove more obsolete firmware specific bits. (mglocker@)
dev/usb
~ uts.c
> some style(9). no binary change. (fgsch@)
net
~ if_pflog.c
> another M_ZERO diff. (pyr@)
scsi
~ cd.c ~ ch.c
~ safte.c ~ scsi_base.c
~ scsi_ioctl.c ~ ses.c
~ ss.c ~ ss_mustek.c
~ ss_scanjet.c
> MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,
> extraneous #include <malloc.h> (krw@)
~ scsiconf.c ~ st.c
> A couple of obvious bzero() -> M_ZERO changes I missed. (krw@)
== usr.bin =========================================================== 05/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
make
~ arch.c ~ compat.c
~ config.h ~ for.c
~ main.c ~ make.c
~ parsevar.c ~ suff.c
~ var.c ~ varmodifiers.c
~ varmodifiers.h ~ lst.lib/lstAddNew.c
~ lst.lib/lstAppend.c ~ lst.lib/lstConcat.c
~ lst.lib/lstConcatDestroy.c ~ lst.lib/lstDeQueue.c
~ lst.lib/lstDestroy.c ~ lst.lib/lstDupl.c
~ lst.lib/lstFindFrom.c ~ lst.lib/lstForEachFrom.c
~ lst.lib/lstInit.c ~ lst.lib/lstInsert.c
~ lst.lib/lstMember.c ~ lst.lib/lstRemove.c
~ lst.lib/lstReplace.c ~ lst.lib/lstSucc.c
> remove dead code: #define RECHECK is always on (espie@)
~ arch.c ~ config.h
~ suff.c
> more dead code: we always define LIBRARIES and INCLUDES (espie@)
~ Makefile ~ arch.c
~ dir.c ~ dir.h
~ main.c ~ parse.c
~ suff.c + direxpand.c
+ direxpand.h
> cut up dir.c into dir.c/direxpand.c as there is very little interface
> between
> two modules that do different things. (espie@)
~ Makefile ~ generate.c
+ node_int.h
> scaffolding to recognize special targets/sources using ohash functions.
> (espie@)
~ Makefile ~ compat.c
~ job.c ~ make.c
+ engine.c + engine.h
> first step towards sanity: take the functions common to parallel/not
> parallel
> make outside of make.c and job.c, and create an engine.c file to hold them.
> (espie@)
~ dir.c ~ memory.c
~ memory.h
> move free_ohash function so that we can reuse it. (espie@)
~ job.c ~ parse.c
~ PSD.doc/tutorial.ms
> kill .SHELL, make doesn't even support it in non-parallel mode. (espie@)
~ arch.c
> reindent arch.c (espie@)
~ arch.c
> reuse free_hash (espie@)
~ job.c ~ var.c
~ varmodifiers.c
> remove warnings (espie@)
~ varmodifiers.c
> reindent varmodifiers.c, no binary change (espie@)
~ arch.c ~ compat.c
~ dir.c ~ engine.c
~ make.c ~ targ.c
~ targ.h ~ timestamp.c
~ timestamp.h
> rename Targ_FmtTime into time_to_string and move it, as it's not related
> to target nodes at all (reduces modules inter-dependencies) (espie@)
~ dir.c ~ dir.h
~ direxpand.c
> rename Path to less misleading PathEntry. Get rid of typedef. (espie@)
~ arch.c
> minor reindent issues (espie@)
~ arch.c ~ cond.c
~ dir.c ~ dir.h
~ main.c ~ parse.c
~ suff.c
> rename dirSearchPath -> defaultPath, and openDirectories ->
> knownDirectories (espie@)
~ targ.c
> reindent targ.c (espie@)
~ compat.c
> reindent compat.c (espie@)
~ dir.c ~ dir.h
~ targ.c
> remove old debug code nothing uses (espie@)
~ engine.c
> reindent (espie@)
~ job.c
> reindent (espie@)
~ str.c
> remove some of the complexity of Str_Matchi by separating code into
> range_match and star_match to handle special characters.
> reindent. (espie@)
~ targ.c
> remove some totally useless comments (espie@)
~ str.c
> finish reindenting str.c (espie@)
mg
~ undo.c
> I can't think of any good reason to inline this.
> Makes pcc happier, to boot. (kjell@)
pcc
~ cc/ccom/Makefile
> remove cgram.h from CLEANFILES, so make depend; make; make clean; make
> works; instead reomve cgram.h when doing make cleandir (otto@)
~ cc/cc/cc.c
> Process (and ignore for now) -pipe (otto@)
~ cc/ccom/pftn.c ~ cc/ccom/scan.l
~ cc/ccom/trees.c ~ cc/cpp/cpp.c
~ cc/cpp/scanner.l ~ mip/common.c
~ mip/regs.c
> sync to ragge's tree to fix #include<file.h> and a declaration parsing
> error. (otto@)
~ cc/cc/Makefile ~ cc/ccom/Makefile
~ cc/cpp/Makefile
> change MANDIR to ${PREFIX}/man. ok otto@ (kjell@)
~ arch/x86/local2.c
> Merge from ragge's tree:
> Needed an extra check for leal to avoid --. Reported by otto. (otto@)
ssh
~ sftp-client.c
> use off_t instead of u_int64_t for file offsets, matching what the
> progressmeter code expects; bz #842 (djm@)
tail
~ read.c
> Another mem leak plugged. With help from Igor Zinovi. ok millert@ (otto@)
== usr.sbin ========================================================== 06/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
bgpd
~ rde.c
> log_fmt_peer() does not use a static buffer so it is necessary to free the
> string that it returned later. rde_update_log() did not do that.
> Memory leak found and diff provided by Mike Belopuhov. (claudio@)
ospfd
~ rde_spf.c
> Change the way nexthops are calculated on the root level. Instead of
> looking
> from the target back and trying to figure the nexthop out, the link is
> searched
> in the interface list and the info from the matiching interface is used.
> This should solve the nexthop issues with setups having multiple
> point-to-point
> links between two routers as reported on misc@ some time ago.
> tested and OK norby@ (claudio@)
===============================================================================
More information about the odc
mailing list