PERFORCE change 57511 for review

Marcel Moolenaar marcel at FreeBSD.org
Fri Jul 16 19:55:12 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=57511

Change 57511 by marcel at marcel_nfs on 2004/07/17 02:55:03

	IFC @57508

Affected files ...

.. //depot/projects/gdb/MAINTAINERS#12 integrate
.. //depot/projects/gdb/Makefile#7 integrate
.. //depot/projects/gdb/UPDATING#22 integrate
.. //depot/projects/gdb/bin/date/date.1#6 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/arch/alpha/config.h#4 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/arch/amd64/config.h#4 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/arch/i386/config.h#4 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/arch/ia64/config.h#4 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/arch/sparc64/config.h#4 integrate
.. //depot/projects/gdb/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#2 integrate
.. //depot/projects/gdb/include/wchar.h#4 integrate
.. //depot/projects/gdb/lib/libc/stdio/Makefile.inc#2 integrate
.. //depot/projects/gdb/lib/libc/stdio/fgetln.3#2 integrate
.. //depot/projects/gdb/lib/libc/stdio/fgetln.c#3 integrate
.. //depot/projects/gdb/lib/libc/stdio/fgetwln.3#1 branch
.. //depot/projects/gdb/lib/libc/stdio/fgetwln.c#1 branch
.. //depot/projects/gdb/lib/libc/stdio/local.h#5 integrate
.. //depot/projects/gdb/lib/libc/sys/recv.2#2 integrate
.. //depot/projects/gdb/lib/msun/src/math.h#11 integrate
.. //depot/projects/gdb/share/examples/kld/cdev/module/cdev.c#3 integrate
.. //depot/projects/gdb/share/examples/kld/cdev/module/cdevmod.c#2 integrate
.. //depot/projects/gdb/share/man/man4/mac_biba.4#3 integrate
.. //depot/projects/gdb/share/man/man4/mac_mls.4#3 integrate
.. //depot/projects/gdb/sys/alpha/alpha/pmap.c#14 integrate
.. //depot/projects/gdb/sys/amd64/conf/GENERIC#10 integrate
.. //depot/projects/gdb/sys/boot/forth/loader.conf#10 integrate
.. //depot/projects/gdb/sys/compat/ia32/ia32_sysvec.c#4 integrate
.. //depot/projects/gdb/sys/conf/NOTES#34 integrate
.. //depot/projects/gdb/sys/conf/files#42 integrate
.. //depot/projects/gdb/sys/dev/acpica/acpi_acad.c#10 integrate
.. //depot/projects/gdb/sys/dev/acpica/acpi_cmbat.c#8 integrate
.. //depot/projects/gdb/sys/dev/acpica/acpi_video.c#4 integrate
.. //depot/projects/gdb/sys/dev/fdc/fdc_isa.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/ad1816.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/es1888.c#2 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/ess.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/gusc.c#3 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/mss.c#6 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/sb16.c#7 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/sb8.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/isa/sbc.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/als4000.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/au88x0.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/aureal.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/cmi.c#6 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/cs4281.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/csa.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/csapcm.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/ds1.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/emu10k1.c#7 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/es137x.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/fm801.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/ich.c#6 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/maestro.c#3 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/maestro3.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/neomagic.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/solo.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/t4dwave.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/via8233.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/via82c686.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pci/vibes.c#4 integrate
.. //depot/projects/gdb/sys/dev/sound/pcm/sound.c#5 integrate
.. //depot/projects/gdb/sys/dev/sound/pcm/sound.h#8 integrate
.. //depot/projects/gdb/sys/dev/sound/usb/uaudio_pcm.c#3 integrate
.. //depot/projects/gdb/sys/ia64/ia64/pmap.c#12 integrate
.. //depot/projects/gdb/sys/ia64/include/pmap.h#6 integrate
.. //depot/projects/gdb/sys/isa/psm.c#7 integrate
.. //depot/projects/gdb/sys/kern/kern_kse.c#5 integrate
.. //depot/projects/gdb/sys/kern/kern_prot.c#8 integrate
.. //depot/projects/gdb/sys/kern/kern_sig.c#13 integrate
.. //depot/projects/gdb/sys/kern/kern_switch.c#7 integrate
.. //depot/projects/gdb/sys/kern/kern_synch.c#15 integrate
.. //depot/projects/gdb/sys/kern/kern_thread.c#21 integrate
.. //depot/projects/gdb/sys/kern/sched_4bsd.c#9 integrate
.. //depot/projects/gdb/sys/kern/sched_ule.c#19 integrate
.. //depot/projects/gdb/sys/kern/subr_prof.c#7 integrate
.. //depot/projects/gdb/sys/kern/subr_trap.c#7 integrate
.. //depot/projects/gdb/sys/modules/fdc/Makefile#6 integrate
.. //depot/projects/gdb/sys/modules/sound/Makefile#2 integrate
.. //depot/projects/gdb/sys/modules/sound/pcm/Makefile#2 delete
.. //depot/projects/gdb/sys/modules/sound/sound/Makefile#2 integrate
.. //depot/projects/gdb/sys/netinet/ip_fw2.c#11 integrate
.. //depot/projects/gdb/sys/netinet/tcp_usrreq.c#10 integrate
.. //depot/projects/gdb/sys/security/mac_biba/mac_biba.c#6 integrate
.. //depot/projects/gdb/sys/security/mac_biba/mac_biba.h#3 integrate
.. //depot/projects/gdb/sys/security/mac_mls/mac_mls.c#6 integrate
.. //depot/projects/gdb/sys/security/mac_mls/mac_mls.h#3 integrate
.. //depot/projects/gdb/sys/sys/mbuf.h#13 integrate
.. //depot/projects/gdb/sys/sys/proc.h#22 integrate
.. //depot/projects/gdb/sys/sys/resourcevar.h#5 integrate
.. //depot/projects/gdb/sys/sys/socket.h#7 integrate
.. //depot/projects/gdb/sys/sys/systm.h#10 integrate
.. //depot/projects/gdb/usr.bin/hexdump/Makefile#2 integrate
.. //depot/projects/gdb/usr.bin/hexdump/conv.c#3 integrate
.. //depot/projects/gdb/usr.bin/jot/jot.c#2 integrate
.. //depot/projects/gdb/usr.bin/rev/rev.c#2 integrate
.. //depot/projects/gdb/usr.bin/ul/ul.1#3 integrate
.. //depot/projects/gdb/usr.sbin/burncd/burncd.8#2 integrate
.. //depot/projects/gdb/usr.sbin/ppp/command.c#3 integrate
.. //depot/projects/gdb/usr.sbin/ppp/ipcp.c#2 integrate
.. //depot/projects/gdb/usr.sbin/ppp/log.c#2 integrate
.. //depot/projects/gdb/usr.sbin/ppp/log.h#2 integrate
.. //depot/projects/gdb/usr.sbin/ppp/ppp.8.m4#5 integrate
.. //depot/projects/gdb/usr.sbin/ppp/radius.c#5 integrate
.. //depot/projects/gdb/usr.sbin/ppp/radius.h#2 integrate
.. //depot/projects/gdb/usr.sbin/rpc.lockd/lock_proc.c#3 integrate
.. //depot/projects/gdb/usr.sbin/rpc.lockd/lockd.c#2 integrate
.. //depot/projects/gdb/usr.sbin/rpc.lockd/lockd_lock.c#4 integrate

Differences ...

==== //depot/projects/gdb/MAINTAINERS#12 (text+ko) ====

@@ -1,4 +1,4 @@
-$FreeBSD: src/MAINTAINERS,v 1.92 2004/07/02 19:40:36 pjd Exp $
+$FreeBSD: src/MAINTAINERS,v 1.93 2004/07/16 21:47:43 alfred Exp $
 
 subsystem	login	notes
 -----------------------------
@@ -97,7 +97,9 @@
 geom_nop	pjd	Pre-commit review requested.
 geom_stripe	pjd	Pre-commit review requested.
 sbin/geom	pjd	Pre-commit review requested.
-
+nfs		alfred	Pre-commit review requested.
+rpc.lockd	alfred	Pre-commit review requested.
+rpc		alfred	Pre-commit review requested.
 
 Following are the entries from the Makefiles, and a few other sources.
 Please remove stale entries from both their origin, and this file.

==== //depot/projects/gdb/Makefile#7 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $FreeBSD: src/Makefile,v 1.300 2004/07/09 13:55:50 phk Exp $
+# $FreeBSD: src/Makefile,v 1.301 2004/07/16 02:51:28 marcel Exp $
 #
 # The user-driven targets are:
 #
@@ -144,14 +144,17 @@
 # Set a reasonable default
 .MAIN:	all
 
+.if defined(DESTDIR)
 .if make(world)
 STARTTIME!= LC_ALL=C date
 .endif
 #
 # world
 #
-# Attempt to rebuild and reinstall *everything*, with reasonable chance of
-# success, regardless of how old your existing system is.
+# Attempt to rebuild and reinstall everything. This target is not to be
+# used for upgrading an existing FreeBSD system, because the kernel is
+# not included. One can argue that this target doesn't build everything
+# then.
 #
 world: upgrade_checks
 	@echo "--------------------------------------------------------------"
@@ -178,6 +181,17 @@
 	@echo ">>> make world completed on `LC_ALL=C date`"
 	@echo "                   (started ${STARTTIME})"
 	@echo "--------------------------------------------------------------"
+.else
+world:
+	@echo "WARNING: make world will overwrite your existing FreeBSD"
+	@echo "installation without also building and installing a new"
+	@echo "kernel.  This can be dangerous.  Please read the handbook,"
+	@echo "'Using make world', for how to upgrade your system."
+	@echo "Define DESTDIR to the where you want to install FreeBSD,
+	@echo "including /, to override this warning and proceed as usual."
+	@echo "Bailing out now..."
+	@false
+.endif
 
 #
 # kernel

==== //depot/projects/gdb/UPDATING#22 (text+ko) ====

@@ -17,6 +17,11 @@
 	developers choose to disable these features on build machines
 	to maximize performance.
 
+20040716:
+	The sound device drivers are renamed.  `sound' is always required,
+	while `snd_*' should be configured accordingly to your hardware.
+	Refer to NOTES for the detail of the drivers.
+
 20040710:
 	__FreeBSD_version bumped to 502122.
 
@@ -1714,4 +1719,4 @@
 Contact Warner Losh if you have any questions about your use of
 this document.
 
-$FreeBSD: src/UPDATING,v 1.325 2004/07/11 13:26:44 simon Exp $
+$FreeBSD: src/UPDATING,v 1.326 2004/07/16 04:04:29 tanimura Exp $

==== //depot/projects/gdb/bin/date/date.1#6 (text+ko) ====

@@ -29,7 +29,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)date.1	8.3 (Berkeley) 4/28/95
-.\" $FreeBSD: src/bin/date/date.1,v 1.66 2004/07/03 00:03:25 ru Exp $
+.\" $FreeBSD: src/bin/date/date.1,v 1.67 2004/07/17 00:26:31 alfred Exp $
 .\"
 .Dd November 17, 1993
 .Dt DATE 1
@@ -328,6 +328,14 @@
 sets the time to
 .Li "2:32 PM" ,
 without modifying the date.
+.Pp
+Finally the command:
+.Pp
+.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`date`"" ""+%s"""
+.Pp
+can be used to parse the ouput from
+.Nm
+and express it in epoch time.
 .Sh ENVIRONMENT
 The following environment variables affect the execution of
 .Nm :

==== //depot/projects/gdb/gnu/usr.bin/gdb/arch/alpha/config.h#4 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/config.h,v 1.2 2004/07/16 05:03:41 marcel Exp $ */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.in.  Generated automatically from configure.in by autoheader.  */
@@ -502,7 +502,7 @@
 #define HAVE_FPREGSET_T 1
 
 /* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
 
 /* Define if <sys/procfs.h> has prfpregset_t. */
 #define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
 #define HAVE_LWPID_T 1
 
 /* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
 
 /* Define if <sys/procfs.h> has prsysent_t. */
 /* #undef HAVE_PRSYSENT_T */

==== //depot/projects/gdb/gnu/usr.bin/gdb/arch/amd64/config.h#4 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.in.  Generated automatically from configure.in by autoheader.  */
@@ -502,7 +502,7 @@
 #define HAVE_FPREGSET_T 1
 
 /* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
 
 /* Define if <sys/procfs.h> has prfpregset_t. */
 #define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
 #define HAVE_LWPID_T 1
 
 /* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
 
 /* Define if <sys/procfs.h> has prsysent_t. */
 /* #undef HAVE_PRSYSENT_T */

==== //depot/projects/gdb/gnu/usr.bin/gdb/arch/i386/config.h#4 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.in.  Generated automatically from configure.in by autoheader.  */
@@ -502,7 +502,7 @@
 #define HAVE_FPREGSET_T 1
 
 /* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
 
 /* Define if <sys/procfs.h> has prfpregset_t. */
 #define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
 #define HAVE_LWPID_T 1
 
 /* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
 
 /* Define if <sys/procfs.h> has prsysent_t. */
 /* #undef HAVE_PRSYSENT_T */

==== //depot/projects/gdb/gnu/usr.bin/gdb/arch/ia64/config.h#4 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/config.h,v 1.1 2004/06/25 06:48:53 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.in.  Generated automatically from configure.in by autoheader.  */
@@ -502,7 +502,7 @@
 #define HAVE_FPREGSET_T 1
 
 /* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
 
 /* Define if <sys/procfs.h> has prfpregset_t. */
 #define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
 #define HAVE_LWPID_T 1
 
 /* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
 
 /* Define if <sys/procfs.h> has prsysent_t. */
 /* #undef HAVE_PRSYSENT_T */

==== //depot/projects/gdb/gnu/usr.bin/gdb/arch/sparc64/config.h#4 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/config.h,v 1.1 2004/06/25 06:48:54 marcel Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/config.h,v 1.2 2004/07/16 05:03:42 marcel Exp $ */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.in.  Generated automatically from configure.in by autoheader.  */
@@ -502,7 +502,7 @@
 #define HAVE_FPREGSET_T 1
 
 /* Define if <sys/procfs.h> has prgregset_t. */
-/* #undef HAVE_PRGREGSET_T */
+#define HAVE_PRGREGSET_T 1
 
 /* Define if <sys/procfs.h> has prfpregset_t. */
 #define HAVE_PRFPREGSET_T 1
@@ -517,7 +517,7 @@
 #define HAVE_LWPID_T 1
 
 /* Define if <sys/procfs.h> has psaddr_t. */
-/* #undef HAVE_PSADDR_T */
+#define HAVE_PSADDR_T 1
 
 /* Define if <sys/procfs.h> has prsysent_t. */
 /* #undef HAVE_PRSYSENT_T */

==== //depot/projects/gdb/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#2 (text+ko) ====

@@ -1,4 +1,4 @@
-/* $FreeBSD: src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c,v 1.1 2004/07/15 04:51:04 davidxu Exp $ */
+/* $FreeBSD: src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c,v 1.2 2004/07/16 06:11:48 davidxu Exp $ */
 /* FreeBSD libthread_db assisted debugging support.
    Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
 
@@ -1078,13 +1078,17 @@
 ps_err_e
 ps_lstop(struct ps_prochandle *ph, lwpid_t lwpid)
 {
-  return (ptrace (lwpid, PT_SUSPEND, 0, 0) == 0);
+  if (ptrace (PT_SUSPEND, lwpid, 0, 0) == -1)
+    return PS_ERR;
+  return PS_OK;  
 }
 
 ps_err_e
 ps_lcontinue(struct ps_prochandle *ph, lwpid_t lwpid)
 {
-  return (ptrace (lwpid, PT_RESUME, 0, 0) == 0);
+  if (ptrace (PT_RESUME, lwpid, 0, 0) == -1)
+    return PS_ERR;
+  return PS_OK;   
 }
 
 pid_t

==== //depot/projects/gdb/include/wchar.h#4 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: src/include/wchar.h,v 1.41 2004/06/07 10:31:10 tjr Exp $
+ * $FreeBSD: src/include/wchar.h,v 1.42 2004/07/16 06:06:09 tjr Exp $
  */
 
 /*-
@@ -208,6 +208,7 @@
 #endif
 
 #if __BSD_VISIBLE
+wchar_t	*fgetwln(struct __sFILE * __restrict, size_t * __restrict);
 size_t	wcslcat(wchar_t *, const wchar_t *, size_t);
 size_t	wcslcpy(wchar_t *, const wchar_t *, size_t);
 #endif

==== //depot/projects/gdb/lib/libc/stdio/Makefile.inc#2 (text+ko) ====

@@ -1,11 +1,12 @@
 #	@(#)Makefile.inc	8.3 (Berkeley) 4/17/94
-# $FreeBSD: src/lib/libc/stdio/Makefile.inc,v 1.32 2003/01/10 06:22:28 tjr Exp $
+# $FreeBSD: src/lib/libc/stdio/Makefile.inc,v 1.33 2004/07/16 06:06:09 tjr Exp $
 
 # stdio sources
 .PATH: ${.CURDIR}/stdio
 
 SRCS+=	_flock_stub.c asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c \
-	fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c fgetws.c \
+	fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c fgetwln.c \
+	fgetws.c \
 	fileno.c findfp.c flags.c fopen.c fprintf.c fpurge.c fputc.c fputs.c \
 	fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
 	ftell.c funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwscanf.c \
@@ -22,7 +23,8 @@
 	vswprintf.c vswscanf.c vwprintf.c vwscanf.c wbuf.c wprintf.c wscanf.c \
 	wsetup.c
 
-MAN+=	fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetws.3 flockfile.3 \
+MAN+=	fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
+	flockfile.3 \
 	fopen.3 fputs.3 \
 	fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 getwc.3 mktemp.3 \
 	printf.3 putc.3 putwc.3 remove.3 scanf.3 setbuf.3 stdio.3 tmpnam.3 \

==== //depot/projects/gdb/lib/libc/stdio/fgetln.3#2 (text+ko) ====

@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)fgetln.3	8.3 (Berkeley) 4/19/94
-.\" $FreeBSD: src/lib/libc/stdio/fgetln.3,v 1.7 2001/10/01 16:08:59 ru Exp $
+.\" $FreeBSD: src/lib/libc/stdio/fgetln.3,v 1.8 2004/07/16 06:07:12 tjr Exp $
 .\"
 .Dd April 19, 1994
 .Dt FGETLN 3
@@ -118,6 +118,7 @@
 .Sh SEE ALSO
 .Xr ferror 3 ,
 .Xr fgets 3 ,
+.Xr fgetwln 3 ,
 .Xr fopen 3 ,
 .Xr putc 3
 .Sh HISTORY

==== //depot/projects/gdb/lib/libc/stdio/fgetln.c#3 (text+ko) ====

@@ -38,7 +38,7 @@
 static char sccsid[] = "@(#)fgetln.c	8.2 (Berkeley) 1/2/94";
 #endif /* LIBC_SCCS and not lint */
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/stdio/fgetln.c,v 1.9 2004/03/10 09:28:38 tjr Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/stdio/fgetln.c,v 1.10 2004/07/16 05:52:51 tjr Exp $");
 
 #include "namespace.h"
 #include <stdio.h>
@@ -55,8 +55,8 @@
  * so we add 1 here.
 #endif
  */
-static int
-slbexpand(FILE *fp, size_t newsize)
+int
+__slbexpand(FILE *fp, size_t newsize)
 {
 	void *p;
 
@@ -132,7 +132,7 @@
 		 * file buffer to line buffer, refill file and look for
 		 * newline.  The loop stops only when we find a newline.
 		 */
-		if (slbexpand(fp, len + OPTIMISTIC))
+		if (__slbexpand(fp, len + OPTIMISTIC))
 			goto error;
 		(void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
 		    len - off);
@@ -146,7 +146,7 @@
 		p++;
 		diff = p - fp->_p;
 		len += diff;
-		if (slbexpand(fp, len))
+		if (__slbexpand(fp, len))
 			goto error;
 		(void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
 		    diff);

==== //depot/projects/gdb/lib/libc/stdio/local.h#5 (text+ko) ====

@@ -34,7 +34,7 @@
  * SUCH DAMAGE.
  *
  *	@(#)local.h	8.3 (Berkeley) 7/3/94
- * $FreeBSD: src/lib/libc/stdio/local.h,v 1.25 2004/06/08 05:45:32 das Exp $
+ * $FreeBSD: src/lib/libc/stdio/local.h,v 1.26 2004/07/16 05:52:51 tjr Exp $
  */
 
 #include <sys/types.h>	/* for off_t */
@@ -57,6 +57,7 @@
 extern wint_t	__fputwc(wchar_t, FILE *);
 extern int	__sflush(FILE *);
 extern FILE	*__sfp(void);
+extern int	__slbexpand(FILE *, size_t);
 extern int	__srefill(FILE *);
 extern int	__sread(void *, char *, int);
 extern int	__swrite(void *, char const *, int);

==== //depot/projects/gdb/lib/libc/sys/recv.2#2 (text+ko) ====

@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)recv.2	8.3 (Berkeley) 2/21/94
-.\" $FreeBSD: src/lib/libc/sys/recv.2,v 1.20 2003/12/24 18:52:41 alfred Exp $
+.\" $FreeBSD: src/lib/libc/sys/recv.2,v 1.21 2004/07/16 17:15:37 harti Exp $
 .\"
 .Dd February 21, 1994
 .Dt RECV 2
@@ -124,10 +124,11 @@
 function is formed by
 .Em or Ap ing
 one or more of the values:
-.Bl -column MSG_WAITALL -offset indent
+.Bl -column MSG_DONTWAIT -offset indent
 .It Dv MSG_OOB Ta process out-of-band data
 .It Dv MSG_PEEK Ta peek at incoming message
 .It Dv MSG_WAITALL Ta wait for full request or error
+.It Dv MSG_DONTWAIT Ta don't block
 .El
 .Pp
 The
@@ -145,6 +146,12 @@
 However, the call may still return less data than requested
 if a signal is caught, an error or disconnect occurs,
 or the next data to be received is of a different type than that returned.
+The MSG_DONTWAIT flag requests the call to return when it would block otherwise.
+If no data is available
+.Va errno
+is set to
+.Er EAGAIN .
+This flag is not available in strict ANSI or C99 compilation mode.
 .Pp
 The
 .Fn recvmsg

==== //depot/projects/gdb/lib/msun/src/math.h#11 (text+ko) ====

@@ -11,7 +11,7 @@
 
 /*
  * from: @(#)fdlibm.h 5.1 93/09/24
- * $FreeBSD: src/lib/msun/src/math.h,v 1.40 2004/07/09 03:32:39 das Exp $
+ * $FreeBSD: src/lib/msun/src/math.h,v 1.41 2004/07/16 06:21:56 das Exp $
  */
 
 #ifndef _MATH_H_
@@ -34,11 +34,11 @@
 	float		__uf;
 } __nan;
 
-#if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__INTEL_COMPILER)
+#if (defined(__GNUC__) && ((__GNUC__ >= 3 && __GNUC_MINOR__ >= 3) || __GNUC__ >= 4)) || defined(__INTEL_COMPILER)
 #define	__MATH_BUILTIN_CONSTANTS
 #endif
 
-#if (defined(__GNUC__) && __GNUC__ >= 3)
+#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER))
 #define	__MATH_BUILTIN_RELOPS
 #endif
 

==== //depot/projects/gdb/share/examples/kld/cdev/module/cdev.c#3 (text+ko) ====

@@ -65,7 +65,7 @@
  * SUCH DAMAGE.
  *
  *
- * $FreeBSD: src/share/examples/kld/cdev/module/cdev.c,v 1.7 2004/06/09 17:10:41 maxim Exp $
+ * $FreeBSD: src/share/examples/kld/cdev/module/cdev.c,v 1.8 2004/07/16 06:55:34 tjr Exp $
  */
 #include <sys/param.h>
 #include <sys/uio.h>
@@ -95,10 +95,10 @@
 
 /* Stores string recv'd by _write() */
 static char buf[512+1];
-static int len;
+static size_t len;
 
 int
-mydev_open(dev_t dev, int flag, int otyp, struct thread *td)
+mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td)
 {
     struct proc *procp = td->td_proc;
 
@@ -110,7 +110,7 @@
 }
 
 int
-mydev_close(dev_t dev, int flag, int otyp, struct thread *td)
+mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td)
 {
     struct proc *procp = td->td_proc;
 
@@ -120,7 +120,8 @@
 }
 
 int
-mydev_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct thread *td)
+mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode,
+    struct thread *td)
 {
     int error = 0;
     struct proc *procp = td->td_proc;
@@ -145,7 +146,7 @@
  * to buf for later accessing.
  */
 int
-mydev_write(dev_t dev, struct uio *uio, int ioflag)
+mydev_write(struct cdev *dev, struct uio *uio, int ioflag)
 {
     int err = 0;
 
@@ -165,7 +166,7 @@
  * accessing.
  */
 int
-mydev_read(dev_t dev, struct uio *uio, int ioflag)
+mydev_read(struct cdev *dev, struct uio *uio, int ioflag)
 {
     int err = 0;
 

==== //depot/projects/gdb/share/examples/kld/cdev/module/cdevmod.c#2 (text+ko) ====

@@ -65,7 +65,7 @@
  * SUCH DAMAGE.
  *
  *
- * $FreeBSD: src/share/examples/kld/cdev/module/cdevmod.c,v 1.5 2003/08/03 10:39:28 mbr Exp $
+ * $FreeBSD: src/share/examples/kld/cdev/module/cdevmod.c,v 1.6 2004/07/16 06:55:34 tjr Exp $
  */
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -82,6 +82,7 @@
 #endif
 
 static struct cdevsw my_devsw = {
+	/* version */	.d_version = D_VERSION,
 	/* open */	.d_open = mydev_open,
 	/* close */	.d_close = mydev_close,
 	/* read */	.d_read = mydev_read,
@@ -96,7 +97,7 @@
  * in devfs... we must keep this variable sane until we 
  * call kldunload.
  */
-static dev_t sdev;
+static struct cdev *sdev;
 
 /*
  * This function is called each time the module is loaded or unloaded.

==== //depot/projects/gdb/share/man/man4/mac_biba.4#3 (text+ko) ====

@@ -1,4 +1,4 @@
-.\" Copyright (c) 2002 Networks Associates Technology, Inc.
+.\" Copyright (c) 2002-2004 Networks Associates Technology, Inc.
 .\" All rights reserved.
 .\"
 .\" This software was developed for the FreeBSD Project by Chris Costello
@@ -28,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man4/mac_biba.4,v 1.16 2004/07/03 18:29:20 ru Exp $
+.\" $FreeBSD: src/share/man/man4/mac_biba.4,v 1.17 2004/07/16 02:04:41 rwatson Exp $
 .\"
 .Dd November 18, 2002
 .Os
@@ -141,7 +141,7 @@
 Multi-Level Security (MLS) protects the confidentiality, rather than the
 integrity, of subjects and objects.
 .Ss Label Format
-Almost all system objects are tagged with a single, active label element,
+Almost all system objects are tagged with a effective, active label element,
 reflecting the integrity of the object, or integrity of the data contained
 in the object.
 In general, objects labels are represented in the following form:
@@ -157,7 +157,7 @@
 biba/low
 .Ed
 .Pp
-Subject labels consist of three label elements: a single (active) label,
+Subject labels consist of three label elements: a effective (active) label,
 as well as a range of available labels.
 This range is represented using two ordered Biba label elements, and when set
 on a process, permits the process to change its active label to any label of
@@ -166,7 +166,7 @@
 In general, subject labels are represented in the following form:
 .Pp
 .Sm off
-.D1 Li biba / Ar singlegrade : singlecompartments ( lograde : locompartments -
+.D1 Li biba / Ar effectivegrade : effectivecompartments ( lograde : locompartments -
 .D1 Ar higrade : hicompartments )
 .Sm on
 .Pp
@@ -179,10 +179,10 @@
 Valid ranged labels must meet the following requirement regarding their
 elements:
 .Pp
-.D1 Ar rangehigh No \[>=] Ar single No \[>=] Ar rangelow
+.D1 Ar rangehigh No \[>=] Ar effective No \[>=] Ar rangelow
 .Pp
 One class of objects with ranges currently exists, the network interface.
-In the case of the network interface, the single label element references the
+In the case of the network interface, the effective label element references the
 default label for packets received over the interface, and the range
 represents the range of acceptable labels of packets to be transmitted over
 the interface.

==== //depot/projects/gdb/share/man/man4/mac_mls.4#3 (text+ko) ====

@@ -1,4 +1,4 @@
-.\" Copyright (c) 2002 Networks Associates Technology, Inc.
+.\" Copyright (c) 2002-2004 Networks Associates Technology, Inc.
 .\" All rights reserved.
 .\"
 .\" This software was developed for the FreeBSD Project by Chris Costello
@@ -28,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man4/mac_mls.4,v 1.17 2004/07/03 18:29:20 ru Exp $
+.\" $FreeBSD: src/share/man/man4/mac_mls.4,v 1.18 2004/07/16 02:04:41 rwatson Exp $
 .\"
 .Dd December 1, 2002
 .Os
@@ -134,7 +134,7 @@
 .Xr ( mac_biba 4 )
 in order to protect the Trusted Code Base (TCB).
 .Ss Label Format
-Almost all system objects are tagged with a single, active label element,
+Almost all system objects are tagged with a effective, active label element,
 reflecting the classification of the object, or classification of the data
 contained in the object.
 In general, object labels are represented in the following form:
@@ -149,7 +149,7 @@
 mls/low
 .Ed
 .Pp
-Subject labels consist of three label elements: a single (active) label,
+Subject labels consist of three label elements: a effective (active) label,
 as well as a range of available labels.
 This range is represented using two ordered MLS label elements, and when set
 on a process, permits the process to change its active label to any label of
@@ -158,7 +158,7 @@
 In general, subject labels are represented in the following form:
 .Pp
 .Sm off
-.D1 Li mls / Ar singlegrade : singlecompartments ( lograde : locompartments No -
+.D1 Li mls / Ar effectivegrade : effectivecompartments ( lograde : locompartments No -
 .D1 Ar higrade : hicompartments )
 .Sm on
 .Pp
@@ -171,10 +171,10 @@
 Valid ranged labels must meet the following requirement regarding their
 elements:
 .Pp
-.D1 Ar rangehigh No \[>=] Ar single No \[>=] Ar rangelow
+.D1 Ar rangehigh No \[>=] Ar effective No \[>=] Ar rangelow
 .Pp
 One class of objects with ranges currently exists, the network interface.
-In the case of the network interface, the single label element references
+In the case of the network interface, the effective label element references
 the default label for packets received over the interface, and the range
 represents the range of acceptable labels of packets to be transmitted over
 the interface.

==== //depot/projects/gdb/sys/alpha/alpha/pmap.c#14 (text+ko) ====

@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/alpha/alpha/pmap.c,v 1.158 2004/07/15 18:00:41 alc Exp $");
+__FBSDID("$FreeBSD: src/sys/alpha/alpha/pmap.c,v 1.159 2004/07/16 21:38:48 alc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -551,8 +551,6 @@
 
 	cputype = hwrpb->rpb_type;
 	return (cputype == ST_DEC_21000 || ST_DEC_4100);
-
-	return 0;
 }
 
 /*
@@ -1441,9 +1439,7 @@
 {
 	pv_entry_t pv;
 	int rtval;
-	int s;
 
-	s = splvm();
 	if (m->md.pv_list_count < pmap->pm_stats.resident_count) {
 		TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
 			if (pmap == pv->pv_pmap && va == pv->pv_va) 
@@ -1468,7 +1464,6 @@
 		free_pv_entry(pv);
 	}
 			
-	splx(s);
 	return rtval;
 }
 
@@ -1479,11 +1474,8 @@
 static void
 pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t mpte, vm_page_t m)
 {
-
-	int s;
 	pv_entry_t pv;
 
-	s = splvm();
 	pv = get_pv_entry();
 	pv->pv_va = va;
 	pv->pv_pmap = pmap;
@@ -1494,7 +1486,6 @@
 	TAILQ_INSERT_TAIL(&m->md.pv_list, pv, pv_list);
 	m->md.pv_list_count++;
 	vm_page_unlock_queues();
-	splx(s);
 }
 
 /*
@@ -1524,8 +1515,6 @@
 	} else {
 		return pmap_unuse_pt(pmap, va, NULL);
 	}
-
-	return 0;
 }
 
 /*
@@ -1550,8 +1539,6 @@
 	 */
 	(void) pmap_remove_pte(pmap, ptq, va);
 	pmap_invalidate_page(pmap, va);
-
-	return;
 }
 
 /*
@@ -1624,7 +1611,6 @@
 {
 	register pv_entry_t pv;
 	pt_entry_t *pte, tpte;
-	int s;
 
 #if defined(PMAP_DIAGNOSTIC)
 	/*
@@ -1636,7 +1622,6 @@
 	}
 #endif
 
-	s = splvm();
 	while ((pv = TAILQ_FIRST(&m->md.pv_list)) != NULL) {
 		PMAP_LOCK(pv->pv_pmap);
 		pte = pmap_lev3pte(pv->pv_pmap, pv->pv_va);
@@ -1673,8 +1658,6 @@
 	}
 
 	vm_page_flag_clear(m, PG_WRITEABLE);
-
-	splx(s);
 }
 
 /*
@@ -2164,26 +2147,21 @@
 {
 	pv_entry_t pv;
 	int loops = 0;
-	int s;
 
 	if (!pmap_initialized || (m->flags & PG_FICTITIOUS))
 		return FALSE;
 
-	s = splvm();
-
 	/*
 	 * Not found, check current mappings returning immediately if found.
 	 */
 	TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
 		if (pv->pv_pmap == pmap) {
-			splx(s);
 			return TRUE;
 		}
 		loops++;
 		if (loops >= 16)
 			break;
 	}
-	splx(s);
 	return (FALSE);
 }
 
@@ -2276,14 +2254,12 @@
 	pv_entry_t pv;
 	pt_entry_t *pte;
 	int changed;
-	int s;
 
 	if (!pmap_initialized || (m->flags & PG_FICTITIOUS) ||
 	    (!setem && bit == (PG_UWE|PG_KWE) &&
 	     (m->flags & PG_WRITEABLE) == 0))
 		return;
 
-	s = splvm();
 	changed = 0;
 
 	/*
@@ -2326,7 +2302,6 @@
 	}
 	if (!setem && bit == (PG_UWE|PG_KWE))
 		vm_page_flag_clear(m, PG_WRITEABLE);
-	splx(s);
 }
 
 /*

==== //depot/projects/gdb/sys/amd64/conf/GENERIC#10 (text+ko) ====

@@ -16,7 +16,7 @@
 # If you are in doubt as to the purpose or necessity of a line, check first
 # in NOTES.
 #
-# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.412 2004/07/11 03:09:53 marcel Exp $
+# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.413 2004/07/16 21:48:30 ps Exp $
 
 machine		amd64
 cpu		HAMMER
@@ -80,10 +80,6 @@
 device		isa
 device		pci
 
-
-# Sound (no modules)
-device		pcm
-
 # Floppy drives
 device		fdc
 

==== //depot/projects/gdb/sys/boot/forth/loader.conf#10 (text+ko) ====

@@ -6,7 +6,7 @@
 #
 # All arguments must be in double quotes.
 #
-# $FreeBSD: src/sys/boot/forth/loader.conf,v 1.82 2004/07/08 22:35:34 brian Exp $
+# $FreeBSD: src/sys/boot/forth/loader.conf,v 1.83 2004/07/16 07:24:20 tanimura Exp $
 
 ##############################################################
 ###  Basic configuration options  ############################
@@ -255,7 +255,7 @@
 ###  Sound modules  ##########################################
 ##############################################################
 
-snd_pcm_load="NO"		# Digital sound subsystem
+sound_load="NO"			# Digital sound subsystem
 snd_ad1816_load="NO"		# ad1816
 snd_cmi_load="NO"		# cmi
 snd_csa_load="NO"		# csa

==== //depot/projects/gdb/sys/compat/ia32/ia32_sysvec.c#4 (text+ko) ====

@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/compat/ia32/ia32_sysvec.c,v 1.17 2004/03/21 01:22:24 peter Exp $");

>>> TRUNCATED FOR MAIL (1000 lines) <<<


More information about the p4-projects mailing list