CVS commit: src/sys/ddb

2010-02-02 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Feb  2 09:04:14 UTC 2010

Modified Files:
src/sys/ddb: db_user.h db_write_cmd.c

Log Message:
Include ctype.h in the central place which deals with building the
kernel debugger as a userland program.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/ddb/db_user.h
cvs rdiff -u -r1.25 -r1.26 src/sys/ddb/db_write_cmd.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/amigappc/conf

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 12:47:51 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: files.amigappc

Log Message:
Include majors.amigappc instead of majors.amiga.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amigappc/conf/files.amigappc

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



CVS commit: src/sys/dev/qbus

2010-02-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb  2 14:58:46 UTC 2010

Modified Files:
src/sys/dev/qbus: if_il.c

Log Message:
Fix incomplete line (deleto?), found by cppcheck and reported by
Henning Petersen in PR 42719.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/qbus/if_il.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/wscons

2010-02-02 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Tue Feb  2 16:54:40 UTC 2010

Modified Files:
src/sys/dev/wscons: wsdisplay.c wsdisplayvar.h

Log Message:
give up some silly macros which were only used ~once, and reduce
dependency on locators.h
makes the code more LKM frienly


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/dev/wscons/wsdisplay.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/wscons/wsdisplayvar.h

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



Re: CVS commit: src

2010-02-02 Thread Matthias Drochner

Hi -

t...@back-street.net said:
 the version of libutil's shared library should be changed in some way,
 shoudn't it?

Maybe as a matter of principle... Technically, I see no need for this.
The code has never been used in the NetBSD tree, so there is no
compatibility issue. And it is extremely unlikely that external
software used it -- it is not of general use.

best regards
Matthias





Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt




CVS commit: src/sys/uvm

2010-02-02 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Tue Feb  2 17:40:43 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c uvm_loan.c uvm_loan.h

Log Message:
Don't pass an unnecessary reference to uvm_loanbreak_anon().

Requested by rm...@.


To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.75 -r1.76 src/sys/uvm/uvm_loan.c
cvs rdiff -u -r1.15 -r1.16 src/sys/uvm/uvm_loan.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/amiga/dev

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:03:31 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: com_supio.c gvpio.c hyper.c ioblix_zbus.c
zbusvar.h

Log Message:
Fix compilation warnings and errors with amigappc.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/amiga/dev/com_supio.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amiga/dev/gvpio.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amiga/dev/hyper.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/amiga/dev/ioblix_zbus.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amiga/dev/zbusvar.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/amigappc/conf

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:07:06 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: files.amigappc

Log Message:
IOBlix files were missing.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amigappc/conf/files.amigappc

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:15:33 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: autoconf.c machdep.c p5reg.h
pic_amiga.c

Log Message:
Rewrote the amiga PIC from scratch. Interrupts are based on IPL 1-6 now
and no longer on IRQ 0-13.
Fixed interrupt levels in amigappc_install_handlers() (IPL_SOFTxxx was very
bad!).
Compilation with all (most?) amiga devices was tested and fixed.
Some smaller fixes.
Status:
  With Cybervision64 and A3000 SBIC SCSI (with DMA disabled) the system
  reaches multiuser!
Lots of problems left...


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amigappc/amigappc/autoconf.c \
src/sys/arch/amigappc/amigappc/p5reg.h \
src/sys/arch/amigappc/amigappc/pic_amiga.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amigappc/amigappc/machdep.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/amigappc/include

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:16:57 UTC 2010

Modified Files:
src/sys/arch/amigappc/include: cpu.h intr.h psl.h

Log Message:
Make it compile with all devices from amiga/dev.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amigappc/include/cpu.h
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amigappc/include/intr.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amigappc/include/psl.h

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



CVS commit: src/distrib/notes/common

2010-02-02 Thread Yorick Hardy
Module Name:src
Committed By:   yhardy
Date:   Tue Feb  2 19:42:32 UTC 2010

Modified Files:
src/distrib/notes/common: main

Log Message:
Add my name, as specified in the welcome message.


To generate a diff of this commit:
cvs rdiff -u -r1.455 -r1.456 src/distrib/notes/common/main

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



CVS commit: src/sys/arch/alpha/jensenio

2010-02-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Feb  2 20:40:07 UTC 2010

Modified Files:
src/sys/arch/alpha/jensenio: jensenio_dma.c

Log Message:
Typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/alpha/jensenio/jensenio_dma.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/external/bsd/fetch/dist/libfetch

2010-02-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Feb  3 00:25:24 UTC 2010

Modified Files:
src/external/bsd/fetch/dist/libfetch [netbsd-5]: common.c common.h
errlist.sh fetch.3 fetch.c fetch.cat3 fetch.h file.c ftp.c
ftp.errors http.c http.errors

Log Message:
Apply patch (requested by joerg in ticket #1294):
Update libfetch to 2.30.
Changes:
libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it

libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
  HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.

libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.4.1 -r1.1.1.2.4.2 \
src/external/bsd/fetch/dist/libfetch/common.c \
src/external/bsd/fetch/dist/libfetch/common.h \
src/external/bsd/fetch/dist/libfetch/errlist.sh \
src/external/bsd/fetch/dist/libfetch/fetch.h \
src/external/bsd/fetch/dist/libfetch/file.c \
src/external/bsd/fetch/dist/libfetch/ftp.errors \
src/external/bsd/fetch/dist/libfetch/http.c \
src/external/bsd/fetch/dist/libfetch/http.errors
cvs rdiff -u -r1.1.1.3.2.1 -r1.1.1.3.2.2 \
src/external/bsd/fetch/dist/libfetch/fetch.3 \
src/external/bsd/fetch/dist/libfetch/fetch.c \
src/external/bsd/fetch/dist/libfetch/ftp.c
cvs rdiff -u -r1.1.1.2.2.1 -r1.1.1.2.2.2 \
src/external/bsd/fetch/dist/libfetch/fetch.cat3

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



CVS commit: [netbsd-5] src/external/bsd/pkg_install/dist

2010-02-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Feb  3 00:38:24 UTC 2010

Modified Files:
src/external/bsd/pkg_install/dist/add [netbsd-5]: add.h main.c
perform.c pkg_add.1
src/external/bsd/pkg_install/dist/admin [netbsd-5]: audit.c check.c
main.c pkg_admin.1
src/external/bsd/pkg_install/dist/bpm [netbsd-5]: bpm.1
src/external/bsd/pkg_install/dist/create [netbsd-5]: build.c create.h
main.c perform.c pkg_create.1 pl.c
src/external/bsd/pkg_install/dist/delete [netbsd-5]: pkg_delete.1
pkg_delete.c
src/external/bsd/pkg_install/dist/info [netbsd-5]: info.h main.c
perform.c pkg_info.1 show.c
src/external/bsd/pkg_install/dist/lib [netbsd-5]: automatic.c
conflicts.c decompress.c dewey.c fexec.c file.c global.c gpgsig.c
iterate.c lib.h license.c lpkg.c opattern.c parse-config.c pkcs7.c
pkg_install.conf.5.in pkg_io.c pkg_signature.c pkg_summary.5
pkgdb.c plist.c remove.c str.c var.c version.c version.h
vulnerabilities-file.c xwrapper.c
src/external/bsd/pkg_install/dist/x509 [netbsd-5]: pkgsrc.cnf pkgsrc.sh
Added Files:
src/external/bsd/pkg_install/dist/delete [netbsd-5]: pkg_delete.1.in

Log Message:
Apply patch (requested by joerg in ticket #1295):
Update pkg_install to 20100130.
pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.

Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.

Add support to query arbitrary variables with pkg_admin config-var.

pkg_install-20100130:
- pkg_add -U to rplace an installed version
- refactored man pages
- PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options
- synced license list
- use connection cache from libfetch


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/add/add.h \
src/external/bsd/pkg_install/dist/add/main.c \
src/external/bsd/pkg_install/dist/add/perform.c \
src/external/bsd/pkg_install/dist/add/pkg_add.1
cvs rdiff -u -r1.1.1.2.6.2 -r1.1.1.2.6.3 \
src/external/bsd/pkg_install/dist/admin/audit.c
cvs rdiff -u -r1.1.1.1.6.1 -r1.1.1.1.6.2 \
src/external/bsd/pkg_install/dist/admin/check.c
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/admin/main.c
cvs rdiff -u -r1.1.1.1.6.3 -r1.1.1.1.6.4 \
src/external/bsd/pkg_install/dist/admin/pkg_admin.1
cvs rdiff -u -r1.1.1.1.6.1 -r1.1.1.1.6.2 \
src/external/bsd/pkg_install/dist/bpm/bpm.1
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/create/build.c \
src/external/bsd/pkg_install/dist/create/create.h \
src/external/bsd/pkg_install/dist/create/main.c \
src/external/bsd/pkg_install/dist/create/perform.c
cvs rdiff -u -r1.1.1.1.6.1 -r1.1.1.1.6.2 \
src/external/bsd/pkg_install/dist/create/pkg_create.1 \
src/external/bsd/pkg_install/dist/create/pl.c
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/delete/pkg_delete.1
cvs rdiff -u -r0 -r1.1.1.1.2.2 \
src/external/bsd/pkg_install/dist/delete/pkg_delete.1.in
cvs rdiff -u -r1.1.1.4.6.3 -r1.1.1.4.6.4 \
src/external/bsd/pkg_install/dist/delete/pkg_delete.c
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/info/info.h \
src/external/bsd/pkg_install/dist/info/main.c \
src/external/bsd/pkg_install/dist/info/show.c
cvs rdiff -u -r1.1.1.1.6.3 -r1.1.1.1.6.4 \
src/external/bsd/pkg_install/dist/info/perform.c
cvs rdiff -u -r1.1.1.1.6.1 -r1.1.1.1.6.2 \
src/external/bsd/pkg_install/dist/info/pkg_info.1
cvs rdiff -u -r1.1.1.1.6.1 -r1.1.1.1.6.2 \
src/external/bsd/pkg_install/dist/lib/automatic.c \
src/external/bsd/pkg_install/dist/lib/dewey.c \
src/external/bsd/pkg_install/dist/lib/global.c \
src/external/bsd/pkg_install/dist/lib/lpkg.c \
src/external/bsd/pkg_install/dist/lib/opattern.c \
src/external/bsd/pkg_install/dist/lib/pkg_summary.5 \
src/external/bsd/pkg_install/dist/lib/str.c \
src/external/bsd/pkg_install/dist/lib/version.c \
src/external/bsd/pkg_install/dist/lib/vulnerabilities-file.c
cvs rdiff -u -r1.1.1.1.6.2 -r1.1.1.1.6.3 \
src/external/bsd/pkg_install/dist/lib/conflicts.c \
src/external/bsd/pkg_install/dist/lib/decompress.c \
src/external/bsd/pkg_install/dist/lib/fexec.c \
src/external/bsd/pkg_install/dist/lib/file.c \
src/external/bsd/pkg_install/dist/lib/iterate.c \
src/external/bsd/pkg_install/dist/lib/lib.h \
src/external/bsd/pkg_install/dist/lib/pkg_io.c \
src/external/bsd/pkg_install/dist/lib/pkgdb.c \
src/external/bsd/pkg_install/dist/lib/plist.c \
src/external/bsd/pkg_install/dist/lib/var.c \

CVS commit: [netbsd-5] src/doc

2010-02-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Feb  3 00:51:12 UTC 2010

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

Log Message:
Tickets 1294 and 1295.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.192 -r1.1.2.193 src/doc/CHANGES-5.1

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



CVS commit: src/external/bsd/liblzf/dist

2010-02-02 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Wed Feb  3 03:50:45 UTC 2010

Update of /cvsroot/src/external/bsd/liblzf/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv22361

Log Message:
Import liblzf version 3.5 (2-clause BSD licensed by Marc Lehmann)

Status:

Vendor Tag: schmorpforge
Release Tags:   liblzf-3-5

N src/external/bsd/liblzf/dist/Changes
N src/external/bsd/liblzf/dist/LICENSE
N src/external/bsd/liblzf/dist/Makefile.in
N src/external/bsd/liblzf/dist/README
N src/external/bsd/liblzf/dist/config.h.in
N src/external/bsd/liblzf/dist/configure
N src/external/bsd/liblzf/dist/configure.ac
N src/external/bsd/liblzf/dist/crc32.h
N src/external/bsd/liblzf/dist/install-sh
N src/external/bsd/liblzf/dist/lzf.c
N src/external/bsd/liblzf/dist/lzf.h
N src/external/bsd/liblzf/dist/lzfP.h
N src/external/bsd/liblzf/dist/lzf_c.c
N src/external/bsd/liblzf/dist/lzf_d.c
N src/external/bsd/liblzf/dist/cs/README
N src/external/bsd/liblzf/dist/cs/CLZF.cs

No conflicts created by this import



Re: CVS commit: src/external/bsd/liblzf/dist

2010-02-02 Thread Thor Lancelot Simon
On Wed, Feb 03, 2010 at 04:04:22PM +1100, matthew green wrote:

Update of /cvsroot/src/external/bsd/liblzf/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv22361

Log Message:
Import liblzf version 3.5 (2-clause BSD licensed by Marc Lehmann)
 
 
 what's liblzf, and why do we want it in base?

It's a tiny, very very fast compression library.  Christos wants it
for bootblocks, among other things (or so he says -- ask him).

The other obvious choice would be LZO but there's no suitably-licensed
implementation which performs well.

We've had it in our tree at Coyote Point for a long time for a completely
different purpose, so I just grabbed it across.  As time permits, I will
plug it into things like ssh, libarchive, and ipcomp.



CVS commit: src

2010-02-02 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Wed Feb  3 06:25:55 UTC 2010

Modified Files:
src/distrib/sets/lists/base: shl.elf shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/external/bsd: Makefile
Added Files:
src/external/bsd/liblzf: Makefile Makefile.inc
src/external/bsd/liblzf/lib: Makefile

Log Message:
Plug liblzf into build.  Liblzf is a small (3504 byte shared library on i386),
very very fast, 2-clause BSD-licensed compressor.  We provide the LZF_STATE
version of the API, which is not the default for generic liblzf.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/distrib/sets/lists/base/shl.elf
cvs rdiff -u -r1.517 -r1.518 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.1380 -r1.1381 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.100 -r1.101 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/liblzf/Makefile \
src/external/bsd/liblzf/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/bsd/liblzf/lib/Makefile

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



Re: CVS commit: src/external/bsd/liblzf/dist

2010-02-02 Thread Adam Hamsik

On Feb,Wednesday 3 2010, at 6:44 AM, Thor Lancelot Simon wrote:

 On Wed, Feb 03, 2010 at 04:04:22PM +1100, matthew green wrote:
 
   Update of /cvsroot/src/external/bsd/liblzf/dist
   In directory ivanova.netbsd.org:/tmp/cvs-serv22361
 
   Log Message:
   Import liblzf version 3.5 (2-clause BSD licensed by Marc Lehmann)
 
 
 what's liblzf, and why do we want it in base?
 
 It's a tiny, very very fast compression library.  Christos wants it
 for bootblocks, among other things (or so he says -- ask him).
 
 The other obvious choice would be LZO but there's no suitably-licensed
 implementation which performs well.
 
 We've had it in our tree at Coyote Point for a long time for a completely
 different purpose, so I just grabbed it across.  As time permits, I will
 plug it into things like ssh, libarchive, and ipcomp.
 

Where was this change discussed ? Why were are importing sourcecode without any 
users in base system(look at Lua case). If time permits is quite vague, if you 
will not have a time who will plug this lib to base ?

Regards

Adam.



CVS commit: src/sys/uvm

2010-02-02 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Wed Feb  3 07:48:18 UTC 2010

Modified Files:
src/sys/uvm: uvm_fault.c

Log Message:
uvm_fault_lower_generic_io: One missing mutex_exit(vmobjlock).  Found while
comparing this function with uvm_loanuobj().  (Part of) these should be
merged.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/uvm/uvm_fault.c

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



Re: CVS commit: src/external/bsd/liblzf/dist

2010-02-02 Thread Thor Lancelot Simon
On Wed, Feb 03, 2010 at 08:39:29AM +0100, Adam Hamsik wrote:
 
 Where was this change discussed ? Why were are importing sourcecode without
 any users in base system(look at Lua case). If time permits is quite
 vague, if you will not have a time who will plug this lib to base ?

I imported it because the member of core with the longest tenure in the
history of the project asked me to do so.  That's good enough for me.

Please don't interpret this as a suggestion that I agree with what has
(not!) been done with Lua.

If you find a 3000-byte shared library objectionable, I can point you
at at least 3000 bytes elsewhere in the system which are better candidates
for removal.

Thor