[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r11186 - in /trunk: libc/ libc/debug/ libc/dlfcn/ libc/elf/ libc/hurd/ libc/manual/ libc/nptl/ libc/nptl/sysdeps/unix/sysv/l...
- To: commits@xxxxxxxxxx
- Subject: [commits] r11186 - in /trunk: libc/ libc/debug/ libc/dlfcn/ libc/elf/ libc/hurd/ libc/manual/ libc/nptl/ libc/nptl/sysdeps/unix/sysv/l...
- From: joseph@xxxxxxxxxx
- Date: Sun, 08 Aug 2010 14:42:50 -0000
Author: joseph
Date: Sun Aug 8 07:42:46 2010
New Revision: 11186
Log:
Merge changes between r10807 and r11185 from /fsf/trunk.
Added:
trunk/libc/nptl/tst-abstime.c
- copied unchanged from r11185, fsf/trunk/libc/nptl/tst-abstime.c
trunk/libc/string/test-strcasecmp.c
- copied unchanged from r11185, fsf/trunk/libc/string/test-strcasecmp.c
trunk/libc/string/test-strcasestr.c
- copied unchanged from r11185, fsf/trunk/libc/string/test-strcasestr.c
trunk/libc/string/test-strnlen.c
- copied unchanged from r11185, fsf/trunk/libc/string/test-strnlen.c
trunk/libc/string/test-strstr.c
- copied unchanged from r11185, fsf/trunk/libc/string/test-strstr.c
trunk/libc/sysdeps/i386/i686/multiarch/strcasestr-nonascii.c
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcasestr-nonascii.c
trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S
trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S
trunk/libc/sysdeps/powerpc/powerpc32/power7/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S
trunk/libc/sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S
trunk/libc/sysdeps/powerpc/powerpc64/power7/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies
trunk/libc/sysdeps/x86_64/locale-defines.sym
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/locale-defines.sym
trunk/libc/sysdeps/x86_64/multiarch/bcopy.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/bcopy.S
trunk/libc/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
trunk/libc/sysdeps/x86_64/multiarch/memcpy-ssse3.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memcpy-ssse3.S
trunk/libc/sysdeps/x86_64/multiarch/memcpy.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memcpy.S
trunk/libc/sysdeps/x86_64/multiarch/memcpy_chk.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memcpy_chk.S
trunk/libc/sysdeps/x86_64/multiarch/memmove-ssse3-back.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memmove-ssse3-back.S
trunk/libc/sysdeps/x86_64/multiarch/memmove-ssse3.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memmove-ssse3.S
trunk/libc/sysdeps/x86_64/multiarch/memmove.c
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memmove.c
trunk/libc/sysdeps/x86_64/multiarch/memmove_chk.c
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/memmove_chk.c
trunk/libc/sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S
trunk/libc/sysdeps/x86_64/multiarch/mempcpy-ssse3.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/mempcpy-ssse3.S
trunk/libc/sysdeps/x86_64/multiarch/mempcpy.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/mempcpy.S
trunk/libc/sysdeps/x86_64/multiarch/mempcpy_chk.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/mempcpy_chk.S
trunk/libc/sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S
trunk/libc/sysdeps/x86_64/multiarch/strcasecmp_l.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/strcasecmp_l.S
trunk/libc/sysdeps/x86_64/multiarch/strcasestr-nonascii.c
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/multiarch/strcasestr-nonascii.c
trunk/libc/sysdeps/x86_64/strcasecmp.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/strcasecmp.S
trunk/libc/sysdeps/x86_64/strcasecmp_l-nonascii.c
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/strcasecmp_l-nonascii.c
trunk/libc/sysdeps/x86_64/strcasecmp_l.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/strcasecmp_l.S
trunk/libc/sysdeps/x86_64/strnlen.S
- copied unchanged from r11185, fsf/trunk/libc/sysdeps/x86_64/strnlen.S
trunk/ports/sysdeps/m68k/coldfire/sysdep.h
- copied unchanged from r11185, fsf/trunk/ports/sysdeps/m68k/coldfire/sysdep.h
trunk/ports/sysdeps/m68k/m680x0/sysdep.h
- copied unchanged from r11185, fsf/trunk/ports/sysdeps/m68k/m680x0/sysdep.h
trunk/ports/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
- copied unchanged from r11185, fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
trunk/ports/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h
- copied unchanged from r11185, fsf/trunk/ports/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h
Removed:
trunk/libc/sysdeps/powerpc/powerpc32/970/fpu/
trunk/libc/sysdeps/powerpc/powerpc32/power5+/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power6x/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc64/970/fpu/
trunk/libc/sysdeps/powerpc/powerpc64/power5+/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power5/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power6/fpu/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power6x/fpu/Implies
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/
Modified:
trunk/libc/ChangeLog
trunk/libc/ChangeLog.17
trunk/libc/NEWS
trunk/libc/Versions.def
trunk/libc/config.make.in
trunk/libc/configure
trunk/libc/configure.in
trunk/libc/debug/memmove_chk.c
trunk/libc/dlfcn/Makefile
trunk/libc/elf/Makefile
trunk/libc/elf/dl-close.c
trunk/libc/elf/dl-sysdep.c
trunk/libc/elf/dl-version.c
trunk/libc/hurd/hurdselect.c
trunk/libc/manual/arith.texi
trunk/libc/manual/locale.texi
trunk/libc/manual/memory.texi
trunk/libc/nptl/ChangeLog
trunk/libc/nptl/Makefile
trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_getname.c
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
trunk/libc/stdlib/Versions
trunk/libc/string/Makefile
trunk/libc/string/memmove.c
trunk/libc/string/str-two-way.h
trunk/libc/string/strcasestr.c
trunk/libc/string/tester.c
trunk/libc/string/tst-strlen.c
trunk/libc/sunrpc/auth_des.c
trunk/libc/sunrpc/auth_none.c
trunk/libc/sunrpc/auth_unix.c
trunk/libc/sunrpc/authdes_prot.c
trunk/libc/sunrpc/authuxprot.c
trunk/libc/sunrpc/bindrsvprt.c
trunk/libc/sunrpc/clnt_gen.c
trunk/libc/sunrpc/clnt_perr.c
trunk/libc/sunrpc/clnt_raw.c
trunk/libc/sunrpc/clnt_simp.c
trunk/libc/sunrpc/clnt_tcp.c
trunk/libc/sunrpc/clnt_udp.c
trunk/libc/sunrpc/clnt_unix.c
trunk/libc/sunrpc/des_crypt.c
trunk/libc/sunrpc/des_soft.c
trunk/libc/sunrpc/get_myaddr.c
trunk/libc/sunrpc/getrpcport.c
trunk/libc/sunrpc/key_call.c
trunk/libc/sunrpc/key_prot.c
trunk/libc/sunrpc/openchild.c
trunk/libc/sunrpc/pm_getmaps.c
trunk/libc/sunrpc/pm_getport.c
trunk/libc/sunrpc/pmap_clnt.c
trunk/libc/sunrpc/pmap_prot.c
trunk/libc/sunrpc/pmap_prot2.c
trunk/libc/sunrpc/pmap_rmt.c
trunk/libc/sunrpc/rpc/auth.h
trunk/libc/sunrpc/rpc/auth_unix.h
trunk/libc/sunrpc/rpc/clnt.h
trunk/libc/sunrpc/rpc/des_crypt.h
trunk/libc/sunrpc/rpc/key_prot.h
trunk/libc/sunrpc/rpc/netdb.h
trunk/libc/sunrpc/rpc/pmap_clnt.h
trunk/libc/sunrpc/rpc/pmap_prot.h
trunk/libc/sunrpc/rpc/pmap_rmt.h
trunk/libc/sunrpc/rpc/rpc.h
trunk/libc/sunrpc/rpc/rpc_des.h
trunk/libc/sunrpc/rpc/rpc_msg.h
trunk/libc/sunrpc/rpc/svc.h
trunk/libc/sunrpc/rpc/svc_auth.h
trunk/libc/sunrpc/rpc/types.h
trunk/libc/sunrpc/rpc/xdr.h
trunk/libc/sunrpc/rpc_clntout.c
trunk/libc/sunrpc/rpc_cmsg.c
trunk/libc/sunrpc/rpc_common.c
trunk/libc/sunrpc/rpc_cout.c
trunk/libc/sunrpc/rpc_dtable.c
trunk/libc/sunrpc/rpc_hout.c
trunk/libc/sunrpc/rpc_main.c
trunk/libc/sunrpc/rpc_parse.c
trunk/libc/sunrpc/rpc_parse.h
trunk/libc/sunrpc/rpc_prot.c
trunk/libc/sunrpc/rpc_sample.c
trunk/libc/sunrpc/rpc_scan.c
trunk/libc/sunrpc/rpc_scan.h
trunk/libc/sunrpc/rpc_svcout.c
trunk/libc/sunrpc/rpc_tblout.c
trunk/libc/sunrpc/rpc_util.c
trunk/libc/sunrpc/rpc_util.h
trunk/libc/sunrpc/rpcinfo.c
trunk/libc/sunrpc/rpcsvc/bootparam_prot.x
trunk/libc/sunrpc/rpcsvc/key_prot.x
trunk/libc/sunrpc/rpcsvc/klm_prot.x
trunk/libc/sunrpc/rpcsvc/mount.x
trunk/libc/sunrpc/rpcsvc/nfs_prot.x
trunk/libc/sunrpc/rpcsvc/rex.x
trunk/libc/sunrpc/rpcsvc/rstat.x
trunk/libc/sunrpc/rpcsvc/rusers.x
trunk/libc/sunrpc/rpcsvc/sm_inter.x
trunk/libc/sunrpc/rpcsvc/spray.x
trunk/libc/sunrpc/rpcsvc/yppasswd.x
trunk/libc/sunrpc/rtime.c
trunk/libc/sunrpc/svc.c
trunk/libc/sunrpc/svc_auth.c
trunk/libc/sunrpc/svc_authux.c
trunk/libc/sunrpc/svc_raw.c
trunk/libc/sunrpc/svc_run.c
trunk/libc/sunrpc/svc_simple.c
trunk/libc/sunrpc/svc_tcp.c
trunk/libc/sunrpc/svc_udp.c
trunk/libc/sunrpc/svc_unix.c
trunk/libc/sunrpc/svcauth_des.c
trunk/libc/sunrpc/xcrypt.c
trunk/libc/sunrpc/xdr.c
trunk/libc/sunrpc/xdr_array.c
trunk/libc/sunrpc/xdr_float.c
trunk/libc/sunrpc/xdr_mem.c
trunk/libc/sunrpc/xdr_rec.c
trunk/libc/sunrpc/xdr_ref.c
trunk/libc/sunrpc/xdr_sizeof.c
trunk/libc/sunrpc/xdr_stdio.c
trunk/libc/sysdeps/i386/i386-mcount.S
trunk/libc/sysdeps/i386/i686/multiarch/Makefile
trunk/libc/sysdeps/mach/hurd/sendmsg.c
trunk/libc/sysdeps/mach/hurd/ttyname.c
trunk/libc/sysdeps/mach/hurd/ttyname_r.c
trunk/libc/sysdeps/powerpc/powerpc32/970/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power5+/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power5/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power6/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power6x/Implies
trunk/libc/sysdeps/powerpc/powerpc64/970/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power5+/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power5/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power6/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power6x/Implies
trunk/libc/sysdeps/unix/sysv/linux/fpathconf.c
trunk/libc/sysdeps/unix/sysv/linux/getlogin_r.c
trunk/libc/sysdeps/x86_64/Makefile
trunk/libc/sysdeps/x86_64/_mcount.S
trunk/libc/sysdeps/x86_64/memcpy.S
trunk/libc/sysdeps/x86_64/multiarch/Makefile
trunk/libc/sysdeps/x86_64/multiarch/init-arch.c
trunk/libc/sysdeps/x86_64/multiarch/init-arch.h
trunk/libc/sysdeps/x86_64/multiarch/strcasestr.c
trunk/libc/sysdeps/x86_64/multiarch/strcmp-ssse3.S
trunk/libc/sysdeps/x86_64/multiarch/strcmp.S
trunk/libc/sysdeps/x86_64/multiarch/strstr.c
trunk/libc/sysdeps/x86_64/strcmp.S
trunk/libc/sysdeps/x86_64/sysdep.h
trunk/ports/ChangeLog.hppa
trunk/ports/ChangeLog.m68k
trunk/ports/sysdeps/m68k/sysdep.h
trunk/ports/sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S
trunk/ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
trunk/ports/sysdeps/unix/sysv/linux/m68k/sysdep.h
Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Sun Aug 8 07:42:46 2010
@@ -1,4 +1,251 @@
-2010-06-21 Andreas Schwab <schwab@xxxxxxxxxx>
+2010-07-17 Andi Kleen <ak@xxxxxxxxxxxxxxx>
+
+ * sysdeps/i386/i386-mcount.S (__fentry__): Define.
+ * sysdeps/x86_64/_mcount.S (__fentry__): Define.
+ * stdlib/Versions (__fentry__): Add for GLIBC 2.13
+ * Versions.def [GLIBC_2.13]: Add.
+
+2010-08-06 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ Also fail if tpwd after pwuid call is NULL.
+
+2010-07-31 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
+
+ * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
+ when converting to ms.
+
+2010-06-06 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
+
+ * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
+ EOPNOTSUPP errors with ENOTTY.
+ * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
+ EOPNOTSUPP errors with ENOTTY.
+
+2010-07-31 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
+ Add strcasecmp_l-ssse3.
+ * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
+ strcasecmp.
+ * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
+ * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
+ * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
+
+2010-07-30 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
+
+ * string/Makefile (strop-tests): Add strcasecmp.
+ * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
+ strcasecmp_l-nonascii.
+ (gen-as-const-headers): Add locale-defines.sym.
+ * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
+ * sysdeps/x86_64/strcasecmp.S: New file.
+ * sysdeps/x86_64/strcasecmp_l.S: New file.
+ * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
+ * sysdeps/x86_64/locale-defines.sym: New file.
+ * string/test-strcasecmp.c: New file.
+
+ * string/test-strcasestr.c: Test both ends of the range of characters.
+ * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
+
+2010-07-29 Roland McGrath <roland@xxxxxxxxxx>
+
+ [BZ #11856]
+ * manual/locale.texi (Yes-or-No Questions): Fix example code.
+
+2010-07-27 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
+ for ld.so.
+
+2010-07-27 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * manual/memory.texi (Malloc Tunable Parameters): Document
+ M_PERTURB.
+
+2010-07-26 Roland McGrath <roland@xxxxxxxxxx>
+
+ [BZ #11840]
+ * configure.in (-fgnu89-inline check): Set and substitute
+ gnu89_inline, not libc_cv_gnu89_inline.
+ * configure: Regenerated.
+ * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
+
+2010-07-26 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * string/test-strnlen.c: New file.
+ * string/Makefile (strop-tests): Add strnlen.
+ * string/tester.c (test_strnlen): Add a few more test cases.
+ * string/tst-strlen.c: Better error reporting.
+
+ * sysdeps/x86_64/strnlen.S: New file.
+
+2010-07-24 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
+ lower-latency instructions.
+
+2010-07-23 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * string/test-strcasestr.c: New file.
+ * string/test-strstr.c: New file.
+ * string/Makefile (strop-tests): Add strstr and strcasestr.
+ * string/str-two-way.h: Don't undefine MAX.
+ * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
+
+2010-07-21 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
+ strcasestr-nonascii.
+ (CFLAGS-strcasestr-nonascii.c): Define.
+ * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
+ * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
+ Remove unused attribute.
+
+2010-07-20 Roland McGrath <roland@xxxxxxxxxx>
+
+ * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
+ dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
+ ld.so.cache was broken. With it, there is no way to disable dsocaps
+ like LD_HWCAP_MASK can disable hwcaps.
+
+2010-06-02 Emilio Pozuelo Monfort <pochu27@xxxxxxxxx>
+
+ * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
+
+2010-07-16 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
+ call in strcasestr.
+ * sysdeps/x86_64/multiarch/strcasestr.c: Declare
+ __strcasestr_sse42_nonascii.
+ * sysdeps/x86_64/multiarch/Makefile: Add rules to build
+ strcasestr-nonascii.c.
+ * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
+
+2010-06-15 Luis Machado <luisgpm@xxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
+ * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
+ * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
+ * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
+
+2010-07-09 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
+ fcntl.
+
+2010-07-06 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * elf/dl-version.c (match_symbol): Don't pass NULL occation to
+ dl_signal_cerror.
+
+2010-07-06 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
+ _PC_PIPE_BUF using F_GETPIPE_SZ.
+
+2010-07-05 Roland McGrath <roland@xxxxxxxxxx>
+
+ * manual/arith.texi (Rounding Functions): Fix rint description
+ implicit in round description.
+
+2010-07-02 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * elf/Makefile: Fix linking for a few tests to make recent linker
+ happy.
+
+2010-06-30 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
+ $(common-objpfx)libc_nonshared.a.
+
+2010-06-21 Luis Machado <luisgpm@xxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
+ * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
+ * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
+ * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
+ * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
+ * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
+ * sysdeps/powerpc/powerpc32/power7/Implies: New file.
+ * sysdeps/powerpc/powerpc64/power7/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
+
+2010-06-25 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * debug/memmove_chk.c (__memmove_chk): Renamed to ...
+ (MEMMOVE_CHK): ...this. Default to __memmove_chk.
+ * string/memmove.c (memmove): Renamed to ...
+ (MEMMOVE): ...this. Default to memmove.
+ * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
+ * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
+ (END_CHK): Define.
+ * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
+ memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
+ mempcpy-ssse3-back memmove-ssse3-back.
+ * sysdeps/x86_64/multiarch/bcopy.S: New file .
+ * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
+ * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/memmove.c: New file.
+ * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
+ * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
+ * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
+ Define.
+ (index_Fast_Copy_Backward): Define.
+ (HAS_ARCH_FEATURE): Define.
+ (HAS_FAST_REP_STRING): Define.
+ (HAS_FAST_COPY_BACKWARD): Define.
+
+2010-06-21 Andreas Schwab <schwab@xxxxxxxxxx>
* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
Restore proper fallback handling.
Modified: trunk/libc/ChangeLog.17
==============================================================================
--- trunk/libc/ChangeLog.17 (original)
+++ trunk/libc/ChangeLog.17 Sun Aug 8 07:42:46 2010
@@ -3741,99 +3741,6 @@
(SOCKOP_accept4): Define.
2009-05-20 Ulrich Drepper <drepper@xxxxxxxxxx>
-
- Sun approved the change of the license.
- * sunrpc/auth_des.c: Replace license text.
- * sunrpc/auth_none.c: Likewise.
- * sunrpc/auth_unix.c: Likewise.
- * sunrpc/authdes_prot.c: Likewise.
- * sunrpc/authuxprot.c: Likewise.
- * sunrpc/bindrsvprt.c: Likewise.
- * sunrpc/clnt_gen.c: Likewise.
- * sunrpc/clnt_perr.c: Likewise.
- * sunrpc/clnt_raw.c: Likewise.
- * sunrpc/clnt_simp.c: Likewise.
- * sunrpc/clnt_tcp.c: Likewise.
- * sunrpc/clnt_udp.c: Likewise.
- * sunrpc/clnt_unix.c: Likewise.
- * sunrpc/des_crypt.c: Likewise.
- * sunrpc/des_soft.c: Likewise.
- * sunrpc/get_myaddr.c: Likewise.
- * sunrpc/getrpcport.c: Likewise.
- * sunrpc/key_call.c: Likewise.
- * sunrpc/key_prot.c: Likewise.
- * sunrpc/openchild.c: Likewise.
- * sunrpc/pm_getmaps.c: Likewise.
- * sunrpc/pm_getport.c: Likewise.
- * sunrpc/pmap_clnt.c: Likewise.
- * sunrpc/pmap_prot.c: Likewise.
- * sunrpc/pmap_prot2.c: Likewise.
- * sunrpc/pmap_rmt.c: Likewise.
- * sunrpc/rpc/auth.h: Likewise.
- * sunrpc/rpc/auth_unix.h: Likewise.
- * sunrpc/rpc/clnt.h: Likewise.
- * sunrpc/rpc/des_crypt.h: Likewise.
- * sunrpc/rpc/key_prot.h: Likewise.
- * sunrpc/rpc/netdb.h: Likewise.
- * sunrpc/rpc/pmap_clnt.h: Likewise.
- * sunrpc/rpc/pmap_prot.h: Likewise.
- * sunrpc/rpc/pmap_rmt.h: Likewise.
- * sunrpc/rpc/rpc.h: Likewise.
- * sunrpc/rpc/rpc_des.h: Likewise.
- * sunrpc/rpc/rpc_msg.h: Likewise.
- * sunrpc/rpc/svc.h: Likewise.
- * sunrpc/rpc/svc_auth.h: Likewise.
- * sunrpc/rpc/types.h: Likewise.
- * sunrpc/rpc/xdr.h: Likewise.
- * sunrpc/rpc_clntout.c: Likewise.
- * sunrpc/rpc_cmsg.c: Likewise.
- * sunrpc/rpc_common.c: Likewise.
- * sunrpc/rpc_cout.c: Likewise.
- * sunrpc/rpc_dtable.c: Likewise.
- * sunrpc/rpc_hout.c: Likewise.
- * sunrpc/rpc_main.c: Likewise.
- * sunrpc/rpc_parse.c: Likewise.
- * sunrpc/rpc_parse.h: Likewise.
- * sunrpc/rpc_prot.c: Likewise.
- * sunrpc/rpc_sample.c: Likewise.
- * sunrpc/rpc_scan.c: Likewise.
- * sunrpc/rpc_scan.h: Likewise.
- * sunrpc/rpc_svcout.c: Likewise.
- * sunrpc/rpc_tblout.c: Likewise.
- * sunrpc/rpc_util.c: Likewise.
- * sunrpc/rpc_util.h: Likewise.
- * sunrpc/rpcinfo.c: Likewise.
- * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
- * sunrpc/rpcsvc/key_prot.x: Likewise.
- * sunrpc/rpcsvc/klm_prot.x: Likewise.
- * sunrpc/rpcsvc/mount.x: Likewise.
- * sunrpc/rpcsvc/nfs_prot.x: Likewise.
- * sunrpc/rpcsvc/rex.x: Likewise.
- * sunrpc/rpcsvc/rstat.x: Likewise.
- * sunrpc/rpcsvc/rusers.x: Likewise.
- * sunrpc/rpcsvc/sm_inter.x: Likewise.
- * sunrpc/rpcsvc/spray.x: Likewise.
- * sunrpc/rpcsvc/yppasswd.x: Likewise.
- * sunrpc/rtime.c: Likewise.
- * sunrpc/svc.c: Likewise.
- * sunrpc/svc_auth.c: Likewise.
- * sunrpc/svc_authux.c: Likewise.
- * sunrpc/svc_raw.c: Likewise.
- * sunrpc/svc_run.c: Likewise.
- * sunrpc/svc_simple.c: Likewise.
- * sunrpc/svc_tcp.c: Likewise.
- * sunrpc/svc_udp.c: Likewise.
- * sunrpc/svc_unix.c: Likewise.
- * sunrpc/svcauth_des.c: Likewise.
- * sunrpc/xcrypt.c: Likewise.
- * sunrpc/xdr.c: Likewise.
- * sunrpc/xdr_array.c: Likewise.
- * sunrpc/xdr_float.c: Likewise.
- * sunrpc/xdr_mem.c: Likewise.
- * sunrpc/xdr_rec.c: Likewise.
- * sunrpc/xdr_ref.c: Likewise.
- * sunrpc/xdr_sizeof.c: Likewise.
- * sunrpc/xdr_stdio.c: Likewise.
* po/da.po: Update from translation team.
Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2010-6-19
+GNU C Library NEWS -- history of user-visible changes. 2010-7-29
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -9,9 +9,12 @@
* The following bugs are resolved with this release:
- 11640, 11701
+ 11640, 11701, 11840, 11856
* POWER7 optimizations: memset, memcmp, strncmp
+
+* New optimized string functions for x86-64: strnlen, strcasecmp
+ Implemented by Ulrich Drepper.
Version 2.12
Modified: trunk/libc/Versions.def
==============================================================================
--- trunk/libc/Versions.def (original)
+++ trunk/libc/Versions.def Sun Aug 8 07:42:46 2010
@@ -29,6 +29,7 @@
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
+ GLIBC_2.13
%ifdef USE_IN_LIBIO
HURD_CTHREADS_0.3
%endif
Modified: trunk/libc/config.make.in
==============================================================================
--- trunk/libc/config.make.in (original)
+++ trunk/libc/config.make.in Sun Aug 8 07:42:46 2010
@@ -59,7 +59,7 @@
enable-check-abi = @enable_check_abi@
have-forced-unwind = @libc_cv_forced_unwind@
have-fpie = @libc_cv_fpie@
-gnu89-inline-CFLAGS = @libc_cv_gnu89_inline@
+gnu89-inline-CFLAGS = @gnu89_inline@
have-ssp = @libc_cv_ssp@
have-selinux = @have_selinux@
have-libaudit = @have_libaudit@
Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Sun Aug 8 07:42:46 2010
@@ -682,7 +682,7 @@
exceptions
no_whole_archive
libc_cv_have_initfini
-libc_cv_gnu89_inline
+gnu89_inline
libc_cv_ssp
fno_unit_at_a_time
libc_cv_hashstyle
@@ -6998,9 +6998,9 @@
{ $as_echo "$as_me:$LINENO: result: $libc_cv_gnu89_inline" >&5
$as_echo "$libc_cv_gnu89_inline" >&6; }
if test $libc_cv_gnu89_inline = yes; then
- libc_cv_gnu89_inline=-fgnu89-inline
-else
- libc_cv_gnu89_inline=
+ gnu89_inline=-fgnu89-inline
+else
+ gnu89_inline=
fi
Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Sun Aug 8 07:42:46 2010
@@ -1827,11 +1827,11 @@
fi
rm -f conftest*])
if test $libc_cv_gnu89_inline = yes; then
- libc_cv_gnu89_inline=-fgnu89-inline
-else
- libc_cv_gnu89_inline=
-fi
-AC_SUBST(libc_cv_gnu89_inline)
+ gnu89_inline=-fgnu89-inline
+else
+ gnu89_inline=
+fi
+AC_SUBST(gnu89_inline)
if test $elf != yes; then
AC_CACHE_CHECK(for .init and .fini sections, libc_cv_have_initfini,
Modified: trunk/libc/debug/memmove_chk.c
==============================================================================
--- trunk/libc/debug/memmove_chk.c (original)
+++ trunk/libc/debug/memmove_chk.c Sun Aug 8 07:42:46 2010
@@ -23,8 +23,12 @@
#include <memcopy.h>
#include <pagecopy.h>
+#ifndef MEMMOVE_CHK
+# define MEMMOVE_CHK __memmove_chk
+#endif
+
void *
-__memmove_chk (dest, src, len, destlen)
+MEMMOVE_CHK (dest, src, len, destlen)
void *dest;
const void *src;
size_t len;
Modified: trunk/libc/dlfcn/Makefile
==============================================================================
--- trunk/libc/dlfcn/Makefile (original)
+++ trunk/libc/dlfcn/Makefile Sun Aug 8 07:42:46 2010
@@ -130,7 +130,7 @@
$(objpfx)bug-atexit2: $(libdl)
$(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so
-LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh
+LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
$(objpfx)bug-atexit3: $(libdl)
$(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Sun Aug 8 07:42:46 2010
@@ -28,7 +28,7 @@
# The core dynamic linking functions are in libc for the static and
# profiled libraries.
dl-routines = $(addprefix dl-,load cache lookup object reloc deps \
- runtime error init fini debug misc \
+ runtime error init fini debug misc \
version profile conflict tls origin scope \
execstack caller open close trampoline)
all-dl-routines = $(dl-routines) $(sysdep-dl-routines)
@@ -225,7 +225,7 @@
neededobj5 neededobj6 firstobj globalmod1 \
unload2mod unload2dep ltglobmod1 ltglobmod2 pathoptobj \
dblloadmod1 dblloadmod2 dblloadmod3 reldepmod5 reldepmod6 \
- reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
+ reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
reldep7mod1 reldep7mod2 \
tst-tlsmod1 tst-tlsmod2 tst-tlsmod3 tst-tlsmod4 \
tst-tlsmod5 tst-tlsmod6 tst-tlsmod7 tst-tlsmod8 \
@@ -766,11 +766,11 @@
$(objpfx)tst-tls9: $(libdl)
$(objpfx)tst-tls9.out: $(objpfx)tst-tlsmod5.so $(objpfx)tst-tlsmod6.so
-$(objpfx)tst-tls10: $(objpfx)tst-tlsmod8.so
-
-$(objpfx)tst-tls11: $(objpfx)tst-tlsmod10.so
-
-$(objpfx)tst-tls12: $(objpfx)tst-tlsmod12.so
+$(objpfx)tst-tls10: $(objpfx)tst-tlsmod8.so $(objpfx)tst-tlsmod7.so
+
+$(objpfx)tst-tls11: $(objpfx)tst-tlsmod10.so $(objpfx)tst-tlsmod9.so
+
+$(objpfx)tst-tls12: $(objpfx)tst-tlsmod12.so $(objpfx)tst-tlsmod11.so
$(objpfx)tst-tls13: $(libdl)
$(objpfx)tst-tls13.out: $(objpfx)tst-tlsmod13a.so
@@ -933,11 +933,11 @@
$(objpfx)tst-dlmodcount.out: $(test-modules)
check-data := $(firstword $(wildcard \
- $(foreach D,$(add-ons) scripts,\
- $(patsubst %,$(..)$D/data/localplt-%.data,\
- $(abi-name) \
- $(addsuffix -$(config-os),\
- $(config-machine) \
+ $(foreach D,$(add-ons) scripts,\
+ $(patsubst %,$(..)$D/data/localplt-%.data,\
+ $(abi-name) \
+ $(addsuffix -$(config-os),\
+ $(config-machine) \
$(base-machine)) \
generic))))
@@ -949,9 +949,9 @@
$(objpfx)check-localplt.out: $(objpfx)check-localplt \
$(common-objpfx)libc.so \
- $(common-objpfx)math/libm.so $(thread-dso) \
- $(common-objpfx)rt/librt.so \
- $(common-objpfx)dlfcn/libdl.so \
+ $(common-objpfx)math/libm.so $(thread-dso) \
+ $(common-objpfx)rt/librt.so \
+ $(common-objpfx)dlfcn/libdl.so \
$(common-objpfx)resolv/libresolv.so \
$(common-objpfx)crypt/libcrypt.so \
$(check-data)
Modified: trunk/libc/elf/dl-close.c
==============================================================================
--- trunk/libc/elf/dl-close.c (original)
+++ trunk/libc/elf/dl-close.c Sun Aug 8 07:42:46 2010
@@ -1,5 +1,5 @@
/* Close a shared object opened by `_dl_open'.
- Copyright (C) 1996-2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1996-2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -274,7 +274,7 @@
}
#ifdef SHARED
- /* Auditing checkpoint: we have a new object. */
+ /* Auditing checkpoint: we remove an object. */
if (__builtin_expect (do_audit, 0))
{
struct audit_ifaces *afct = GLRO(dl_audit);
Modified: trunk/libc/elf/dl-sysdep.c
==============================================================================
--- trunk/libc/elf/dl-sysdep.c (original)
+++ trunk/libc/elf/dl-sysdep.c Sun Aug 8 07:42:46 2010
@@ -425,6 +425,11 @@
{
const ElfW(Word) mask = ((const ElfW(Word) *) dsocaps)[-1];
GLRO(dl_hwcap) |= (uint64_t) mask << _DL_FIRST_EXTRA;
+ /* Note that we add the dsocaps to the set already chosen by the
+ LD_HWCAP_MASK environment variable (or default HWCAP_IMPORTANT).
+ So there is no way to request ignoring an OS-supplied dsocap
+ string and bit like you can ignore an OS-supplied HWCAP bit. */
+ GLRO(dl_hwcap_mask) |= (uint64_t) mask << _DL_FIRST_EXTRA;
size_t len;
for (const char *p = dsocaps; p < dsocaps + dsocapslen; p += len + 1)
{
Modified: trunk/libc/elf/dl-version.c
==============================================================================
--- trunk/libc/elf/dl-version.c (original)
+++ trunk/libc/elf/dl-version.c Sun Aug 8 07:42:46 2010
@@ -169,7 +169,7 @@
result = 1;
call_cerror:
_dl_signal_cerror (0, map->l_name[0] ? map->l_name : rtld_progname,
- NULL, errstring);
+ N_("version lookup error"), errstring);
return result;
}
Modified: trunk/libc/hurd/hurdselect.c
==============================================================================
--- trunk/libc/hurd/hurdselect.c (original)
+++ trunk/libc/hurd/hurdselect.c Sun Aug 8 07:42:46 2010
@@ -52,7 +52,7 @@
int firstfd, lastfd;
mach_msg_timeout_t to = (timeout != NULL ?
(timeout->tv_sec * 1000 +
- timeout->tv_nsec / 1000000) :
+ (timeout->tv_nsec + 999999) / 1000000) :
0);
struct
{
Modified: trunk/libc/manual/arith.texi
==============================================================================
--- trunk/libc/manual/arith.texi (original)
+++ trunk/libc/manual/arith.texi Sun Aug 8 07:42:46 2010
@@ -1407,7 +1407,8 @@
@comment ISO
@deftypefunx {long double} roundl (long double @var{x})
These functions are similar to @code{rint}, but they round halfway
-cases away from zero instead of to the nearest even integer.
+cases away from zero instead of to the nearest integer (or other
+current rounding mode).
@end deftypefun
@comment math.h
Modified: trunk/libc/manual/locale.texi
==============================================================================
--- trunk/libc/manual/locale.texi (original)
+++ trunk/libc/manual/locale.texi Sun Aug 8 07:42:46 2010
@@ -1210,7 +1210,7 @@
/* @r{Prepare the @code{getline} call.} */
line = NULL;
len = 0;
- while (getline (&line, &len, stdout) >= 0)
+ while (getline (&line, &len, stdin) >= 0)
@{
/* @r{Check the response.} */
int res = rpmatch (line);
Modified: trunk/libc/manual/memory.texi
==============================================================================
--- trunk/libc/manual/memory.texi (original)
+++ trunk/libc/manual/memory.texi Sun Aug 8 07:42:46 2010
@@ -702,6 +702,11 @@
@item M_MMAP_MAX
The maximum number of chunks to allocate with @code{mmap}. Setting this
to zero disables all use of @code{mmap}.
+@item M_PERTURB
+If non-zero, memory blocks are filled with values depending on some
+low order bits of this parameter when they are allocated (except when
+allocated by @code{calloc}) and freed. This can be used to debug the
+use of uninitialized or freed heap memory.
@end table
@end deftypefun
Modified: trunk/libc/nptl/ChangeLog
==============================================================================
--- trunk/libc/nptl/ChangeLog (original)
+++ trunk/libc/nptl/ChangeLog Sun Aug 8 07:42:46 2010
@@ -1,3 +1,40 @@
+2010-07-06 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
+ Fix type mismatch.
+
+2010-07-03 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * tst-abstime.c (do_test): Some more cleanups
+
+2010-07-02 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * tst-abstime.c: Correct testing and add test for sem_timedwait.
+
+2010-07-01 Andreas Schwab <schwab@xxxxxxxxxx>
+ Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * Makefile (tests): Add tst-abstime.
+ * tst-abstime.c: New file.
+ * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
+ (__lll_timedlock_wait): Check for timestamp before the Epoch.
+ * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+ (__lll_timedlock_wait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
+ (__lll_robust_timedlock_wait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
+ (__pthread_cond_timedwait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
+ (pthread_rwlock_timedrdlock): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
+ (pthread_rwlock_timedwrlock): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
+ Likewise.
+
+2010-07-01 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * Makefile (tst-_res1): Add tst-_res1mod1 to dependency list.
+
2010-06-01 Takashi Yoshii <takashi.yoshii.zj@xxxxxxxxxxx>
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Fix incorrect
Modified: trunk/libc/nptl/Makefile
==============================================================================
--- trunk/libc/nptl/Makefile (original)
+++ trunk/libc/nptl/Makefile Sun Aug 8 07:42:46 2010
@@ -259,6 +259,7 @@
tst-context1 \
tst-sched1 \
tst-oddstacklimit \
+ tst-abstime \
tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
tst-getpid1 tst-getpid2 tst-getpid3 \
tst-initializers1 $(patsubst %,tst-initializers1-%,c89 gnu89 c99 gnu99)
@@ -511,7 +512,8 @@
$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
LDFLAGS-tst-_res1mod1.so = -Wl,-soname,tst-_res1mod1.so
LDFLAGS-tst-_res1mod2.so = -Wl,-soname,tst-_res1mod2.so
-$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(shared-thread-library)
+$(objpfx)tst-_res1: $(objpfx)tst-_res1mod1.so $(objpfx)tst-_res1mod2.so \
+ $(shared-thread-library)
else
$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
$(objpfx)tst-cond19: $(common-objpfx)rt/librt.a
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2004, 2006, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2004,2006,2007,2009,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -188,6 +188,9 @@
je .Lreltmo
# endif
+ cmpl $0, (%edx)
+ js 8f
+
movl %ecx, %ebx
movl %esi, %ecx
movl %edx, %esi
@@ -222,6 +225,9 @@
cfi_adjust_cfa_offset(-4)
cfi_restore(%ebp)
ret
+
+8: movl $ETIMEDOUT, %eax
+ jmp 7b
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_getname.c
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_getname.c (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_getname.c Sun Aug 8 07:42:46 2010
@@ -42,7 +42,7 @@
if (len < TASK_COMM_LEN)
return ERANGE;
- if (th == THREAD_SELF)
+ if (pd == THREAD_SELF)
return prctl (PR_GET_NAME, buf) ? errno : 0;
#define FMT "/proc/self/task/%u/comm"
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2006, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -169,9 +169,13 @@
je .Lreltmo
# endif
+ cmpq $0, (%rdx)
+ js 5f
+
pushq %r9
cfi_adjust_cfa_offset(8)
cfi_rel_offset(%r9, 0)
+
movq %rdx, %r10
movl $0xffffffff, %r9d
LOAD_FUTEX_WAIT_ABS (%esi)
@@ -200,6 +204,9 @@
popq %r9
cfi_adjust_cfa_offset(-8)
cfi_restore(%r9)
+ retq
+
+5: movl $ETIMEDOUT, %eax
retq
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S Sun Aug 8 07:42:46 2010
@@ -1,5 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009
- Free Software Foundation, Inc.
+/* Copyright (C) 2002=2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -125,6 +124,9 @@
je .Lreltmo
# endif
+ cmpq $0, (%rdx)
+ js 7f
+
pushq %r9
cfi_adjust_cfa_offset(8)
cfi_rel_offset(%r9, 0)
@@ -179,6 +181,9 @@
jmp 3b
cfi_adjust_cfa_offset(-8)
cfi_restore(%r9)
+
+7: movl $ETIMEDOUT, %eax
+ retq
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -143,6 +143,10 @@
movl broadcast_seq(%rdi), %edx
movq %r9, 24(%rsp)
movl %edx, 4(%rsp)
+
+ cmpq $0, (%r13)
+ movq $-ETIMEDOUT, %r14
+ js 36f
38: movl cond_futex(%rdi), %r12d
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -101,6 +101,9 @@
# endif
je .Lreltmo
#endif
+
+ cmpq $0, (%r13)
+ js 16f /* Time is already up. */
movl $FUTEX_PRIVATE_FLAG|FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, %esi
xorl PSHARED(%r12), %esi
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -98,6 +98,9 @@
# endif
je .Lreltmo
#endif
+
+ cmpq $0, (%r13)
+ js 16f /* Time is already up. */
movl $FUTEX_PRIVATE_FLAG|FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, %esi
xorl PSHARED(%r12), %esi
Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2003,2005,2007,2009,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -77,6 +77,9 @@
je .Lreltmo
#endif
+ cmpq $0, (%rsi)
+ js 16f
+
/* This push is only needed to store the sem_t pointer for the
exception handler. */
pushq %rdi
@@ -163,6 +166,19 @@
#else
callq __errno_location@plt
movl $EINVAL, (%rax)
+#endif
+
+ orl $-1, %eax
+
+ retq
+
+16:
+#if USE___THREAD
+ movq errno@gottpoff(%rip), %rdx
+ movl $ETIMEDOUT, %fs:(%rdx)
+#else
+ callq __errno_location@plt
+ movl $ETIMEDOUT, (%rax)
#endif
orl $-1, %eax
Modified: trunk/libc/stdlib/Versions
==============================================================================
--- trunk/libc/stdlib/Versions (original)
+++ trunk/libc/stdlib/Versions Sun Aug 8 07:42:46 2010
@@ -100,6 +100,9 @@
GLIBC_2.10 {
quick_exit; __cxa_at_quick_exit;
}
+ GLIBC_2.13 {
+ __fentry__;
+ }
GLIBC_PRIVATE {
# functions which have an additional interface since they are
# are cancelable.
Modified: trunk/libc/string/Makefile
==============================================================================
--- trunk/libc/string/Makefile (original)
+++ trunk/libc/string/Makefile Sun Aug 8 07:42:46 2010
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2002, 2005-2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1991-2002, 2005-2008, 2009, 2010 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -38,7 +38,7 @@
memccpy memcpy wordcopy strsep strcasestr \
swab strfry memfrob memmem rawmemchr strchrnul \
$(addprefix argz-,append count create ctsep next \
- delete extract insert stringify \
+ delete extract insert stringify \
addsep replace) \
basename \
strcoll_l strxfrm_l string-inlines memrchr \
@@ -52,7 +52,8 @@
strop-tests := memchr memcmp memcpy memmove mempcpy memset memccpy \
stpcpy stpncpy strcat strchr strcmp strcpy strcspn \
- strlen strncmp strncpy strpbrk strrchr strspn memmem
+ strlen strncmp strncpy strpbrk strrchr strspn memmem \
+ strstr strcasestr strnlen strcasecmp
tests := tester inl-tester noinl-tester testcopy test-ffs \
tst-strlen stratcliff tst-svc tst-inlcall \
bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap \
Modified: trunk/libc/string/memmove.c
==============================================================================
--- trunk/libc/string/memmove.c (original)
+++ trunk/libc/string/memmove.c Sun Aug 8 07:42:46 2010
@@ -37,9 +37,12 @@
#define rettype void *
#endif
+#ifndef MEMMOVE
+#define MEMMOVE memmove
+#endif
rettype
-memmove (a1, a2, len)
+MEMMOVE (a1, a2, len)
a1const void *a1;
a2const void *a2;
size_t len;
Modified: trunk/libc/string/str-two-way.h
==============================================================================
--- trunk/libc/string/str-two-way.h (original)
+++ trunk/libc/string/str-two-way.h Sun Aug 8 07:42:46 2010
@@ -1,5 +1,5 @@
/* Byte-wise substring search, using the Two-Way algorithm.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Eric Blake <ebb9@xxxxxxx>, 2008.
@@ -426,5 +426,4 @@
#undef AVAILABLE
#undef CANON_ELEMENT
#undef CMP_FUNC
-#undef MAX
#undef RETURN_TYPE
Modified: trunk/libc/string/strcasestr.c
==============================================================================
--- trunk/libc/string/strcasestr.c (original)
+++ trunk/libc/string/strcasestr.c Sun Aug 8 07:42:46 2010
@@ -1,5 +1,5 @@
/* Return the offset of one string within another.
- Copyright (C) 1994, 1996-2000, 2004, 2008, 2009
+ Copyright (C) 1994, 1996-2000, 2004, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -103,4 +103,6 @@
#undef LONG_NEEDLE_THRESHOLD
+#ifndef NO_ALIAS
weak_alias (__strcasestr, strcasestr)
+#endif
Modified: trunk/libc/string/tester.c
==============================================================================
--- trunk/libc/string/tester.c (original)
+++ trunk/libc/string/tester.c Sun Aug 8 07:42:46 2010
@@ -1,5 +1,5 @@
/* Tester for string functions.
- Copyright (C) 1995-2001, 2003, 2005, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1995-2001, 2003, 2005, 2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -441,20 +441,21 @@
check (strnlen ("", 10) == 0, 1); /* Empty. */
check (strnlen ("a", 10) == 1, 2); /* Single char. */
check (strnlen ("abcd", 10) == 4, 3); /* Multiple chars. */
- check (strnlen ("foo", (size_t)-1) == 3, 4); /* limits of n. */
-
- {
- char buf[4096];
- int i;
- char *p;
- for (i=0; i < 0x100; i++)
- {
- p = (char *) ((unsigned long int)(buf + 0xff) & ~0xff) + i;
- strcpy (p, "OK");
- strcpy (p+3, "BAD/WRONG");
- check (strnlen (p, 100) == 2, 5+i);
- }
- }
+ check (strnlen ("foo", (size_t) -1) == 3, 4); /* limits of n. */
+ check (strnlen ("abcd", 0) == 0, 5); /* Restricted. */
+ check (strnlen ("abcd", 1) == 1, 6); /* Restricted. */
+ check (strnlen ("abcd", 2) == 2, 7); /* Restricted. */
+ check (strnlen ("abcd", 3) == 3, 8); /* Restricted. */
+ check (strnlen ("abcd", 4) == 4, 9); /* Restricted. */
+
+ char buf[4096];
+ for (int i = 0; i < 0x100; ++i)
+ {
+ char *p = (char *) ((unsigned long int)(buf + 0xff) & ~0xff) + i;
+ strcpy (p, "OK");
+ strcpy (p + 3, "BAD/WRONG");
+ check (strnlen (p, 100) == 2, 10 + i);
+ }
}
static void
@@ -988,7 +989,7 @@
int cnt = 1;
char one[21];
char two[21];
-
+
it = "memcmp";
check(memcmp("a", "a", 1) == 0, cnt++); /* Identity. */
check(memcmp("abc", "abc", 3) == 0, cnt++); /* Multicharacter. */
Modified: trunk/libc/string/tst-strlen.c
==============================================================================
--- trunk/libc/string/tst-strlen.c (original)
+++ trunk/libc/string/tst-strlen.c Sun Aug 8 07:42:46 2010
@@ -31,11 +31,21 @@
buf[words * 4 + 3] = (last & 8) != 0 ? 'e' : '\0';
buf[words * 4 + 4] = '\0';
- if (strlen (buf) != words * 4 + lens[last]
- || strnlen (buf, -1) != words * 4 + lens[last])
+ if (strlen (buf) != words * 4 + lens[last])
{
- printf ("failed for base=%Zu, words=%Zu, and last=%Zu\n",
- base, words, last);
+ printf ("\
+strlen failed for base=%Zu, words=%Zu, and last=%Zu (is %zd, expected %zd)\n",
+ base, words, last,
+ strlen (buf), words * 4 + lens[last]);
+ return 1;
+ }
+
+ if (strnlen (buf, -1) != words * 4 + lens[last])
+ {
+ printf ("\
+strnlen failed for base=%Zu, words=%Zu, and last=%Zu (is %zd, expected %zd)\n",
+ base, words, last,
+ strnlen (buf, -1), words * 4 + lens[last]);
return 1;
}
}
Modified: trunk/libc/sunrpc/auth_des.c
==============================================================================
--- trunk/libc/sunrpc/auth_des.c (original)
+++ trunk/libc/sunrpc/auth_des.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (c) 1988 by Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* auth_des.c, client-side implementation of DES authentication
Modified: trunk/libc/sunrpc/auth_none.c
==============================================================================
--- trunk/libc/sunrpc/auth_none.c (original)
+++ trunk/libc/sunrpc/auth_none.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* auth_none.c
Modified: trunk/libc/sunrpc/auth_unix.c
==============================================================================
--- trunk/libc/sunrpc/auth_unix.c (original)
+++ trunk/libc/sunrpc/auth_unix.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* auth_unix.c, Implements UNIX style authentication parameters.
Modified: trunk/libc/sunrpc/authdes_prot.c
==============================================================================
--- trunk/libc/sunrpc/authdes_prot.c (original)
+++ trunk/libc/sunrpc/authdes_prot.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (c) 1988 by Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* authdes_prot.c, XDR routines for DES authentication
Modified: trunk/libc/sunrpc/authuxprot.c
==============================================================================
--- trunk/libc/sunrpc/authuxprot.c (original)
+++ trunk/libc/sunrpc/authuxprot.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* authunix_prot.c
Modified: trunk/libc/sunrpc/bindrsvprt.c
==============================================================================
--- trunk/libc/sunrpc/bindrsvprt.c (original)
+++ trunk/libc/sunrpc/bindrsvprt.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (c) 1987 by Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <errno.h>
Modified: trunk/libc/sunrpc/clnt_gen.c
==============================================================================
--- trunk/libc/sunrpc/clnt_gen.c (original)
+++ trunk/libc/sunrpc/clnt_gen.c Sun Aug 8 07:42:46 2010
@@ -1,32 +1,33 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
/*
* Copyright (C) 1987, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <alloca.h>
Modified: trunk/libc/sunrpc/clnt_perr.c
==============================================================================
--- trunk/libc/sunrpc/clnt_perr.c (original)
+++ trunk/libc/sunrpc/clnt_perr.c Sun Aug 8 07:42:46 2010
@@ -1,34 +1,41 @@
+/* @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
+#endif
+
/*
* clnt_perror.c
*
* Copyright (C) 1984, Sun Microsystems, Inc.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <string.h>
Modified: trunk/libc/sunrpc/clnt_raw.c
==============================================================================
--- trunk/libc/sunrpc/clnt_raw.c (original)
+++ trunk/libc/sunrpc/clnt_raw.c Sun Aug 8 07:42:46 2010
@@ -1,34 +1,40 @@
+/* @(#)clnt_raw.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* clnt_raw.c
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Memory based rpc for simple testing and timing.
* Interface to create an rpc client and server in the same process.
Modified: trunk/libc/sunrpc/clnt_simp.c
==============================================================================
--- trunk/libc/sunrpc/clnt_simp.c (original)
+++ trunk/libc/sunrpc/clnt_simp.c Sun Aug 8 07:42:46 2010
@@ -1,35 +1,41 @@
+/* @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* clnt_simple.c
* Simplified front end to rpc.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <alloca.h>
Modified: trunk/libc/sunrpc/clnt_tcp.c
==============================================================================
--- trunk/libc/sunrpc/clnt_tcp.c (original)
+++ trunk/libc/sunrpc/clnt_tcp.c Sun Aug 8 07:42:46 2010
@@ -1,34 +1,40 @@
+/* @(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
+#endif
+
/*
* clnt_tcp.c, Implements a TCP/IP based, client side RPC.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* TCP based RPC supports 'batched calls'.
* A sequence of calls may be batched-up in a send buffer. The rpc call
Modified: trunk/libc/sunrpc/clnt_udp.c
==============================================================================
--- trunk/libc/sunrpc/clnt_udp.c (original)
+++ trunk/libc/sunrpc/clnt_udp.c Sun Aug 8 07:42:46 2010
@@ -1,34 +1,40 @@
+/* @(#)clnt_udp.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* clnt_udp.c, Implements a UDP/IP based, client side RPC.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
Modified: trunk/libc/sunrpc/clnt_unix.c
==============================================================================
--- trunk/libc/sunrpc/clnt_unix.c (original)
+++ trunk/libc/sunrpc/clnt_unix.c Sun Aug 8 07:42:46 2010
@@ -1,34 +1,36 @@
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
/*
* clnt_unix.c, Implements a TCP/IP based, client side RPC.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following
- * disclaimer in the documentation and/or other materials
- * provided with the distribution.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
[... 7791 lines stripped ...]