From owner-p4-projects Fri Mar 14 17:39:33 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B0EF237B404; Fri, 14 Mar 2003 17:39:06 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 454B837B401 for ; Fri, 14 Mar 2003 17:39:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0EBC43FAF for ; Fri, 14 Mar 2003 17:39:04 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2F1d40U075565 for ; Fri, 14 Mar 2003 17:39:04 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2F1d2G9075541 for perforce@freebsd.org; Fri, 14 Mar 2003 17:39:02 -0800 (PST) Date: Fri, 14 Mar 2003 17:39:02 -0800 (PST) Message-Id: <200303150139.h2F1d2G9075541@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 26907 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=26907 Change 26907 by peter@peter_overcee on 2003/03/14 17:38:08 IFC @26905 Affected files ... .. //depot/projects/ia64/Makefile.inc1#51 integrate .. //depot/projects/ia64/contrib/gdtoa/README#1 branch .. //depot/projects/ia64/contrib/gdtoa/arithchk.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/dmisc.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/dtoa.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_Qfmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g__fmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_ddfmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_dfmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_ffmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_xLfmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/g_xfmt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/gdtoa.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/gdtoa.h#1 branch .. //depot/projects/ia64/contrib/gdtoa/gdtoaimp.h#1 branch .. //depot/projects/ia64/contrib/gdtoa/gethex.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/gmisc.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/hd_init.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/hexnan.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/makefile#1 branch .. //depot/projects/ia64/contrib/gdtoa/misc.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/smisc.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIQ.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoId.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIdd.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIf.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIg.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIx.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtoIxL.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtod.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtodI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtodg.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtof.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopQ.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopd.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopdd.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopf.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopx.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtopxL.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtorQ.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtord.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtordd.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtorf.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtorx.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/strtorxL.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/sum.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/Q.ou0#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/Q.ou1#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/Qtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/README#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/d.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dI.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dIsi.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dItest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dd.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/ddsi.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/ddtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/dtst.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/f.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/ftest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/getround.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/makefile#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/rtestnos#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtoIdSI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtoIddSI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtodISI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtodt.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtopddSI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/strtorddSI.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/testnos#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/testnos1#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/testnos3#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/x.ou0#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/x.ou1#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xL.ou0#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xL.ou1#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xLtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xQtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xsum0.out#1 branch .. //depot/projects/ia64/contrib/gdtoa/test/xtest.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/ulp.c#1 branch .. //depot/projects/ia64/contrib/gdtoa/xsum0.out#1 branch .. //depot/projects/ia64/etc/mtree/BSD.root.dist#7 integrate .. //depot/projects/ia64/etc/mtree/BSD.usr.dist#19 integrate .. //depot/projects/ia64/etc/pam.d/Makefile#7 integrate .. //depot/projects/ia64/etc/sysctl.conf#4 integrate .. //depot/projects/ia64/games/fortune/datfiles/fortunes2#16 integrate .. //depot/projects/ia64/include/stdlib.h#17 integrate .. //depot/projects/ia64/include/wchar.h#12 integrate .. //depot/projects/ia64/lib/libc/Makefile#7 integrate .. //depot/projects/ia64/lib/libc/alpha/arith.h#1 branch .. //depot/projects/ia64/lib/libc/alpha/stdlib/gdtoa.mk#1 branch .. //depot/projects/ia64/lib/libc/gdtoa/Makefile.inc#1 branch .. //depot/projects/ia64/lib/libc/gdtoa/glue.c#1 branch .. //depot/projects/ia64/lib/libc/gdtoa/machdep_ldisQ.c#1 branch .. //depot/projects/ia64/lib/libc/gdtoa/machdep_ldisd.c#1 branch .. //depot/projects/ia64/lib/libc/gdtoa/machdep_ldisx.c#1 branch .. //depot/projects/ia64/lib/libc/gen/wordexp.3#4 integrate .. //depot/projects/ia64/lib/libc/i386/arith.h#1 branch .. //depot/projects/ia64/lib/libc/i386/stdlib/gdtoa.mk#1 branch .. //depot/projects/ia64/lib/libc/i386/string/Makefile.inc#2 integrate .. //depot/projects/ia64/lib/libc/i386/string/wcscmp.S#1 branch .. //depot/projects/ia64/lib/libc/i386/string/wcslen.S#1 branch .. //depot/projects/ia64/lib/libc/i386/string/wmemchr.S#1 branch .. //depot/projects/ia64/lib/libc/ia64/arith.h#1 branch .. //depot/projects/ia64/lib/libc/ia64/stdlib/gdtoa.mk#1 branch .. //depot/projects/ia64/lib/libc/locale/Makefile.inc#12 integrate .. //depot/projects/ia64/lib/libc/locale/wcstod.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wcstof.c#1 branch .. //depot/projects/ia64/lib/libc/locale/wcstold.c#1 branch .. //depot/projects/ia64/lib/libc/powerpc/arith.h#1 branch .. //depot/projects/ia64/lib/libc/powerpc/stdlib/gdtoa.mk#1 branch .. //depot/projects/ia64/lib/libc/sparc64/arith.h#1 branch .. //depot/projects/ia64/lib/libc/sparc64/stdlib/gdtoa.mk#1 branch .. //depot/projects/ia64/lib/libc/stdio/vfprintf.c#14 integrate .. //depot/projects/ia64/lib/libc/stdio/vfwprintf.c#3 integrate .. //depot/projects/ia64/lib/libc/stdlib/Makefile.inc#11 integrate .. //depot/projects/ia64/lib/libc/stdlib/hcreate.3#2 integrate .. //depot/projects/ia64/lib/libc/stdlib/strtod.3#6 integrate .. //depot/projects/ia64/lib/libc/stdtime/strptime.c#6 integrate .. //depot/projects/ia64/lib/libc/string/wcstok.c#2 integrate .. //depot/projects/ia64/lib/libc/sys/sendfile.2#4 integrate .. //depot/projects/ia64/lib/libfetch/ftp.c#10 integrate .. //depot/projects/ia64/lib/libfetch/http.c#12 integrate .. //depot/projects/ia64/lib/libkvm/kvm_proc.c#14 integrate .. //depot/projects/ia64/lib/libpam/modules/pam_opieaccess/pam_opieaccess.8#6 integrate .. //depot/projects/ia64/lib/libpam/modules/pam_opieaccess/pam_opieaccess.c#7 integrate .. //depot/projects/ia64/lib/libpam/modules/pam_ssh/Makefile#7 integrate .. //depot/projects/ia64/lib/libpthread/thread/thr_rwlock.c#2 integrate .. //depot/projects/ia64/lib/libz/gzio.c#3 integrate .. //depot/projects/ia64/libexec/rtld-elf/alpha/reloc.c#5 integrate .. //depot/projects/ia64/libexec/rtld-elf/i386/reloc.c#4 integrate .. //depot/projects/ia64/libexec/rtld-elf/ia64/reloc.c#9 integrate .. //depot/projects/ia64/libexec/rtld-elf/map_object.c#4 integrate .. //depot/projects/ia64/libexec/rtld-elf/powerpc/reloc.c#2 integrate .. //depot/projects/ia64/libexec/rtld-elf/sparc64/reloc.c#6 integrate .. //depot/projects/ia64/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#74 integrate .. //depot/projects/ia64/release/picobsd/tinyware/simple_httpd/simple_httpd.c#3 integrate .. //depot/projects/ia64/sbin/disklabel/disklabel.8#13 integrate .. //depot/projects/ia64/sbin/ipfw/ipfw2.c#12 integrate .. //depot/projects/ia64/sbin/ping/ping.8#11 integrate .. //depot/projects/ia64/sbin/ping/ping.c#18 integrate .. //depot/projects/ia64/secure/lib/libcrypto/Makefile#17 integrate .. //depot/projects/ia64/share/man/man4/Makefile#37 integrate .. //depot/projects/ia64/share/man/man4/asr.4#1 branch .. //depot/projects/ia64/share/man/man4/rndtest.4#1 branch .. //depot/projects/ia64/share/man/man4/tcp.4#13 integrate .. //depot/projects/ia64/share/man/man7/tuning.7#19 integrate .. //depot/projects/ia64/share/mk/bsd.README#4 integrate .. //depot/projects/ia64/sys/alpha/alpha/busdma_machdep.c#10 integrate .. //depot/projects/ia64/sys/boot/forth/loader.conf#15 integrate .. //depot/projects/ia64/sys/cam/scsi/scsi_da.c#36 integrate .. //depot/projects/ia64/sys/compat/linprocfs/linprocfs.c#15 integrate .. //depot/projects/ia64/sys/compat/linux/linux_ioctl.c#21 integrate .. //depot/projects/ia64/sys/compat/linux/linux_mib.c#7 integrate .. //depot/projects/ia64/sys/compat/linux/linux_mib.h#5 integrate .. //depot/projects/ia64/sys/compat/linux/linux_misc.c#21 integrate .. //depot/projects/ia64/sys/conf/NOTES#44 integrate .. //depot/projects/ia64/sys/conf/files#68 integrate .. //depot/projects/ia64/sys/conf/options#48 integrate .. //depot/projects/ia64/sys/dev/aac/aac.c#22 integrate .. //depot/projects/ia64/sys/dev/ata/ata-all.c#31 integrate .. //depot/projects/ia64/sys/dev/ata/ata-chipset.c#5 integrate .. //depot/projects/ia64/sys/dev/ata/ata-raid.c#17 integrate .. //depot/projects/ia64/sys/dev/ata/atapi-all.c#15 integrate .. //depot/projects/ia64/sys/dev/ata/atapi-cd.c#22 integrate .. //depot/projects/ia64/sys/dev/drm/radeon_drv.c#3 integrate .. //depot/projects/ia64/sys/dev/en/midway.c#10 integrate .. //depot/projects/ia64/sys/dev/firewire/sbp.c#22 integrate .. //depot/projects/ia64/sys/dev/hifn/hifn7751.c#8 integrate .. //depot/projects/ia64/sys/dev/hifn/hifn7751var.h#2 integrate .. //depot/projects/ia64/sys/dev/puc/pucdata.c#10 integrate .. //depot/projects/ia64/sys/dev/rndtest/rndtest.c#1 branch .. //depot/projects/ia64/sys/dev/rndtest/rndtest.h#1 branch .. //depot/projects/ia64/sys/dev/sio/sio.c#38 integrate .. //depot/projects/ia64/sys/dev/sio/sio_isa.c#14 integrate .. //depot/projects/ia64/sys/dev/sound/pcm/ac97.c#14 integrate .. //depot/projects/ia64/sys/dev/ubsec/ubsec.c#13 integrate .. //depot/projects/ia64/sys/dev/ubsec/ubsecvar.h#5 integrate .. //depot/projects/ia64/sys/dev/usb/uhci.c#16 integrate .. //depot/projects/ia64/sys/dev/usb/umass.c#22 integrate .. //depot/projects/ia64/sys/dev/usb/usbdevs#28 integrate .. //depot/projects/ia64/sys/dev/usb/usbdevs.h#27 integrate .. //depot/projects/ia64/sys/dev/usb/usbdevs_data.h#27 integrate .. //depot/projects/ia64/sys/dev/wi/if_wi.c#33 integrate .. //depot/projects/ia64/sys/fs/devfs/devfs_vfsops.c#12 integrate .. //depot/projects/ia64/sys/fs/fdescfs/fdesc_vfsops.c#8 integrate .. //depot/projects/ia64/sys/fs/hpfs/hpfs_vfsops.c#14 integrate .. //depot/projects/ia64/sys/fs/ntfs/ntfs_vfsops.c#13 integrate .. //depot/projects/ia64/sys/fs/nwfs/nwfs_vfsops.c#8 integrate .. //depot/projects/ia64/sys/fs/portalfs/portal_vfsops.c#11 integrate .. //depot/projects/ia64/sys/fs/pseudofs/pseudofs.h#11 integrate .. //depot/projects/ia64/sys/fs/smbfs/smbfs_vfsops.c#14 integrate .. //depot/projects/ia64/sys/fs/specfs/spec_vnops.c#18 integrate .. //depot/projects/ia64/sys/fs/udf/udf_vfsops.c#9 integrate .. //depot/projects/ia64/sys/fs/umapfs/umap_vfsops.c#10 integrate .. //depot/projects/ia64/sys/fs/unionfs/union_vfsops.c#11 integrate .. //depot/projects/ia64/sys/geom/geom_bsd.c#25 integrate .. //depot/projects/ia64/sys/geom/geom_event.c#13 integrate .. //depot/projects/ia64/sys/gnu/ext2fs/fs.h#4 integrate .. //depot/projects/ia64/sys/i386/i386/busdma_machdep.c#11 integrate .. //depot/projects/ia64/sys/i386/i386/pmap.c#38 integrate .. //depot/projects/ia64/sys/i386/include/bus_at386.h#5 integrate .. //depot/projects/ia64/sys/ia64/ia64/busdma_machdep.c#9 integrate .. //depot/projects/ia64/sys/isofs/cd9660/cd9660_vfsops.c#17 integrate .. //depot/projects/ia64/sys/kern/kern_acct.c#17 integrate .. //depot/projects/ia64/sys/kern/kern_exec.c#46 integrate .. //depot/projects/ia64/sys/kern/kern_exit.c#36 integrate .. //depot/projects/ia64/sys/kern/kern_fork.c#31 integrate .. //depot/projects/ia64/sys/kern/kern_ktr.c#9 integrate .. //depot/projects/ia64/sys/kern/kern_ktrace.c#17 integrate .. //depot/projects/ia64/sys/kern/kern_lock.c#16 integrate .. //depot/projects/ia64/sys/kern/kern_malloc.c#18 integrate .. //depot/projects/ia64/sys/kern/kern_mutex.c#20 integrate .. //depot/projects/ia64/sys/kern/kern_physio.c#7 integrate .. //depot/projects/ia64/sys/kern/kern_proc.c#33 integrate .. //depot/projects/ia64/sys/kern/kern_resource.c#20 integrate .. //depot/projects/ia64/sys/kern/kern_sig.c#40 integrate .. //depot/projects/ia64/sys/kern/kern_sysctl.c#18 integrate .. //depot/projects/ia64/sys/kern/kern_thread.c#32 integrate .. //depot/projects/ia64/sys/kern/subr_bus.c#18 integrate .. //depot/projects/ia64/sys/kern/subr_eventhandler.c#5 integrate .. //depot/projects/ia64/sys/kern/subr_mbuf.c#21 integrate .. //depot/projects/ia64/sys/kern/subr_trap.c#25 integrate .. //depot/projects/ia64/sys/kern/subr_witness.c#31 integrate .. //depot/projects/ia64/sys/kern/uipc_mbuf.c#14 integrate .. //depot/projects/ia64/sys/kern/vfs_bio.c#43 integrate .. //depot/projects/ia64/sys/kern/vfs_cluster.c#17 integrate .. //depot/projects/ia64/sys/kern/vfs_default.c#19 integrate .. //depot/projects/ia64/sys/kern/vfs_subr.c#37 integrate .. //depot/projects/ia64/sys/modules/Makefile#42 integrate .. //depot/projects/ia64/sys/modules/hifn/Makefile#3 integrate .. //depot/projects/ia64/sys/modules/rndtest/Makefile#1 branch .. //depot/projects/ia64/sys/modules/ubsec/Makefile#3 integrate .. //depot/projects/ia64/sys/net/if_atm.h#3 integrate .. //depot/projects/ia64/sys/net/if_atmsubr.c#8 integrate .. //depot/projects/ia64/sys/net/if_vlan.c#13 integrate .. //depot/projects/ia64/sys/net/if_vlan_var.h#6 integrate .. //depot/projects/ia64/sys/netinet/ip_encap.c#8 integrate .. //depot/projects/ia64/sys/netinet/ip_fw.h#12 integrate .. //depot/projects/ia64/sys/netinet/ip_fw2.c#17 integrate .. //depot/projects/ia64/sys/netinet/tcp_input.c#37 integrate .. //depot/projects/ia64/sys/netinet6/ip6_input.c#16 integrate .. //depot/projects/ia64/sys/nfsclient/nfs_vnops.c#16 integrate .. //depot/projects/ia64/sys/nfsserver/nfs_serv.c#19 integrate .. //depot/projects/ia64/sys/pci/agp_sis.c#4 integrate .. //depot/projects/ia64/sys/powerpc/powerpc/busdma_machdep.c#7 integrate .. //depot/projects/ia64/sys/security/mac_portacl/mac_portacl.c#2 integrate .. //depot/projects/ia64/sys/sparc64/sparc64/bus_machdep.c#12 integrate .. //depot/projects/ia64/sys/sys/buf.h#20 integrate .. //depot/projects/ia64/sys/sys/eventhandler.h#8 integrate .. //depot/projects/ia64/sys/sys/ktr.h#7 integrate .. //depot/projects/ia64/sys/sys/ktrace.h#4 integrate .. //depot/projects/ia64/sys/sys/malloc.h#18 integrate .. //depot/projects/ia64/sys/sys/mbuf.h#17 integrate .. //depot/projects/ia64/sys/sys/mount.h#19 integrate .. //depot/projects/ia64/sys/sys/mutex.h#11 integrate .. //depot/projects/ia64/sys/sys/proc.h#51 integrate .. //depot/projects/ia64/sys/sys/stat.h#11 integrate .. //depot/projects/ia64/sys/ufs/ffs/ffs_vnops.c#21 integrate .. //depot/projects/ia64/sys/vm/vm_map.c#45 integrate .. //depot/projects/ia64/sys/vm/vm_map.h#21 integrate .. //depot/projects/ia64/sys/vm/vm_pageout.c#30 integrate .. //depot/projects/ia64/tools/tools/crypto/Makefile#3 integrate .. //depot/projects/ia64/tools/tools/crypto/ubsecstats.c#1 branch .. //depot/projects/ia64/tools/tools/tinderbox/tbmaster.pl#4 integrate .. //depot/projects/ia64/tools/tools/tinderbox/tinderbox.pl#6 integrate .. //depot/projects/ia64/usr.bin/calendar/calendars/calendar.birthday#6 integrate .. //depot/projects/ia64/usr.bin/calendar/calendars/calendar.freebsd#26 integrate .. //depot/projects/ia64/usr.bin/calendar/calendars/calendar.history#9 integrate .. //depot/projects/ia64/usr.bin/cksum/cksum.c#6 integrate .. //depot/projects/ia64/usr.bin/cksum/crc.c#5 integrate .. //depot/projects/ia64/usr.bin/cksum/crc32.c#5 integrate .. //depot/projects/ia64/usr.bin/cksum/extern.h#4 integrate .. //depot/projects/ia64/usr.bin/cksum/print.c#4 integrate .. //depot/projects/ia64/usr.bin/cksum/sum1.c#5 integrate .. //depot/projects/ia64/usr.bin/cksum/sum2.c#5 integrate .. //depot/projects/ia64/usr.bin/fetch/fetch.1#6 integrate .. //depot/projects/ia64/usr.bin/fetch/fetch.c#15 integrate .. //depot/projects/ia64/usr.bin/file/file.1#6 integrate .. //depot/projects/ia64/usr.bin/file/magic.5#3 integrate .. //depot/projects/ia64/usr.bin/kdump/kdump.c#4 integrate .. //depot/projects/ia64/usr.bin/su/su.c#10 integrate .. //depot/projects/ia64/usr.sbin/Makefile#33 integrate .. //depot/projects/ia64/usr.sbin/btxld/Makefile#2 integrate .. //depot/projects/ia64/usr.sbin/btxld/a.out.h#2 delete .. //depot/projects/ia64/usr.sbin/btxld/btxld.c#4 integrate .. //depot/projects/ia64/usr.sbin/btxld/elfh.c#2 integrate .. //depot/projects/ia64/usr.sbin/ckdist/ckdist.c#2 integrate .. //depot/projects/ia64/usr.sbin/crunch/crunchide/exec_elf32.c#7 integrate .. //depot/projects/ia64/usr.sbin/kgzip/elfhdr.c#2 integrate .. //depot/projects/ia64/usr.sbin/kgzip/endian.h#1 branch .. //depot/projects/ia64/usr.sbin/kgzip/i386_a.out.h#1 branch .. //depot/projects/ia64/usr.sbin/kgzip/kgzcmp.c#4 integrate .. //depot/projects/ia64/usr.sbin/mtree/compare.c#3 integrate .. //depot/projects/ia64/usr.sbin/mtree/create.c#5 integrate .. //depot/projects/ia64/usr.sbin/mtree/extern.h#3 integrate .. //depot/projects/ia64/usr.sbin/mtree/mtree.c#3 integrate .. //depot/projects/ia64/usr.sbin/mtree/verify.c#3 integrate .. //depot/projects/ia64/usr.sbin/ofwdump/ofw_util.c#2 integrate .. //depot/projects/ia64/usr.sbin/pccard/pccardd/readcis.c#4 integrate .. //depot/projects/ia64/usr.sbin/setfmac/Makefile#4 integrate .. //depot/projects/ia64/usr.sbin/setfmac/setfmac.8#9 integrate .. //depot/projects/ia64/usr.sbin/setfmac/setfsmac.8#1 branch .. //depot/projects/ia64/usr.sbin/sysinstall/menus.c#27 integrate Differences ... ==== //depot/projects/ia64/Makefile.inc1#51 (text+ko) ==== @@ -1,5 +1,5 @@ # -# $FreeBSD: src/Makefile.inc1,v 1.325 2003/03/08 10:01:26 markm Exp $ +# $FreeBSD: src/Makefile.inc1,v 1.326 2003/03/11 11:45:43 ru Exp $ # # Make command line options: # -DMAKE_KERBEROS5 to build Kerberos5 @@ -661,8 +661,9 @@ _elf2exe= usr.sbin/elf2exe .endif -.if ${TARGET_ARCH} == "i386" && ${MACHINE_ARCH} != "i386" +.if ${TARGET_ARCH} == "i386" _btxld= usr.sbin/btxld +_kgzip= usr.sbin/kgzip .endif .if ${TARGET_ARCH} == "sparc64" @@ -674,7 +675,7 @@ cross-tools: .for _tool in ${_btxld} ${_elf2aout} ${_elf2exe} \ gnu/usr.bin/binutils usr.sbin/crunch/crunchide \ - gnu/usr.bin/cc ${_xlint} + gnu/usr.bin/cc ${_xlint} ${_kgzip} ${ECHODIR} "===> ${_tool}"; \ cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ ==== //depot/projects/ia64/etc/mtree/BSD.root.dist#7 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/etc/mtree/BSD.root.dist,v 1.61 2003/03/08 09:50:10 markm Exp $ +# $FreeBSD: src/etc/mtree/BSD.root.dist,v 1.62 2003/03/11 11:14:34 ru Exp $ # # Please see the file src/etc/mtree/README before making changes to this file. # @@ -15,7 +15,7 @@ modules .. .. - dev mode=0555 + dev mode=0555 .. etc X11 ==== //depot/projects/ia64/etc/mtree/BSD.usr.dist#19 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/etc/mtree/BSD.usr.dist,v 1.272 2003/02/15 23:05:48 keramida Exp $ +# $FreeBSD: src/etc/mtree/BSD.usr.dist,v 1.273 2003/03/12 14:29:15 ru Exp $ # # Please see the file src/etc/mtree/README before making changes to this file. # @@ -140,8 +140,6 @@ .. 08.sendmailop .. - 10.named - .. 11.timedop .. 12.timed ==== //depot/projects/ia64/etc/pam.d/Makefile#7 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/etc/pam.d/Makefile,v 1.8 2003/02/10 00:47:46 des Exp $ +# $FreeBSD: src/etc/pam.d/Makefile,v 1.9 2003/03/14 09:01:22 ru Exp $ NOOBJ= noobj FILES= README ftpd gdm imap kde login other passwd pop3 \ @@ -6,8 +6,6 @@ FILESDIR= /etc/pam.d FILESMODE= 644 FILESMODE_README= 444 - -afterinstall: - ln -fs ftpd ${DESTDIR}${FILESDIR}/ftp +LINKS= ${FILESDIR}/ftpd ${FILESDIR}/ftp .include ==== //depot/projects/ia64/etc/sysctl.conf#4 (text+ko) ==== @@ -1,9 +1,9 @@ -# $FreeBSD: src/etc/sysctl.conf,v 1.7 2002/09/25 22:17:18 jmallett Exp $ +# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # -# Uncomment this to allow users to only see information about processes that -# are being run under an equivalent UID. +# Uncomment this to prevent users from seeing information about processes that +# are being run under another UID. #security.bsd.see_other_uids=0 ==== //depot/projects/ia64/games/fortune/datfiles/fortunes2#16 (text+ko) ==== @@ -1,5 +1,5 @@ This fortune brought to you by: -$FreeBSD: src/games/fortune/datfiles/fortunes2,v 1.55 2003/02/26 04:41:58 wollman Exp $ +$FreeBSD: src/games/fortune/datfiles/fortunes2,v 1.57 2003/03/10 19:58:37 fanf Exp $ % ======================================================================= || || @@ -36596,6 +36596,9 @@ Q: But how did he get back down? A: He crawled out on a leaf and waited for autumn. % +Q: How did the regular expression cross the road? +A: ^.*$ +% Q: How do you catch a unique rabbit? A: Unique up on it! @@ -36847,6 +36850,9 @@ whole net right away! -- Emily Postnews Answers Your Questions on Netiquette % +Q: What did one regular expression say to the other? +A: .+ +% Q: What did Tarzan say when he saw the elephants coming over the hill? A: "The elephants are coming over the hill." @@ -36854,6 +36860,9 @@ sunglasses? A: Nothing, for he didn't recognize them. % +Q: What did the regular expression match? +A: Identified the patterns "matc" and "match" +% Q: What do a blonde and your computer have in common? A: You don't know how much either of them mean to you until they go down on you. @@ -37030,6 +37039,9 @@ plays like a monkey? A: Nothing. % +Q: What regular expression do you often see around christmas? +A: [^L] +% Q: What's black and white and red all over? A: Two nuns in a chainsaw fight. % ==== //depot/projects/ia64/include/stdlib.h#17 (text+ko) ==== @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)stdlib.h 8.5 (Berkeley) 5/19/95 - * $FreeBSD: src/include/stdlib.h,v 1.47 2003/01/02 20:44:41 jmallett Exp $ + * $FreeBSD: src/include/stdlib.h,v 1.48 2003/03/12 20:29:58 das Exp $ */ #ifndef _STDLIB_H_ @@ -107,10 +107,10 @@ void *realloc(void *, size_t); void srand(unsigned); double strtod(const char * __restrict, char ** __restrict); -/* float strtof(const char * __restrict, char ** __restrict); */ +float strtof(const char * __restrict, char ** __restrict); long strtol(const char * __restrict, char ** __restrict, int); -/* long double - strtold(const char * __restrict, char ** __restrict); */ +long double + strtold(const char * __restrict, char ** __restrict); unsigned long strtoul(const char * __restrict, char ** __restrict, int); int system(const char *); ==== //depot/projects/ia64/include/wchar.h#12 (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.33 2002/10/27 11:30:36 tjr Exp $ + * $FreeBSD: src/include/wchar.h,v 1.34 2003/03/13 06:29:53 tjr Exp $ */ /*- @@ -174,6 +174,9 @@ int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict, __va_list); int vwscanf(const wchar_t * __restrict, __va_list); +float wcstof(const wchar_t * __restrict, wchar_t ** __restrict); +long double + wcstold(const wchar_t * __restrict, wchar_t ** __restrict); #ifdef __LONG_LONG_SUPPORTED /* LONGLONG */ long long ==== //depot/projects/ia64/lib/libc/Makefile#7 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.2 (Berkeley) 2/3/94 -# $FreeBSD: src/lib/libc/Makefile,v 1.38 2003/02/08 20:37:47 mike Exp $ +# $FreeBSD: src/lib/libc/Makefile,v 1.40 2003/03/13 18:55:14 obrien Exp $ # # All library objects contain FreeBSD revision strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -33,6 +33,7 @@ .include "${.CURDIR}/db/Makefile.inc" .include "${.CURDIR}/compat-43/Makefile.inc" +.include "${.CURDIR}/gdtoa/Makefile.inc" .include "${.CURDIR}/gen/Makefile.inc" .if ${MACHINE_ARCH} != "powerpc" .include "${.CURDIR}/gmon/Makefile.inc" ==== //depot/projects/ia64/lib/libc/gen/wordexp.3#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/lib/libc/gen/wordexp.3,v 1.3 2003/01/03 12:04:36 tjr Exp $ +.\" $FreeBSD: src/lib/libc/gen/wordexp.3,v 1.4 2003/03/13 11:18:53 tjr Exp $ .\" .Dd December 27, 2002 .Dt WORDEXP 3 @@ -41,6 +41,7 @@ .Fa "wordexp_t * restrict we" .Fa "int flags" .Fc +.Ft void .Fo wordfree .Fa "wordexp_t *we" .Fc @@ -100,9 +101,9 @@ as: .Bd -literal -offset indent typedef struct { - size_t we_wordc; /* count of words matched */ - char **we_wordv; /* pointer to list of words */ - size_t we_offs; /* slots to reserve in we_wordv */ + size_t we_wordc; /* count of words matched */ + char **we_wordv; /* pointer to list of words */ + size_t we_offs; /* slots to reserve in we_wordv */ } wordexp_t; .Ed .Pp ==== //depot/projects/ia64/lib/libc/i386/string/Makefile.inc#2 (text+ko) ==== @@ -1,6 +1,6 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $FreeBSD: src/lib/libc/i386/string/Makefile.inc,v 1.9 1999/08/27 23:59:29 peter Exp $ +# $FreeBSD: src/lib/libc/i386/string/Makefile.inc,v 1.12 2003/03/14 11:01:12 tjr Exp $ MDSRCS+=bcmp.S bcopy.S bzero.S ffs.S index.S memchr.S memcmp.S memcpy.S \ memmove.S memset.S rindex.S strcat.S strchr.S strcmp.S strcpy.S \ - strlen.S strncmp.S strrchr.S swab.S + strlen.S strncmp.S strrchr.S swab.S wcscmp.S wcslen.S wmemchr.S ==== //depot/projects/ia64/lib/libc/locale/Makefile.inc#12 (text+ko) ==== @@ -1,5 +1,5 @@ # from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $FreeBSD: src/lib/libc/locale/Makefile.inc,v 1.42 2002/11/18 09:50:55 ru Exp $ +# $FreeBSD: src/lib/libc/locale/Makefile.inc,v 1.43 2003/03/13 06:29:53 tjr Exp $ # locale sources .PATH: ${.CURDIR}/${MACHINE_ARCH}/locale ${.CURDIR}/locale @@ -12,8 +12,8 @@ mskanji.c nl_langinfo.c nomacros.c none.c rune.c \ runetype.c setinvalidrune.c setlocale.c setrunelocale.c table.c \ tolower.c toupper.c utf2.c utf8.c wcrtomb.c wcsrtombs.c wcsftime.c \ - wcstod.c \ - wcstoimax.c wcstol.c wcstoll.c \ + wcstof.c wcstod.c \ + wcstoimax.c wcstol.c wcstold.c wcstoll.c \ wcstombs.c \ wcstoul.c wcstoull.c wcstoumax.c wctob.c wctomb.c wctrans.c wctype.c \ wcwidth.c @@ -50,6 +50,7 @@ rune.3 setinvalidrune.3 rune.3 setrunelocale.3 rune.3 sgetrune.3 \ rune.3 sputrune.3 MLINKS+=setlocale.3 localeconv.3 +MLINKS+=wcstod.3 wcstof.3 wcstod.3 wcstold.3 MLINKS+=wcstol.3 wcstoul.3 wcstol.3 wcstoll.3 wcstol.3 wcstoull.3 \ wcstol.3 wcstoimax.3 wcstol.3 wcstoumax.3 MLINKS+=wctrans.3 towctrans.3 ==== //depot/projects/ia64/lib/libc/locale/wcstod.3#3 (text+ko) ==== @@ -1,4 +1,4 @@ -.\" Copyright (c) 2002 Tim J. Robbins +.\" Copyright (c) 2002, 2003 Tim J. Robbins .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -22,33 +22,49 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.2 2002/11/29 16:36:53 ru Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.3 2003/03/13 06:29:53 tjr Exp $ .\" -.Dd September 12, 2002 +.Dd February 22, 2003 .Dt WCSTOD 3 .Os .Sh NAME -.Nm wcstod -.Nd "convert string to double" +.Nm wcstof , +.Nm wcstod , +.Nm wcstold +.Nd "convert string to float, double or long double" .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In wchar.h +.Ft float +.Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" +.Ft long double +.Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" .Ft double .Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" .Sh DESCRIPTION The +.Fn wcstof , .Fn wcstod -function is the wide-character version of the +and +.Fn wcstold +functions are the wide-character versions of the +.Fn strtof , .Fn strtod -function. +and +.Fn strtold +functios. Refer to .Xr strtod 3 for details. .Sh SEE ALSO -.Xr strtod 3 +.Xr strtod 3 , +.Xr wcstol 3 , .Sh STANDARDS The +.Fn wcstof , .Fn wcstod -function conforms to +and +.Fn wcstold +functions conform to .St -isoC-99 . ==== //depot/projects/ia64/lib/libc/stdio/vfprintf.c#14 (text+ko) ==== @@ -38,7 +38,7 @@ static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include -__FBSDID("$FreeBSD: src/lib/libc/stdio/vfprintf.c,v 1.50 2002/10/16 12:09:43 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/stdio/vfprintf.c,v 1.52 2003/03/14 04:48:09 das Exp $"); /* * Actual printf innards. @@ -413,7 +413,10 @@ #define BUF ((MAXEXP*2)+MAXFRACT+1) /* + decimal point */ #define DEFPREC 6 -static char *cvt(double, int, int, char *, int *, int, int *, char **); +extern char *__dtoa(double, int, int, int *, int *, char **); +extern void __freedtoa(char *s); + +static char *cvt(double, int, int, char *, int *, int, int *); static int exponent(char *, int, int); #else /* no FLOATING_POINT */ @@ -840,11 +843,11 @@ } flags |= FPT; if (dtoaresult != NULL) { - free(dtoaresult); + __freedtoa(dtoaresult); dtoaresult = NULL; } - cp = cvt(_double, prec, flags, &softsign, - &expt, ch, &ndig, &dtoaresult); + dtoaresult = cp = cvt(_double, prec, flags, &softsign, + &expt, ch, &ndig); if (ch == 'g' || ch == 'G') { if (expt <= -4 || expt > prec) ch = (ch == 'g') ? 'e' : 'E'; @@ -1138,7 +1141,7 @@ error: #ifdef FLOATING_POINT if (dtoaresult != NULL) - free(dtoaresult); + __freedtoa(dtoaresult); #endif if (convbuf != NULL) free(convbuf); @@ -1508,11 +1511,9 @@ #ifdef FLOATING_POINT -extern char *__dtoa(double, int, int, int *, int *, char **, char **); - static char * cvt(double value, int ndigits, int flags, char *sign, int *decpt, - int ch, int *length, char **dtoaresultp) + int ch, int *length) { int mode, dsgn; char *digits, *bp, *rve; @@ -1529,13 +1530,13 @@ ndigits++; mode = 2; /* ndigits significant digits */ } - digits = __dtoa(value, mode, ndigits, decpt, &dsgn, &rve, dtoaresultp); + digits = __dtoa(value, mode, ndigits, decpt, &dsgn, &rve); *sign = dsgn != 0; if ((ch != 'g' && ch != 'G') || flags & ALT) { /* print trailing zeros */ bp = digits + ndigits; if (ch == 'f') { - if (*digits == '0' && value) + if ((*digits == '0' || *digits == '\0') && value) *decpt = -ndigits + 1; bp += *decpt; } ==== //depot/projects/ia64/lib/libc/stdio/vfwprintf.c#3 (text+ko) ==== @@ -39,9 +39,9 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -__FBSDID("FreeBSD: src/lib/libc/stdio/vfprintf.c,v 1.45 2002/09/06 11:23:55 tjr Exp "); +__FBSDID("FreeBSD: src/lib/libc/stdio/vfprintf.c,v 1.52 2003/03/14 04:48:09 das Exp"); #endif -__FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.4 2002/10/16 12:09:43 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.7 2003/03/14 08:50:43 tjr Exp $"); /* * Actual wprintf innards. @@ -406,8 +406,10 @@ #define BUF ((MAXEXP*2)+MAXFRACT+1) /* + decimal point */ #define DEFPREC 6 -static wchar_t *cvt(double, int, int, char *, int *, wchar_t, int *, - wchar_t **); +extern char *__dtoa(double, int, int, int *, int *, char **); +extern void __freedtoa(char *s); + +static wchar_t *cvt(double, int, int, char *, int *, wchar_t, int *); static int exponent(wchar_t *, int, wchar_t); #else /* no FLOATING_POINT */ @@ -807,8 +809,8 @@ free(dtoaresult); dtoaresult = NULL; } - cp = cvt(_double, prec, flags, &softsign, - &expt, ch, &ndig, &dtoaresult); + dtoaresult = cp = cvt(_double, prec, flags, &softsign, + &expt, ch, &ndig); if (ch == 'g' || ch == 'G') { if (expt <= -4 || expt > prec) ch = (ch == 'g') ? 'e' : 'E'; @@ -1472,11 +1474,9 @@ #ifdef FLOATING_POINT -extern char *__dtoa(double, int, int, int *, int *, char **, char **); - static wchar_t * cvt(double value, int ndigits, int flags, char *sign, int *decpt, - wchar_t ch, int *length, wchar_t **dtoaresultp) + wchar_t ch, int *length) { int i, mode, dsgn; wchar_t *digits, *bp, *result, *rve; @@ -1494,21 +1494,20 @@ ndigits++; mode = 2; /* ndigits significant digits */ } - __dtoa(value, mode, ndigits, decpt, &dsgn, &trve, &tresult); + tresult = __dtoa(value, mode, ndigits, decpt, &dsgn, &trve); if ((result = malloc((trve - tresult + 1) * sizeof(*result))) == NULL) abort(); /* XXX handle better */ for (i = 0; i < trve - tresult + 1; i++) result[i] = (wchar_t)(unsigned char)tresult[i]; rve = result + (trve - tresult); - free(tresult); - *dtoaresultp = result; + __freedtoa(tresult); digits = result; *sign = dsgn != 0; if ((ch != 'g' && ch != 'G') || flags & ALT) { /* print trailing zeros */ bp = digits + ndigits; if (ch == 'f') { - if (*digits == '0' && value) + if ((*digits == '0' || *digits == '\0') && value) *decpt = -ndigits + 1; bp += *decpt; } ==== //depot/projects/ia64/lib/libc/stdlib/Makefile.inc#11 (text+ko) ==== @@ -1,5 +1,5 @@ # from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 -# $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.43 2003/01/24 13:58:56 mike Exp $ +# $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.44 2003/03/12 20:30:00 das Exp $ # machine-independent stdlib sources .PATH: ${.CURDIR}/${MACHINE_ARCH}/stdlib ${.CURDIR}/stdlib @@ -9,7 +9,7 @@ getsubopt.c grantpt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \ insque.c labs.c ldiv.c llabs.c lldiv.c lsearch.c malloc.c merge.c \ putenv.c qsort.c qsort_r.c radixsort.c rand.c random.c reallocf.c \ - realpath.c remque.c setenv.c strfmon.c strhash.c strtod.c strtoimax.c \ + realpath.c remque.c setenv.c strfmon.c strhash.c strtoimax.c \ strtol.c strtoll.c strtoq.c strtoul.c strtoull.c strtoumax.c strtouq.c \ system.c tdelete.c tfind.c tsearch.c twalk.c ==== //depot/projects/ia64/lib/libc/stdlib/hcreate.3#2 (text+ko) ==== @@ -1,4 +1,4 @@ -.\" $FreeBSD: src/lib/libc/stdlib/hcreate.3,v 1.2 2001/07/09 15:54:36 ru Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/hcreate.3,v 1.3 2003/03/12 14:18:14 dwmalone Exp $ .\" .Dd May 8, 2001 .Os @@ -44,6 +44,12 @@ After the call to .Fn hdestroy , the data can no longer be considered accessible. +The +.Fn hdestroy +function calls +.Xr free 3 +for each comparison key in the search table +but not the data item associated with the key. .Pp The .Fn hsearch @@ -88,6 +94,20 @@ indicated by the return of a .Dv NULL pointer. +.Pp +The comparison key (passed to +.Fn hsearch +as +.Fa item.key ) +must be allocated using +.Xr malloc 3 +if +.Fa action +is +.Dv ENTER +and +.Fn hdestroy +is called. .Sh RETURN VALUES The .Fn hcreate @@ -132,6 +152,7 @@ #include #include #include +#include struct info { /* This is the info stored in the table */ int age, room; /* other than the key. */ @@ -142,9 +163,8 @@ int main(void) { - char string_space[NUM_EMPL*20]; /* Space to store strings. */ + char str[BUFSIZ]; /* Space to read string */ struct info info_space[NUM_EMPL]; /* Space to store employee info. */ - char *str_ptr = string_space; /* Next space in string_space. */ struct info *info_ptr = info_space; /* Next space in info_space. */ ENTRY item; ENTRY *found_item; /* Name to look for in table. */ @@ -154,12 +174,11 @@ /* Create table; no error checking is performed. */ (void) hcreate(NUM_EMPL); - while (scanf("%s%d%d", str_ptr, &info_ptr->age, + while (scanf("%s%d%d", str, &info_ptr->age, &info_ptr->room) != EOF && i++ < NUM_EMPL) { /* Put information in structure, and structure in item. */ - item.key = str_ptr; + item.key = strdup(str); item.data = info_ptr; - str_ptr += strlen(str_ptr) + 1; info_ptr++; /* Put item into table. */ (void) hsearch(item, ENTER); @@ -177,6 +196,7 @@ } else (void)printf("no such employee %s\en", name_to_find); } + hdestroy(); return 0; } .Ed ==== //depot/projects/ia64/lib/libc/stdlib/strtod.3#6 (text+ko) ==== @@ -34,39 +34,67 @@ .\" SUCH DAMAGE. .\" .\" @(#)strtod.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdlib/strtod.3,v 1.17 2002/12/18 13:33:03 ru Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/strtod.3,v 1.18 2003/03/12 20:31:05 das Exp $ .\" -.Dd June 4, 1993 +.Dd March 2, 2003 .Dt STRTOD 3 .Os .Sh NAME -.Nm strtod +.Nm strtod , strtof , strtold .Nd convert .Tn ASCII -string to double +string to floating point .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In stdlib.h .Ft double .Fn strtod "const char * restrict nptr" "char ** restrict endptr" +.Ft float +.Fn strtof "const char * restrict nptr" "char ** restrict endptr" +.Ft long double +.Fn strtold "const char * restrict nptr" "char ** restrict endptr" .Sh DESCRIPTION -The -.Fn strtod -function converts the initial portion of the string +These conversion +functions convert the initial portion of the string pointed to by .Fa nptr to -.Vt double -representation. +.Vt double , +.Vt float , +and +.Vt long double +representation, respectively. .Pp The expected form of the string is an optional plus (``+'') or minus -sign (``\-'') followed by a sequence of digits optionally containing -a decimal-point character, optionally followed by an exponent. -An exponent consists of an ``E'' or ``e'', followed by an optional plus -or minus sign, followed by a sequence of digits. +sign (``\-'') followed by either: +.Bl -bullet +.It +a decimal significand consisting of a sequence of decimal digits +optionally containing a decimal-point character, or +.It +a hexadecimal significand consisting of a ``0X'' or ``0x'' followed +by a sequence of hexadecimal digits optionally containing a +decimal-point character. +.El +.Pp +In both cases, the significand may be optionally followed by an +exponent. +An exponent consists of an ``E'' or ``e'' (for decimal +constants) or a ``P'' or ``p'' (for hexadecimal constants), +followed by an optional plus or minus sign, followed by a >>> TRUNCATED FOR MAIL (1000 lines) <<< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message