Re: CVS commit: src/sys/arch/xen/xen
Hello, Jean-Yves Migeon j...@netbsd.org wrote: Module Name: src Committed By: jym Date: Sun May 15 07:24:15 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Use atomic_ops(3) for ref counting. + atomic_dec_uint((xbdip)-xbdi_refcnt); \ + if (0 == (xbdip)-xbdi_refcnt) \ xbdback_finish_disconnect(xbdip); \ This is not correct. Atomic op might decrease the reference count to 1 while other thread executes xbdi_put() before xbdi_refcnt is fetched, thus decreasing it to 0. In such case, both threads would fetch 0. The following is a correct way: if (atomic_dec_uint_nv(xbdip-xbdi_refcnt) == 0) xbdback_finish_disconnect(xbdip); Also, it seems there is no need for xbdi_refcnt to be volatile. -- Mindaugas
Re: CVS commit: src/sys/arch/xen/xen
On 15.05.2011 21:11, Mindaugas Rasiukevicius wrote: This is not correct. Atomic op might decrease the reference count to 1 while other thread executes xbdi_put() before xbdi_refcnt is fetched, thus decreasing it to 0. In such case, both threads would fetch 0. The following is a correct way: if (atomic_dec_uint_nv(xbdip-xbdi_refcnt) == 0) xbdback_finish_disconnect(xbdip); Also, it seems there is no need for xbdi_refcnt to be volatile. Good point; I was pondering about the _nv() version when I made the change, but forgot about the possible concurrency regarding refcnt fetch (not actually possible as port-xen is not MP, but will become soonish) I'll remove the volatile declaration too, only xbdi_put/_get use the refcnt for G/C anyway. Thanks for pointing that out! -- Jean-Yves Migeon jeanyves.mig...@free.fr
Re: CVS commit: src/sys/fs/tmpfs
On May 14, 2011, at 1:43 PM, Martin Husemann wrote: On Sat, May 14, 2011 at 10:34:05AM +0200, Marc Balmer wrote: What is the current state of C99 vs. older Cs? Do all arches / compilers we have support C99? We have lost the playstation2 port, because we don't have a working C99 compiler for it (so a -current kernel can not be compiled). No, we lost the playstation2 port because it required a special compiler and needs lots of one-off changes in the mips code.
CVS commit: src/sys/arch/xen/xen
Module Name:src Committed By: jym Date: Sun May 15 07:24:15 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Use atomic_ops(3) for ref counting. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/xen/xen/xbdback_xenbus.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/xen/xen/xbdback_xenbus.c diff -u src/sys/arch/xen/xen/xbdback_xenbus.c:1.34 src/sys/arch/xen/xen/xbdback_xenbus.c:1.35 --- src/sys/arch/xen/xen/xbdback_xenbus.c:1.34 Fri Apr 29 22:58:46 2011 +++ src/sys/arch/xen/xen/xbdback_xenbus.c Sun May 15 07:24:15 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: xbdback_xenbus.c,v 1.34 2011/04/29 22:58:46 jym Exp $ */ +/* $NetBSD: xbdback_xenbus.c,v 1.35 2011/05/15 07:24:15 jym Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: xbdback_xenbus.c,v 1.34 2011/04/29 22:58:46 jym Exp $); +__KERNEL_RCSID(0, $NetBSD: xbdback_xenbus.c,v 1.35 2011/05/15 07:24:15 jym Exp $); #include sys/types.h #include sys/param.h @@ -34,6 +34,7 @@ #include sys/malloc.h #include sys/queue.h #include sys/kernel.h +#include sys/atomic.h #include sys/conf.h #include sys/disk.h #include sys/disklabel.h @@ -143,7 +144,7 @@ grant_handle_t xbdi_ring_handle; /* to unmap the ring */ vaddr_t xbdi_ring_va; /* to unmap the ring */ /* disconnection must be postponed until all I/O is done */ - volatile unsigned xbdi_refcnt; + volatile unsigned int xbdi_refcnt; /* * State for I/O processing/coalescing follows; this has to * live here instead of on the stack because of the @@ -167,13 +168,11 @@ uint xbdi_pendingreqs; /* number of I/O in fly */ }; /* Manipulation of the above reference count. */ -/* xxx...@panix.com: not MP-safe, and move the i386 asm elsewhere. */ -#define xbdi_get(xbdip) (++(xbdip)-xbdi_refcnt) +#define xbdi_get(xbdip) atomic_inc_uint((xbdip)-xbdi_refcnt) #define xbdi_put(xbdip) \ do { \ - __asm volatile(decl %0 \ - : =m((xbdip)-xbdi_refcnt) : m((xbdip)-xbdi_refcnt)); \ - if (0 == (xbdip)-xbdi_refcnt)\ + atomic_dec_uint((xbdip)-xbdi_refcnt); \ + if (0 == (xbdip)-xbdi_refcnt) \ xbdback_finish_disconnect(xbdip); \ } while (/* CONSTCOND */ 0)
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: he Date: Sun May 15 13:36:13 UTC 2011 Modified Files: src/sys/arch/evbarm/conf: GUMSTIX Log Message: Bump SYMTAB_SPACE so that the contents fits again. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/evbarm/conf/GUMSTIX 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/evbarm/conf/GUMSTIX diff -u src/sys/arch/evbarm/conf/GUMSTIX:1.56 src/sys/arch/evbarm/conf/GUMSTIX:1.57 --- src/sys/arch/evbarm/conf/GUMSTIX:1.56 Sun Mar 6 17:08:22 2011 +++ src/sys/arch/evbarm/conf/GUMSTIX Sun May 15 13:36:13 2011 @@ -1,4 +1,4 @@ -# $NetBSD: GUMSTIX,v 1.56 2011/03/06 17:08:22 bouyer Exp $ +# $NetBSD: GUMSTIX,v 1.57 2011/05/15 13:36:13 he Exp $ # # GUMSTIX -- Gumstix. Inc. gumstix platforms kernel # @@ -165,7 +165,7 @@ #options KGDB #options DEBUG_KGDB makeoptions DEBUG=-g -O2 # compile full symbol table -options SYMTAB_SPACE=73 +options SYMTAB_SPACE=74 #options AUDIO_DEBUG=2 config netbsd root on ? type ?
CVS commit: src/sys/arch/evbppc/conf
Module Name:src Committed By: he Date: Sun May 15 13:38:20 UTC 2011 Modified Files: src/sys/arch/evbppc/conf: EXPLORA451 Log Message: Bump SYMTAB_SPACE so that the contents fits again. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbppc/conf/EXPLORA451 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/evbppc/conf/EXPLORA451 diff -u src/sys/arch/evbppc/conf/EXPLORA451:1.43 src/sys/arch/evbppc/conf/EXPLORA451:1.44 --- src/sys/arch/evbppc/conf/EXPLORA451:1.43 Mon Mar 7 15:49:50 2011 +++ src/sys/arch/evbppc/conf/EXPLORA451 Sun May 15 13:38:20 2011 @@ -1,4 +1,4 @@ -# $NetBSD: EXPLORA451,v 1.43 2011/03/07 15:49:50 jakllsch Exp $ +# $NetBSD: EXPLORA451,v 1.44 2011/05/15 13:38:20 he Exp $ # # GENERIC -- everything that's currently supported # @@ -52,7 +52,7 @@ #options KGDB # remote debugger #options KGDB_DEVNAME=\com\,KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 makeoptions DEBUG=-g # compile full symbol table -options SYMTAB_SPACE=41 +options SYMTAB_SPACE=42 # Compatibility options options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
CVS commit: src/gnu/dist/diffutils/src
Module Name:src Committed By: christos Date: Sun May 15 13:55:21 UTC 2011 Modified Files: src/gnu/dist/diffutils/src: diff.c Log Message: include posixver.h to find the prototype for posix2_version() To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/diffutils/src/diff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/dist/diffutils/src/diff.c diff -u src/gnu/dist/diffutils/src/diff.c:1.2 src/gnu/dist/diffutils/src/diff.c:1.3 --- src/gnu/dist/diffutils/src/diff.c:1.2 Sat Jan 14 04:18:17 2006 +++ src/gnu/dist/diffutils/src/diff.c Sun May 15 09:55:21 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: diff.c,v 1.2 2006/01/14 09:18:17 apb Exp $ */ +/* $NetBSD: diff.c,v 1.3 2011/05/15 13:55:21 christos Exp $ */ /* diff - compare files line by line @@ -38,6 +38,7 @@ #include regex.h #include setmode.h #include xalloc.h +#include posixver.h static char const authorship_msgid[] = N_(Written by Paul Eggert, Mike Haertel, David Hayes,\n\
CVS commit: src/sys/dev/pci
Module Name:src Committed By: christos Date: Sun May 15 13:56:20 UTC 2011 Modified Files: src/sys/dev/pci: if_iwn.c if_iwnreg.h if_iwnvar.h Log Message: update from OpenBSD by msaitoh. Tested on amd64. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_iwn.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_iwnreg.h cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_iwnvar.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/dev/pci/if_iwn.c diff -u src/sys/dev/pci/if_iwn.c:1.52 src/sys/dev/pci/if_iwn.c:1.53 --- src/sys/dev/pci/if_iwn.c:1.52 Thu Dec 30 14:27:27 2010 +++ src/sys/dev/pci/if_iwn.c Sun May 15 09:56:20 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwn.c,v 1.52 2010/12/30 19:27:27 jruoho Exp $ */ +/* $NetBSD: if_iwn.c,v 1.53 2011/05/15 13:56:20 christos Exp $ */ /* $OpenBSD: if_iwn.c,v 1.96 2010/05/13 09:25:03 damien Exp $ */ /*- @@ -22,14 +22,11 @@ * adapters. */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: if_iwn.c,v 1.52 2010/12/30 19:27:27 jruoho Exp $); +__KERNEL_RCSID(0, $NetBSD: if_iwn.c,v 1.53 2011/05/15 13:56:20 christos Exp $); #define IWN_USE_RBUF /* Use local storage for RX */ #undef IWN_HWCRYPTO /* XXX does not even compile yet */ -/* XXX Avoid sensor code (correct option for NetBSD too?) */ -#undef SMALL_KERNEL - #include sys/param.h #include sys/sockio.h #include sys/proc.h @@ -125,10 +122,8 @@ static int iwn_match(device_t , struct cfdata *, void *); static void iwn_attach(device_t , device_t , void *); -const struct iwn_hal *iwn_hal_attach(struct iwn_softc *, pci_product_id_t pid); -#ifndef SMALL_KERNEL -static void iwn_sensor_attach(struct iwn_softc *); -#endif +static int iwn4965_attach(struct iwn_softc *, pci_product_id_t); +static int iwn5000_attach(struct iwn_softc *, pci_product_id_t); static void iwn_radiotap_attach(struct iwn_softc *); static int iwn_detach(device_t , int); #if 0 @@ -160,6 +155,8 @@ static void iwn5000_ict_reset(struct iwn_softc *); static int iwn_read_eeprom(struct iwn_softc *); static void iwn4965_read_eeprom(struct iwn_softc *); + +#define IWN_DEBUG 1 #ifdef IWN_DEBUG static void iwn4965_print_power_group(struct iwn_softc *, int); #endif @@ -276,11 +273,11 @@ static int iwn4965_load_firmware(struct iwn_softc *); static int iwn5000_load_firmware_section(struct iwn_softc *, uint32_t, const uint8_t *, int); +static int iwn5000_load_firmware(struct iwn_softc *); static int iwn_read_firmware_leg(struct iwn_softc *, struct iwn_fw_info *); static int iwn_read_firmware_tlv(struct iwn_softc *, struct iwn_fw_info *, uint16_t); -static int iwn5000_load_firmware(struct iwn_softc *); static int iwn_read_firmware(struct iwn_softc *); static int iwn_clock_wait(struct iwn_softc *); static int iwn_apm_init(struct iwn_softc *); @@ -322,62 +319,6 @@ #define DPRINTFN(n, x) #endif -static const struct iwn_hal iwn4965_hal = { - iwn4965_load_firmware, - iwn4965_read_eeprom, - iwn4965_post_alive, - iwn4965_nic_config, - iwn4965_update_sched, - iwn4965_get_temperature, - iwn4965_get_rssi, - iwn4965_set_txpower, - iwn4965_init_gains, - iwn4965_set_gains, - iwn4965_add_node, - iwn4965_tx_done, -#ifndef IEEE80211_NO_HT - iwn4965_ampdu_tx_start, - iwn4965_ampdu_tx_stop, -#endif - IWN4965_NTXQUEUES, - IWN4965_NDMACHNLS, - IWN4965_ID_BROADCAST, - IWN4965_RXONSZ, - IWN4965_SCHEDSZ, - IWN4965_FW_TEXT_MAXSZ, - IWN4965_FW_DATA_MAXSZ, - IWN4965_FWSZ, - IWN4965_SCHED_TXFACT -}; - -static const struct iwn_hal iwn5000_hal = { - iwn5000_load_firmware, - iwn5000_read_eeprom, - iwn5000_post_alive, - iwn5000_nic_config, - iwn5000_update_sched, - iwn5000_get_temperature, - iwn5000_get_rssi, - iwn5000_set_txpower, - iwn5000_init_gains, - iwn5000_set_gains, - iwn5000_add_node, - iwn5000_tx_done, -#ifndef IEEE80211_NO_HT - iwn5000_ampdu_tx_start, - iwn5000_ampdu_tx_stop, -#endif - IWN5000_NTXQUEUES, - IWN5000_NDMACHNLS, - IWN5000_ID_BROADCAST, - IWN5000_RXONSZ, - IWN5000_SCHEDSZ, - IWN5000_FW_TEXT_MAXSZ, - IWN5000_FW_DATA_MAXSZ, - IWN5000_FWSZ, - IWN5000_SCHED_TXFACT -}; - CFATTACH_DECL_NEW(iwn, sizeof(struct iwn_softc), iwn_match, iwn_attach, iwn_detach, NULL); @@ -404,7 +345,6 @@ struct ieee80211com *ic = sc-sc_ic; struct ifnet *ifp = sc-sc_ec.ec_if; struct pci_attach_args *pa = aux; - const struct iwn_hal *hal; const char *intrstr; char devinfo[256]; pci_intr_handle_t ih; @@ -438,8 +378,8 @@ /* Clear device-specific PCI retry timeout register (41h). */ reg = pci_conf_read(sc-sc_pct, sc-sc_pcitag, 0x40); - reg = ~0xff00; - pci_conf_write(sc-sc_pct, sc-sc_pcitag, 0x40, reg); + if (reg 0xff00) + pci_conf_write(sc-sc_pct, sc-sc_pcitag, 0x40, reg ~0xff00); /* Enable bus-mastering and hardware bug workaround. */ /* XXX verify the bus-mastering is really needed (not in OpenBSD) */ @@ -475,10 +415,16 @@ } aprint_normal_dev(self, interrupting at %s\n, intrstr); - /*
CVS commit: src/gnu/dist/gkermit
Module Name:src Committed By: christos Date: Sun May 15 14:30:08 UTC 2011 Modified Files: src/gnu/dist/gkermit: gkermit.c gunixio.c Log Message: include headers to make prototypes visible. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/gkermit/gkermit.c \ src/gnu/dist/gkermit/gunixio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/dist/gkermit/gkermit.c diff -u src/gnu/dist/gkermit/gkermit.c:1.2 src/gnu/dist/gkermit/gkermit.c:1.3 --- src/gnu/dist/gkermit/gkermit.c:1.2 Wed Nov 1 12:25:30 2006 +++ src/gnu/dist/gkermit/gkermit.c Sun May 15 10:30:08 2011 @@ -58,6 +58,7 @@ #include errno.h #include stdio.h #include string.h +#include unistd.h #include gkermit.h /* Forward declarations of functions used within this module... */ Index: src/gnu/dist/gkermit/gunixio.c diff -u src/gnu/dist/gkermit/gunixio.c:1.2 src/gnu/dist/gkermit/gunixio.c:1.3 --- src/gnu/dist/gkermit/gunixio.c:1.2 Wed Nov 1 12:25:30 2006 +++ src/gnu/dist/gkermit/gunixio.c Sun May 15 10:30:08 2011 @@ -77,6 +77,9 @@ #include setjmp.h /* Longjumps */ #include sys/stat.h /* File exist, file size */ #include errno.h /* Error symbols */ +#include stdlib.h +#include unistd.h +#include fcntl.h #include gkermit.h /* gkermit definitions */ /* All versions of HP-UX need Xon/Xoff */
CVS commit: src/gnu/usr.bin/rcs/lib
Module Name:src Committed By: christos Date: Sun May 15 14:31:13 UTC 2011 Modified Files: src/gnu/usr.bin/rcs/lib: rcsedit.c Log Message: register c - int c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/rcs/lib/rcsedit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/usr.bin/rcs/lib/rcsedit.c diff -u src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8 src/gnu/usr.bin/rcs/lib/rcsedit.c:1.9 --- src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8 Tue Mar 25 08:56:38 1997 +++ src/gnu/usr.bin/rcs/lib/rcsedit.c Sun May 15 10:31:13 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rcsedit.c,v 1.8 1997/03/25 13:56:38 lukem Exp $ */ +/* $NetBSD: rcsedit.c,v 1.9 2011/05/15 14:31:13 christos Exp $ */ /* RCS stream editor */ @@ -38,6 +38,9 @@ /* * $Log: rcsedit.c,v $ + * Revision 1.9 2011/05/15 14:31:13 christos + * register c - int c + * * Revision 1.8 1997/03/25 13:56:38 lukem * Add #define has_mkstemp 1 (which needs #define has_mktemp 1), * and hack to use mkstemp() instead of mktemp(). This *does* cause the @@ -633,7 +636,7 @@ * editline is incremented by the number of lines copied. * Assumption: next character read is first string character. */ -{ register c; +{ int c; declarecache; register FILE *frew, *fcop; register int amidline; @@ -878,7 +881,7 @@ * 2 if a complete line is copied; adds 1 to yield if expansion occurred. */ { - register c; + int c; declarecache; register FILE *out, *frew; register char * tp;
CVS commit: src/gnu/usr.bin/rcs
Module Name:src Committed By: christos Date: Sun May 15 14:33:13 UTC 2011 Modified Files: src/gnu/usr.bin/rcs/lib: rcslex.c src/gnu/usr.bin/rcs/rcs: rcs.c src/gnu/usr.bin/rcs/rcsdiff: rcsdiff.c src/gnu/usr.bin/rcs/rlog: rlog.c Log Message: register c - int c To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/lib/rcslex.c cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rcs/rcs.c cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/rlog/rlog.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/usr.bin/rcs/lib/rcslex.c diff -u src/gnu/usr.bin/rcs/lib/rcslex.c:1.6 src/gnu/usr.bin/rcs/lib/rcslex.c:1.7 --- src/gnu/usr.bin/rcs/lib/rcslex.c:1.6 Fri Feb 20 04:27:19 1998 +++ src/gnu/usr.bin/rcs/lib/rcslex.c Sun May 15 10:33:12 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rcslex.c,v 1.6 1998/02/20 09:27:19 mycroft Exp $ */ +/* $NetBSD: rcslex.c,v 1.7 2011/05/15 14:33:12 christos Exp $ */ /* lexical analysis of RCS files */ @@ -42,6 +42,9 @@ /* * $Log: rcslex.c,v $ + * Revision 1.7 2011/05/15 14:33:12 christos + * register c - int c + * * Revision 1.6 1998/02/20 09:27:19 mycroft * Fill in missing (default) mmap(2) flags. * @@ -314,7 +317,7 @@ * For ID's and NUM's, NextString is set to the character string. * Assumption: nextc contains the next character. */ -{ register c; +{ int c; declarecache; register FILE *frew; register char * sp; @@ -679,7 +682,7 @@ /* skip over characters until terminating single SDELIM*/ /* If foutptr is set, copy every character read to foutptr.*/ /* Does not advance nextlex at the end.*/ -{ register c; +{ int c; declarecache; register FILE *frew; register RILE *fin; @@ -712,7 +715,7 @@ * Does not advance nextlex at the end. */ { -register c; +int c; declarecache; register FILE *fout; register RILE *fin; @@ -750,7 +753,7 @@ * Yield a copy of *TARGET, except with exact length. */ { -register c; +int c; declarecache; register FILE *frew; register char *tp; Index: src/gnu/usr.bin/rcs/rcs/rcs.c diff -u src/gnu/usr.bin/rcs/rcs/rcs.c:1.5 src/gnu/usr.bin/rcs/rcs/rcs.c:1.6 --- src/gnu/usr.bin/rcs/rcs/rcs.c:1.5 Sun Mar 26 17:35:07 2006 +++ src/gnu/usr.bin/rcs/rcs/rcs.c Sun May 15 10:33:12 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rcs.c,v 1.5 2006/03/26 22:35:07 christos Exp $ */ +/* $NetBSD: rcs.c,v 1.6 2011/05/15 14:33:12 christos Exp $ */ /* Change RCS file attributes. */ @@ -31,6 +31,9 @@ /* * $Log: rcs.c,v $ + * Revision 1.6 2011/05/15 14:33:12 christos + * register c - int c + * * Revision 1.5 2006/03/26 22:35:07 christos * Coverity CID 927: Check for NULL before de-referencing. * @@ -736,8 +739,8 @@ { -register c; - register char *sp; +int c; + char *sp; sp = opt; while ((c = *++sp) == ' ' || c == '\n' || c == '\t' || c == ',') @@ -796,7 +799,7 @@ { char const *temp; struct Status *pt; -registerc; +int c; while ((c = *++sp) ==' ' || c == '\t' || c == '\n') continue; Index: src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c diff -u src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.6 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.7 --- src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c:1.6 Fri Nov 6 17:02:35 2009 +++ src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c Sun May 15 10:33:12 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rcsdiff.c,v 1.6 2009/11/06 22:02:35 enami Exp $ */ +/* $NetBSD: rcsdiff.c,v 1.7 2011/05/15 14:33:12 christos Exp $ */ /* Compare RCS revisions. */ @@ -31,6 +31,9 @@ /* * $Log: rcsdiff.c,v $ + * Revision 1.7 2011/05/15 14:33:12 christos + * register c - int c + * * Revision 1.6 2009/11/06 22:02:35 enami * Accept -U num. Nowadays, diff(1) rejects -u0 etc by default. * @@ -190,7 +193,7 @@ struct hshentry * target; char *a, *dcp, **newargv; int no_diff_means_no_output; -register c; +int c; exitstatus = DIFF_SUCCESS; Index: src/gnu/usr.bin/rcs/rlog/rlog.c diff -u src/gnu/usr.bin/rcs/rlog/rlog.c:1.4 src/gnu/usr.bin/rcs/rlog/rlog.c:1.5 --- src/gnu/usr.bin/rcs/rlog/rlog.c:1.4 Tue Oct 15 03:00:50 1996 +++ src/gnu/usr.bin/rcs/rlog/rlog.c Sun May 15 10:33:12 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rlog.c,v 1.4 1996/10/15 07:00:50 veego Exp $ */ +/* $NetBSD: rlog.c,v 1.5 2011/05/15 14:33:12 christos Exp $ */ /* Print log messages and other information about RCS files. */ @@ -31,6 +31,9 @@ /* * $Log: rlog.c,v $ + * Revision 1.5 2011/05/15 14:33:12 christos + * register c - int c + * * Revision 1.4 1996/10/15 07:00:50 veego * Merge rcs 5.7. * @@ -776,7 +779,7 @@ /* and store in authorlist */ { -registerc; +intc; struct authors * newauthor;
CVS commit: src/gnu/dist/texinfo/info
Module Name:src Committed By: christos Date: Sun May 15 14:35:48 UTC 2011 Modified Files: src/gnu/dist/texinfo/info: terminal.c Log Message: include sys/ioctl.h for ioctl() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/gnu/dist/texinfo/info/terminal.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/dist/texinfo/info/terminal.c diff -u src/gnu/dist/texinfo/info/terminal.c:1.10 src/gnu/dist/texinfo/info/terminal.c:1.11 --- src/gnu/dist/texinfo/info/terminal.c:1.10 Tue Sep 2 04:00:24 2008 +++ src/gnu/dist/texinfo/info/terminal.c Sun May 15 10:35:47 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: terminal.c,v 1.10 2008/09/02 08:00:24 christos Exp $ */ +/* $NetBSD: terminal.c,v 1.11 2011/05/15 14:35:47 christos Exp $ */ /* terminal.c -- how to handle the physical terminal for Info. Id: terminal.c,v 1.3 2004/04/11 17:56:46 karl Exp @@ -27,6 +27,7 @@ #include termdep.h #include sys/types.h +#include sys/ioctl.h #include signal.h /* The Unix termcap interface code. */
CVS commit: src/gnu/dist/grep/lib
Module Name:src Committed By: christos Date: Sun May 15 14:57:35 UTC 2011 Modified Files: src/gnu/dist/grep/lib: savedir.c Log Message: include system.h for idir() To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/gnu/dist/grep/lib/savedir.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/dist/grep/lib/savedir.c diff -u src/gnu/dist/grep/lib/savedir.c:1.1.1.1 src/gnu/dist/grep/lib/savedir.c:1.2 --- src/gnu/dist/grep/lib/savedir.c:1.1.1.1 Sun Jan 26 18:15:13 2003 +++ src/gnu/dist/grep/lib/savedir.c Sun May 15 10:57:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: savedir.c,v 1.1.1.1 2003/01/26 23:15:13 wiz Exp $ */ +/* $NetBSD: savedir.c,v 1.2 2011/05/15 14:57:35 christos Exp $ */ /* savedir.c -- save the list of files in a directory in a string Copyright (C) 1990, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. @@ -70,6 +70,7 @@ #include fnmatch.h #include savedir.h +#include system.h char *path; size_t pathlen;
CVS commit: src/gnu/usr.bin/grep
Module Name:src Committed By: christos Date: Sun May 15 14:57:56 UTC 2011 Modified Files: src/gnu/usr.bin/grep: Makefile.inc Log Message: find system.h in src To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/grep/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/usr.bin/grep/Makefile.inc diff -u src/gnu/usr.bin/grep/Makefile.inc:1.4 src/gnu/usr.bin/grep/Makefile.inc:1.5 --- src/gnu/usr.bin/grep/Makefile.inc:1.4 Sun Jan 26 18:53:44 2003 +++ src/gnu/usr.bin/grep/Makefile.inc Sun May 15 10:57:56 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.4 2003/01/26 23:53:44 wiz Exp $ +# $NetBSD: Makefile.inc,v 1.5 2011/05/15 14:57:56 christos Exp $ .include bsd.own.mk @@ -7,7 +7,7 @@ IDIST= ${NETBSDSRCDIR}/gnu/dist/grep CPPFLAGS+= -DLOCALEDIR=\/usr/share/locale\ -DHAVE_CONFIG_H \ - -I${.CURDIR}/../include -I${IDIST}/lib + -I${.CURDIR}/../include -I${IDIST}/lib -I${IDIST}/src DOBJDIR!= cd $(.CURDIR)/../lib ${PRINTOBJDIR}
CVS commit: src/crypto/external/bsd/heimdal
Module Name:src Committed By: tsutsui Date: Sun May 15 15:10:12 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal: Makefile.rules.inc Log Message: - fix build failure on CentOS 5 (it looks bash doesn't like redirection operators before commands) - use ${TOOL_SED} To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/Makefile.rules.inc 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/heimdal/Makefile.rules.inc diff -u src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.3 src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.4 --- src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.3 Fri Apr 15 14:39:32 2011 +++ src/crypto/external/bsd/heimdal/Makefile.rules.inc Sun May 15 15:10:12 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rules.inc,v 1.3 2011/04/15 14:39:32 elric Exp $ +# $NetBSD: Makefile.rules.inc,v 1.4 2011/05/15 15:10:12 tsutsui Exp $ SRCS+= ${HEIMSRCS:N*.et:N*.in:N*.asn1} @@ -53,13 +53,13 @@ .endif ${src:.asn1=_asn1.h}: ${src:.asn1=_asn1.hx} - @2/dev/null ${src:.asn1=_asn1.hx} ${src:.asn1=_asn1.h} \ - sed -E \ - -e 's,#include (.*)_asn1\.h,#include krb5/\1_asn1.h,' + @${TOOL_SED} -E \ + -e 's,#include (.*)_asn1\.h,#include krb5/\1_asn1.h,' \ + 2 /dev/null ${src:.asn1=_asn1.hx} ${src:.asn1=_asn1.h} ${src:.asn1=_asn1-priv.h}: ${src:.asn1=_asn1-priv.hx} - @2 /dev/null \ - cmp -s ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h} || \ + @cmp -s ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h} \ + 2 /dev/null || \ cp ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h} .for x2c in ${ASN1_FILES.${src}}
CVS commit: src/gnu/dist/gdb6/gdb
Module Name:src Committed By: christos Date: Sun May 15 16:16:08 UTC 2011 Modified Files: src/gnu/dist/gdb6/gdb: amd64nbsd-nat.c amd64nbsd-tdep.c Log Message: include headers to get proper prototypes visible. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c \ src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c diff -u src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c:1.5 src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c:1.6 --- src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c:1.5 Fri May 25 11:14:21 2007 +++ src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c Sun May 15 12:16:08 2011 @@ -27,6 +27,9 @@ #include nbsd-nat.h #include amd64-tdep.h #include amd64-nat.h +#include regcache.h +#include gdbcore.h +#include bsd-kvm.h #include machine/frame.h #include machine/pcb.h Index: src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c diff -u src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c:1.5 src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c:1.6 --- src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c:1.5 Mon Feb 22 03:19:38 2010 +++ src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c Sun May 15 12:16:08 2011 @@ -27,6 +27,7 @@ #include symtab.h #include gdb_assert.h +#include gdb_string.h #include amd64-tdep.h #include nbsd-tdep.h
CVS commit: src/crypto/dist/ipsec-tools/src/racoon
Module Name:src Committed By: christos Date: Sun May 15 17:13:23 UTC 2011 Modified Files: src/crypto/dist/ipsec-tools/src/racoon: isakmp_xauth.c Log Message: fix prototype. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c diff -u src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c:1.22 src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c:1.23 --- src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c:1.22 Mon Mar 14 11:50:36 2011 +++ src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c Sun May 15 13:13:23 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: isakmp_xauth.c,v 1.22 2011/03/14 15:50:36 vanhu Exp $ */ +/* $NetBSD: isakmp_xauth.c,v 1.23 2011/05/15 17:13:23 christos Exp $ */ /* Id: isakmp_xauth.c,v 1.38 2006/08/22 18:17:17 manubsd Exp */ @@ -372,10 +372,7 @@ } int -xauth_reply(iph1, port, id, res) - struct ph1handle *iph1; - int port; - int id; +xauth_reply(struct ph1handle *iph1, int port, int id, int res) { struct xauth_state *xst = iph1-mode_cfg-xauth; char *usr = xst-authdata.generic.usr;
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun May 15 17:52:41 UTC 2011 Modified Files: src/external/gpl2/xcvs/dist/src: client.c Log Message: Add missing prototype. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/xcvs/dist/src/client.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/gpl2/xcvs/dist/src/client.c diff -u src/external/gpl2/xcvs/dist/src/client.c:1.2 src/external/gpl2/xcvs/dist/src/client.c:1.3 --- src/external/gpl2/xcvs/dist/src/client.c:1.2 Wed Apr 8 12:27:51 2009 +++ src/external/gpl2/xcvs/dist/src/client.c Sun May 15 13:52:41 2011 @@ -68,6 +68,10 @@ int tag (int argc, char **argv); int update (int argc, char **argv); +#if defined AUTH_CLIENT_SUPPORT || defined HAVE_KERBEROS || defined HAVE_GSSAPI +static int connect_to(char *, unsigned int); +#endif + static size_t try_read_from_server (char *, size_t); static void auth_server (cvsroot_t *, struct buffer *, struct buffer *, @@ -5151,7 +5155,7 @@ #if defined AUTH_CLIENT_SUPPORT || defined HAVE_KERBEROS || defined HAVE_GSSAPI -int +static int connect_to(char *hostname, unsigned int port) { struct addrinfo hints, *res, *res0 = NULL;
CVS commit: src/sys/arch/xen/xen
Module Name:src Committed By: jym Date: Sun May 15 20:58:54 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: As noted by rmind@, use the _nv() to fetch the new value. A race is possible between the decrement and the fetch of the ref counter value, hence we might call the G/C routine twice. Not good. Also remove the 'volatile' attribute, refcnt is only use by xbdi_put/_get and should not be exposed anywhere else (except for initialization). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/xen/xbdback_xenbus.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/xen/xen/xbdback_xenbus.c diff -u src/sys/arch/xen/xen/xbdback_xenbus.c:1.35 src/sys/arch/xen/xen/xbdback_xenbus.c:1.36 --- src/sys/arch/xen/xen/xbdback_xenbus.c:1.35 Sun May 15 07:24:15 2011 +++ src/sys/arch/xen/xen/xbdback_xenbus.c Sun May 15 20:58:54 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: xbdback_xenbus.c,v 1.35 2011/05/15 07:24:15 jym Exp $ */ +/* $NetBSD: xbdback_xenbus.c,v 1.36 2011/05/15 20:58:54 jym Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: xbdback_xenbus.c,v 1.35 2011/05/15 07:24:15 jym Exp $); +__KERNEL_RCSID(0, $NetBSD: xbdback_xenbus.c,v 1.36 2011/05/15 20:58:54 jym Exp $); #include sys/types.h #include sys/param.h @@ -144,7 +144,7 @@ grant_handle_t xbdi_ring_handle; /* to unmap the ring */ vaddr_t xbdi_ring_va; /* to unmap the ring */ /* disconnection must be postponed until all I/O is done */ - volatile unsigned int xbdi_refcnt; + int xbdi_refcnt; /* * State for I/O processing/coalescing follows; this has to * live here instead of on the stack because of the @@ -171,8 +171,7 @@ #define xbdi_get(xbdip) atomic_inc_uint((xbdip)-xbdi_refcnt) #define xbdi_put(xbdip) \ do { \ - atomic_dec_uint((xbdip)-xbdi_refcnt); \ - if (0 == (xbdip)-xbdi_refcnt) \ + if (atomic_dec_uint_nv((xbdip)-xbdi_refcnt) == 0) \ xbdback_finish_disconnect(xbdip); \ } while (/* CONSTCOND */ 0)
CVS commit: src/external/mit/xorg/lib/libXaw
Module Name:src Committed By: christos Date: Sun May 15 21:05:13 UTC 2011 Modified Files: src/external/mit/xorg/lib/libXaw: Makefile Log Message: fix wide char support; don't use the wrong macro names. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXaw/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/libXaw/Makefile diff -u src/external/mit/xorg/lib/libXaw/Makefile:1.6 src/external/mit/xorg/lib/libXaw/Makefile:1.7 --- src/external/mit/xorg/lib/libXaw/Makefile:1.6 Mon Feb 21 00:09:53 2011 +++ src/external/mit/xorg/lib/libXaw/Makefile Sun May 15 17:05:12 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/02/21 05:09:53 mrg Exp $ +# $NetBSD: Makefile,v 1.7 2011/05/15 21:05:12 christos Exp $ .include bsd.own.mk @@ -50,7 +50,7 @@ INCSDIR=${X11INCDIR}/X11/Xaw -CPPFLAGS+= -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM +CPPFLAGS+= -DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DHAVE_ISWALNUM CPPFLAGS+= -DHAVE_GETPAGESIZE CPPFLAGS+= -DPROJECT_ROOT=\${X11ROOTDIR}\ -DXAW7 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xaw
CVS commit: src/external/mit/xorg/lib/libXaw6
Module Name:src Committed By: christos Date: Sun May 15 21:09:31 UTC 2011 Modified Files: src/external/mit/xorg/lib/libXaw6: Makefile Log Message: repeat; fix same mistake from libXaw that broke wide build. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXaw6/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/libXaw6/Makefile diff -u src/external/mit/xorg/lib/libXaw6/Makefile:1.6 src/external/mit/xorg/lib/libXaw6/Makefile:1.7 --- src/external/mit/xorg/lib/libXaw6/Makefile:1.6 Mon Feb 21 00:09:54 2011 +++ src/external/mit/xorg/lib/libXaw6/Makefile Sun May 15 17:09:30 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/02/21 05:09:54 mrg Exp $ +# $NetBSD: Makefile,v 1.7 2011/05/15 21:09:30 christos Exp $ NOCHECKVER= yes # we want to install an older version ... MKLINKLIB= no @@ -19,7 +19,7 @@ TextSrc.c TextTr.c Toggle.c Tree.c Vendor.c Viewport.c \ XawI18n.c XawIm.c XawInit.c -CPPFLAGS+= -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DOLDXAW \ +CPPFLAGS+= -DHAVE_WCHAR_H -DHAVE_WCTYPE_H -DNO_WIDEC_H -DOLDXAW \ -DHAVE_GETPAGESIZE \ -DHAVE_ISWALNUM -DPROJECT_ROOT=\${X11ROOTDIR}\
CVS commit: src/external/mit/xorg/lib/xcb-util
Module Name:src Committed By: christos Date: Sun May 15 21:19:20 UTC 2011 Modified Files: src/external/mit/xorg/lib/xcb-util: xcb-util.mk Log Message: add HAVE_VASPRINTF so that we use it. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/xcb-util/xcb-util.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/xcb-util/xcb-util.mk diff -u src/external/mit/xorg/lib/xcb-util/xcb-util.mk:1.1 src/external/mit/xorg/lib/xcb-util/xcb-util.mk:1.2 --- src/external/mit/xorg/lib/xcb-util/xcb-util.mk:1.1 Sun Jul 18 03:01:38 2010 +++ src/external/mit/xorg/lib/xcb-util/xcb-util.mk Sun May 15 17:19:20 2011 @@ -1,10 +1,11 @@ -# $NetBSD: xcb-util.mk,v 1.1 2010/07/18 07:01:38 mrg Exp $ +# $NetBSD: xcb-util.mk,v 1.2 2011/05/15 21:19:20 christos Exp $ # define XCBUTIL to something before including this LIB= xcb-${XCBUTIL} CPPFLAGS+= -I${X11SRCDIR.xcb-util}/${XCBUTIL} +CPPFLAGS+= -DHAVE_VASPRINTF LIBDPLIBS=\ xcb ${.CURDIR}/../../libxcb/libxcb \
CVS commit: src/external/mit/xorg/bin/xconsole
Module Name:src Committed By: christos Date: Sun May 15 21:25:33 UTC 2011 Modified Files: src/external/mit/xorg/bin/xconsole: Makefile Log Message: Add defines to get the proper prototypes in place. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xconsole/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/bin/xconsole/Makefile diff -u src/external/mit/xorg/bin/xconsole/Makefile:1.2 src/external/mit/xorg/bin/xconsole/Makefile:1.3 --- src/external/mit/xorg/bin/xconsole/Makefile:1.2 Sat Nov 20 20:25:32 2010 +++ src/external/mit/xorg/bin/xconsole/Makefile Sun May 15 17:25:33 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2010/11/21 01:25:32 mrg Exp $ +# $NetBSD: Makefile,v 1.3 2011/05/15 21:25:33 christos Exp $ .include bsd.own.mk @@ -12,5 +12,7 @@ .PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults +CPPFLAGS+=-DHAS_OPENPTY -DHAVE_UTIL_H + .include bsd.x11.mk .include bsd.prog.mk
CVS commit: src/external/mit/xorg/bin/xterm/resize
Module Name:src Committed By: christos Date: Sun May 15 21:35:58 UTC 2011 Modified Files: src/external/mit/xorg/bin/xterm/resize: Makefile Log Message: Add HAVE_TERMCAP_H To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xterm/resize/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/bin/xterm/resize/Makefile diff -u src/external/mit/xorg/bin/xterm/resize/Makefile:1.2 src/external/mit/xorg/bin/xterm/resize/Makefile:1.3 --- src/external/mit/xorg/bin/xterm/resize/Makefile:1.2 Wed Jun 30 00:58:42 2010 +++ src/external/mit/xorg/bin/xterm/resize/Makefile Sun May 15 17:35:58 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2010/06/30 04:58:42 mrg Exp $ +# $NetBSD: Makefile,v 1.3 2011/05/15 21:35:58 christos Exp $ .include bsd.own.mk @@ -6,6 +6,7 @@ SRCS= resize.c xstrings.c CPPFLAGS+=-I${X11SRCDIR.xterm} +CPPFLAGS+=-DHAVE_TERMCAP_H .PATH: ${X11SRCDIR.xterm}
CVS commit: xsrc/external/mit/xf86-video-chips/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 22:54:29 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c Log Message: - fix return - add missing include file To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.6 xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.7 --- xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.6 Tue Nov 23 18:20:31 2010 +++ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c Sun May 15 18:54:29 2011 @@ -125,6 +125,8 @@ #include xf4bpp.h #endif +#include hw/xfree86/xf8_16bpp/cfb8_16.h + /* int10 */ #include xf86int10.h #include vbe.h @@ -807,7 +809,7 @@ pScrn-ValidMode = CHIPSValidMode; if (!CHIPSGetRec(pScrn)) { - return; + return 0; } cPtr = CHIPSPTR(pScrn); cPtr-Chipset = match_data;
CVS commit: src/external/mit/xorg/server/drivers/xf86-video-chips
Module Name:src Committed By: christos Date: Sun May 15 22:55:01 UTC 2011 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-chips: Makefile Log Message: Add include path To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile diff -u src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile:1.5 src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile:1.6 --- src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile:1.5 Thu Oct 15 18:54:45 2009 +++ src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile Sun May 15 18:55:01 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/10/15 22:54:45 macallan Exp $ +# $NetBSD: Makefile,v 1.6 2011/05/15 22:55:01 christos Exp $ DRIVER= xf86-video-chips DRIVER_NAME= chips_drv @@ -12,7 +12,7 @@ CPPFLAGS+= -DHAVE_ISA .endif -CPPFLAGS.ct_driver.c= -DVERSION=${PACKAGE_MAJOR} +CPPFLAGS.ct_driver.c= -DVERSION=${PACKAGE_MAJOR} -I${X11SRCDIR.xorg-server} CPPFLAGS.ct_accelmm.c= -DCHIPS_MMIO -I${X11SRCDIR.${DRIVER}}/src CPPFLAGS.ct_accelhi.c= -DCHIPS_MMIO -DCHIPS_HIQV -I${X11SRCDIR.${DRIVER}}/src
CVS commit: xsrc/external/mit/xf86-video-i740/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 22:58:35 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-i740/dist/src: i740_driver.c i740_video.c Log Message: add Xos.h for usleep To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 \ xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c cvs rdiff -u -r1.1.1.3 -r1.2 \ xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c diff -u xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c:1.1.1.4 xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c:1.2 --- xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c:1.1.1.4 Fri Aug 21 19:53:46 2009 +++ xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c Sun May 15 18:58:35 2011 @@ -87,6 +87,7 @@ #include xf86xv.h #include X11/extensions/Xv.h +#include X11/Xos.h #include vbe.h #include i740_dga.h Index: xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c diff -u xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c:1.1.1.3 xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c:1.2 --- xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c:1.1.1.3 Fri Aug 21 19:53:46 2009 +++ xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c Sun May 15 18:58:35 2011 @@ -66,6 +66,7 @@ #include xf86xv.h #include X11/extensions/Xv.h +#include X11/Xos.h #include xaa.h #include xaalocal.h #include dixstruct.h
CVS commit: xsrc/external/mit/xf86-video-openchrome/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 23:16:15 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-openchrome/dist/src: via_cursor.c via_driver.h via_video.c Log Message: Add missing prototypes and fix calling args. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c diff -u xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c:1.1.1.1 xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c:1.2 --- xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c:1.1.1.1 Thu May 27 03:31:59 2010 +++ xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c Sun May 15 19:16:15 2011 @@ -39,8 +39,6 @@ #include via_id.h #include cursorstr.h -void viaShowCursor(ScrnInfoPtr pScrn); -void viaHideCursor(ScrnInfoPtr pScrn); static void viaSetCursorPosition(ScrnInfoPtr pScrn, int x, int y); static Bool viaUseHWCursor(ScreenPtr pScreen, CursorPtr pCurs); static Bool viaUseHWCursorARGB(ScreenPtr pScreen, CursorPtr pCurs); Index: xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h diff -u xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h:1.1.1.1 xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h:1.2 --- xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h:1.1.1.1 Thu May 27 03:31:59 2010 +++ xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h Sun May 15 19:16:15 2011 @@ -525,4 +525,15 @@ #endif /* XF86DRI */ +int viaOffScreenLinear(VIAMemPtr mem, ScrnInfoPtr pScrn, unsigned long size); +void viaShowCursor(ScrnInfoPtr pScrn); +void viaHideCursor(ScrnInfoPtr pScrn); +Bool viaHWCursorInit(ScreenPtr pScreen); +void ViaDisplaySetStreamOnCRT(ScrnInfoPtr pScrn, Bool primary); +void ViaDisplaySetStreamOnDFP(ScrnInfoPtr pScrn, Bool primary); +void ViaDisplaySetStreamOnDVO(ScrnInfoPtr pScrn, int port, Bool primary); +void ViaDisplayEnableSimultaneous(ScrnInfoPtr pScrn); +void ViaDisplayEnableCRT(ScrnInfoPtr pScrn); +void ViaDisplayEnableDVO(ScrnInfoPtr pScrn, int port); + #endif /* _VIA_DRIVER_H_ */ Index: xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c diff -u xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c:1.1.1.1 xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c:1.2 --- xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c:1.1.1.1 Thu May 27 03:31:58 2010 +++ xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c Sun May 15 19:16:15 2011 @@ -51,6 +51,7 @@ #include X11/extensions/Xv.h #include xaa.h #include xaalocal.h +#include damage.h #include dixstruct.h #include via_xvpriv.h #include via_swov.h @@ -757,7 +758,7 @@ pBox++; } -DamageDamageRegion(pPix, clipBoxes); +DamageDamageRegion((DrawablePtr)pPix, clipBoxes); } return 0;
CVS commit: src/crypto/external/bsd/openssl/dist/crypto/bn
Module Name:src Committed By: christos Date: Sun May 15 23:43:56 UTC 2011 Modified Files: src/crypto/external/bsd/openssl/dist/crypto/bn: divtest.c Log Message: no more implicit types in c99 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c 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/openssl/dist/crypto/bn/divtest.c diff -u src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.2 src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.3 --- src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.2 Sun Jul 19 19:30:38 2009 +++ src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c Sun May 15 19:43:56 2011 @@ -1,7 +1,7 @@ #include openssl/bn.h #include openssl/rand.h -static int Rand(n) +static int Rand(void) { unsigned char x[2]; RAND_pseudo_bytes(x,2); @@ -19,6 +19,7 @@ exit(1); } +int main(int argc, char *argv[]) { BIGNUM *a=BN_new(), *b=BN_new(), *c=BN_new(), *d=BN_new(),
CVS commit: xsrc/external/mit
Module Name:xsrc Committed By: christos Date: Sun May 15 23:44:47 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-mga/dist/src: mga_vga.c xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c xsrc/external/mit/xf86-video-s3/dist/src: s3.h s3_GENDAC.c s3_Ti.c xsrc/external/mit/xf86-video-s3virge/dist/src: s3v_accel.c xsrc/external/mit/xf86-video-wsfb/dist/src: wsfb_cursor.c wsfb_driver.c Log Message: Add headers for missing prototypes and missing prototypes To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c cvs rdiff -u -r1.4 -r1.5 \ xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/xf86-video-s3/dist/src/s3.h cvs rdiff -u -r1.1 -r1.2 xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c cvs rdiff -u -r1.1.1.2 -r1.2 \ xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c cvs rdiff -u -r1.2 -r1.3 \ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c cvs rdiff -u -r1.9 -r1.10 \ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c diff -u xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c:1.1.1.1 xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c:1.2 --- xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c:1.1.1.1 Sat Aug 2 01:13:07 2008 +++ xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c Sun May 15 19:44:47 2011 @@ -5,6 +5,7 @@ #include misc.h #include xf86.h #include xf86_OSproc.h +#include X11/Xos.h #include vgaHW.h #include compiler.h #include xf86cmap.h Index: xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c diff -u xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.4 xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.5 --- xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.4 Wed Jan 5 19:40:50 2011 +++ xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c Sun May 15 19:44:47 2011 @@ -91,6 +91,7 @@ #include xf86RAC.h #include xf86Resources.h #endif +#include xf86_OSlib.h #include xf86cmap.h #include xf86xv.h #include vbe.h Index: xsrc/external/mit/xf86-video-s3/dist/src/s3.h diff -u xsrc/external/mit/xf86-video-s3/dist/src/s3.h:1.5 xsrc/external/mit/xf86-video-s3/dist/src/s3.h:1.6 --- xsrc/external/mit/xf86-video-s3/dist/src/s3.h:1.5 Mon Jul 12 03:25:18 2010 +++ xsrc/external/mit/xf86-video-s3/dist/src/s3.h Sun May 15 19:44:47 2011 @@ -247,6 +247,8 @@ void S3RefreshArea24(ScrnInfoPtr pScrn, int num, BoxPtr pbox); void S3RefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox); +Bool S3GENDACProbe(ScrnInfoPtr pScrn); + #define TRIO64_RAMDAC 0x8811 #define TI3025_RAMDAC 0x3025 Index: xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c diff -u xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c:1.1 xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c:1.2 --- xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c:1.1 Mon Jul 12 03:25:18 2010 +++ xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c Sun May 15 19:44:47 2011 @@ -30,6 +30,7 @@ #include xf86.h #include xf86_OSproc.h +#include X11/Xos.h #include compiler.h Index: xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c diff -u xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c:1.1.1.2 xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c:1.2 --- xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c:1.1.1.2 Fri Jun 5 16:58:33 2009 +++ xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c Sun May 15 19:44:47 2011 @@ -31,6 +31,7 @@ #include xf86.h #include xf86_OSproc.h +#include X11/Xos.h #include compiler.h Index: xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c diff -u xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c:1.1.1.2 xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c:1.2 --- xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c:1.1.1.2 Tue Jun 9 20:48:18 2009 +++ xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c Sun May 15 19:44:47 2011 @@ -34,6 +34,7 @@ /* fb includes are in s3v.h */ #include xaalocal.h #include xaarop.h +#include X11/Xos.h #include servermd.h /* LOG2_BYTES_PER_SCANLINE_PAD */ Index: xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c diff -u xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c:1.2 xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c:1.3 --- xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c:1.2 Thu Jun 11 21:53:00 2009 +++ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c Sun May 15 19:44:47 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: wsfb_cursor.c,v 1.2 2009/06/12 01:53:00 mrg Exp $ */ +/* $NetBSD: wsfb_cursor.c,v 1.3 2011/05/15 23:44:47 christos Exp $ */ /* * Copyright (c) 2005 Michael Lorenz * All
CVS commit: src/tests/lib/libcurses/director
Module Name:src Committed By: christos Date: Sun May 15 23:56:28 UTC 2011 Modified Files: src/tests/lib/libcurses/director: director.c testlang_conf.l testlang_parse.y Log Message: if you don't include the proper include files, you are going to end up calling functions incorrectly. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/director/director.c cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/director/testlang_conf.l \ src/tests/lib/libcurses/director/testlang_parse.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libcurses/director/director.c diff -u src/tests/lib/libcurses/director/director.c:1.3 src/tests/lib/libcurses/director/director.c:1.4 --- src/tests/lib/libcurses/director/director.c:1.3 Tue Apr 19 16:13:55 2011 +++ src/tests/lib/libcurses/director/director.c Sun May 15 19:56:28 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: director.c,v 1.3 2011/04/19 20:13:55 martin Exp $ */ +/* $NetBSD: director.c,v 1.4 2011/05/15 23:56:28 christos Exp $ */ /*- * Copyright 2009 Brett Lymn bl...@netbsd.org @@ -31,13 +31,17 @@ #include fcntl.h #include unistd.h +#include ctype.h #include termios.h #include signal.h #include stdio.h #include stdlib.h #include string.h +#include util.h +#include err.h #include returns.h +void yyparse(void); #define DEF_TERMPATH . #define DEF_TERM atf #define DEF_SLAVE ./slave Index: src/tests/lib/libcurses/director/testlang_conf.l diff -u src/tests/lib/libcurses/director/testlang_conf.l:1.2 src/tests/lib/libcurses/director/testlang_conf.l:1.3 --- src/tests/lib/libcurses/director/testlang_conf.l:1.2 Mon Apr 11 05:03:24 2011 +++ src/tests/lib/libcurses/director/testlang_conf.l Sun May 15 19:56:28 2011 @@ -1,5 +1,5 @@ %{ -/* $NetBSD: testlang_conf.l,v 1.2 2011/04/11 09:03:24 blymn Exp $ */ +/* $NetBSD: testlang_conf.l,v 1.3 2011/05/15 23:56:28 christos Exp $ */ /*- * Copyright 2009 Brett Lymn bl...@netbsd.org @@ -31,6 +31,7 @@ */ #include curses.h +#include ctype.h #include stdio.h #include stdlib.h #include string.h Index: src/tests/lib/libcurses/director/testlang_parse.y diff -u src/tests/lib/libcurses/director/testlang_parse.y:1.2 src/tests/lib/libcurses/director/testlang_parse.y:1.3 --- src/tests/lib/libcurses/director/testlang_parse.y:1.2 Thu Apr 21 06:23:50 2011 +++ src/tests/lib/libcurses/director/testlang_parse.y Sun May 15 19:56:28 2011 @@ -1,5 +1,5 @@ %{ -/* $NetBSD: testlang_parse.y,v 1.2 2011/04/21 10:23:50 blymn Exp $ */ +/* $NetBSD: testlang_parse.y,v 1.3 2011/05/15 23:56:28 christos Exp $ */ /*- * Copyright 2009 Brett Lymn bl...@netbsd.org @@ -32,6 +32,8 @@ #include assert.h #include errno.h #include fcntl.h +#include err.h +#include unistd.h #include poll.h #include stdbool.h #include stdio.h @@ -50,6 +52,8 @@ extern char *check_path; extern char *cur_file; /* from director.c */ +int yylex(void); + size_t line; static int input_delay; @@ -777,7 +781,7 @@ */ result = read(check_fd, drain, 1); if (result == -1) -err(read of data file failed); +err(1, read of data file failed); if (result 0) { fprintf(stderr, Error: excess data
CVS commit: src/tests/lib/libcurses/slave
Module Name:src Committed By: christos Date: Sun May 15 23:59:03 UTC 2011 Modified Files: src/tests/lib/libcurses/slave: commands.c slave.c Log Message: add missing header files. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/slave/commands.c cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/slave/slave.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libcurses/slave/commands.c diff -u src/tests/lib/libcurses/slave/commands.c:1.1 src/tests/lib/libcurses/slave/commands.c:1.2 --- src/tests/lib/libcurses/slave/commands.c:1.1 Sun Apr 10 05:55:10 2011 +++ src/tests/lib/libcurses/slave/commands.c Sun May 15 19:59:03 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: commands.c,v 1.1 2011/04/10 09:55:10 blymn Exp $ */ +/* $NetBSD: commands.c,v 1.2 2011/05/15 23:59:03 christos Exp $ */ /*- * Copyright 2009 Brett Lymn bl...@netbsd.org @@ -33,6 +33,7 @@ #include string.h #include stdlib.h #include stdio.h +#include unistd.h #include sys/types.h #include returns.h #include slave.h Index: src/tests/lib/libcurses/slave/slave.c diff -u src/tests/lib/libcurses/slave/slave.c:1.2 src/tests/lib/libcurses/slave/slave.c:1.3 --- src/tests/lib/libcurses/slave/slave.c:1.2 Thu Apr 21 06:23:50 2011 +++ src/tests/lib/libcurses/slave/slave.c Sun May 15 19:59:03 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: slave.c,v 1.2 2011/04/21 10:23:50 blymn Exp $ */ +/* $NetBSD: slave.c,v 1.3 2011/05/15 23:59:03 christos Exp $ */ /*- * Copyright 2009 Brett Lymn bl...@netbsd.org @@ -30,6 +30,8 @@ */ #include fcntl.h #include sys/ioctl.h +#include unistd.h +#include err.h #include stdio.h #include stdlib.h #include string.h
CVS commit: src/tests/lib/libposix
Module Name:src Committed By: christos Date: Mon May 16 00:03:36 UTC 2011 Modified Files: src/tests/lib/libposix: t_rename.c Log Message: h_macros need strlcat and random ugh, please someone remove this header. define _NETBSD_SOURCE so those are defined. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/t_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libposix/t_rename.c diff -u src/tests/lib/libposix/t_rename.c:1.1 src/tests/lib/libposix/t_rename.c:1.2 --- src/tests/lib/libposix/t_rename.c:1.1 Fri Jul 16 09:56:31 2010 +++ src/tests/lib/libposix/t_rename.c Sun May 15 20:03:36 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $ */ +/* $NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $ */ /* * Copyright (c) 2001, 2008, 2010 The NetBSD Foundation, Inc. @@ -25,11 +25,11 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ - +#define _NETBSD_SOURCE /* strlcat/random */ #include sys/cdefs.h __COPYRIGHT(@(#) Copyright (c) 2008, 2010\ The NetBSD Foundation, inc. All rights reserved.); -__RCSID($NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $); +__RCSID($NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $); #include sys/types.h #include sys/stat.h
CVS commit: src/crypto/external/bsd/openssl/dist/crypto
Module Name:src Committed By: christos Date: Mon May 16 00:08:33 UTC 2011 Modified Files: src/crypto/external/bsd/openssl/dist/crypto/conf: test.c src/crypto/external/bsd/openssl/dist/crypto/lhash: lh_test.c src/crypto/external/bsd/openssl/dist/crypto/x509v3: tabtest.c Log Message: fix main prototypes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/dist/crypto/conf/test.c cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c 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/openssl/dist/crypto/conf/test.c diff -u src/crypto/external/bsd/openssl/dist/crypto/conf/test.c:1.2 src/crypto/external/bsd/openssl/dist/crypto/conf/test.c:1.3 --- src/crypto/external/bsd/openssl/dist/crypto/conf/test.c:1.2 Mon Jul 20 16:41:05 2009 +++ src/crypto/external/bsd/openssl/dist/crypto/conf/test.c Sun May 15 20:08:33 2011 @@ -61,7 +61,8 @@ #include openssl/conf.h #include openssl/err.h -main() +int +main(void) { LHASH_OF(CONF_VALUE) *conf; long eline; Index: src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c diff -u src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c:1.3 src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c:1.4 --- src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c:1.3 Mon Jul 20 16:41:05 2009 +++ src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c Sun May 15 20:08:33 2011 @@ -61,7 +61,8 @@ #include string.h #include openssl/lhash.h -main() +int +main(void) { _LHASH *conf; char buf[256]; Index: src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c diff -u src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c:1.3 src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c:1.4 --- src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c:1.3 Mon Jul 20 16:41:06 2009 +++ src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c Sun May 15 20:08:33 2011 @@ -66,7 +66,8 @@ #include ext_dat.h -main() +int +main(void) { int i, prev = -1, bad = 0; const X509V3_EXT_METHOD **tmp;
CVS commit: src/sys/dev/pci
Module Name:src Committed By: macallan Date: Mon May 16 00:59:38 UTC 2011 Modified Files: src/sys/dev/pci: machfb.c Log Message: don't leave a mess on screen when attaching, while there use VCONS_DONT_READ if VCONS_DRAW_INTR is set To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/machfb.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/dev/pci/machfb.c diff -u src/sys/dev/pci/machfb.c:1.65 src/sys/dev/pci/machfb.c:1.66 --- src/sys/dev/pci/machfb.c:1.65 Tue May 10 18:31:33 2011 +++ src/sys/dev/pci/machfb.c Mon May 16 00:59:37 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: machfb.c,v 1.65 2011/05/10 18:31:33 dyoung Exp $ */ +/* $NetBSD: machfb.c,v 1.66 2011/05/16 00:59:37 macallan Exp $ */ /* * Copyright (c) 2002 Bang Jun-Young @@ -34,7 +34,7 @@ #include sys/cdefs.h __KERNEL_RCSID(0, - $NetBSD: machfb.c,v 1.65 2011/05/10 18:31:33 dyoung Exp $); + $NetBSD: machfb.c,v 1.66 2011/05/16 00:59:37 macallan Exp $); #include sys/param.h #include sys/systm.h @@ -827,8 +827,11 @@ ri-ri_flg = RI_CENTER; set_address(ri, sc-sc_aperture); +#ifdef VCONS_DRAW_INTR + scr-scr_flags |= VCONS_DONT_READ; +#endif + if (existing) { - ri-ri_flg |= RI_CLEAR; if (setmode mach64_set_screentype(sc, scr-scr_type)) { panic(%s: failed to switch video mode, device_xname(sc-sc_dev)); @@ -838,7 +841,6 @@ rasops_init(ri, sc-sc_my_mode-vdisplay / 8, sc-sc_my_mode-hdisplay / 8); ri-ri_caps = WSSCREEN_WSCOLORS; - rasops_reconfig(ri, sc-sc_my_mode-vdisplay / ri-ri_font-fontheight, sc-sc_my_mode-hdisplay / ri-ri_font-fontwidth); @@ -1119,8 +1121,8 @@ regw(sc, SC_BOTTOM, sc-sc_my_mode-vdisplay - 1); regw(sc, SC_RIGHT, pitch_value - 1); - regw(sc, DP_BKGD_CLR, 0); - regw(sc, DP_FRGD_CLR, 0x); + regw(sc, DP_BKGD_CLR, WS_DEFAULT_BG); + regw(sc, DP_FRGD_CLR, WS_DEFAULT_FG); regw(sc, DP_WRITE_MASK, 0x); regw(sc, DP_MIX, (MIX_SRC 16) | MIX_DST);
CVS commit: src/sys/arch/xen/xen
Module Name:src Committed By: jym Date: Sun May 15 07:24:15 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Use atomic_ops(3) for ref counting. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/xen/xen/xbdback_xenbus.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/evbarm/conf
Module Name:src Committed By: he Date: Sun May 15 13:36:13 UTC 2011 Modified Files: src/sys/arch/evbarm/conf: GUMSTIX Log Message: Bump SYMTAB_SPACE so that the contents fits again. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/evbarm/conf/GUMSTIX Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbppc/conf
Module Name:src Committed By: he Date: Sun May 15 13:38:20 UTC 2011 Modified Files: src/sys/arch/evbppc/conf: EXPLORA451 Log Message: Bump SYMTAB_SPACE so that the contents fits again. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbppc/conf/EXPLORA451 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/dist/diffutils/src
Module Name:src Committed By: christos Date: Sun May 15 13:55:21 UTC 2011 Modified Files: src/gnu/dist/diffutils/src: diff.c Log Message: include posixver.h to find the prototype for posix2_version() To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/diffutils/src/diff.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/pci
Module Name:src Committed By: christos Date: Sun May 15 13:56:20 UTC 2011 Modified Files: src/sys/dev/pci: if_iwn.c if_iwnreg.h if_iwnvar.h Log Message: update from OpenBSD by msaitoh. Tested on amd64. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_iwn.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_iwnreg.h cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_iwnvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/dist/gkermit
Module Name:src Committed By: christos Date: Sun May 15 14:30:08 UTC 2011 Modified Files: src/gnu/dist/gkermit: gkermit.c gunixio.c Log Message: include headers to make prototypes visible. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/gnu/dist/gkermit/gkermit.c \ src/gnu/dist/gkermit/gunixio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/usr.bin/rcs/lib
Module Name:src Committed By: christos Date: Sun May 15 14:31:13 UTC 2011 Modified Files: src/gnu/usr.bin/rcs/lib: rcsedit.c Log Message: register c - int c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/rcs/lib/rcsedit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/usr.bin/rcs
Module Name:src Committed By: christos Date: Sun May 15 14:33:13 UTC 2011 Modified Files: src/gnu/usr.bin/rcs/lib: rcslex.c src/gnu/usr.bin/rcs/rcs: rcs.c src/gnu/usr.bin/rcs/rcsdiff: rcsdiff.c src/gnu/usr.bin/rcs/rlog: rlog.c Log Message: register c - int c To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/lib/rcslex.c cvs rdiff -u -r1.5 -r1.6 src/gnu/usr.bin/rcs/rcs/rcs.c cvs rdiff -u -r1.6 -r1.7 src/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/rcs/rlog/rlog.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/dist/texinfo/info
Module Name:src Committed By: christos Date: Sun May 15 14:35:48 UTC 2011 Modified Files: src/gnu/dist/texinfo/info: terminal.c Log Message: include sys/ioctl.h for ioctl() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/gnu/dist/texinfo/info/terminal.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/dist/grep/lib
Module Name:src Committed By: christos Date: Sun May 15 14:57:35 UTC 2011 Modified Files: src/gnu/dist/grep/lib: savedir.c Log Message: include system.h for idir() To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/gnu/dist/grep/lib/savedir.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/usr.bin/grep
Module Name:src Committed By: christos Date: Sun May 15 14:57:56 UTC 2011 Modified Files: src/gnu/usr.bin/grep: Makefile.inc Log Message: find system.h in src To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/gnu/usr.bin/grep/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/heimdal
Module Name:src Committed By: tsutsui Date: Sun May 15 15:10:12 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal: Makefile.rules.inc Log Message: - fix build failure on CentOS 5 (it looks bash doesn't like redirection operators before commands) - use ${TOOL_SED} To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/Makefile.rules.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/gnu/dist/gdb6/gdb
Module Name:src Committed By: christos Date: Sun May 15 16:16:08 UTC 2011 Modified Files: src/gnu/dist/gdb6/gdb: amd64nbsd-nat.c amd64nbsd-tdep.c Log Message: include headers to get proper prototypes visible. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c \ src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.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/news68k/news68k
Module Name:src Committed By: tsutsui Date: Sun May 15 16:51:09 UTC 2011 Modified Files: src/sys/arch/news68k/news68k: machdep.c Log Message: Some KNF. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/arch/news68k/news68k/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/hp300/hp300
Module Name:src Committed By: tsutsui Date: Sun May 15 16:57:08 UTC 2011 Modified Files: src/sys/arch/hp300/hp300: machdep.c Log Message: Misc KNF. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/arch/hp300/hp300/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/dist/ipsec-tools/src/racoon
Module Name:src Committed By: christos Date: Sun May 15 17:13:23 UTC 2011 Modified Files: src/crypto/dist/ipsec-tools/src/racoon: isakmp_xauth.c Log Message: fix prototype. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.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/x68k/x68k
Module Name:src Committed By: tsutsui Date: Sun May 15 17:27:49 UTC 2011 Modified Files: src/sys/arch/x68k/x68k: machdep.c Log Message: Misc KNF and cosmetics. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/sys/arch/x68k/x68k/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun May 15 17:52:41 UTC 2011 Modified Files: src/external/gpl2/xcvs/dist/src: client.c Log Message: Add missing prototype. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/xcvs/dist/src/client.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet/dist/lib
Module Name:src Committed By: christos Date: Sun May 15 18:33:33 UTC 2011 Modified Files: src/external/cddl/osnet/dist/lib/libdtrace/common: dt_grammar.y dt_impl.h src/external/cddl/osnet/dist/lib/libgen/common: gmatch.c Log Message: fix missing prototypes. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y cvs rdiff -u -r1.4 -r1.5 \ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h cvs rdiff -u -r1.2 -r1.3 \ src/external/cddl/osnet/dist/lib/libgen/common/gmatch.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/xen/xen
Module Name:src Committed By: jym Date: Sun May 15 20:58:54 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: As noted by rmind@, use the _nv() to fetch the new value. A race is possible between the decrement and the fetch of the ref counter value, hence we might call the G/C routine twice. Not good. Also remove the 'volatile' attribute, refcnt is only use by xbdi_put/_get and should not be exposed anywhere else (except for initialization). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/xen/xbdback_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/libXaw
Module Name:src Committed By: christos Date: Sun May 15 21:05:13 UTC 2011 Modified Files: src/external/mit/xorg/lib/libXaw: Makefile Log Message: fix wide char support; don't use the wrong macro names. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXaw/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/libXaw6
Module Name:src Committed By: christos Date: Sun May 15 21:09:31 UTC 2011 Modified Files: src/external/mit/xorg/lib/libXaw6: Makefile Log Message: repeat; fix same mistake from libXaw that broke wide build. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libXaw6/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/xcb-util
Module Name:src Committed By: christos Date: Sun May 15 21:19:20 UTC 2011 Modified Files: src/external/mit/xorg/lib/xcb-util: xcb-util.mk Log Message: add HAVE_VASPRINTF so that we use it. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/xcb-util/xcb-util.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/bin/xconsole
Module Name:src Committed By: christos Date: Sun May 15 21:25:33 UTC 2011 Modified Files: src/external/mit/xorg/bin/xconsole: Makefile Log Message: Add defines to get the proper prototypes in place. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xconsole/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/crunch/crunchgen
Module Name:src Committed By: christos Date: Sun May 15 21:28:51 UTC 2011 Modified Files: src/usr.bin/crunch/crunchgen: crunched_main.c crunchgen.c Log Message: Make this produce proper ansi c and knf. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/crunch/crunchgen/crunched_main.c cvs rdiff -u -r1.78 -r1.79 src/usr.bin/crunch/crunchgen/crunchgen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/bin/xmlwf
Module Name:src Committed By: christos Date: Sun May 15 21:32:47 UTC 2011 Modified Files: src/external/mit/xorg/bin/xmlwf: Makefile Log Message: Add -DHAVE_UNISTD_H To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xmlwf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/bin/xterm/resize
Module Name:src Committed By: christos Date: Sun May 15 21:35:58 UTC 2011 Modified Files: src/external/mit/xorg/bin/xterm/resize: Makefile Log Message: Add HAVE_TERMCAP_H To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/xterm/resize/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-ast/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 22:33:55 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-ast/dist/src: ast_vgatool.c Log Message: include Xos.h for usleep To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ xsrc/external/mit/xf86-video-ast/dist/src/ast_vgatool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-chips/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 22:54:29 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c Log Message: - fix return - add missing include file To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/server/drivers/xf86-video-chips
Module Name:src Committed By: christos Date: Sun May 15 22:55:01 UTC 2011 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-chips: Makefile Log Message: Add include path To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/mit/xorg/server/drivers/xf86-video-chips/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-i740/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 22:58:35 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-i740/dist/src: i740_driver.c i740_video.c Log Message: add Xos.h for usleep To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 \ xsrc/external/mit/xf86-video-i740/dist/src/i740_driver.c cvs rdiff -u -r1.1.1.3 -r1.2 \ xsrc/external/mit/xf86-video-i740/dist/src/i740_video.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-openchrome/dist/src
Module Name:xsrc Committed By: christos Date: Sun May 15 23:16:15 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-openchrome/dist/src: via_cursor.c via_driver.h via_video.c Log Message: Add missing prototypes and fix calling args. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_cursor.c \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_driver.h \ xsrc/external/mit/xf86-video-openchrome/dist/src/via_video.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/server/drivers
Module Name:src Committed By: christos Date: Sun May 15 23:42:01 UTC 2011 Modified Files: src/external/mit/xorg/server/drivers: Makefile Log Message: Disable wsfb, uses old loader api that does not exist anymore To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/external/mit/xorg/server/drivers/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/dist/crypto/bn
Module Name:src Committed By: christos Date: Sun May 15 23:43:56 UTC 2011 Modified Files: src/crypto/external/bsd/openssl/dist/crypto/bn: divtest.c Log Message: no more implicit types in c99 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit
Module Name:xsrc Committed By: christos Date: Sun May 15 23:44:47 UTC 2011 Modified Files: xsrc/external/mit/xf86-video-mga/dist/src: mga_vga.c xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c xsrc/external/mit/xf86-video-s3/dist/src: s3.h s3_GENDAC.c s3_Ti.c xsrc/external/mit/xf86-video-s3virge/dist/src: s3v_accel.c xsrc/external/mit/xf86-video-wsfb/dist/src: wsfb_cursor.c wsfb_driver.c Log Message: Add headers for missing prototypes and missing prototypes To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ xsrc/external/mit/xf86-video-mga/dist/src/mga_vga.c cvs rdiff -u -r1.4 -r1.5 \ xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/xf86-video-s3/dist/src/s3.h cvs rdiff -u -r1.1 -r1.2 xsrc/external/mit/xf86-video-s3/dist/src/s3_GENDAC.c cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/xf86-video-s3/dist/src/s3_Ti.c cvs rdiff -u -r1.1.1.2 -r1.2 \ xsrc/external/mit/xf86-video-s3virge/dist/src/s3v_accel.c cvs rdiff -u -r1.2 -r1.3 \ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_cursor.c cvs rdiff -u -r1.9 -r1.10 \ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libcurses/director
Module Name:src Committed By: christos Date: Sun May 15 23:56:28 UTC 2011 Modified Files: src/tests/lib/libcurses/director: director.c testlang_conf.l testlang_parse.y Log Message: if you don't include the proper include files, you are going to end up calling functions incorrectly. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/director/director.c cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/director/testlang_conf.l \ src/tests/lib/libcurses/director/testlang_parse.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libcurses/slave
Module Name:src Committed By: christos Date: Sun May 15 23:59:03 UTC 2011 Modified Files: src/tests/lib/libcurses/slave: commands.c slave.c Log Message: add missing header files. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/slave/commands.c cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/slave/slave.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libposix
Module Name:src Committed By: christos Date: Mon May 16 00:03:36 UTC 2011 Modified Files: src/tests/lib/libposix: t_rename.c Log Message: h_macros need strlcat and random ugh, please someone remove this header. define _NETBSD_SOURCE so those are defined. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/t_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/dist/crypto
Module Name:src Committed By: christos Date: Mon May 16 00:08:33 UTC 2011 Modified Files: src/crypto/external/bsd/openssl/dist/crypto/conf: test.c src/crypto/external/bsd/openssl/dist/crypto/lhash: lh_test.c src/crypto/external/bsd/openssl/dist/crypto/x509v3: tabtest.c Log Message: fix main prototypes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/dist/crypto/conf/test.c cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/file/dist
Module Name:src Committed By: christos Date: Mon May 16 00:23:21 UTC 2011 Modified Files: src/external/bsd/file/dist: INSTALL Makefile.in aclocal.m4 compile config.guess config.h.in config.sub configure configure.ac depcomp install-sh missing src/external/bsd/file/dist/doc: Makefile.am Makefile.in src/external/bsd/file/dist/magic: Makefile.in src/external/bsd/file/dist/python: Makefile.in src/external/bsd/file/dist/src: Makefile.in src/external/bsd/file/dist/tests: Makefile.in Log Message: - turn on maintainer mode - disable rules on doc - regen To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/file/dist/INSTALL \ src/external/bsd/file/dist/compile \ src/external/bsd/file/dist/config.guess \ src/external/bsd/file/dist/config.sub src/external/bsd/file/dist/depcomp \ src/external/bsd/file/dist/install-sh src/external/bsd/file/dist/missing cvs rdiff -u -r1.3 -r1.4 src/external/bsd/file/dist/Makefile.in \ src/external/bsd/file/dist/configure cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/file/dist/aclocal.m4 \ src/external/bsd/file/dist/config.h.in \ src/external/bsd/file/dist/configure.ac cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/file/dist/doc/Makefile.am cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/file/dist/doc/Makefile.in cvs rdiff -u -r1.3 -r1.4 src/external/bsd/file/dist/magic/Makefile.in cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/file/dist/python/Makefile.in cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/file/dist/src/Makefile.in cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/file/dist/tests/Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: macallan Date: Mon May 16 00:59:38 UTC 2011 Modified Files: src/sys/dev/pci: machfb.c Log Message: don't leave a mess on screen when attaching, while there use VCONS_DONT_READ if VCONS_DRAW_INTR is set To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/machfb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.