Date: Sun, 22 Aug 2004 10:23:46 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 60251 for review Message-ID: <200408221023.i7MANkee019581@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=60251 Change 60251 by davidxu@davidxu_alona on 2004/08/22 10:23:06 IFC @60250 Affected files ... .. //depot/projects/davidxu_ksedbg/src/UPDATING#9 integrate .. //depot/projects/davidxu_ksedbg/src/contrib/gcc/config/freebsd-spec.h#3 integrate .. //depot/projects/davidxu_ksedbg/src/games/fortune/datfiles/fortunes#4 integrate .. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#27 integrate .. //depot/projects/davidxu_ksedbg/src/include/_ctype.h#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/csu/alpha/crt1.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/frune.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isalnum.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isalpha.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isblank.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/iscntrl.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isdigit.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isgraph.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/islower.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isprint.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/ispunct.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isspace.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isupper.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isxdigit.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/mbrune.3#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/mbrune.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/rune.3#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/setinvalidrune.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/setrunelocale.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/tolower.3#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/toupper.3#2 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libc/locale/utf2.5#3 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libpthread/thread/thr_init.c#6 integrate .. //depot/projects/davidxu_ksedbg/src/lib/libutil/fparseln.3#2 integrate .. //depot/projects/davidxu_ksedbg/src/libexec/lukemftpd/config.h#2 integrate .. //depot/projects/davidxu_ksedbg/src/libexec/rbootd/rbootd.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/release/doc/en_US.ISO8859-1/errata/article.sgml#3 integrate .. //depot/projects/davidxu_ksedbg/src/release/doc/en_US.ISO8859-1/readme/article.sgml#3 integrate .. //depot/projects/davidxu_ksedbg/src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#9 integrate .. //depot/projects/davidxu_ksedbg/src/release/doc/share/sgml/release.ent#3 integrate .. //depot/projects/davidxu_ksedbg/src/release/sparc64/mkisoimages.sh#4 integrate .. //depot/projects/davidxu_ksedbg/src/sbin/geom/class/raid3/geom_raid3.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sbin/geom/class/raid3/graid3.8#2 integrate .. //depot/projects/davidxu_ksedbg/src/share/man/man4/hfa.4#3 integrate .. //depot/projects/davidxu_ksedbg/src/share/man/man4/mac_bsdextended.4#3 integrate .. //depot/projects/davidxu_ksedbg/src/share/man/man9/suser.9#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/boot/alpha/Makefile.inc#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/boot/alpha/common/Makefile.common#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/boot/alpha/common/ldscript#1 branch .. //depot/projects/davidxu_ksedbg/src/sys/boot/common/load.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/boot/ficl/Makefile#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_pci_link.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/acpica/acpi_resource.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/ata/ata-dma.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc.c#7 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_acpi.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_isa.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdc_pccard.c#6 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/fdc/fdcvar.h#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/mpt/mpt.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/mpt/mpt_debug.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/sys/dev/mpt/mpt_freebsd.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/geom/raid3/g_raid3.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/geom/raid3/g_raid3.h#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/geom/raid3/g_raid3_ctl.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/i386/i386/uio_machdep.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_module.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_shutdown.c#7 integrate .. //depot/projects/davidxu_ksedbg/src/sys/kern/sched_4bsd.c#7 integrate .. //depot/projects/davidxu_ksedbg/src/sys/kern/uipc_socket.c#9 integrate .. //depot/projects/davidxu_ksedbg/src/sys/kern/vfs_subr.c#9 integrate .. //depot/projects/davidxu_ksedbg/src/sys/net/route.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/net/rtsock.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/netinet/ip_mroute.c#5 integrate .. //depot/projects/davidxu_ksedbg/src/sys/netinet/raw_ip.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/netinet/udp_usrreq.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/netinet6/in6_pcb.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/pci/agp_ali.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/pci/agp_intel.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/security/mac_bsdextended/mac_bsdextended.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/sys/sparc64/sparc64/uio_machdep.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/sys/sys/fdcio.h#2 integrate .. //depot/projects/davidxu_ksedbg/src/sys/sys/param.h#8 integrate .. //depot/projects/davidxu_ksedbg/src/sys/ufs/ufs/ufs_vnops.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/sys/vm/vm_fault.c#4 integrate .. //depot/projects/davidxu_ksedbg/src/tools/regression/geom_raid3/test-10.sh#1 branch .. //depot/projects/davidxu_ksedbg/src/tools/tools/README#2 integrate .. //depot/projects/davidxu_ksedbg/src/tools/tools/nanobsd/i386.diskimage#3 integrate .. //depot/projects/davidxu_ksedbg/src/tools/tools/raidtest/raidtest.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/usr.bin/mklocale/mklocale.1#4 integrate .. //depot/projects/davidxu_ksedbg/src/usr.sbin/fdcontrol/fdcontrol.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/usr.sbin/fdformat/fdformat.c#2 integrate .. //depot/projects/davidxu_ksedbg/src/usr.sbin/fdread/fdutil.c#3 integrate .. //depot/projects/davidxu_ksedbg/src/usr.sbin/kbdcontrol/kbdmap.5#3 integrate Differences ... ==== //depot/projects/davidxu_ksedbg/src/UPDATING#9 (text+ko) ==== @@ -69,11 +69,14 @@ compiler upgrade, there are several issues to be aware of. GCC 3.4.x has broken C++ ABI compatibility with previous releases yet again and users will have to rebuild all their C++ programs with the new - compiler. A new unit-at-a-time optimization mode, which is default - in this compiler release, is more aggressive in removing unused - static symbols. This is the likely cause of 'make buildworld' - breakages with non-default CFLAGS where optimization level is set - to -O2 or higher. + compiler. If you are getting run-time error such as + /libexec/ld-elf.so.1: Undefined symbol "_ZNSs20_S_empty_rep_storageE" + This entry does apply to you. + + A new unit-at-a-time optimization mode, which is default in this + compiler release, is more aggressive in removing unused static + symbols. This is the likely cause of 'make buildworld' breakages + with non-default CFLAGS where optimization level is set to -O2 or higher. With the upgrade of the system compiler, the kernel has been upgraded to match the new system compiler. This makes it impossible to build @@ -1788,4 +1791,4 @@ Contact Warner Losh if you have any questions about your use of this document. -$FreeBSD: src/UPDATING,v 1.345 2004/08/20 01:24:23 julian Exp $ +$FreeBSD: src/UPDATING,v 1.346 2004/08/21 19:44:43 obrien Exp $ ==== //depot/projects/davidxu_ksedbg/src/contrib/gcc/config/freebsd-spec.h#3 (text+ko) ==== @@ -18,7 +18,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $FreeBSD: src/contrib/gcc/config/freebsd-spec.h,v 1.17 2004/07/28 04:31:47 kan Exp $ */ +/* $FreeBSD: src/contrib/gcc/config/freebsd-spec.h,v 1.18 2004/08/21 03:58:39 obrien Exp $ */ /* Common FreeBSD configuration. All FreeBSD architectures should include this file, which will specify @@ -79,7 +79,7 @@ #ifdef FREEBSD_NATIVE #define FBSD_NATIVE_TARGET_OS_CPP_BUILTINS() \ do { \ - builtin_define_std ("__FreeBSD_cc_version=520001"); \ + builtin_define_std ("__FreeBSD_cc_version=600001"); \ } while (0) #else #define FBSD_NATIVE_TARGET_OS_CPP_BUILTINS() \ ==== //depot/projects/davidxu_ksedbg/src/games/fortune/datfiles/fortunes#4 (text+ko) ==== @@ -1,5 +1,5 @@ This fortune brought to you by: -$FreeBSD: src/games/fortune/datfiles/fortunes,v 1.141 2004/08/15 19:24:17 rwatson Exp $ +$FreeBSD: src/games/fortune/datfiles/fortunes,v 1.142 2004/08/20 13:39:28 des Exp $ % -- Gifts for Children -- @@ -15991,6 +15991,9 @@ (5) Any computer with a mouse is worthless. -- Rich Kulawiec % +Women come and go, but BSD is forever. + -- Derek Young +% Wood is highly ecological, since trees are a renewable resource. If you cut down a tree, another will grow in its place. And if you cut down the new tree, still another will grow. And if you cut down that ==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#27 (text+ko) ==== @@ -1,4 +1,4 @@ -/* $FreeBSD: src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c,v 1.4 2004/08/08 22:45:36 davidxu Exp $ */ +/* $FreeBSD: src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c,v 1.7 2004/08/22 09:05:57 davidxu Exp $ */ /* FreeBSD libthread_db assisted debugging support. Copyright 1999, 2000, 2001 Free Software Foundation, Inc. @@ -33,11 +33,11 @@ #include "gdbcore.h" #include "gdbthread.h" #include "inferior.h" +#include "objfiles.h" +#include "regcache.h" #include "symfile.h" #include "symtab.h" -#include "objfiles.h" #include "target.h" -#include "regcache.h" #include "gdbcmd.h" #include "solib-svr4.h" @@ -53,7 +53,7 @@ extern struct target_ops child_ops; -/* This module's target vector. */ +/* This module's target vectors. */ static struct target_ops fbsd_thread_ops; static struct target_ops fbsd_core_ops; @@ -108,7 +108,6 @@ td_thr_events_t *event); static td_err_e (*td_ta_event_getmsg_p) (const td_thragent_t *ta, td_event_msg_t *msg); -static td_err_e (*td_thr_validate_p) (const td_thrhandle_t *th); static td_err_e (*td_thr_get_info_p) (const td_thrhandle_t *th, td_thrinfo_t *infop); static td_err_e (*td_thr_getfpregs_p) (const td_thrhandle_t *th, @@ -325,8 +324,6 @@ { td_err_e err; - /* Don't attempt to use thread_db on targets which can not run - (core files). */ if (objfile == NULL) { /* All symbols have been discarded. If the thread_db target is @@ -343,9 +340,9 @@ if (!child_suppress_run) goto quit; + /* Nothing to do. The thread library was already detected and the + target vector was already activated. */ if (fbsd_thread_active) - /* Nothing to do. The thread library was already detected and the - target vector was already activated. */ goto quit; /* Initialize the structure that identifies the child process. Note @@ -485,14 +482,12 @@ if (ret) error (thread_db_err_str (ret)); - /* - * For M:N thread, we need to tell UTS to set/unset single step - * flag at context switch time, the flag will be written into - * thread mailbox. This becauses some architecture may not have - * machine single step flag in ucontext, so we put the flag in mailbox, - * when the thread switches back, kse_switchin restores the single step - * state. - */ + /* For M:N thread, we need to tell UTS to set/unset single step + flag at context switch time, the flag will be written into + thread mailbox. This becauses some architecture may not have + machine single step flag in ucontext, so we put the flag in mailbox, + when the thread switches back, kse_switchin restores the single step + state. */ ret = td_thr_sstep_p (&th, step); if (ret) error (thread_db_err_str (ret)); @@ -765,10 +760,8 @@ { if (fbsd_thread_present && !fbsd_thread_active) { - /* - * The child process is now the actual multi-threaded - * program. Snatch its process ID... - */ + /* The child process is now the actual multi-threaded + program. Snatch its process ID... */ proc_handle.pid = GET_PID (ptid); td_ta_new_p (&proc_handle, &thread_agent); fbsd_thread_activate(); @@ -778,10 +771,6 @@ static void fbsd_thread_mourn_inferior (void) { - /* - * Forget about the child's process ID. We shouldn't need it - * anymore. - */ if (fbsd_thread_active) fbsd_thread_deactivate (); @@ -1047,7 +1036,7 @@ fbsd_thread_activate (); } else - error ("fbsd_core_open: td_open: %s", thread_db_err_str (err)); + error ("fbsd_core_open: td_ta_new: %s", thread_db_err_str (err)); } } @@ -1083,7 +1072,7 @@ { fbsd_core_ops.to_shortname = "FreeBSD-core"; fbsd_core_ops.to_longname = "FreeBSD core thread."; - fbsd_core_ops.to_doc = "FreeBSD thread support for core files."; + fbsd_core_ops.to_doc = "FreeBSD threads support for core files."; fbsd_core_ops.to_open = fbsd_core_open; fbsd_core_ops.to_close = fbsd_core_close; fbsd_core_ops.to_attach = 0; @@ -1161,71 +1150,26 @@ if (handle == NULL) return 0; - td_init_p = dlsym (handle, "td_init"); - if (td_init_p == NULL) - return 0; +#define resolve(X) \ + if (!(X##_p = dlsym (handle, #X))) \ + return 0; - td_ta_new_p = dlsym (handle, "td_ta_new"); - if (td_ta_new_p == NULL) - return 0; - - td_ta_delete_p = dlsym (handle, "td_ta_delete"); - if (td_ta_delete_p == NULL) - return 0; - - td_ta_map_id2thr_p = dlsym (handle, "td_ta_map_id2thr"); - if (td_ta_map_id2thr_p == NULL) - return 0; - - td_ta_map_lwp2thr_p = dlsym (handle, "td_ta_map_lwp2thr"); - if (td_ta_map_lwp2thr_p == NULL) - return 0; - - td_ta_thr_iter_p = dlsym (handle, "td_ta_thr_iter"); - if (td_ta_thr_iter_p == NULL) - return 0; - - td_thr_validate_p = dlsym (handle, "td_thr_validate"); - if (td_thr_validate_p == NULL) - return 0; - - td_thr_get_info_p = dlsym (handle, "td_thr_get_info"); - if (td_thr_get_info_p == NULL) - return 0; - - td_thr_getfpregs_p = dlsym (handle, "td_thr_getfpregs"); - if (td_thr_getfpregs_p == NULL) - return 0; - - td_thr_getgregs_p = dlsym (handle, "td_thr_getgregs"); - if (td_thr_getgregs_p == NULL) - return 0; - - td_thr_setfpregs_p = dlsym (handle, "td_thr_setfpregs"); - if (td_thr_setfpregs_p == NULL) - return 0; - - td_thr_setgregs_p = dlsym (handle, "td_thr_setgregs"); - if (td_thr_setgregs_p == NULL) - return 0; - - td_thr_sstep_p = dlsym(handle, "td_thr_sstep"); - if (td_thr_sstep_p == NULL) - return 0; - - td_ta_tsd_iter_p = dlsym (handle, "td_ta_tsd_iter"); - if (td_ta_tsd_iter_p == NULL) - return 0; - - td_thr_dbsuspend_p = dlsym (handle, "td_thr_dbsuspend"); - if (td_thr_dbsuspend_p == NULL) - return 0; - - td_thr_dbresume_p = dlsym (handle, "td_thr_dbresume"); - if (td_thr_dbresume_p == NULL) - return 0; - - td_thr_tls_get_addr_p = dlsym (handle, "td_thr_tls_get_addr"); + resolve(td_init); + resolve(td_ta_new); + resolve(td_ta_delete); + resolve(td_ta_map_id2thr); + resolve(td_ta_map_lwp2thr); + resolve(td_ta_thr_iter); + resolve(td_thr_get_info); + resolve(td_thr_getfpregs); + resolve(td_thr_getgregs); + resolve(td_thr_setfpregs); + resolve(td_thr_setgregs); + resolve(td_thr_sstep); + resolve(td_ta_tsd_iter); + resolve(td_thr_dbsuspend); + resolve(td_thr_dbresume); + resolve(td_thr_tls_get_addr); /* Initialize the library. */ err = td_init_p (); ==== //depot/projects/davidxu_ksedbg/src/include/_ctype.h#2 (text+ko) ==== @@ -40,7 +40,7 @@ * * From @(#)ctype.h 8.4 (Berkeley) 1/21/94 * From FreeBSD: src/include/ctype.h,v 1.27 2004/06/23 07:11:39 tjr Exp - * $FreeBSD: src/include/_ctype.h,v 1.29 2004/08/12 12:19:10 tjr Exp $ + * $FreeBSD: src/include/_ctype.h,v 1.30 2004/08/21 07:00:40 tjr Exp $ */ #ifndef __CTYPE_H_ @@ -72,9 +72,9 @@ /* See comments in <sys/_types.h> about __ct_rune_t. */ __BEGIN_DECLS -unsigned long ___runetype(__ct_rune_t); -__ct_rune_t ___tolower(__ct_rune_t); -__ct_rune_t ___toupper(__ct_rune_t); +unsigned long ___runetype(__ct_rune_t) __pure; +__ct_rune_t ___tolower(__ct_rune_t) __pure; +__ct_rune_t ___toupper(__ct_rune_t) __pure; __END_DECLS /* ==== //depot/projects/davidxu_ksedbg/src/lib/csu/alpha/crt1.c#3 (text+ko) ==== @@ -93,8 +93,6 @@ if (&_DYNAMIC != NULL) atexit(cleanup); - else - _init_tls(); #ifdef GCRT atexit(_mcleanup); @@ -113,4 +111,4 @@ __asm__(".previous"); #endif -__asm__(".ident\t\"$FreeBSD: src/lib/csu/alpha/crt1.c,v 1.16 2004/08/15 16:18:51 dfr Exp $\""); +__asm__(".ident\t\"$FreeBSD: src/lib/csu/alpha/crt1.c,v 1.17 2004/08/21 08:22:00 dfr Exp $\""); ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/frune.c#2 (text+ko) ==== @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)frune.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> -__FBSDID("$FreeBSD: src/lib/libc/locale/frune.c,v 1.5 2003/10/31 10:55:19 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/locale/frune.c,v 1.6 2004/08/21 07:48:06 tjr Exp $"); #include <limits.h> #include <rune.h> @@ -50,7 +50,7 @@ #include <stdio.h> #include <wchar.h> -__warn_references(fgetrune, "warning: fgetrune() is deprecated. See fgetrune(3)."); +__warn_references(fgetrune, "warning: fgetrune() is obsolete. See fgetrune(3)."); long fgetrune(fp) FILE *fp; @@ -62,7 +62,7 @@ return ((long)ch); } -__warn_references(fungetrune, "warning: fungetrune() is deprecated. See fungetrune(3)."); +__warn_references(fungetrune, "warning: fungetrune() is obsolete. See fungetrune(3)."); int fungetrune(r, fp) rune_t r; @@ -72,7 +72,7 @@ return (ungetwc((wint_t)r, fp) == WEOF ? EOF : 0); } -__warn_references(fputrune, "warning: fputrune() is deprecated. See fputrune(3)."); +__warn_references(fputrune, "warning: fputrune() is obsolete. See fputrune(3)."); int fputrune(r, fp) rune_t r; ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isalnum.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalnum.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalnum.3,v 1.19 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISALNUM 3 .Os .Sh NAME @@ -93,10 +93,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswalnum -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr isalpha 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isalpha.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalpha.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isalpha.3,v 1.18 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISALPHA 3 .Os .Sh NAME @@ -91,10 +91,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswalpha -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr islower 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isblank.3#3 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isblank.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isblank.3,v 1.19 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISBLANK 3 .Os .Sh NAME @@ -71,10 +71,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswblank -function should be used instead for maximum portability. +function should be used instead. .Sh RETURN VALUES The .Fn isblank ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/iscntrl.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)iscntrl.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/iscntrl.3,v 1.17 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISCNTRL 3 .Os .Sh NAME @@ -83,10 +83,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswcntrl -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswcntrl 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isdigit.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isdigit.3,v 1.19 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISDIGIT 3 .Os .Sh NAME @@ -89,10 +89,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswdigit -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswdigit 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isgraph.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93 -.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.18 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isgraph.3,v 1.19 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISGRAPH 3 .Os .Sh NAME @@ -98,10 +98,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswgraph -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswgraph 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/islower.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)islower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/islower.3,v 1.17 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISLOWER 3 .Os .Sh NAME @@ -82,10 +82,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswlower -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswlower 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isprint.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isprint.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.19 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isprint.3,v 1.20 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISPRINT 3 .Os .Sh NAME @@ -96,10 +96,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswprint -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswprint 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/ispunct.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)ispunct.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/ispunct.3,v 1.18 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISPUNCT 3 .Os .Sh NAME @@ -88,10 +88,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswpunct -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswpunct 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isspace.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isspace.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.16 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isspace.3,v 1.17 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISSPACE 3 .Os .Sh NAME @@ -80,10 +80,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswspace -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswspace 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isupper.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isupper.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.17 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isupper.3,v 1.18 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISUPPER 3 .Os .Sh NAME @@ -82,10 +82,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswupper -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswupper 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/isxdigit.3#3 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isxdigit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.19 2004/07/29 23:32:41 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/isxdigit.3,v 1.20 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd July 30, 2004 +.Dd August 21, 2004 .Dt ISXDIGIT 3 .Os .Sh NAME @@ -90,10 +90,11 @@ .Bx 4.4 extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets is deprecated. +type in locales with large character sets is considered obsolete +and may not be supported in future releases. The .Fn iswxdigit -function should be used instead for maximum portability. +function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr iswxdigit 3 , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/mbrune.3#2 (text+ko) ==== @@ -33,9 +33,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)mbrune.3 8.2 (Berkeley) 4/19/94 -.\" $FreeBSD: src/lib/libc/locale/mbrune.3,v 1.16 2003/11/15 02:26:04 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/mbrune.3,v 1.18 2004/08/21 08:03:18 tjr Exp $ .\" -.Dd April 19, 1994 +.Dd August 21, 2004 .Dt MBRUNE 3 .Os .Sh NAME @@ -58,17 +58,16 @@ The .Bx 4.4 .Dq rune -functions have been deprecated in favour of the +functions are obsolete and may not be supported in future releases. +.Ef +Applications should use the .Tn ISO -C99 extended multibyte and wide character facilities -and should not be used in new applications. -.Ef -Consider working with wide characters instead, and using +C99 .Xr wcschr 3 , .Xr wcsrchr 3 , and .Xr wcsstr 3 -instead of these functions. +functions instead. .Pp These routines provide the corresponding functionality of .Fn strchr , ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/mbrune.c#2 (text+ko) ==== @@ -41,14 +41,14 @@ static char sccsid[] = "@(#)mbrune.c 8.1 (Berkeley) 6/27/93"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> -__FBSDID("$FreeBSD: src/lib/libc/locale/mbrune.c,v 1.4 2003/06/13 07:13:54 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/locale/mbrune.c,v 1.5 2004/08/21 07:48:06 tjr Exp $"); #include <limits.h> #include <rune.h> #include <stddef.h> #include <string.h> -__warn_references(mbrune, "warning: mbrune() is deprecated. See mbrune(3)."); +__warn_references(mbrune, "warning: mbrune() is obsolete. See mbrune(3)."); char * mbrune(string, c) const char *string; @@ -66,7 +66,7 @@ return (c == *string ? (char *)string : NULL); } -__warn_references(mbrrune, "warning: mbrrune() is deprecated. See mbrrune(3)."); +__warn_references(mbrrune, "warning: mbrrune() is obsolete. See mbrrune(3)."); char * mbrrune(string, c) const char *string; @@ -84,7 +84,7 @@ return (c == *string ? (char *)string : (char *)last); } -__warn_references(mbmb, "warning: mbmb() is deprecated. See mbmb(3)."); +__warn_references(mbmb, "warning: mbmb() is obsolete. See mbmb(3)."); char * mbmb(string, pattern) const char *string; ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/rune.3#3 (text+ko) ==== @@ -33,9 +33,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)rune.3 8.2 (Berkeley) 12/11/93 -.\" $FreeBSD: src/lib/libc/locale/rune.3,v 1.25 2004/07/02 23:52:11 ru Exp $ +.\" $FreeBSD: src/lib/libc/locale/rune.3,v 1.27 2004/08/21 08:03:18 tjr Exp $ .\" -.Dd October 6, 2002 +.Dd August 21, 2004 .Dt RUNE 3 .Os .Sh NAME @@ -73,12 +73,11 @@ The .Bx 4.4 .Dq rune -functions have been deprecated in favour of the +functions are obsolete and may not be supported in future releases. +.Ef +Applications should use the .Tn ISO -C99 extended multibyte and wide character facilities -and should not be used in new applications. -.Ef -Consider using +C99 .Xr setlocale 3 , .Xr mbrtowc 3 , .Xr wcrtomb 3 , @@ -86,7 +85,7 @@ .Xr ungetwc 3 , and .Xr fputwc 3 -instead. +functions instead. .Pp The .Fn setrunelocale ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/setinvalidrune.c#2 (text+ko) ==== @@ -38,11 +38,11 @@ #define OBSOLETE_IN_6 #include <sys/param.h> -__FBSDID("$FreeBSD: src/lib/libc/locale/setinvalidrune.c,v 1.4 2003/06/13 07:13:54 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/locale/setinvalidrune.c,v 1.5 2004/08/21 07:48:06 tjr Exp $"); #include <rune.h> -__warn_references(setinvalidrune, "warning: setinvalidrune() is deprecated. See setinvalidrune(3)."); +__warn_references(setinvalidrune, "warning: setinvalidrune() is obsolete. See setinvalidrune(3)."); void setinvalidrune(ir) rune_t ir; ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/setrunelocale.c#3 (text+ko) ==== @@ -38,7 +38,7 @@ #define OBSOLETE_IN_6 #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/libc/locale/setrunelocale.c,v 1.40 2004/07/21 10:54:57 tjr Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/locale/setrunelocale.c,v 1.41 2004/08/21 07:48:06 tjr Exp $"); #include <rune.h> #include <errno.h> @@ -65,7 +65,7 @@ static int __setrunelocale(const char *); -__warn_references(setrunelocale, "warning: setrunelocale() is deprecated. See setrunelocale(3)."); +__warn_references(setrunelocale, "warning: setrunelocale() is obsolete. See setrunelocale(3)."); int setrunelocale(char *encoding) { ==== //depot/projects/davidxu_ksedbg/src/lib/libc/locale/tolower.3#2 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)tolower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/tolower.3,v 1.15 2002/10/03 11:14:00 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/tolower.3,v 1.16 2004/08/21 07:37:08 tjr Exp $ .\" -.Dd October 3, 2002 +.Dd August 21, 2004 .Dt TOLOWER 3 .Os .Sh NAME @@ -68,16 +68,15 @@ function returns the corresponding lower-case letter if there is one; otherwise the argument is returned unchanged. .Sh COMPATIBILITY -Although -.Fn tolower -accepts arguments outside of the range of the +The +.Bx 4.4 +extension of accepting arguments outside of the range of the .Vt "unsigned char" -type in locales with large character sets, -this is a -.Bx 4.4 -extension and the +type in locales with large character sets is considered obsolete +and may not be supported in future releases. +The >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408221023.i7MANkee019581>