CVS commit: src/sys/dev/sdmmc

2010-01-12 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Jan 12 08:41:16 UTC 2010

Modified Files:
src/sys/dev/sdmmc: sdhc.c

Log Message:
According to SD Host Controller Simplified Specification Version 2.00, 2.2.10.
Host Control Register (Offset 028h), the Data Transfer Width bit is in Host
Control Register (Offset 028h), not Power Control Register (Offset 029h).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sdmmc/sdhc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/crypto/dist/openssl/ssl

2010-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Jan 12 09:07:51 UTC 2010

Modified Files:
src/crypto/dist/openssl/ssl [netbsd-5]: s3_lib.c s3_pkt.c s3_srvr.c
ssl_locl.h

Log Message:
Apply patch (requested by tonnerre in ticket #1237):
Disable OpenSSL renegotiation, thus avoiding CVE-2009-3555.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.4.1 src/crypto/dist/openssl/ssl/s3_lib.c
cvs rdiff -u -r1.9.4.1 -r1.9.4.2 src/crypto/dist/openssl/ssl/s3_pkt.c
cvs rdiff -u -r1.15.4.1 -r1.15.4.2 src/crypto/dist/openssl/ssl/s3_srvr.c
cvs rdiff -u -r1.13 -r1.13.4.1 src/crypto/dist/openssl/ssl/ssl_locl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/crypto/dist/openssl/ssl

2010-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Jan 12 09:08:45 UTC 2010

Modified Files:
src/crypto/dist/openssl/ssl [netbsd-5-0]: s3_lib.c s3_pkt.c s3_srvr.c
ssl_locl.h

Log Message:
Apply patch (requested by tonnerre in ticket #1237):
Disable OpenSSL renegotiation, thus avoiding CVE-2009-3555.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.8.1 src/crypto/dist/openssl/ssl/s3_lib.c
cvs rdiff -u -r1.9.8.1 -r1.9.8.2 src/crypto/dist/openssl/ssl/s3_pkt.c
cvs rdiff -u -r1.15.4.1 -r1.15.4.1.2.1 src/crypto/dist/openssl/ssl/s3_srvr.c
cvs rdiff -u -r1.13 -r1.13.8.1 src/crypto/dist/openssl/ssl/ssl_locl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/doc

2010-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Jan 12 09:09:59 UTC 2010

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.2

Log Message:
Ticket 1237.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.39 -r1.1.2.40 src/doc/CHANGES-5.0.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4-0] src/doc

2010-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Jan 12 09:21:06 UTC 2010

Modified Files:
src/doc [netbsd-4-0]: CHANGES-4.0.2

Log Message:
Ticket 1373.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.64 -r1.1.2.65 src/doc/CHANGES-4.0.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-4] src/doc

2010-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Jan 12 09:22:58 UTC 2010

Modified Files:
src/doc [netbsd-4]: CHANGES-4.1

Log Message:
Ticket 1373.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.190 -r1.1.2.191 src/doc/CHANGES-4.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-01-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan 12 09:26:26 UTC 2010

Modified Files:
src/share/man/man4: btbc.4

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/btbc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-01-12 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Jan 12 12:21:04 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c

Log Message:
Properly evaluate the _PRW object in case we have a package inside a
package.

ok jmcneill@


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/dev/acpi/acpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/mail

2010-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 12 14:44:24 UTC 2010

Modified Files:
src/usr.bin/mail: complete.c

Log Message:
- 1 - EXIT_FAILURE
- avoid assertion firing when hitting ^D in CC: line.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/mail/complete.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64

2010-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jan 12 14:45:50 UTC 2010

Modified Files:
src/sys/arch/sparc64/conf: SCHIZO files.sparc64
Added Files:
src/sys/arch/sparc64/dev: upa.c

Log Message:
Import support for upa64s device (/upa on SB1000/2000) from OpenBSD.
Attach ffb both at mainbus and at upa.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/conf/SCHIZO
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/sparc64/conf/files.sparc64
cvs rdiff -u -r0 -r1.15 src/sys/arch/sparc64/dev/upa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2010-01-12 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Jan 12 14:50:38 UTC 2010

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Logitech C-BT44 Receiver.


To generate a diff of this commit:
cvs rdiff -u -r1.538 -r1.539 src/sys/dev/usb/usbdevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2010-01-12 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Jan 12 14:51:43 UTC 2010

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.533 -r1.534 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.534 -r1.535 src/sys/dev/usb/usbdevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sgimips/dev

2010-01-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Jan 12 15:01:48 UTC 2010

Modified Files:
src/sys/arch/sgimips/dev: dsclock.c

Log Message:
Switch to using todr_[gs]ettime_ymdhms() format
which doesn't require struct timeval details.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sgimips/dev/dsclock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sgimips/dev

2010-01-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Jan 12 15:20:30 UTC 2010

Modified Files:
src/sys/arch/sgimips/dev: dsclock.c

Log Message:
Split device_t/softc, some KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sgimips/dev/dsclock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libm/man

2010-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 12 15:51:01 UTC 2010

Modified Files:
src/lib/libm/man: exp.3

Log Message:
merge conflicting error sections.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libm/man/exp.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2010-01-12 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Jan 12 16:18:59 UTC 2010

Modified Files:
src/sys/dev/usb: ums.c

Log Message:
Avoid treating the Griffin PowerMate knob as a ums(4).
Should fix PR/19445.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/usb/ums.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpuffs

2010-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Jan 12 18:42:39 UTC 2010

Modified Files:
src/lib/libpuffs: framebuf.c puffs.3 puffs.c puffs.h puffs_priv.h

Log Message:
Add convenience routine puffs_unmountonsignal(), which does exactly that.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libpuffs/framebuf.c
cvs rdiff -u -r1.46 -r1.47 src/lib/libpuffs/puffs.3
cvs rdiff -u -r1.104 -r1.105 src/lib/libpuffs/puffs.c
cvs rdiff -u -r1.113 -r1.114 src/lib/libpuffs/puffs.h
cvs rdiff -u -r1.41 -r1.42 src/lib/libpuffs/puffs_priv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2010-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 12 19:37:18 UTC 2010

Modified Files:
src/lib/libedit: chartype.c

Log Message:
- in the argv conversion, handle NULL as NULL
- when printing tab/nl print them, don't handle them specially.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libedit/chartype.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-01-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Tue Jan 12 21:08:09 UTC 2010

Modified Files:
src/sys/conf: files
src/sys/dev: cgd.c cgdvar.h

Log Message:
Make cgd(4) into a detachable pseudo-device.  Thanks, Jan Danielsson,
for the patches!

I've lightly tested the basics: create cgd0 on vnd0d, initialize with
zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d
cgd0.  Works fine.  I also shutdown with a cgd0 configured: detached as
expected.


To generate a diff of this commit:
cvs rdiff -u -r1.967 -r1.968 src/sys/conf/files
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/cgd.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/cgdvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/mii

2010-01-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jan 12 21:48:26 UTC 2010

Modified Files:
src/sys/dev/mii: igphyreg.h

Log Message:
Add some macros


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/mii/igphyreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/usr.sbin/wake

2010-01-12 Thread Christos Zoulas
On Jan 12,  4:26am, dholland-sourcechan...@netbsd.org (David Holland) wrote:
-- Subject: Re: CVS commit: src/usr.sbin/wake

| On Mon, Jan 11, 2010 at 06:31:29PM -0500, Christos Zoulas wrote:
|   | In the long run (as I've said before) we should replace our lint with
|   | something more modern...
|   
|   Once we get the llvm tools, I am fine with that.
| 
| There's also splint, or sparse.

Splint: 
License: - GPLv2:
Cons:- does not understand gcc constructs
 - wierd flags and annotations
 - no c99 support
 - does not seem to be really supported:
3.1.2 release 2007-07-12
3.1.0 release 2003-04-21
Pros:- seems to be comprehensive and does many more tests than
   our lint

Sparse:
License: - Some weird and extra long transmeta license
Cons:- Seems to do less than our lint, too simplistic
 - no c99 support
 - no annotations
Pros:- Seems to understand gcc, is actively maintained.

So splint looks like it has some value added, but it will need *a lot*
of work to be integrated. Unless I am missing something, neither is
appropriate in its current state to replace lint (without a few man-months
of work), and I don't think that anybody will step up to do it.

Comments?

christos


Re: CVS commit: src/sys

2010-01-12 Thread Antti Kantee
On Tue Jan 12 2010 at 21:08:09 +, David Young wrote:
 Module Name:  src
 Committed By: dyoung
 Date: Tue Jan 12 21:08:09 UTC 2010
 
 Modified Files:
   src/sys/conf: files
   src/sys/dev: cgd.c cgdvar.h
 
 Log Message:
 Make cgd(4) into a detachable pseudo-device.  Thanks, Jan Danielsson,
 for the patches!
 
 I've lightly tested the basics: create cgd0 on vnd0d, initialize with
 zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d
 cgd0.  Works fine.  I also shutdown with a cgd0 configured: detached as
 expected.

This breaks the cgd kernel module (and the rump component).

Not that it was perfect before (I think I'd filed a PR) but previously
it at least could be loaded.


Re: CVS commit: src/sys

2010-01-12 Thread David Young
On Wed, Jan 13, 2010 at 01:08:28AM +0200, Antti Kantee wrote:
 On Tue Jan 12 2010 at 15:04:03 -0800, Paul Goyette wrote:
  On Wed, 13 Jan 2010, Antti Kantee wrote:
  
  This breaks the cgd kernel module (and the rump component).

Breaks how?

  What cgd kernel module?  Is there something special I need to do to 
  build it?  It doesn't seem to show up with a build.sh release
 
 The one from sys/modules/cgd.

Hmm.  That's not built in a release, is it?

Dave

-- 
David Young OJC Technologies
dyo...@ojctech.com  Urbana, IL * (217) 278-3933


Re: CVS commit: src/sys

2010-01-12 Thread Adam Hamsik

On Jan,Wednesday 13 2010, at 12:14 AM, David Young wrote:

 On Wed, Jan 13, 2010 at 01:08:28AM +0200, Antti Kantee wrote:
 On Tue Jan 12 2010 at 15:04:03 -0800, Paul Goyette wrote:
 On Wed, 13 Jan 2010, Antti Kantee wrote:
 
 This breaks the cgd kernel module (and the rump component).
 
 Breaks how?
 
 What cgd kernel module?  Is there something special I need to do to 
 build it?  It doesn't seem to show up with a build.sh release
 
 The one from sys/modules/cgd.
 
 Hmm.  That's not built in a release, is it?

It is not built in release.

Regards

Adam.



CVS commit: src/sys/dev

2010-01-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Tue Jan 12 23:49:34 UTC 2010

Modified Files:
src/sys/dev: cgd.c

Log Message:
Provide a more complete modules hook, cgd_modcmd(), derived from
vnd_modcmd().


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/cgd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: othersrc/usr.bin/tnftp

2010-01-12 Thread Luke Mewburn
Module Name:othersrc
Committed By:   lukem
Date:   Wed Jan 13 00:07:30 UTC 2010

Modified Files:
othersrc/usr.bin/tnftp: NEWS

Log Message:
belated entry for 20100108


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 othersrc/usr.bin/tnftp/NEWS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpkern

2010-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 13 00:07:40 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: rump.c

Log Message:
If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/rump/librump/rumpkern/rump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/dev/lib/libcgd

2010-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 13 00:31:57 UTC 2010

Modified Files:
src/sys/rump/dev/lib/libcgd: component.c

Log Message:
cgd is attached via the module interface now instead of pseudodevs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/rump/dev/lib/libcgd/component.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/comp

2010-01-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Wed Jan 13 01:23:07 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
./usr/libdata/ldscripts/kmodule will not be installed if MKKMOD=no, so
add 'kmod' to its keywords.


To generate a diff of this commit:
cvs rdiff -u -r1.1359 -r1.1360 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips

2010-01-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 13 01:53:19 UTC 2010

Modified Files:
src/sys/arch/evbmips/conf [matt-nb5-mips64]: files.adm5120
files.alchemy files.atheros files.malta
Added Files:
src/sys/arch/evbmips/evbmips [matt-nb5-mips64]: cpu.c
Removed Files:
src/sys/arch/evbmips/adm5120 [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/alchemy [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/atheros [matt-nb5-mips64]: cpu.c
src/sys/arch/evbmips/malta [matt-nb5-mips64]: cpu.c

Log Message:
Use a common cpu.c for evbmips single cpu machines


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbmips/adm5120/cpu.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/evbmips/alchemy/cpu.c
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbmips/atheros/cpu.c
cvs rdiff -u -r1.5 -r1.5.28.1 src/sys/arch/evbmips/conf/files.adm5120
cvs rdiff -u -r1.9 -r1.9.28.1 src/sys/arch/evbmips/conf/files.alchemy
cvs rdiff -u -r1.6 -r1.6.28.1 src/sys/arch/evbmips/conf/files.atheros
cvs rdiff -u -r1.15.28.1 -r1.15.28.2 src/sys/arch/evbmips/conf/files.malta
cvs rdiff -u -r0 -r1.2.4.2 src/sys/arch/evbmips/evbmips/cpu.c
cvs rdiff -u -r1.7 -r0 src/sys/arch/evbmips/malta/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 13 01:53:38 UTC 2010

Modified Files:
src/sys/kern: init_sysctl.c kern_sysctl.c
src/sys/rump/librump/rumpkern: emul.c

Log Message:
Minimize unnecessary differences in rump.


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/sys/kern/init_sysctl.c
cvs rdiff -u -r1.227 -r1.228 src/sys/kern/kern_sysctl.c
cvs rdiff -u -r1.117 -r1.118 src/sys/rump/librump/rumpkern/emul.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc/sparc

2010-01-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jan 13 02:17:12 UTC 2010

Modified Files:
src/sys/arch/sparc/sparc: cpuvar.h timer_sun4m.c

Log Message:
replace local ci_cpuname[] and use new cpu_name().


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sparc/sparc/timer_sun4m.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2010-01-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 13 02:24:06 UTC 2010

Modified Files:
src: build.sh

Log Message:
need object directory for etc/mtree to run distrib-dirs


To generate a diff of this commit:
cvs rdiff -u -r1.227 -r1.228 src/build.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/sys/kern

2010-01-12 Thread Masao Uebayashi
 @@ -1882,6 +1900,7 @@
  device_t
  device_lookup(cfdriver_t cd, int unit)
  {
 + struct devicelist garbage = TAILQ_HEAD_INITIALIZER(garbage);
   device_t dv;
   int s;
  
 @@ -1892,6 +1911,7 @@
   else if ((dv = cd-cd_devs[unit]) != NULL  dv-dv_del_gen != 0)
   dv = NULL;
   config_alldevs_unlock(s);
 + config_dump_garbage(garbage);
  
   return dv;
  }

I wonder why this part was needed.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Re: CVS commit: src/sys/kern

2010-01-12 Thread David Young
On Wed, Jan 13, 2010 at 12:09:38PM +0900, Masao Uebayashi wrote:
  @@ -1882,6 +1900,7 @@
   device_t
   device_lookup(cfdriver_t cd, int unit)
   {
  +   struct devicelist garbage = TAILQ_HEAD_INITIALIZER(garbage);
  device_t dv;
  int s;
   
  @@ -1892,6 +1911,7 @@
  else if ((dv = cd-cd_devs[unit]) != NULL  dv-dv_del_gen != 0)
  dv = NULL;
  config_alldevs_unlock(s);
  +   config_dump_garbage(garbage);
   
  return dv;
   }
 
 I wonder why this part was needed.

It was not needed.  I have prepared a patch that deals with this and
other issues.

Dave

-- 
David Young OJC Technologies
dyo...@ojctech.com  Urbana, IL * (217) 278-3933


CVS commit: src/distrib/utils/sysinst

2010-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 13 07:48:58 UTC 2010

Modified Files:
src/distrib/utils/sysinst: net.c

Log Message:
Use the proper structs for ioctls to fetch network configuration.
Might fix PR 42436.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/distrib/utils/sysinst/net.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/utils/sysinst

2010-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 13 07:52:38 UTC 2010

Modified Files:
src/distrib/utils/sysinst: Makefile.inc

Log Message:
Avoid adding -Os to CFLAGS if DBG is set and contains -g.
This helps gdb a lot when compiling local debug versions of sysinst.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/distrib/utils/sysinst/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.