Permalink
Browse files

Import of most recent XPG4DL dated 2000.06.23.

  • Loading branch information...
1 parent d85bfe1 commit 9f316cef1c3d6753220222f12df9402b069f5f62 minoura committed Jun 23, 2000
Showing with 639 additions and 3,640 deletions.
  1. +11 −1 etc/mtree/NetBSD.dist
  2. +7 −13 include/Makefile
  3. +19 −19 include/ctype.h
  4. +13 −8 lib/Makefile
  5. +3 −1 lib/libc/Makefile
  6. +57 −1 lib/libc/include/namespace.h
  7. +29 −1 lib/libc/include/reentrant.h
  8. +2 −2 lib/libc/locale/big5.c
  9. +32 −17 lib/libc/locale/collate.c
  10. +2 −1 lib/libc/locale/collate.h
  11. +2 −2 lib/libc/locale/euc.c
  12. +1 −1 lib/libc/locale/euctw.c
  13. +3 −3 lib/libc/locale/iso2022.c
  14. +1 −1 lib/libc/locale/iso2022.h
  15. +12 −32 lib/libc/locale/iswctype.c
  16. +2 −2 lib/libc/locale/mskanji.c
  17. +9 −9 lib/libc/locale/runeglue.c
  18. +142 −80 lib/libc/locale/runetable.c
  19. +21 −43 lib/libc/locale/runetype.h
  20. +12 −14 lib/libc/locale/setlocale.c
  21. +2 −25 lib/libc/locale/setrunelocale.c
  22. +4 −2 lib/libc/locale/utf2.c
  23. +1 −1 lib/libc/locale/wcscat.c
  24. +1 −1 lib/libc/locale/wcschr.c
  25. +1 −1 lib/libc/locale/wcscmp.c
  26. +1 −1 lib/libc/locale/wcscpy.c
  27. +1 −1 lib/libc/locale/wcscspn.c
  28. +1 −1 lib/libc/locale/wcslen.c
  29. +1 −1 lib/libc/locale/wcsncat.c
  30. +1 −1 lib/libc/locale/wcsncmp.c
  31. +1 −1 lib/libc/locale/wcsncpy.c
  32. +1 −1 lib/libc/locale/wcspbrk.c
  33. +1 −1 lib/libc/locale/wcsrchr.c
  34. +1 −1 lib/libc/locale/wcsspn.c
  35. +1 −1 lib/libc/locale/wcsstr.c
  36. +1 −1 lib/libc/locale/wcswidth.c
  37. +1 −1 lib/libc/locale/wmemchr.c
  38. +1 −1 lib/libc/locale/wmemcmp.c
  39. +1 −1 lib/libc/locale/wmemcpy.c
  40. +1 −1 lib/libc/locale/wmemmove.c
  41. +1 −1 lib/libc/locale/wmemset.c
  42. +1 −1 lib/libc/stdlib/Lint_abs.c
  43. +1 −1 lib/libc/stdlib/Lint_div.c
  44. +1 −1 lib/libc/stdlib/Lint_labs.c
  45. +1 −1 lib/libc/stdlib/Lint_ldiv.c
  46. +11 −9 lib/libc/stdlib/getopt_long.c
  47. +1 −1 lib/libc/string/Lint_bcmp.c
  48. +1 −1 lib/libc/string/Lint_bcopy.c
  49. +1 −1 lib/libc/string/Lint_bzero.c
  50. +1 −1 lib/libc/string/Lint_ffs.c
  51. +1 −1 lib/libc/string/Lint_index.c
  52. +1 −1 lib/libc/string/Lint_memchr.c
  53. +1 −1 lib/libc/string/Lint_memcmp.c
  54. +1 −1 lib/libc/string/Lint_memcpy.c
  55. +1 −1 lib/libc/string/Lint_memmove.c
  56. +1 −1 lib/libc/string/Lint_memset.c
  57. +1 −1 lib/libc/string/Lint_rindex.c
  58. +1 −1 lib/libc/string/Lint_strcat.c
  59. +1 −1 lib/libc/string/Lint_strchr.c
  60. +1 −1 lib/libc/string/Lint_strcmp.c
  61. +1 −1 lib/libc/string/Lint_strcpy.c
  62. +1 −1 lib/libc/string/Lint_strlen.c
  63. +1 −1 lib/libc/string/Lint_strncmp.c
  64. +1 −1 lib/libc/string/Lint_strrchr.c
  65. +1 −1 lib/libc/string/Lint_swab.c
  66. +11 −4 lib/libc/string/strcoll.c
  67. +1 −1 lib/libc/string/strxfrm.c
  68. +24 −18 usr.bin/colldef/colldef.1
  69. +0 −3,073 usr.bin/colldef/en_DK.example
  70. +12 −4 usr.bin/colldef/parse.y
  71. +40 −36 usr.bin/colldef/scan.l
  72. +34 −39 usr.bin/mklocale/lex.l
  73. +18 −3 usr.bin/mklocale/mklocale.1
  74. +60 −133 usr.bin/mklocale/yacc.y
View
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.dist,v 1.108.2.2 2000/05/29 14:01:40 minoura Exp $
+# $NetBSD: NetBSD.dist,v 1.108.2.3 2000/06/23 16:58:51 minoura Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755
@@ -95,6 +95,11 @@ rc.d
# ./etc/rc.d
..
+# ./etc/rc.conf.d
+rc.conf.d
+# ./etc/rc.conf.d
+..
+
# ./etc/sliphome
sliphome
# ./etc/sliphome
@@ -3135,6 +3140,11 @@ phantasia uname=games gname=games mode=0775
# ./var/games/phantasia
..
+# ./var/games/sail
+sail uname=games gname=games mode=0775
+# ./var/games/sail
+..
+
# ./var/games
..
View
@@ -1,9 +1,6 @@
-# $NetBSD: Makefile,v 1.85.2.1 2000/05/28 22:41:01 minoura Exp $
+# $NetBSD: Makefile,v 1.85.2.2 2000/06/23 16:58:47 minoura Exp $
# @(#)Makefile 8.2 (Berkeley) 1/4/94
-SRCTOP= ..
-.include <bsd.crypto.mk>
-
# Doing a make includes builds /usr/include
# Missing: mp.h
@@ -14,27 +11,24 @@ INCS= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
iso646.h kvm.h langinfo.h libgen.h \
limits.h link.h link_aout.h link_elf.h locale.h \
login_cap.h malloc.h math.h md4.h \
- memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
+ memory.h mpool.h ndbm.h netconfig.h netdb.h netgroup.h nlist.h \
+ nl_types.h \
nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
stdio.h stdlib.h string.h strings.h stringlist.h struct.h sysexits.h \
tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h util.h utime.h \
- utmp.h vis.h wchar.h \
- wctype.h
+ utmp.h vis.h wchar.h
+INCS+= wctype.h
INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/telnet.h arpa/tftp.h
INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
protocols/talkd.h protocols/timed.h
-INCS+= rpc/auth.h rpc/auth_unix.h rpc/clnt.h rpc/pmap_clnt.h rpc/pmap_prot.h \
- rpc/pmap_rmt.h rpc/rpc.h rpc/rpc_msg.h rpc/svc.h rpc/svc_auth.h \
- rpc/types.h rpc/xdr.h
INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h
INCSDIR=/usr/include
MKOBJ= no
-.if defined(CRYPTOPATH)
-.sinclude "${CRYPTOPATH}/include/Makefile.frag"
-.endif
+SUBDIR= rpc
.include <bsd.prog.mk>
+.include <bsd.subdir.mk>
View
@@ -1,4 +1,4 @@
-/* $NetBSD: ctype.h,v 1.17.8.1 2000/05/28 22:41:01 minoura Exp $ */
+/* $NetBSD: ctype.h,v 1.17.8.2 2000/06/23 16:58:48 minoura Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -68,31 +68,31 @@ extern const short *_toupper_tab_;
__BEGIN_DECLS
-extern int isalnum __P ((int));
-extern int isalpha __P ((int));
-extern int iscntrl __P ((int));
-extern int isdigit __P ((int));
-extern int isgraph __P ((int));
-extern int islower __P ((int));
-extern int isprint __P ((int));
-extern int ispunct __P ((int));
-extern int isspace __P ((int));
-extern int isupper __P ((int));
-extern int isxdigit __P ((int));
-extern int tolower __P ((int));
-extern int toupper __P ((int));
+int isalnum __P ((int));
+int isalpha __P ((int));
+int iscntrl __P ((int));
+int isdigit __P ((int));
+int isgraph __P ((int));
+int islower __P ((int));
+int isprint __P ((int));
+int ispunct __P ((int));
+int isspace __P ((int));
+int isupper __P ((int));
+int isxdigit __P ((int));
+int tolower __P ((int));
+int toupper __P ((int));
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) || \
defined(_XOPEN_SOURCE)
-extern int isascii __P ((int));
-extern int toascii __P ((int));
-extern int _tolower __P ((int));
-extern int _toupper __P ((int));
+int isascii __P ((int));
+int toascii __P ((int));
+int _tolower __P ((int));
+int _toupper __P ((int));
#endif
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
!defined(_XOPEN_SOURCE)
-extern int isblank __P ((int));
+int isblank __P ((int));
#endif
__END_DECLS
View
@@ -1,18 +1,23 @@
-# $NetBSD: Makefile,v 1.59.2.1 2000/05/28 22:40:55 minoura Exp $
+# $NetBSD: Makefile,v 1.59.2.2 2000/06/23 16:58:50 minoura Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
-SRCTOP= ..
-.include <bsd.crypto.mk>
-
SUBDIR= csu libarch libbz2 libc libcompat libcrypt libcurses libedit \
libkvm libl libm libmenu libossaudio libpcap libposix \
libresolv librmt librpcsvc libskey libterm libusb libutil libwrap \
liby libz
-# XXX Crypto bits must be dealt with before libtelnet.
-.if defined(CRYPTOPATH)
-.sinclude "${CRYPTOPATH}/lib/Makefile.frag"
-.endif
+# XXX Crypto bits must be done before libtelnet.
+
+# OpenSSL libraries. NOTE! WE DO NOT TRAVERSE INTO libdes FOR A REASON!
+SUBDIR+= libcrypto libssl
+
+# Heimdal Kerberos 5 libraries
+SUBDIR+= libroken libcom_err libsl libss libasn1 libkrb5 libhdb libkadm5 \
+ libkadm5srv libkadm5clnt libgssapi
+
+# KTH Kerberos 4 libraries
+SUBDIR+= libkrb libkdb libkadm libkafs
+SUBDIR+= libkstream
SUBDIR+= libtelnet
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88.2.1 2000/05/28 22:40:54 minoura Exp $
+# $NetBSD: Makefile,v 1.88.2.2 2000/06/23 16:58:50 minoura Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94
#
# All library objects contain sccsid strings by default; they may be
@@ -38,6 +38,8 @@ CLEANFILES+= ${.CURDIR}/tags ${.OBJDIR}/tags
# Don't try to lint the C library against itself when creating llib-lc.ln
LLIBS=
+INCSDIR= /usr/include
+
.if exists (${ARCHDIR}/Makefile.inc)
.PATH: ${ARCHDIR}
.include "${ARCHDIR}/Makefile.inc"
@@ -1,4 +1,4 @@
-/* $NetBSD: namespace.h,v 1.51 2000/05/08 13:38:44 kleink Exp $ */
+/* $NetBSD: namespace.h,v 1.51.2.1 2000/06/23 16:58:53 minoura Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -82,6 +82,7 @@
#define authunix_create_default _authunix_create_default
#define basename _basename
#define bindresvport _bindresvport
+#define bindresvport_sa _bindresvport_sa
#define bm_comp _bm_comp
#define bm_exec _bm_exec
#define bm_free _bm_free
@@ -104,12 +105,18 @@
#define cgetustr _cgetustr
#define clnt_broadcast _clnt_broadcast
#define clnt_create _clnt_create
+#define clnt_create_vers _clnt_create_vers
+#define clnt_dg_create _clnt_dg_create
#define clnt_pcreateerror _clnt_pcreateerror
#define clnt_perrno _clnt_perrno
#define clnt_perror _clnt_perror
+#define clnt_raw_create _clnt_raw_create
+#define clnt_tli_create _clnt_tli_create
+#define clnt_tp_create _clnt_tp_create
#define clnt_spcreateerror _clnt_spcreateerror
#define clnt_sperrno _clnt_sperrno
#define clnt_sperror _clnt_sperror
+#define clnt_vc_create _clnt_vc_create
#define clntraw_create _clntraw_create
#define clnttcp_create _clnttcp_create
#define clntudp_bufcreate _clntudp_bufcreate
@@ -138,6 +145,7 @@
#define endfsent _endfsent
#define endgrent _endgrent
#define endhostent _endhostent
+#define endnetconfig _endnetconfig
#define endnetent _endnetent
#define endnetgrent _endnetgrent
#define endprotoent _endprotoent
@@ -160,6 +168,7 @@
#define fdopen _fdopen
#define fgetln _fgetln
#define fnmatch _fnmatch
+#define freenetconfigent _freenetconfigent
#define freeaddrinfo _freeaddrinfo
#define freeifaddrs _freeifaddrs
#define ftok _ftok
@@ -194,8 +203,11 @@
#define getnameinfo _getnameinfo
#define getnetbyaddr _getnetbyaddr
#define getnetbyname _getnetbyname
+#define getnetconfig _getnetconfig
+#define getnetconfigent _getnetconfigent
#define getnetent _getnetent
#define getnetgrent _getnetgrent
+#define getnetpath _getnetpath
#define getopt _getopt
#define getopt_long _getopt_long
#define getpagesize _getpagesize
@@ -291,6 +303,8 @@
#define mpool_put _mpool_put
#define mpool_sync _mpool_sync
#define mrand48 _mrand48
+#define nc_perror _nc_perror
+#define nc_sperror _nc_sperror
#define nice _nice
#if 0
#define nlist _nlist
@@ -329,6 +343,17 @@
#define res_query _res_query
#define res_search _res_search
#define rewinddir _rewinddir
+#define rpc_broadcast _rpc_broadcast
+#define rpc_broadcast_exp _rpc_broadcast_exp
+#define rpc_call _rpc_call
+#define rpc_reg _rpc_reg
+#define rpcb_getmaps _rpcb_getmaps
+#define rpcb_gettime _rpcb_gettime
+#define rpcb_rmtcall _rpcb_rmtcall
+#define rpcb_set _rpcb_set
+#define rpcb_taddr2uaddr _rpcb_taddr2uaddr
+#define rpcb_uaddr2taddr _rpcb_uaddr2taddr
+#define rpcb_unset _rpcb_unset
#define scandir _scandir
#define seed48 _seed48
#define seekdir _seekdir
@@ -342,9 +367,11 @@
#define sethostname _sethostname
#define setlogmask _setlogmask
#define setmode _setmode
+#define setnetconfig _setnetconfig
#define setnetent _setnetent
#define setnetgrent _setnetgrent
#define setpassent _setpassent
+#define setnetpath _setnetpath
#define setproctitle _setproctitle
#define setprotoent _setprotoent
#define setpwent _setpwent
@@ -378,12 +405,24 @@
#define strunvis _strunvis
#define strvis _strvis
#define strvisx _strvisx
+#define svc_auth_reg _svc_auth_reg
+#define svc_create _svc_create
+#define svc_dg_create _svc_dg_create
+#define svc_exit _svc_exit
+#define svc_fd_create _svc_fd_create
#define svc_getreq _svc_getreq
#define svc_getreqset _svc_getreqset
+#define svc_getreq_common _svc_getreq_common
+#define svc_raw_create _svc_raw_create
#define svc_register _svc_register
+#define svc_reg _svc_reg
#define svc_run _svc_run
#define svc_sendreply _svc_sendreply
+#define svc_tli_create _svc_tli_create
+#define svc_tp_create _svc_tp_create
#define svc_unregister _svc_unregister
+#define svc_unreg _svc_unreg
+#define svc_vc_create _svc_vc_create
#define svcerr_auth _svcerr_auth
#define svcerr_decode _svcerr_decode
#define svcerr_noproc _svcerr_noproc
@@ -462,6 +501,7 @@
#define xdr_long _xdr_long
#define xdr_longlong_t _xdr_longlong_t
#define xdr_mapname _xdr_mapname
+#define xdr_netbuf _xdr_netbuf
#define xdr_netobj _xdr_netobj
#define xdr_opaque _xdr_opaque
#define xdr_opaque_auth _xdr_opaque_auth
@@ -474,6 +514,22 @@
#define xdr_replymsg _xdr_replymsg
#define xdr_rmtcall_args _xdr_rmtcall_args
#define xdr_rmtcallres _xdr_rmtcallres
+#define xdr_rpcb _xdr_rpcb
+#define xdr_rpcb_entry _xdr_rpcb_entry
+#define xdr_rpcb_entry_list_ptr _xdr_rpcb_entry_list_ptr
+#define xdr_rpcb_rmtcallargs _xdr_rpcb_rmtcallargs
+#define xdr_rpcb_rmtcallres _xdr_rpcb_rmtcallres
+#define xdr_rpcb_stat _xdr_rpcb_stat
+#define xdr_rpcb_stat_byvers _xdr_rpcb_stat_byvers
+#define xdr_rpcblist _xdr_rpcblist
+#define xdr_rpcblist_ptr _xdr_rpcblist_ptr
+#define xdr_rpcbs_addrlist _xdr_rpcbs_addrlist
+#define xdr_rpcbs_addrlist_ptr _xdr_rpcbs_addrlist_ptr
+#define xdr_rpcbs_proc _xdr_rpcbs_proc
+#define xdr_rpcbs_rmtcalllist _xdr_rpcbs_rmtcalllist
+#define xdr_rpcbs_rmtcalllist_ptr _xdr_rpcbs_rmtcalllist_ptr
+#define xdr_rpcbs _xdr_rpcbs
+#define xdr_rpcbs _xdr_rpcbs
#define xdr_short _xdr_short
#define xdr_string _xdr_string
#define xdr_u_char _xdr_u_char
@@ -1,4 +1,4 @@
-/* $NetBSD: reentrant.h,v 1.5 1998/09/14 11:03:05 kleink Exp $ */
+/* $NetBSD: reentrant.h,v 1.5.8.1 2000/06/23 16:58:54 minoura Exp $ */
/*-
* Copyright (c) 1997,98 The NetBSD Foundation, Inc.
@@ -99,8 +99,14 @@
#define mutex_init(m, a) pthread_mutex_init(m, a)
#define mutex_lock(m) pthread_mutex_lock(m)
+#define mutex_trylock(m) pthread_mutex_trylock(m)
#define mutex_unlock(m) pthread_mutex_unlock(m)
+#define cond_t pthread_cond_t
+#define cond_signal(m) pthread_cond_signal(m)
+#define cond_wait(c, m) pthread_cond_wait(c, m)
+#define cond_init(c, a, p) pthread_cond_init(c, a)
+
#define rwlock_t pthread_rwlock_t
#define RWLOCK_INITIALIZER PTHREAD_RWLOCK_INITIALIZER
@@ -109,20 +115,42 @@
#define rwlock_wrlock(l) pthread_rwlock_wrlock(l)
#define rwlock_unlock(l) pthread_rwlock_unlock(l)
+#define thread_key_t pthread_key_t
+#define thr_keycreate(k, d) pthread_key_create(k, d)
+#define thr_setspecific(k, p) pthread_setspecific(k, p)
+#define thr_getspecific(k) pthread_getspecific(k)
+#define thr_sigsetmask(f, n, o) pthread_sigmask(f, n, o)
+
+#define thr_self() pthread_self()
+#define thr_exit(x) pthread_exit(x)
+
#define FLOCKFILE(fp) flockfile(fp)
#define FUNLOCKFILE(fp) funlockfile(fp)
#else
#define mutex_init(m, a)
#define mutex_lock(m)
+#define mutex_trylock(m)
#define mutex_unlock(m)
+#define cond_signal(m)
+#define cond_wait(c, m)
+#define cond_init(c, a, p)
+
#define rwlock_init(l, a)
#define rwlock_rdlock(l)
#define rwlock_wrlock(l)
#define rwlock_unlock(l)
+#define thr_keycreate(k, d)
+#define thr_setspecific(k, p)
+#define thr_getspecific(k)
+#define thr_sigsetmask(f, n, o)
+
+#define thr_self()
+#define thr_exit()
+
#define FLOCKFILE(fp)
#define FUNLOCKFILE(fp)
Oops, something went wrong.

0 comments on commit 9f316ce

Please sign in to comment.