CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Oct 13 07:41:32 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Dennis dmr Ritchie R.I.P. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.21 src/usr.bin/calendar/calendars/calendar.birthday:1.22 --- src/usr.bin/calendar/calendars/calendar.birthday:1.21 Thu Jan 21 01:59:09 2010 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Oct 13 07:41:32 2011 @@ -214,6 +214,7 @@ 10/04 John V. Atanasoff born, 1903 10/05 Pablo Picasso born in Malaga, Spain, 1881 10/05 Ray Kroc (founder of McDonald's) born, 1902 +10/08 Dennis Ritchie died, 2011 10/13 Lenny Bruce born in New York City, 1925 10/13 Virgil (Publius Vergilius Maro) born near Mantua, Italy, 70 BC 10/14 Dwight David Eisenhower born, 1890
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: mbalmer Date: Thu Oct 13 07:44:27 UTC 2011 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Add towns to dmr's dates. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.birthday Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.22 src/usr.bin/calendar/calendars/calendar.birthday:1.23 --- src/usr.bin/calendar/calendars/calendar.birthday:1.22 Thu Oct 13 07:41:32 2011 +++ src/usr.bin/calendar/calendars/calendar.birthday Thu Oct 13 07:44:27 2011 @@ -188,7 +188,7 @@ 09/08 King Richard I of England born, 1157 09/08 Peter Sellers born in Southsea, England, 1925 09/09 Chinese Communist Party Chairman Mao Tse-Tung dies at age 82, 1976 -09/09 Dennis Ritchie born, 1941 +09/09 Dennis Ritchie born in Bronxville, New York, 1941 09/12 Jesse Owens born, 1913 09/13 Walter Reed born, 1851 09/15 Agatha Christie born in Torquay, England, 1890 @@ -214,7 +214,7 @@ 10/04 John V. Atanasoff born, 1903 10/05 Pablo Picasso born in Malaga, Spain, 1881 10/05 Ray Kroc (founder of McDonald's) born, 1902 -10/08 Dennis Ritchie died, 2011 +10/08 Dennis Ritchie died in Murray Hill, New Jersey, 2011 10/13 Lenny Bruce born in New York City, 1925 10/13 Virgil (Publius Vergilius Maro) born near Mantua, Italy, 70 BC 10/14 Dwight David Eisenhower born, 1890
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: njoly Date: Thu Oct 13 07:47:30 UTC 2011 Modified Files: src/distrib/sets/lists/tests: mi Log Message: Do not delete nul.in line, but tag it as obsolete. To generate a diff of this commit: cvs rdiff -u -r1.400 -r1.401 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/tests/mi diff -u src/distrib/sets/lists/tests/mi:1.400 src/distrib/sets/lists/tests/mi:1.401 --- src/distrib/sets/lists/tests/mi:1.400 Tue Oct 11 23:04:21 2011 +++ src/distrib/sets/lists/tests/mi Thu Oct 13 07:47:30 2011 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.400 2011/10/11 23:04:21 dholland Exp $ +# $NetBSD: mi,v 1.401 2011/10/13 07:47:30 njoly Exp $ # # Note: don't delete entries from here - mark them as obsolete instead. # @@ -2006,6 +2006,7 @@ ./usr/tests/lib/libc/regex/data/error.in tests-lib-tests atf ./usr/tests/lib/libc/regex/data/meta.in tests-lib-tests atf ./usr/tests/lib/libc/regex/data/nospec.in tests-lib-tests atf +./usr/tests/lib/libc/regex/data/nul.in tests-obsolete obsolete ./usr/tests/lib/libc/regex/data/paren.in tests-lib-tests atf ./usr/tests/lib/libc/regex/data/regress.in tests-lib-tests atf ./usr/tests/lib/libc/regex/data/repet_bounded.in tests-lib-tests atf
CVS commit: src/share/man/man4
Module Name:src Committed By: njoly Date: Thu Oct 13 11:12:05 UTC 2011 Modified Files: src/share/man/man4: bwi.4 Log Message: Fix wiconfig section in xref. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/bwi.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/bwi.4 diff -u src/share/man/man4/bwi.4:1.7 src/share/man/man4/bwi.4:1.8 --- src/share/man/man4/bwi.4:1.7 Mon Oct 10 11:30:41 2011 +++ src/share/man/man4/bwi.4 Thu Oct 13 11:12:05 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: bwi.4,v 1.7 2011/10/10 11:30:41 njoly Exp $ +.\ $NetBSD: bwi.4,v 1.8 2011/10/13 11:12:05 njoly Exp $ .\ .\ Copyright (c) 2007 The DragonFly Project. All rights reserved. .\ @@ -102,9 +102,9 @@ node. .Xr arp 4 , .Xr ifmedia 4 , .Xr pci 4 , -.Xr wiconfig 4 , .Xr ifconfig 8 , .Xr sysctl 8 , +.Xr wiconfig 8 , .Xr wpa_supplicant 8 .Sh HISTORY The
CVS commit: src/sys/arch/x68k/stand/boot
Module Name:src Committed By: tsutsui Date: Thu Oct 13 11:35:37 UTC 2011 Modified Files: src/sys/arch/x68k/stand/boot: version Log Message: Bump version to denote 060turbo boot fix. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/boot/version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/x68k/stand/boot/version diff -u src/sys/arch/x68k/stand/boot/version:1.3 src/sys/arch/x68k/stand/boot/version:1.4 --- src/sys/arch/x68k/stand/boot/version:1.3 Mon Apr 11 13:49:41 2011 +++ src/sys/arch/x68k/stand/boot/version Thu Oct 13 11:35:37 2011 @@ -1,4 +1,4 @@ -$NetBSD: version,v 1.3 2011/04/11 13:49:41 tsutsui Exp $ +$NetBSD: version,v 1.4 2011/10/13 11:35:37 tsutsui Exp $ NOTE ANY CHANGES YOU MAKE TO THE BOOTBLOCKS HERE. The format of this file is important - make sure the entries are appended on end, last item @@ -8,3 +8,4 @@ is taken as the current. 1.0: Initial version of the libsa-based bootstrap loader. 1.1: loadfile() update to avoid backwards seeks for ELF Program Headers. 1.2: Fix serial console output. +1.3: Avoid exception on 68060 in UFS ops.
CVS commit: src/share/examples/puffs/pgfs
Module Name:src Committed By: yamt Date: Thu Oct 13 14:40:06 UTC 2011 Modified Files: src/share/examples/puffs/pgfs: pgfs_subs.c Log Message: isempty: fix a query result type. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/examples/puffs/pgfs/pgfs_subs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/examples/puffs/pgfs/pgfs_subs.c diff -u src/share/examples/puffs/pgfs/pgfs_subs.c:1.2 src/share/examples/puffs/pgfs/pgfs_subs.c:1.3 --- src/share/examples/puffs/pgfs/pgfs_subs.c:1.2 Wed Oct 12 16:24:39 2011 +++ src/share/examples/puffs/pgfs/pgfs_subs.c Thu Oct 13 14:40:06 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pgfs_subs.c,v 1.2 2011/10/12 16:24:39 yamt Exp $ */ +/* $NetBSD: pgfs_subs.c,v 1.3 2011/10/13 14:40:06 yamt Exp $ */ /*- * Copyright (c)2010,2011 YAMAMOTO Takashi, @@ -46,7 +46,7 @@ #include sys/cdefs.h #ifndef lint -__RCSID($NetBSD: pgfs_subs.c,v 1.2 2011/10/12 16:24:39 yamt Exp $); +__RCSID($NetBSD: pgfs_subs.c,v 1.3 2011/10/13 14:40:06 yamt Exp $); #endif /* not lint */ #include assert.h @@ -906,10 +906,8 @@ check_path(struct Xconn *xc, fileid_t ga int isempty(struct Xconn *xc, fileid_t fileid, bool *emptyp) { - fileid_t dummy; + int32_t dummy; static struct cmd *c; - static const Oid types[] = { INT8OID, }; - struct fetchstatus s; int error; CREATECMD(c, @@ -919,9 +917,7 @@ isempty(struct Xconn *xc, fileid_t filei if (error != 0) { return error; } - fetchinit(s, xc); - error = FETCHNEXT(s, types, dummy); - fetchdone(s); + error = simplefetch(xc, INT4OID, dummy); assert(error != 0 || dummy == 1); if (error == ENOENT) { *emptyp = true;
CVS commit: othersrc/crypto/external/bsd/ssss/dist/src/libssss
Module Name:othersrc Committed By: agc Date: Thu Oct 13 15:13:39 UTC 2011 Modified Files: othersrc/crypto/external/bsd//dist/src/lib: secsplit.c Log Message: remove a commented out line, and distribute the size allocation nearer to where it's used: make sure there's enough space in the allocated arrays, especially when odd numbers of bytes are being split/joined. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ othersrc/crypto/external/bsd//dist/src/lib/secsplit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/crypto/external/bsd//dist/src/lib/secsplit.c diff -u othersrc/crypto/external/bsd//dist/src/lib/secsplit.c:1.2 othersrc/crypto/external/bsd//dist/src/lib/secsplit.c:1.3 --- othersrc/crypto/external/bsd//dist/src/lib/secsplit.c:1.2 Thu Aug 18 04:19:47 2011 +++ othersrc/crypto/external/bsd//dist/src/lib/secsplit.c Thu Oct 13 15:13:39 2011 @@ -466,7 +466,6 @@ assemble(s4_t *s4, thresh_str_t *inputs, } inputs[i].c += sizeof(heads[i]); x[i] = heads[i].coeff; - //inputs[i].io.size += 2; } for (;;) { if ((d = get_assemble(s4, nin, inputs, x, mod, oddflag)) == -1) { @@ -532,7 +531,7 @@ split_memory(threshold_t *thresh, const /* allocate space for outputs */ thresh-sharesc = (unsigned)sharesc; for (i = 0 ; i sharesc ; i++) { - thresh-shares[i].io.size = memsize + sizeof(thresh_head_t); + thresh-shares[i].io.size = memsize + sizeof(thresh_head_t) + 2; thresh-shares[i].c = 0; if (thresh-shares[i].io.base == NULL (thresh-shares[i].io.base = calloc(1, thresh-shares[i].io.size)) == NULL) { @@ -579,7 +578,7 @@ int s4_combine(threshold_t *thresh) { if (!join_memory(thresh, thresh-shares, - thresh-shares[0].io.size, thresh-threshold, + thresh-shares[0].io.size - 2, thresh-threshold, thresh-shares[THRESH_JOIN_DEST])) { return -1; }
CVS commit: othersrc/external/bsd/bufgap/dist
Module Name:othersrc Committed By: agc Date: Thu Oct 13 15:59:10 UTC 2011 Modified Files: othersrc/external/bsd/bufgap/dist: bufgap.3 bufgap.c bufgap.h Log Message: add a bufgap_getline() function which retrieves, in allocated storage, a line from a buffer gap instance. add commented out field names to function prototypes, and update the minimalist documentation. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/bufgap/dist/bufgap.3 cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/bufgap/dist/bufgap.c \ othersrc/external/bsd/bufgap/dist/bufgap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/bufgap/dist/bufgap.3 diff -u othersrc/external/bsd/bufgap/dist/bufgap.3:1.2 othersrc/external/bsd/bufgap/dist/bufgap.3:1.3 --- othersrc/external/bsd/bufgap/dist/bufgap.3:1.2 Mon Jun 13 20:43:55 2011 +++ othersrc/external/bsd/bufgap/dist/bufgap.3 Thu Oct 13 15:59:10 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: bufgap.3,v 1.2 2011/06/13 20:43:55 wiz Exp $ +.\ $NetBSD: bufgap.3,v 1.3 2011/10/13 15:59:10 agc Exp $ .\ .\ Copyright (c) 1996-2011 Alistair Crooks a...@netbsd.org .\ All rights reserved. @@ -23,7 +23,7 @@ .\ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\ -.Dd June 3, 2011 +.Dd October 13, 2011 .Dt BUFGAP 3 .Os .Sh NAME @@ -79,6 +79,10 @@ .Fo bufgap_gettext .Fa bufgap_t *bufgap int64_t off int64_t size .Fc +.Ft char * +.Fo bufgap_getline +.Fa bufgap_t *bufgap int64_t line +.Fc .Ft int .Fo bufgap_write .Fa bufgap_t *bufgap FILE *fp Index: othersrc/external/bsd/bufgap/dist/bufgap.c diff -u othersrc/external/bsd/bufgap/dist/bufgap.c:1.1.1.1 othersrc/external/bsd/bufgap/dist/bufgap.c:1.2 --- othersrc/external/bsd/bufgap/dist/bufgap.c:1.1.1.1 Sun Jun 12 07:48:28 2011 +++ othersrc/external/bsd/bufgap/dist/bufgap.c Thu Oct 13 15:59:10 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: bufgap.c,v 1.1.1.1 2011/06/12 07:48:28 agc Exp $ */ +/* $NetBSD: bufgap.c,v 1.2 2011/10/13 15:59:10 agc Exp $ */ /*- * Copyright (c) 1996-2011 Alistair Crooks a...@netbsd.org @@ -490,6 +490,33 @@ bufgap_gettext(bufgap_t *bp, int64_t fro return text; } +/* return, in malloc'd storage, a line from the buffer gap */ +char * +bufgap_getline(bufgap_t *bp, int64_t line) +{ + int64_t from; + int64_t to; + int64_t n; + char *text; + + if (!bufgap_seek(bp, line, BGFromBOF, BGLine)) { + return NULL; + } + from = bufgap_tell(bp, BGFromBOF, BGChar); + if (!bufgap_seek(bp, line + 1, BGFromBOF, BGLine)) { + return NULL; + } + to = bufgap_tell(bp, BGFromBOF, BGChar); + NEWARRAY(char, text, (to - from + 1), bufgap_gettext, return NULL); + (void) bufgap_seek(bp, from, BGFromBOF, BGChar); + for (n = 0 ; n to - from ; n++) { + text[(int)n] = BEFSUB(bp, bp-bbc - n); + } + text[(int)n] = 0x0; + (void) bufgap_seek(bp, from, BGFromBOF, BGChar); + return text; +} + /* return 1 if we wrote the file correctly */ int bufgap_write(bufgap_t *bp, FILE *filep) Index: othersrc/external/bsd/bufgap/dist/bufgap.h diff -u othersrc/external/bsd/bufgap/dist/bufgap.h:1.1.1.1 othersrc/external/bsd/bufgap/dist/bufgap.h:1.2 --- othersrc/external/bsd/bufgap/dist/bufgap.h:1.1.1.1 Sun Jun 12 07:48:28 2011 +++ othersrc/external/bsd/bufgap/dist/bufgap.h Thu Oct 13 15:59:10 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: bufgap.h,v 1.1.1.1 2011/06/12 07:48:28 agc Exp $ */ +/* $NetBSD: bufgap.h,v 1.2 2011/10/13 15:59:10 agc Exp $ */ /*- * Copyright (c) 1996-2011 Alistair Crooks a...@netbsd.org @@ -32,6 +32,18 @@ #include inttypes.h #include stdio.h +#ifndef __BEGIN_DECLS +# if defined(__cplusplus) +# define __BEGIN_DECLS extern C { +# define __END_DECLS } +# else +# define __BEGIN_DECLS +# define __END_DECLS +# endif +#endif + +__BEGIN_DECLS + #ifndef BUFGAP_VERSION_STRING #define BUFGAP_VERSION_STRING 20091022 #endif @@ -65,20 +77,23 @@ typedef struct bufgap_t { char modified; /* file has been modified */ } bufgap_t; -int bufgap_open(bufgap_t *, const char *); -void bufgap_close(bufgap_t *); -int bufgap_forwards(bufgap_t *, uint64_t, int); -int bufgap_backwards(bufgap_t *, uint64_t, int); -int bufgap_seek(bufgap_t *, int64_t, int, int); -char *bufgap_getstr(bufgap_t *); -int bufgap_getbin(bufgap_t *, void *, size_t); -int64_t bufgap_tell(bufgap_t *, int, int); -int64_t bufgap_size(bufgap_t *, int); -int bufgap_insert(bufgap_t *, const char *, int); -int bufgap_delete(bufgap_t *, uint64_t); -int bufgap_peek(bufgap_t *, int64_t); -char *bufgap_gettext(bufgap_t *, int64_t, int64_t); -int bufgap_write(bufgap_t *, FILE *); -int bufgap_dirty(bufgap_t *); +int bufgap_open(bufgap_t */*bp*/, const char */*filename*/); +void bufgap_close(bufgap_t */*bp*/); +int bufgap_forwards(bufgap_t */*bp*/, uint64_t /*off*/, int /*type*/); +int bufgap_backwards(bufgap_t */*bp*/, uint64_t
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: christos Date: Thu Oct 13 16:00:37 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/gdb: nbsd-thread.c Log Message: Deal with core file initialization. The code is till wrong: all the core_ops are unused and adding the core target does not work. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/nbsd-thread.c diff -u src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.3 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.4 --- src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.3 Sun Oct 2 14:14:24 2011 +++ src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Thu Oct 13 12:00:37 2011 @@ -504,6 +504,24 @@ nbsd_pid_to_str (struct target_ops *ops, } +static void +nbsd_add_to_thread_list (bfd *abfd, asection *asect, PTR reg_sect_arg) +{ + int regval; + td_thread_t *dummy; + + if (strncmp (bfd_section_name (abfd, asect), .reg/, 5) != 0) +return; + + regval = atoi (bfd_section_name (abfd, asect) + 5); + +#ifdef notyet + td_map_lwp2thr (main_ta, regval 16, dummy); +#endif + + add_thread (BUILD_LWP(regval 16, main_ptid)); +} + /* This routine is called whenever a new symbol table is read in, or when all symbol tables are removed. libthread_db can only be initialized when it finds the right variables in libthread.so. Since it's a shared library, @@ -517,7 +535,7 @@ nbsd_pid_to_str (struct target_ops *ops, void nbsd_thread_new_objfile (struct objfile *objfile) { - int val; + int val, core_pid; if (!objfile) { @@ -529,6 +547,7 @@ nbsd_thread_new_objfile (struct objfile if (nbsd_thread_active) goto quit; + /* Now, initialize the thread debugging library. This needs to be done after the shared libraries are located because it needs information from the user's thread library. */ @@ -549,6 +568,16 @@ nbsd_thread_new_objfile (struct objfile push_target (nbsd_thread_ops); nbsd_thread_activate(); } + + core_pid = elf_tdata (core_bfd)-core_pid; + if (core_pid) +{ + main_ptid = pid_to_ptid (core_pid); + nbsd_thread_active = 1; + init_thread_list (); + bfd_map_over_sections (core_bfd, nbsd_add_to_thread_list, NULL); + nbsd_find_new_threads (NULL); +} quit: return; } @@ -615,6 +644,8 @@ nbsd_find_new_threads_callback (td_threa if (td_thr_info (th, ti) != 0) return -1; +printf(find new thread %d\n, ti.thread_id); + ptid = BUILD_THREAD (ti.thread_id, main_ptid); if (ti.thread_type == TD_TYPE_USER ti.thread_state != TD_STATE_BLOCKED @@ -950,32 +981,13 @@ nbsd_thread_tsd_cmd (char *exp, int from } static void -nbsd_add_to_thread_list (bfd *abfd, asection *asect, PTR reg_sect_arg) -{ - int regval; - td_thread_t *dummy; - - if (strncmp (bfd_section_name (abfd, asect), .reg/, 5) != 0) -return; - - regval = atoi (bfd_section_name (abfd, asect) + 5); - -#ifdef notyet - td_map_lwp2thr (main_ta, regval 16, dummy); -#endif - - add_thread (BUILD_LWP(regval 16, main_ptid)); -} - -#ifdef notyet -static void nbsd_core_open (char *filename, int from_tty) { int val; nbsd_thread_core = 1; - beneath-to_open (filename, from_tty); + core_target-to_open (filename, from_tty); if (nbsd_thread_present) { @@ -1003,9 +1015,8 @@ nbsd_core_close (int quitting) */ inferior_ptid = minus_one_ptid; - beneath-to_close (quitting); + core_target-to_close (quitting); } -#endif static void nbsd_core_detach (struct target_ops *ops, char *args, int from_tty) @@ -1237,10 +1248,8 @@ init_nbsd_core_ops (void) nbsd_core_ops.to_shortname = netbsd-core; nbsd_core_ops.to_longname = NetBSD core pthread.; nbsd_core_ops.to_doc = NetBSD pthread support for core files.; -#ifdef notyet nbsd_core_ops.to_open = nbsd_core_open; nbsd_core_ops.to_close = nbsd_core_close; -#endif nbsd_core_ops.to_detach = nbsd_core_detach; nbsd_core_ops.to_fetch_registers = nbsd_thread_fetch_registers; nbsd_core_ops.to_xfer_partial = nbsd_thread_xfer_partial;
CVS commit: othersrc/external/bsd/circa/dist
Module Name:othersrc Committed By: agc Date: Thu Oct 13 16:00:48 UTC 2011 Modified Files: othersrc/external/bsd/circa/dist: circa.c Log Message: treat a sector size of 0 during circa initialisation as being the default CIRCA_SECTOR_SIZE To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/circa/dist/circa.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/circa/dist/circa.c diff -u othersrc/external/bsd/circa/dist/circa.c:1.4 othersrc/external/bsd/circa/dist/circa.c:1.5 --- othersrc/external/bsd/circa/dist/circa.c:1.4 Wed Aug 3 05:52:19 2011 +++ othersrc/external/bsd/circa/dist/circa.c Thu Oct 13 16:00:48 2011 @@ -96,8 +96,10 @@ circa_init(circa_t *circa, size_t sector (void) memset(circa-c2, 0x0, sizeof(circa-c2)); rs_init(circa-c2, RS_DEFAULT_POLYNOMIAL, C3_FRAME_SIZE, Q_PARITY_SIZE); rs_init(circa-c1, RS_DEFAULT_POLYNOMIAL, C2_FRAME_SIZE, P_PARITY_SIZE); - if ((circa-header.sectorsize = (uint32_t)sectorsize) == 0 || - sectorsize % C1_FRAME_SIZE != 0) { + if ((circa-header.sectorsize = (uint32_t)sectorsize) == 0) { + circa-header.sectorsize = CIRCA_SECTOR_SIZE; + } + if (circa-header.sectorsize % C1_FRAME_SIZE != 0) { (void) fprintf(stderr, Bad sector size %zu\n, sectorsize); return 0; }
CVS commit: src/external/bsd/cron/dist
Module Name:src Committed By: joerg Date: Thu Oct 13 16:58:30 UTC 2011 Modified Files: src/external/bsd/cron/dist: database.c Log Message: Kill redundant () To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/cron/dist/database.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/cron/dist/database.c diff -u src/external/bsd/cron/dist/database.c:1.5 src/external/bsd/cron/dist/database.c:1.6 --- src/external/bsd/cron/dist/database.c:1.5 Wed Oct 12 19:48:24 2011 +++ src/external/bsd/cron/dist/database.c Thu Oct 13 16:58:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: database.c,v 1.5 2011/10/12 19:48:24 christos Exp $ */ +/* $NetBSD: database.c,v 1.6 2011/10/13 16:58:30 joerg Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved @@ -25,7 +25,7 @@ #if 0 static char rcsid[] = Id: database.c,v 1.7 2004/01/23 18:56:42 vixie Exp; #else -__RCSID($NetBSD: database.c,v 1.5 2011/10/12 19:48:24 christos Exp $); +__RCSID($NetBSD: database.c,v 1.6 2011/10/13 16:58:30 joerg Exp $); #endif #endif @@ -88,7 +88,7 @@ process_dir(const char *dname, struct st } /* ... or ending with ~ ... */ - if ((dp-d_name[len - 1] == '~')) + if (dp-d_name[len - 1] == '~') continue; (void)strlcpy(fname, dp-d_name, sizeof(fname));
CVS commit: othersrc/external/bsd/mat/dist
Module Name:othersrc Committed By: agc Date: Thu Oct 13 17:20:47 UTC 2011 Modified Files: othersrc/external/bsd/mat/dist: mat.c mat.h Log Message: provide namespace protection for header file fix an error message To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/mat/dist/mat.c cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/mat/dist/mat.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/mat/dist/mat.c diff -u othersrc/external/bsd/mat/dist/mat.c:1.3 othersrc/external/bsd/mat/dist/mat.c:1.4 --- othersrc/external/bsd/mat/dist/mat.c:1.3 Sat Jun 25 17:05:34 2011 +++ othersrc/external/bsd/mat/dist/mat.c Thu Oct 13 17:20:47 2011 @@ -523,7 +523,7 @@ extract_special(mat_t *mat, extract_t *a return 0; } if (mknod(name, ent-meta.mode 0, ent-meta.dev) 0) { - (void) fprintf(stderr, can't mkdir '%s'\n, name); + (void) fprintf(stderr, can't mknod '%s'\n, name); return 0; } if (archive-preserve !fpreserve(-1, NULL, name, ent)) { Index: othersrc/external/bsd/mat/dist/mat.h diff -u othersrc/external/bsd/mat/dist/mat.h:1.4 othersrc/external/bsd/mat/dist/mat.h:1.5 --- othersrc/external/bsd/mat/dist/mat.h:1.4 Sat Jun 25 17:05:34 2011 +++ othersrc/external/bsd/mat/dist/mat.h Thu Oct 13 17:20:47 2011 @@ -30,6 +30,18 @@ #include inttypes.h #include stdio.h +#ifndef __BEGIN_DECLS +# if defined(__cplusplus) +# define __BEGIN_DECLS extern C { +# define __END_DECLS } +# else +# define __BEGIN_DECLS +# define __END_DECLS +# endif +#endif + +__BEGIN_DECLS + enum { MAT_MAGIC = 0x19980626, MAT_NAME_LEN = 32, @@ -52,6 +64,9 @@ typedef struct matmeta_t { uint32_t namelen; /* size of name */ uint32_t linklen; /* size of link target */ uint32_t flags; /* fs flags */ +#if 0 + uint32_t xasize; /* extattr size */ +#endif char type; /* single char type */ } matmeta_t; @@ -60,6 +75,9 @@ typedef struct matent_t { matmeta_t meta; /* meta data */ char *name; /* name of entry */ uint8_t *data; /* associated data */ +#if 0 + uint8_t *extattrs; /* extended attributes */ +#endif uint8_t digest[MAT_DIGEST_LEN]; /* sha256 */ } matent_t; @@ -68,7 +86,7 @@ typedef struct matlink_t { uint64_t ino; /* inode number */ char *name; /* name of primary */ uint32_t namelen; /* length of name */ - uint8_t digest[MAT_DIGEST_LEN]; /* sha256 */ + uint8_t digest[MAT_DIGEST_LEN]; /* digest of contents */ } matlink_t; /* the header for the archive file */ @@ -110,4 +128,6 @@ int mat_vtar(char */*arg*/, ...); int mat_pax(int /*argc*/, char **/*argv*/); int mat_vpax(char */*arg*/, ...); +__END_DECLS + #endif
CVS commit: src
Module Name:src Committed By: plunky Date: Thu Oct 13 17:23:29 UTC 2011 Modified Files: src/crypto/external/bsd/netpgp/lib: Makefile src/crypto/external/bsd/openssh: Makefile.inc src/external/bsd/libpcap/lib: Makefile src/libexec/tftpd: Makefile src/sys/modules/itesio: Makefile src/tests/fs/ptyfs: Makefile src/usr.sbin/fwctl: Makefile Log Message: max WARNS is 4 To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/crypto/external/bsd/netpgp/lib/Makefile cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssh/Makefile.inc cvs rdiff -u -r1.6 -r1.7 src/external/bsd/libpcap/lib/Makefile cvs rdiff -u -r1.13 -r1.14 src/libexec/tftpd/Makefile cvs rdiff -u -r1.1 -r1.2 src/sys/modules/itesio/Makefile cvs rdiff -u -r1.3 -r1.4 src/tests/fs/ptyfs/Makefile cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fwctl/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/lib/Makefile diff -u src/crypto/external/bsd/netpgp/lib/Makefile:1.12 src/crypto/external/bsd/netpgp/lib/Makefile:1.13 --- src/crypto/external/bsd/netpgp/lib/Makefile:1.12 Mon Nov 29 06:22:20 2010 +++ src/crypto/external/bsd/netpgp/lib/Makefile Thu Oct 13 17:23:28 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2010/11/29 06:22:20 agc Exp $ +# $NetBSD: Makefile,v 1.13 2011/10/13 17:23:28 plunky Exp $ .include bsd.own.mk @@ -12,7 +12,7 @@ SRCS+= symmetric.c validate.c writer.c SRCS+= ssh2pgp.c bufgap.c CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include MAN= libnetpgp.3 -WARNS=5 +WARNS?= 4 EXTDIST=${.CURDIR}/../dist Index: src/crypto/external/bsd/openssh/Makefile.inc diff -u src/crypto/external/bsd/openssh/Makefile.inc:1.4 src/crypto/external/bsd/openssh/Makefile.inc:1.5 --- src/crypto/external/bsd/openssh/Makefile.inc:1.4 Mon Jul 25 03:03:09 2011 +++ src/crypto/external/bsd/openssh/Makefile.inc Thu Oct 13 17:23:28 2011 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile.inc,v 1.4 2011/07/25 03:03:09 christos Exp $ +# $NetBSD: Makefile.inc,v 1.5 2011/10/13 17:23:28 plunky Exp $ -WARNS?= 5 +WARNS?= 4 .include bsd.own.mk Index: src/external/bsd/libpcap/lib/Makefile diff -u src/external/bsd/libpcap/lib/Makefile:1.6 src/external/bsd/libpcap/lib/Makefile:1.7 --- src/external/bsd/libpcap/lib/Makefile:1.6 Thu Sep 15 17:59:45 2011 +++ src/external/bsd/libpcap/lib/Makefile Thu Oct 13 17:23:28 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/09/15 17:59:45 plunky Exp $ +# $NetBSD: Makefile,v 1.7 2011/10/13 17:23:28 plunky Exp $ .include bsd.own.mk @@ -52,7 +52,7 @@ MANMISCIN= pcap-filter.manmisc.in pcap-l MANFILEIN= pcap-savefile.manfile.in CLEANFILES+= ${MAN} -WARNS?= 5 +WARNS?= 4 .for i in ${MAN3IN} ${i:S/pcap.in//}: ${i} __sed Index: src/libexec/tftpd/Makefile diff -u src/libexec/tftpd/Makefile:1.13 src/libexec/tftpd/Makefile:1.14 --- src/libexec/tftpd/Makefile:1.13 Fri Jan 8 21:05:14 2010 +++ src/libexec/tftpd/Makefile Thu Oct 13 17:23:29 2011 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2010/01/08 21:05:14 christos Exp $ +# $NetBSD: Makefile,v 1.14 2011/10/13 17:23:29 plunky Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/4/93 -WARNS?= 5 +WARNS?= 4 .include bsd.own.mk Index: src/sys/modules/itesio/Makefile diff -u src/sys/modules/itesio/Makefile:1.1 src/sys/modules/itesio/Makefile:1.2 --- src/sys/modules/itesio/Makefile:1.1 Fri Jul 29 20:59:25 2011 +++ src/sys/modules/itesio/Makefile Thu Oct 13 17:23:29 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/07/29 20:59:25 jmcneill Exp $ +# $NetBSD: Makefile,v 1.2 2011/10/13 17:23:29 plunky Exp $ .include ../Makefile.inc @@ -8,6 +8,6 @@ KMOD= itesio IOCONF= itesio.ioconf SRCS= itesio_isa.c -WARNS= 5 +WARNS?= 4 .include bsd.kmodule.mk Index: src/tests/fs/ptyfs/Makefile diff -u src/tests/fs/ptyfs/Makefile:1.3 src/tests/fs/ptyfs/Makefile:1.4 --- src/tests/fs/ptyfs/Makefile:1.3 Sat Dec 18 15:02:06 2010 +++ src/tests/fs/ptyfs/Makefile Thu Oct 13 17:23:29 2011 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2010/12/18 15:02:06 christos Exp $ +# $NetBSD: Makefile,v 1.4 2011/10/13 17:23:29 plunky Exp $ # TESTSDIR= ${TESTSBASE}/fs/ptyfs -WARNS?= 5 +WARNS?= 4 TESTS_C= t_ptyfs TESTS_C+= t_nullpts Index: src/usr.sbin/fwctl/Makefile diff -u src/usr.sbin/fwctl/Makefile:1.6 src/usr.sbin/fwctl/Makefile:1.7 --- src/usr.sbin/fwctl/Makefile:1.6 Sun Aug 14 17:42:23 2011 +++ src/usr.sbin/fwctl/Makefile Thu Oct 13 17:23:29 2011 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2011/08/14 17:42:23 christos Exp $ +# $NetBSD: Makefile,v 1.7 2011/10/13 17:23:29 plunky Exp $ -WARNS?=5 +WARNS?= 4 PROG= fwctl SRCS= eui64.c fwcontrol.c fwcrom.c fwdv.c fwmpegts.c MAN= fwctl.8
CVS commit: src/sys/arch/powerpc/pic
Module Name:src Committed By: matt Date: Thu Oct 13 19:49:50 UTC 2011 Modified Files: src/sys/arch/powerpc/pic: ipivar.h Log Message: Don't declare cpu_send_ipi if BOOKE To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/pic/ipivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/powerpc/pic/ipivar.h diff -u src/sys/arch/powerpc/pic/ipivar.h:1.5 src/sys/arch/powerpc/pic/ipivar.h:1.6 --- src/sys/arch/powerpc/pic/ipivar.h:1.5 Sun Jun 5 16:52:26 2011 +++ src/sys/arch/powerpc/pic/ipivar.h Thu Oct 13 19:49:50 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ipivar.h,v 1.5 2011/06/05 16:52:26 matt Exp $ */ +/* $NetBSD: ipivar.h,v 1.6 2011/10/13 19:49:50 matt Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. * All rights reserved. @@ -29,11 +29,16 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ipivar.h,v 1.5 2011/06/05 16:52:26 matt Exp $); +__KERNEL_RCSID(0, $NetBSD: ipivar.h,v 1.6 2011/10/13 19:49:50 matt Exp $); #ifndef _IPI_VAR_H_ #define _IPI_VAR_H_ +#ifdef _KERNEL_OPT +#include opt_ppcarch.h +#endif + +#if defined(_KERNEL) !defined(PPC_BOOKE) struct ipi_ops { void (*ppc_send_ipi)(cpuid_t, uint32_t); /* type, level, arg */ @@ -64,5 +69,6 @@ cpu_send_ipi(cpuid_t cpuid, uint32_t msg { (*ipiops.ppc_send_ipi)(cpuid, msg); } +#endif #endif /*_IPI_VAR_H_*/
CVS commit: src/sys/common/pmap/tlb
Module Name:src Committed By: matt Date: Thu Oct 13 19:50:39 UTC 2011 Modified Files: src/sys/common/pmap/tlb: pmap.h Log Message: Move pai to end of struct pmap. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/common/pmap/tlb/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/common/pmap/tlb/pmap.h diff -u src/sys/common/pmap/tlb/pmap.h:1.10 src/sys/common/pmap/tlb/pmap.h:1.11 --- src/sys/common/pmap/tlb/pmap.h:1.10 Thu Jun 23 07:58:19 2011 +++ src/sys/common/pmap/tlb/pmap.h Thu Oct 13 19:50:39 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.10 2011/06/23 07:58:19 matt Exp $ */ +/* $NetBSD: pmap.h,v 1.11 2011/10/13 19:50:39 matt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -141,9 +141,9 @@ struct pmap { u_int pm_flags; #define PMAP_DEFERRED_ACTIVATE 0x0001 struct pmap_statistics pm_stats; /* pmap statistics */ - struct pmap_asid_info pm_pai[1]; vaddr_t pm_minaddr; vaddr_t pm_maxaddr; + struct pmap_asid_info pm_pai[1]; }; enum tlb_invalidate_op {
CVS commit: src/sys/arch/prep/pci
Module Name:src Committed By: matt Date: Thu Oct 13 19:51:17 UTC 2011 Modified Files: src/sys/arch/prep/pci: pci_machdep.c Log Message: Init MSI hooks. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/prep/pci/pci_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/prep/pci/pci_machdep.c diff -u src/sys/arch/prep/pci/pci_machdep.c:1.37 src/sys/arch/prep/pci/pci_machdep.c:1.38 --- src/sys/arch/prep/pci/pci_machdep.c:1.37 Fri Jul 1 16:56:52 2011 +++ src/sys/arch/prep/pci/pci_machdep.c Thu Oct 13 19:51:17 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.c,v 1.37 2011/07/01 16:56:52 dyoung Exp $ */ +/* $NetBSD: pci_machdep.c,v 1.38 2011/10/13 19:51:17 matt Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -39,7 +39,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: pci_machdep.c,v 1.37 2011/07/01 16:56:52 dyoung Exp $); +__KERNEL_RCSID(0, $NetBSD: pci_machdep.c,v 1.38 2011/10/13 19:51:17 matt Exp $); #include sys/types.h #include sys/param.h @@ -92,6 +92,9 @@ prep_pci_get_chipset_tag_indirect(pci_ch pc-pc_intr_disestablish = genppc_pci_intr_disestablish; pc-pc_intr_setattr = genppc_pci_intr_setattr; + pc-pc_msi_v = (void *)pc; + genppc_pci_chipset_msi_init(pc); + pc-pc_conf_interrupt = genppc_pci_conf_interrupt; pc-pc_decompose_tag = genppc_pci_indirect_decompose_tag; pc-pc_conf_hook = prep_pci_conf_hook;
CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc
Module Name:src Committed By: matt Date: Thu Oct 13 19:51:58 UTC 2011 Modified Files: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.4 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.5 --- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.4 Wed Aug 17 18:33:03 2011 +++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h Thu Oct 13 19:51:58 2011 @@ -3,7 +3,7 @@ /* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */ /* Generated automatically. */ -#ifdef _SOFT_FLOAT_ +#ifdef _SOFT_FLOAT static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd -with-float=soft; #else static const char configuration_arguments[] = /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20110620' --enable-__cxa_atexit --with-mpc=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-mpfr=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --with-gmp=/var/obj/ofppc/usr/src2/destdir.ofppc/usr --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.54 --host=powerpc--netbsd; @@ -13,8 +13,9 @@ static const char thread_model[] = posi static const struct { const char *name, *value; } configure_default_options[] = { -#ifdef _SOFT_FLOAT_ +#ifdef _SOFT_FLOAT { float, soft }, -#endif +#else { NULL, NULL } +#endif };
CVS commit: src/tools/gcc
Module Name:src Committed By: matt Date: Thu Oct 13 19:52:33 UTC 2011 Modified Files: src/tools/gcc: mknative-gcc Log Message: Fix PPC _SOFT_FLOAT To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/tools/gcc/mknative-gcc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/gcc/mknative-gcc diff -u src/tools/gcc/mknative-gcc:1.64 src/tools/gcc/mknative-gcc:1.65 --- src/tools/gcc/mknative-gcc:1.64 Fri Sep 23 06:43:46 2011 +++ src/tools/gcc/mknative-gcc Thu Oct 13 19:52:33 2011 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mknative-gcc,v 1.64 2011/09/23 06:43:46 mrg Exp $ +# $NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt Exp $ # # Shell script for generating all the constants needed for a native # platform build of src/gnu/dist/gcc. @@ -637,7 +637,7 @@ get_gcc () { /configuration_arguments/ s/$// ya i -#ifdef _SOFT_FLOAT_ +#ifdef _SOFT_FLOAT . pu s/;$/ -with-float=soft;/ @@ -648,7 +648,7 @@ a . m +1 /configure_default_options/ s/{ NULL.*$// a -#ifdef _SOFT_FLOAT_ +#ifdef _SOFT_FLOAT { float, soft }, #endif { NULL, NULL }
CVS commit: src/sys/arch/powerpc/booke/dev
Module Name:src Committed By: matt Date: Thu Oct 13 19:53:30 UTC 2011 Modified Files: src/sys/arch/powerpc/booke/dev: pq3etsec.c Log Message: Fix printing of phy. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/booke/dev/pq3etsec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/powerpc/booke/dev/pq3etsec.c diff -u src/sys/arch/powerpc/booke/dev/pq3etsec.c:1.8 src/sys/arch/powerpc/booke/dev/pq3etsec.c:1.9 --- src/sys/arch/powerpc/booke/dev/pq3etsec.c:1.8 Tue Sep 27 01:02:35 2011 +++ src/sys/arch/powerpc/booke/dev/pq3etsec.c Thu Oct 13 19:53:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pq3etsec.c,v 1.8 2011/09/27 01:02:35 jym Exp $ */ +/* $NetBSD: pq3etsec.c,v 1.9 2011/10/13 19:53:30 matt Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * All rights reserved. @@ -38,7 +38,7 @@ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: pq3etsec.c,v 1.8 2011/09/27 01:02:35 jym Exp $); +__KERNEL_RCSID(0, $NetBSD: pq3etsec.c,v 1.9 2011/10/13 19:53:30 matt Exp $); #include sys/param.h #include sys/cpu.h @@ -484,7 +484,8 @@ pq3etsec_attach(device_t parent, device_ cnl-cnl_instance); sc-sc_phy_addr = board_info_get_number(prop_name); } - aprint_normal( phy %d, sc-sc_phy_addr); + if (sc-sc_phy_addr != MII_PHY_ANY) + aprint_normal( phy %d, sc-sc_phy_addr); error = bus_space_map(sc-sc_bst, cnl-cnl_addr, cnl-cnl_size, 0, sc-sc_bsh);
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: christos Date: Thu Oct 13 21:11:57 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/gdb: nbsd-thread.c Log Message: fix core dump handling. In essence remove all the custom code that dealt with it, and use the gdb standard code. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/nbsd-thread.c diff -u src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.4 src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.5 --- src/external/gpl3/gdb/dist/gdb/nbsd-thread.c:1.4 Thu Oct 13 12:00:37 2011 +++ src/external/gpl3/gdb/dist/gdb/nbsd-thread.c Thu Oct 13 17:11:57 2011 @@ -71,10 +71,8 @@ static ptid_t main_ptid; /* Real proces static ptid_t cached_thread; struct target_ops nbsd_thread_ops; -struct target_ops nbsd_core_ops; struct td_proc_callbacks_t nbsd_thread_callbacks; -struct td_proc_callbacks_t nbsd_core_callbacks; static ptid_t find_active_thread (void); static void nbsd_find_new_threads (struct target_ops *); @@ -325,6 +323,10 @@ find_active_thread (void) (pl.pl_event != PL_EVENT_SIGNAL)) val = ptrace (PT_LWPINFO, GET_PID(inferior_ptid), (void *)pl, sizeof(pl)); } + else +{ + return inferior_ptid; +} cached_thread = BUILD_LWP (pl.pl_lwpid, main_ptid); return cached_thread; @@ -515,11 +517,7 @@ nbsd_add_to_thread_list (bfd *abfd, asec regval = atoi (bfd_section_name (abfd, asect) + 5); -#ifdef notyet - td_map_lwp2thr (main_ta, regval 16, dummy); -#endif - - add_thread (BUILD_LWP(regval 16, main_ptid)); + add_thread (BUILD_LWP(regval, main_ptid)); } /* This routine is called whenever a new symbol table is read in, or when all @@ -535,7 +533,7 @@ nbsd_add_to_thread_list (bfd *abfd, asec void nbsd_thread_new_objfile (struct objfile *objfile) { - int val, core_pid; + int val; if (!objfile) { @@ -569,15 +567,6 @@ nbsd_thread_new_objfile (struct objfile nbsd_thread_activate(); } - core_pid = elf_tdata (core_bfd)-core_pid; - if (core_pid) -{ - main_ptid = pid_to_ptid (core_pid); - nbsd_thread_active = 1; - init_thread_list (); - bfd_map_over_sections (core_bfd, nbsd_add_to_thread_list, NULL); - nbsd_find_new_threads (NULL); -} quit: return; } @@ -644,8 +633,6 @@ nbsd_find_new_threads_callback (td_threa if (td_thr_info (th, ti) != 0) return -1; -printf(find new thread %d\n, ti.thread_id); - ptid = BUILD_THREAD (ti.thread_id, main_ptid); if (ti.thread_type == TD_TYPE_USER ti.thread_state != TD_STATE_BLOCKED @@ -980,54 +967,6 @@ nbsd_thread_tsd_cmd (char *exp, int from td_tsd_iter (main_ta, tsd_cb, NULL); } -static void -nbsd_core_open (char *filename, int from_tty) -{ - int val; - - nbsd_thread_core = 1; - - core_target-to_open (filename, from_tty); - - if (nbsd_thread_present) -{ - val = td_open (nbsd_thread_callbacks, NULL, main_ta); - if (val == 0) - { - main_ptid = pid_to_ptid (elf_tdata (core_bfd)-core_pid); - nbsd_thread_active = 1; - init_thread_list (); - bfd_map_over_sections (core_bfd, nbsd_add_to_thread_list, NULL); - nbsd_find_new_threads (NULL); - } - else - error (nbsd_core_open: td_open: %s, td_err_string (val)); -} -} - -static void -nbsd_core_close (int quitting) -{ - /* XXX Setting these here is a gross hack. It needs to be set to - * XXX the current thread ID when a core file is loaded, but there's - * XXX no hook that happens then. However, core_open() in corelow is - * XXX pretty likely to call this. - */ - inferior_ptid = minus_one_ptid; - - core_target-to_close (quitting); -} - -static void -nbsd_core_detach (struct target_ops *ops, char *args, int from_tty) -{ - struct target_ops *beneath = find_target_beneath (ops); - if (nbsd_thread_active) -nbsd_thread_deactivate (); - unpush_target (ops); - beneath-to_detach (beneath, args, from_tty); -} - /* * Process operation callbacks */ @@ -1208,8 +1147,6 @@ init_nbsd_thread_ops (void) nbsd_thread_ops.to_shortname = netbsd-threads; nbsd_thread_ops.to_longname = NetBSD pthread.; nbsd_thread_ops.to_doc = NetBSD pthread support.; - nbsd_thread_ops.to_open = 0; - nbsd_thread_ops.to_close = 0; nbsd_thread_ops.to_attach = nbsd_thread_attach; nbsd_thread_ops.to_post_attach = nbsd_thread_post_attach; nbsd_thread_ops.to_detach = nbsd_thread_detach; @@ -1217,7 +1154,6 @@ init_nbsd_thread_ops (void) nbsd_thread_ops.to_wait = nbsd_thread_wait; nbsd_thread_ops.to_fetch_registers = nbsd_thread_fetch_registers; nbsd_thread_ops.to_store_registers = nbsd_thread_store_registers; - nbsd_thread_ops.to_prepare_to_store = 0; nbsd_thread_ops.to_xfer_partial = nbsd_thread_xfer_partial; nbsd_thread_ops.to_files_info = nbsd_thread_files_info;
CVS commit: src/external/public-domain/sqlite/dist
Module Name:src Committed By: joerg Date: Thu Oct 13 21:38:58 UTC 2011 Update of /cvsroot/src/external/public-domain/sqlite/dist In directory ivanova.netbsd.org:/tmp/cvs-serv14811 Log Message: Import pre-release of SQLite 3.6.9 based on 8bf13b036a. Status: Vendor Tag: SQLITE Release Tags: sqlite-3-7-9-pre N src/external/public-domain/sqlite/dist/shell.c N src/external/public-domain/sqlite/dist/sqlite3.c N src/external/public-domain/sqlite/dist/sqlite3.h N src/external/public-domain/sqlite/dist/sqlite3ext.h No conflicts created by this import
CVS commit: src/external/public-domain/sqlite
Module Name:src Committed By: joerg Date: Thu Oct 13 21:40:28 UTC 2011 Added Files: src/external/public-domain/sqlite: Makefile Makefile.inc src/external/public-domain/sqlite/bin: Makefile src/external/public-domain/sqlite/lib: Makefile shlib_version sqlite3.pc Log Message: Add build glue for SQLite To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/public-domain/sqlite/Makefile \ src/external/public-domain/sqlite/Makefile.inc cvs rdiff -u -r0 -r1.1 src/external/public-domain/sqlite/bin/Makefile cvs rdiff -u -r0 -r1.1 src/external/public-domain/sqlite/lib/Makefile \ src/external/public-domain/sqlite/lib/shlib_version \ src/external/public-domain/sqlite/lib/sqlite3.pc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/external/public-domain/sqlite/Makefile diff -u /dev/null src/external/public-domain/sqlite/Makefile:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/Makefile Thu Oct 13 21:40:27 2011 @@ -0,0 +1,5 @@ +# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:27 joerg Exp $ + +SUBDIR+= lib .WAIT bin + +.include bsd.subdir.mk Index: src/external/public-domain/sqlite/Makefile.inc diff -u /dev/null src/external/public-domain/sqlite/Makefile.inc:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/Makefile.inc Thu Oct 13 21:40:27 2011 @@ -0,0 +1,13 @@ +# $NetBSD: Makefile.inc,v 1.1 2011/10/13 21:40:27 joerg Exp $ + +WARNS= 2 + +SRCDIR:= ${.PARSEDIR}/dist + +.PATH: ${SRCDIR} + +CPPFLAGS+= -DHAVE_READLINE=1 -DHAVE_LOCALTIME_R \ + -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_FTS4 \ + -DSQLITE_ENABLE_LOAD_EXTENSION + +CWARNFLAGS+= -Wno-shadow -Wno-unused Index: src/external/public-domain/sqlite/bin/Makefile diff -u /dev/null src/external/public-domain/sqlite/bin/Makefile:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/bin/Makefile Thu Oct 13 21:40:27 2011 @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:27 joerg Exp $ + +PROG= sqlite3 + +SRCS= shell.c + +DPADD+= ${LIBSQLITE3} ${LIBEDIT} +LDADD+= -lsqlite3 -ledit + +NOMAN= + +BINDIR= /usr/bin + +.include bsd.prog.mk Index: src/external/public-domain/sqlite/lib/Makefile diff -u /dev/null src/external/public-domain/sqlite/lib/Makefile:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/lib/Makefile Thu Oct 13 21:40:28 2011 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:28 joerg Exp $ + +LIB= sqlite3 +INCS= sqlite3.h sqlite3ext.h +INCSDIR= /usr/include + +SRCS= sqlite3.c + +CFLAGS+= -DNDEBUG + +FILES+= sqlite3.pc +FILESOWN_sqlite3.pc= ${BINOWN} +FILESGRP_sqlite3.pc= ${BINGRP} +FILESMODE_sqlite3.pc= ${NONBINMODE} +FILESDIR_sqlite3.pc= /usr/lib/pkgconfig + +.include bsd.lib.mk Index: src/external/public-domain/sqlite/lib/shlib_version diff -u /dev/null src/external/public-domain/sqlite/lib/shlib_version:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/lib/shlib_version Thu Oct 13 21:40:28 2011 @@ -0,0 +1,4 @@ +# $NetBSD: shlib_version,v 1.1 2011/10/13 21:40:28 joerg Exp $ +# +major=1 +minor=0 Index: src/external/public-domain/sqlite/lib/sqlite3.pc diff -u /dev/null src/external/public-domain/sqlite/lib/sqlite3.pc:1.1 --- /dev/null Thu Oct 13 21:40:28 2011 +++ src/external/public-domain/sqlite/lib/sqlite3.pc Thu Oct 13 21:40:28 2011 @@ -0,0 +1,4 @@ +Name: SQLite +Description: SQL database engine +Version: 3.7.9 +Libs: -lsqlite3
CVS commit: src
./usr/lib/libss_g.a-unknown- obsolete @@ -3328,6 +,7 @@ ./usr/lib/pkgconfig/atf-c.pc comp-atf-lib atf,share ./usr/lib/pkgconfig/atf-sh.pc comp-atf-lib atf,share ./usr/lib/pkgconfig/atf.pc comp-obsolete obsolete +./usr/lib/pkgconfig/sqlite3.pc comp-c-lib ./usr/libdata/debug/bin/cat.debug comp-util-debug debug ./usr/libdata/debug/bin/chio.debug comp-util-debug debug ./usr/libdata/debug/bin/chmod.debug comp-util-debug debug @@ -4387,6 +4393,7 @@ ./usr/libdata/lint/llib-lsdp.ln comp-obsolete obsolete ./usr/libdata/lint/llib-lskey.ln comp-c-lintlib lint,skey ./usr/libdata/lint/llib-lsm.ln comp-obsolete obsolete +./usr/libdata/lint/llib-lsqlite3.ln comp-c-lintlib lint ./usr/libdata/lint/llib-lssh.ln comp-c-lintlib lint,crypto ./usr/libdata/lint/llib-lssl.ln comp-c-lintlib lint,crypto ./usr/libdata/lint/llib-lssp.ln comp-obsolete obsolete Index: src/distrib/sets/lists/comp/shl.mi diff -u src/distrib/sets/lists/comp/shl.mi:1.195 src/distrib/sets/lists/comp/shl.mi:1.196 --- src/distrib/sets/lists/comp/shl.mi:1.195 Fri Oct 7 09:15:21 2011 +++ src/distrib/sets/lists/comp/shl.mi Thu Oct 13 22:08:19 2011 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.195 2011/10/07 09:15:21 mrg Exp $ +# $NetBSD: shl.mi,v 1.196 2011/10/13 22:08:19 joerg Exp $ # # Note: don't delete entries from here - mark them as obsolete instead. # @@ -196,6 +196,7 @@ ./usr/lib/libsdp_pic.acomp-obsolete obsolete ./usr/lib/libskey_pic.acomp-c-piclib skey ./usr/lib/libsl_pic.acomp-c-piclib kerberos +./usr/lib/libsqlite3_pic.a comp-c-piclib ./usr/lib/libss_pic.acomp-obsolete obsolete ./usr/lib/libssh_pic.acomp-c-piclib crypto ./usr/lib/libssl_pic.acomp-c-piclib crypto Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.876 src/doc/3RDPARTY:1.877 --- src/doc/3RDPARTY:1.876 Mon Oct 10 20:01:08 2011 +++ src/doc/3RDPARTY Thu Oct 13 22:08:19 2011 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.876 2011/10/10 20:01:08 apb Exp $ +# $NetBSD: 3RDPARTY,v 1.877 2011/10/13 22:08:19 joerg Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -1002,6 +1002,17 @@ Heavily modified for use as a soft float arithmetic code is unchanged, though, and should behave exactly like the original. +Package: sqlite +Version: pre-3.6.9 snapshot +Current Vers: 3.6.8 +Maintainer: Richard Hipp d...@sqlite.org +Home Page: http://www.sqlite.org +Responsible: joerg +License: Public domain +Notes: +Initial import uses a pre-release with a number of bug fixes to avoid +unnecessary local changes. + Package: tcpdump Version: 4.1.1 Current Vers: 4.1.1 Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.1613 src/doc/CHANGES:1.1614 --- src/doc/CHANGES:1.1613 Mon Oct 10 20:05:51 2011 +++ src/doc/CHANGES Thu Oct 13 22:08:19 2011 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: $Revision: 1.1613 $ +# LIST OF CHANGES FROM LAST RELEASE: $Revision: 1.1614 $ # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -1135,3 +1135,4 @@ Changes from NetBSD 5.0 to NetBSD 6.0: D. McNeill. [mrg 20111006] GCC: Obsolete libgcc_pic. [mrg 20111006] zoneinfo: Import tzdata2011l. [apb 20111010] + sqlite: Import of pre-release of SQLite 3.6.9 [joerg 20111013] Index: src/external/public-domain/Makefile diff -u src/external/public-domain/Makefile:1.1 src/external/public-domain/Makefile:1.2 --- src/external/public-domain/Makefile:1.1 Tue Nov 2 16:34:35 2010 +++ src/external/public-domain/Makefile Thu Oct 13 22:08:20 2011 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:35 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2011/10/13 22:08:20 joerg Exp $ .include bsd.own.mk -SUBDIR+= xz +SUBDIR+= sqlite xz .include bsd.subdir.mk Index: src/lib/Makefile diff -u src/lib/Makefile:1.178 src/lib/Makefile:1.179 --- src/lib/Makefile:1.178 Fri Oct 7 21:33:56 2011 +++ src/lib/Makefile Thu Oct 13 22:08:20 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.178 2011/10/07 21:33:56 mbalmer Exp $ +# $NetBSD: Makefile,v 1.179 2011/10/13 22:08:20 joerg Exp $ # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 .include bsd.own.mk @@ -66,6 +66,7 @@ SUBDIR+= ../external/bsd/libpcap/lib SUBDIR+= ../external/mit/lua/lib +SUBDIR+= ../external/public-domain/sqlite/lib SUBDIR+= ../external/public-domain/xz/lib SUBDIR+= ../gnu/lib/libmalloc Index: src/share/mk/bsd.hostprog.mk diff -u src/share/mk/bsd.hostprog.mk:1.65 src/share/mk/bsd.hostprog.mk:1.66 --- src/share/mk/bsd.hostprog.mk:1.65 Fri Oct 7 09:15:22 2011 +++ src/share/mk/bsd.hostprog.mk Thu Oct 13 22:08:20 2011 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.hostprog.mk,v 1.65 2011/10/07 09:15:22 mrg Exp $ +# $NetBSD: bsd.hostprog.mk,v 1.66 2011/10/13 22:08:20 joerg Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .include bsd.init.mk @@ -52,6 +52,7 @@ LIBRUMPNET?= /usr/lib/librumpnet.a LIBRUMPUSER?= /usr/lib/librumpuser.a LIBRUMPVFS?= /usr/lib/librumpvfs.a
CVS commit: src/doc
Module Name:src Committed By: wiz Date: Thu Oct 13 23:40:54 UTC 2011 Modified Files: src/doc: 3RDPARTY Log Message: new diffutils, nawk (from Snader_LB) update mdocml entry after import To generate a diff of this commit: cvs rdiff -u -r1.877 -r1.878 src/doc/3RDPARTY Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.877 src/doc/3RDPARTY:1.878 --- src/doc/3RDPARTY:1.877 Thu Oct 13 22:08:19 2011 +++ src/doc/3RDPARTY Thu Oct 13 23:40:53 2011 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.877 2011/10/13 22:08:19 joerg Exp $ +# $NetBSD: 3RDPARTY,v 1.878 2011/10/13 23:40:53 wiz Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -283,7 +283,7 @@ The distribution doesn't include the Lin Package: diffutils Version: 2.8.1 -Current Vers: 2.8.1 +Current Vers: 3.2 Maintainer: FSF Archive Site: ftp://ftp.gnu.org/gnu/diffutils/ Home Page: http://www.gnu.org/software/diffutils/ @@ -650,7 +650,7 @@ Notes: The sources were integrated into src/sys/external/apache2/mDNSResponder/dist. Package: mdocml -Version: 1.11.1 +Version: 1.12.0 Current Vers: 1.12.0 Maintainer: Kristaps Džonsons Archive Site: http://mdocml.bsd.lv/snapshots/ @@ -686,7 +686,7 @@ Delete the otherOS directory before impo Package: nawk Version: 2010-05-23 -Current Vers: 2010-05-23 +Current Vers: 2011-08-10 Maintainer: Brian Kernighan b...@princeton.edu Archive Site: http://www.cs.princeton.edu/~bwk/btl.mirror/ Home Page: http://www.cs.princeton.edu/~bwk/btl.mirror/
CVS commit: src/doc
Module Name:src Committed By: wiz Date: Thu Oct 13 23:42:06 UTC 2011 Modified Files: src/doc: 3RDPARTY Log Message: rcs-5.8 out, from Snader_LB To generate a diff of this commit: cvs rdiff -u -r1.878 -r1.879 src/doc/3RDPARTY Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.878 src/doc/3RDPARTY:1.879 --- src/doc/3RDPARTY:1.878 Thu Oct 13 23:40:53 2011 +++ src/doc/3RDPARTY Thu Oct 13 23:42:06 2011 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.878 2011/10/13 23:40:53 wiz Exp $ +# $NetBSD: 3RDPARTY,v 1.879 2011/10/13 23:42:06 wiz Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -939,7 +939,7 @@ using the version found in 2.4.1. Package: rcs Version: 5.7 -Current Vers: 5.7 +Current Vers: 5.8 Maintainer: FSF Archive Site: ftp://ftp.gnu.org/gnu/rcs/ Mailing List: bug-gnu-ut...@gnu.org