[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r17458 - in /trunk: ./ libc/ libc/argp/ libc/catgets/ libc/conform/ libc/crypt/ libc/csu/ libc/debug/ libc/dirent/ libc/dlfc...



Author: joseph
Date: Wed Mar  7 19:31:25 2012
New Revision: 17458

Log:
Merge changes between r17384 and r17457 from /fsf/trunk.

Added:
    trunk/libc/manual/examples/README
      - copied unchanged from r17457, fsf/trunk/libc/manual/examples/README
    trunk/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
      - copied, changed from r17457, fsf/trunk/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
    trunk/libc/stdio-common/bug-vfprintf-nargs.c
      - copied unchanged from r17457, fsf/trunk/libc/stdio-common/bug-vfprintf-nargs.c
    trunk/libc/stdio-common/tst-long-dbl-fphex.c
      - copied unchanged from r17457, fsf/trunk/libc/stdio-common/tst-long-dbl-fphex.c
    trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S
    trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S
    trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S
    trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S
    trunk/libc/sysdeps/sparc/sparc64/fpu/s_llrint.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_llrint.S
    trunk/libc/sysdeps/sparc/sparc64/fpu/s_llrintf.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_llrintf.S
    trunk/libc/sysdeps/sparc/sparc64/fpu/s_lrint.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_lrint.S
    trunk/libc/sysdeps/sparc/sparc64/fpu/s_lrintf.S
      - copied unchanged from r17457, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_lrintf.S
    trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/getcontext.S
      - copied unchanged from r17457, fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/getcontext.S
    trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/makecontext.c
      - copied unchanged from r17457, fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/makecontext.c
    trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/setcontext.S
      - copied unchanged from r17457, fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/setcontext.S
    trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S
      - copied unchanged from r17457, fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S
    trunk/ports/sysdeps/unix/sysv/linux/arm/ucontext_i.sym
      - copied unchanged from r17457, fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/ucontext_i.sym
Modified:
    trunk/   (props changed)
    trunk/libc/ChangeLog
    trunk/libc/NEWS
    trunk/libc/argp/Makefile
    trunk/libc/catgets/Makefile
    trunk/libc/conform/Makefile
    trunk/libc/crypt/Makefile
    trunk/libc/csu/Makefile
    trunk/libc/debug/Makefile
    trunk/libc/dirent/Makefile
    trunk/libc/dlfcn/Makefile
    trunk/libc/elf/Makefile
    trunk/libc/gmon/Makefile
    trunk/libc/grp/Makefile
    trunk/libc/hesiod/Makefile
    trunk/libc/hurd/Makefile
    trunk/libc/iconv/Makefile
    trunk/libc/iconvdata/Makefile
    trunk/libc/include/sys/cdefs.h
    trunk/libc/inet/Makefile
    trunk/libc/intl/Makefile
    trunk/libc/io/Makefile
    trunk/libc/libidn/ChangeLog
    trunk/libc/libidn/Makefile
    trunk/libc/libio/Makefile
    trunk/libc/locale/Makefile
    trunk/libc/localedata/ChangeLog
    trunk/libc/localedata/Makefile
    trunk/libc/login/Makefile
    trunk/libc/mach/Makefile
    trunk/libc/malloc/Makefile
    trunk/libc/manual/Makefile
    trunk/libc/manual/examples/add.c
    trunk/libc/manual/examples/argp-ex1.c
    trunk/libc/manual/examples/argp-ex2.c
    trunk/libc/manual/examples/argp-ex3.c
    trunk/libc/manual/examples/argp-ex4.c
    trunk/libc/manual/examples/atexit.c
    trunk/libc/manual/examples/db.c
    trunk/libc/manual/examples/dir.c
    trunk/libc/manual/examples/dir2.c
    trunk/libc/manual/examples/execinfo.c
    trunk/libc/manual/examples/filecli.c
    trunk/libc/manual/examples/filesrv.c
    trunk/libc/manual/examples/fmtmsgexpl.c
    trunk/libc/manual/examples/genpass.c
    trunk/libc/manual/examples/inetcli.c
    trunk/libc/manual/examples/inetsrv.c
    trunk/libc/manual/examples/isockad.c
    trunk/libc/manual/examples/longopt.c
    trunk/libc/manual/examples/memopen.c
    trunk/libc/manual/examples/memstrm.c
    trunk/libc/manual/examples/mkfsock.c
    trunk/libc/manual/examples/mkisock.c
    trunk/libc/manual/examples/mygetpass.c
    trunk/libc/manual/examples/pipe.c
    trunk/libc/manual/examples/popen.c
    trunk/libc/manual/examples/rprintf.c
    trunk/libc/manual/examples/search.c
    trunk/libc/manual/examples/select.c
    trunk/libc/manual/examples/setjmp.c
    trunk/libc/manual/examples/sigh1.c
    trunk/libc/manual/examples/sigusr.c
    trunk/libc/manual/examples/stpcpy.c
    trunk/libc/manual/examples/strdupa.c
    trunk/libc/manual/examples/strftim.c
    trunk/libc/manual/examples/strncat.c
    trunk/libc/manual/examples/subopt.c
    trunk/libc/manual/examples/swapcontext.c
    trunk/libc/manual/examples/termios.c
    trunk/libc/manual/examples/testopt.c
    trunk/libc/manual/examples/testpass.c
    trunk/libc/manual/examples/timeval_subtract.c
    trunk/libc/manual/lang.texi
    trunk/libc/math/Makefile
    trunk/libc/math/libm-test.inc
    trunk/libc/math/math_private.h
    trunk/libc/math/s_cacosh.c
    trunk/libc/math/s_cacoshf.c
    trunk/libc/math/s_cacoshl.c
    trunk/libc/math/s_casinh.c
    trunk/libc/math/s_casinhf.c
    trunk/libc/math/s_casinhl.c
    trunk/libc/misc/Makefile
    trunk/libc/nis/Makefile
    trunk/libc/nptl/ChangeLog
    trunk/libc/nptl/Makefile
    trunk/libc/nptl/sysdeps/pthread/bits/libc-lock.h
    trunk/libc/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
    trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c
    trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c
    trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c
    trunk/libc/nptl_db/ChangeLog
    trunk/libc/nptl_db/Makefile
    trunk/libc/nscd/Makefile
    trunk/libc/nss/Makefile
    trunk/libc/nss/databases.def
    trunk/libc/po/Makefile
    trunk/libc/posix/Makefile
    trunk/libc/resolv/Makefile
    trunk/libc/rt/Makefile
    trunk/libc/signal/Makefile
    trunk/libc/socket/Makefile
    trunk/libc/soft-fp/Makefile
    trunk/libc/stdio-common/Makefile
    trunk/libc/stdio-common/vfprintf.c
    trunk/libc/stdlib/Makefile
    trunk/libc/stdlib/tst-strtod.c
    trunk/libc/string/Makefile
    trunk/libc/sunrpc/Makefile
    trunk/libc/sysdeps/generic/dl-osinfo.h
    trunk/libc/sysdeps/i386/fpu/libm-test-ulps
    trunk/libc/sysdeps/i386/i486/bits/atomic.h
    trunk/libc/sysdeps/ieee754/dbl-64/e_pow.c
    trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_coshl.c
    trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
    trunk/libc/sysdeps/ieee754/ldbl-96/printf_fphex.c
    trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
    trunk/libc/sysdeps/sparc/fpu/libm-test-ulps
    trunk/libc/sysdeps/unix/sysv/linux/dl-osinfo.h
    trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
    trunk/libc/sysdeps/unix/sysv/linux/sparc/sysdep.h
    trunk/libc/sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
    trunk/libc/sysdeps/unix/sysv/linux/x86_64/init-first.c
    trunk/libc/sysdeps/unix/sysv/linux/x86_64/time.c
    trunk/libc/sysdeps/x86_64/bits/atomic.h
    trunk/libc/sysdeps/x86_64/fpu/libm-test-ulps
    trunk/libc/sysdeps/x86_64/fpu/printf_fphex.c
    trunk/libc/time/Makefile
    trunk/libc/timezone/Makefile
    trunk/libc/wcsmbs/Makefile
    trunk/libc/wctype/Makefile
    trunk/ports/ChangeLog.alpha
    trunk/ports/ChangeLog.arm
    trunk/ports/ChangeLog.hppa
    trunk/ports/ChangeLog.m68k
    trunk/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
    trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h
    trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/socket.h
    trunk/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
    trunk/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
    trunk/ports/sysdeps/unix/sysv/linux/arm/Makefile
    trunk/ports/sysdeps/unix/sysv/linux/hppa/bits/socket.h
    trunk/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
    trunk/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h

Propchange: trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Mar  7 19:31:25 2012
@@ -1,1 +1,1 @@
-/fsf/trunk:15224-17384
+/fsf/trunk:15224-17457

Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Wed Mar  7 19:31:25 2012
@@ -1,4 +1,241 @@
+2012-03-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #10716]
+	* math/s_cacosh.c (__cacosh): Convert negative log results to 0.
+	* math/s_cacoshf.c (__cacoshf): Likewise.
+	* math/s_cacoshl.c (__cacoshl): Likewise.
+	* math/s_casinh.c (__casinh): Set signs of result from argument.
+	* math/s_casinhf.c (__casinhf): Likewise.
+	* math/s_casinhl.c (__casinhl): Likewise.
+	* math/libm-test.inc (cacos_test, cacosh_test, casin_test)
+	(casinh_test): Add more tests.
+	* sysdeps/i386/fpu/libm-test-ulps: Update.
+	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2012-03-07  Ulrich Drepper  <drepper@xxxxxxxxx>
+
+	* login/Makefile (distribute): Remove variable.
+	* catgets/Makefile: Likewise.
+	* mach/Makefile: Likewise.
+	* malloc/Makefile: Likewise.
+	* misc/Makefile: Likewise.
+	* iconv/Makefile: Likewise.
+	* nscd/Makefile: Likewise.
+	* hurd/Makefile: Likewise.
+	* manual/Makefile: Likewise.
+	* locale/Makefile: Likewise.
+	* intl/Makefile: Likewise.
+	* conform/Makefile: Likewise.
+	* nss/Makefile: Likewise.
+	* time/Makefile: Likewise.
+	* soft-fp/Makefile: Likewise.
+	* dirent/Makefile: Likewise.
+	* gmon/Makefile: Likewise.
+	* po/Makefile: Likewise.
+	* rt/Makefile: Likewise.
+	* socket/Makefile: Likewise.
+	* math/Makefile: Likewise.
+	* signal/Makefile: Likewise.
+	* debug/Makefile: Likewise.
+	* elf/Makefile: Likewise.
+	* timezone/Makefile: Likewise.
+	* stdlib/Makefile: Likewise.
+	* iconvdata/Makefile: Likewise.
+	* sunrpc/Makefile: Likewise.
+	* io/Makefile: Likewise.
+	* argp/Makefile: Likewise.
+	* inet/Makefile: Likewise.
+	* hesiod/Makefile: Likewise.
+	* grp/Makefile: Likewise.
+	* csu/Makefile: Likewise.
+	* wctype/Makefile: Likewise.
+	* crypt/Makefile: Likewise.
+	* libio/Makefile: Likewise.
+	* string/Makefile: Likewise.
+	* nis/Makefile: Likewise.
+	* resolv/Makefile: Likewise.
+	* stdio-common/Makefile: Likewise.
+	* wcsmbs/Makefile: Likewise.
+	* dlfcn/Makefile: Likewise.
+	* posix/Makefile: Likewise.
+
+	* timezone/Makefile: Don't install timezone files, just the programs
+	and scripts.
+
+2012-03-06  Ulrich Drepper  <drepper@xxxxxxxxx>
+
+	* nss/databases.def: Add missing gshadow entry.
+
+	* stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
+
+2012-03-06  Marek Polacek  <polacek@xxxxxxxxxx>
+
+	[BZ #13726]
+	* sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
+	* sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
+	* stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
+	* stdio-common/tst-long-dbl-fphex.c: New file.
+
+2012-03-06  David S. Miller  <davem@xxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+	(set_obp_int): New function.
+	(get_obp_int): New function.
+	(__get_clockfreq_via_dev_openprom): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
+	Avoid unused variable warnings on 'val' and use builtin_expect.
+	(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
+	__builtin_expect.
+	(INLINE_CLONE_SYSCALL): Likewise.
+
+2012-03-05  David S. Miller  <davem@xxxxxxxxxxxxx>
+
+	* sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2012-03-05  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+	* sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
+	only for |x| >= 40.
+	* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
+
+2012-03-05  H.J. Lu  <hongjiu.lu@xxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
+	Replace gettimeofday with __vdso_gettimeofday.
+
+	* sysdeps/unix/sysv/linux/x86_64/init-first.c
+	(_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
+	__vdso_clock_gettime and __vdso_getcpu.
+
+	* sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
+	time with __vdso_time.
+
+2012-03-05  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* manual/lang.texi (size_t): Note types to which size_t may be
+	equivalent with the GNU C Library, but do not describe when
+	differences between them are significant.
+
+2012-03-05  Andreas Jaeger  <aj@xxxxxxx>
+
+	* sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2012-03-05  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #3976]
+	* sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
+	(__ieee754_pow): Save and restore rounding mode and use
+	round-to-nearest for main computations.
+	* math/libm-test.inc (pow_test_tonearest): New function.
+	(pow_test_towardzero): Likewise.
+	(pow_test_downward): Likewise.
+	(pow_test_upward): Likewise.
+	(main): Call the new functions.
+	* sysdeps/i386/fpu/libm-test-ulps: Update.
+	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+	[BZ #3976]
+	* math/libm-test.inc (cosh_test_tonearest): New function.
+	(cosh_test_towardzero): Likewise.
+	(cosh_test_downward): Likewise.
+	(cosh_test_upward): Likewise.
+	(sinh_test_tonearest): Likewise.
+	(sinh_test_towardzero): Likewise.
+	(sinh_test_downward): Likewise.
+	(sinh_test_upward): Likewise.
+	(main): Call the new functions.
+	* sysdeps/i386/fpu/libm-test-ulps: Update.
+	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2012-03-05  Tom de Vries  <tom@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
+	default stack guard is set in last bytes.
+	* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
+
+2012-03-05  Kees Cook  <keescook@xxxxxxxxxxxx>
+
+	* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
+
+	[BZ #13656]
+	* stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
+	possibly allocate from heap instead of stack.
+	* stdio-common/bug-vfprintf-nargs.c: New file.
+	* stdio-common/Makefile (tests): Add nargs overflow test.
+
+2012-03-03  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2012-03-03  Marek Polacek  <polacek@xxxxxxxxxx>
+
+	* include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
+	* math/math_private.h: Likewise.
+	* stdlib/tst-strtod.c: Likewise.
+	* sysdeps/i386/i486/bits/atomic.h: Likewise.
+	* sysdeps/x86_64/bits/atomic.h: Likewise.
+
+2012-03-02  David S. Miller  <davem@xxxxxxxxxxxxx>
+
+	* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
+	* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
+	* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
+	* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
+	* sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
+	* sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
+	* sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
+	* sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
+
 2012-03-02  Roland McGrath  <roland@xxxxxxxxxxxxx>
+
+	[BZ #13792]
+	* manual/examples/README: New file, says the example source files
+	can be used under GPL>=2.
+	* manual/Makefile (%.c.texi): Eat the leading part of the file until a
+	line containing just "*/".
+	* manual/examples/add.c: Add copyright header (GPL>=2).
+	* manual/examples/argp-ex1.c: Likewise.
+	* manual/examples/argp-ex2.c: Likewise.
+	* manual/examples/argp-ex3.c: Likewise.
+	* manual/examples/argp-ex4.c: Likewise.
+	* manual/examples/atexit.c: Likewise.
+	* manual/examples/db.c: Likewise.
+	* manual/examples/dir.c: Likewise.
+	* manual/examples/dir2.c: Likewise.
+	* manual/examples/execinfo.c: Likewise.
+	* manual/examples/filecli.c: Likewise.
+	* manual/examples/filesrv.c: Likewise.
+	* manual/examples/fmtmsgexpl.c: Likewise.
+	* manual/examples/genpass.c: Likewise.
+	* manual/examples/inetcli.c: Likewise.
+	* manual/examples/inetsrv.c: Likewise.
+	* manual/examples/isockad.c: Likewise.
+	* manual/examples/longopt.c: Likewise.
+	* manual/examples/memopen.c: Likewise.
+	* manual/examples/memstrm.c: Likewise.
+	* manual/examples/mkfsock.c: Likewise.
+	* manual/examples/mkisock.c: Likewise.
+	* manual/examples/mygetpass.c: Likewise.
+	* manual/examples/pipe.c: Likewise.
+	* manual/examples/popen.c: Likewise.
+	* manual/examples/rprintf.c: Likewise.
+	* manual/examples/search.c: Likewise.
+	* manual/examples/select.c: Likewise.
+	* manual/examples/setjmp.c: Likewise.
+	* manual/examples/sigh1.c: Likewise.
+	* manual/examples/sigusr.c: Likewise.
+	* manual/examples/stpcpy.c: Likewise.
+	* manual/examples/strdupa.c: Likewise.
+	* manual/examples/strftim.c: Likewise.
+	* manual/examples/strncat.c: Likewise.
+	* manual/examples/subopt.c: Likewise.
+	* manual/examples/swapcontext.c: Likewise.
+	* manual/examples/termios.c: Likewise.
+	* manual/examples/testopt.c: Likewise.
+	* manual/examples/testpass.c: Likewise.
+	* manual/examples/timeval_subtract.c: Likewise.
 
 	[BZ #13792]
 	* manual/time.texi (Elapsed Time): Move timeval_subtract example

Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Wed Mar  7 19:31:25 2012
@@ -9,11 +9,12 @@
 
 * The following bugs are resolved with this release:
 
-  174, 350, 411, 2541, 2547, 2548, 3335, 3992, 4026, 4108, 4596, 4822, 5077,
-  5461, 5805, 5993, 6884, 6907, 9739, 9902, 10110, 10135, 10140, 10210,
-  11174, 11322, 11365, 11494, 12047, 13058, 13525, 13526, 13527, 13528,
-  13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555,
-  13559, 13583, 13618, 13637, 13695, 13704, 13706, 13738, 13786
+  174, 350, 411, 2541, 2547, 2548, 3335, 3976, 3992, 4026, 4108, 4596, 4822,
+  5077, 5461, 5805, 5993, 6884, 6907, 9739, 9902, 10110, 10135, 10140,
+  10210, 10716, 11174, 11322, 11365, 11494, 12047, 13058, 13525, 13526,
+  13527, 13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552,
+  13553, 13555, 13559, 13583, 13618, 13637, 13656, 13695, 13704, 13706,
+  13726, 13738, 13786, 13792
 
 * ISO C11 support:
 

Modified: trunk/libc/argp/Makefile
==============================================================================
--- trunk/libc/argp/Makefile (original)
+++ trunk/libc/argp/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,5 @@
-# Copyright (C) 1997,2002,2003,2006,2007,2010 Free Software Foundation, Inc.
+# Copyright (C) 1997,2002,2003,2006,2007,2010,2012
+# 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
@@ -23,7 +24,6 @@
 subdir	:= argp
 
 headers		= argp.h
-distribute	= argp-fmtstream.h argp-namefrob.h
 routines	= $(addprefix argp-, ba fmtstream fs-xinl help parse pv \
 				     pvh xinl eexst)
 

Modified: trunk/libc/catgets/Makefile
==============================================================================
--- trunk/libc/catgets/Makefile (original)
+++ trunk/libc/catgets/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1996-2000, 2002-2004, 2012 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
@@ -23,8 +23,6 @@
 include ../option-groups.mak
 
 headers		= nl_types.h
-distribute	= catgetsinfo.h config.h xopen-msg.sed test1.msg test2.msg \
-		  test-gencat.sh sample.SJIS
 routines-$(OPTION_EGLIBC_CATGETS)    := catgets open_catalog
 others-$(OPTION_EGLIBC_CATGETS)      := gencat
 install-bin-$(OPTION_EGLIBC_CATGETS) := gencat

Modified: trunk/libc/conform/Makefile
==============================================================================
--- trunk/libc/conform/Makefile (original)
+++ trunk/libc/conform/Makefile Wed Mar  7 19:31:25 2012
@@ -20,9 +20,6 @@
 #
 subdir	:= conform
 
-distribute = conformtest.pl $(wildcard data/*.h-data) \
-	   $(wildcard data/*/*.h-data)
-
 include ../Rules
 
 ifneq (yes,$(fast-check))

Modified: trunk/libc/crypt/Makefile
==============================================================================
--- trunk/libc/crypt/Makefile (original)
+++ trunk/libc/crypt/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1996, 2000, 2001, 2007, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1996,2000,2001,2007,2009,2012 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
@@ -33,9 +33,6 @@
 
 tests-$(OPTION_EGLIBC_CRYPT) := md5c-test sha256c-test sha512c-test
 tests-$(OPTION_EGLIBC_CRYPT_UFC) += cert
-
-distribute := ufc-crypt.h crypt-private.h ufc.c speeds.c README.ufc-crypt \
-	      Banner md5.h sha256.h sha512.h
 
 include ../Makeconfig
 

Modified: trunk/libc/csu/Makefile
==============================================================================
--- trunk/libc/csu/Makefile (original)
+++ trunk/libc/csu/Makefile Wed Mar  7 19:31:25 2012
@@ -39,8 +39,6 @@
 			     b$(start-installed-name) $(csu-dummies) \
 			     S$(start-installed-name))
 install-lib = $(start-installed-name) g$(start-installed-name) $(csu-dummies)
-distribute = gmon-start.c start.c \
-	     abi-note.S init.c c not-cancel.h
 generated = version-info.h
 before-compile = $(objpfx)version-info.h
 

Modified: trunk/libc/debug/Makefile
==============================================================================
--- trunk/libc/debug/Makefile (original)
+++ trunk/libc/debug/Makefile Wed Mar  7 19:31:25 2012
@@ -23,7 +23,6 @@
 subdir	:= debug
 
 headers	:= execinfo.h
-distribute = sigcontextinfo.h register-dump.h frame.h
 
 routines  = noophooks \
 	    memcpy_chk memmove_chk mempcpy_chk memset_chk stpcpy_chk \
@@ -160,7 +159,6 @@
 
 include ../Makeconfig
 
-distribute += catchsegv.sh xtrace.sh
 ifeq ($(build-shared),yes)
 install-bin-script += catchsegv
 endif

Modified: trunk/libc/dirent/Makefile
==============================================================================
--- trunk/libc/dirent/Makefile (original)
+++ trunk/libc/dirent/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,5 @@
-# Copyright (C) 1991-2000,2002,2003,2005,2006,2011 Free Software Foundation, Inc.
+# Copyright (C) 1991-2000,2002,2003,2005,2006,2011,2012
+# 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
@@ -26,7 +27,6 @@
 		   getdents getdents64 dirfd readdir64 readdir64_r scandir64 \
 		   alphasort64 versionsort64 fdopendir \
 		   scandirat scandirat64
-distribute := dirstream.h
 
 tests	   := list tst-seekdir opendir-tst1 bug-readdir1 tst-fdopendir \
 	      tst-fdopendir2

Modified: trunk/libc/dlfcn/Makefile
==============================================================================
--- trunk/libc/dlfcn/Makefile (original)
+++ trunk/libc/dlfcn/Makefile Wed Mar  7 19:31:25 2012
@@ -24,12 +24,6 @@
 		   dlmopen dlfcn
 routines	:= $(patsubst %,s%,$(filter-out dlfcn,$(libdl-routines)))
 elide-routines.os := $(routines)
-distribute	:= dlopenold.c glreflib1.c glreflib2.c glreflib3.c \
-		   failtestmod.c \
-		   defaultmod1.c defaultmod2.c errmsg1mod.c modatexit.c \
-		   modcxaatexit.c modstatic.c modstatic2.c \
-		   bug-dlsym1-lib1.c bug-dlsym1-lib2.c bug-atexit1-lib.c \
-		   bug-atexit2-lib.c
 
 extra-libs-others := libdl
 

Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Wed Mar  7 19:31:25 2012
@@ -40,91 +40,6 @@
 # interpreter and operating independent of libc.
 rtld-routines	:= rtld $(dl-routines) dl-sysdep dl-environ dl-minimal
 all-rtld-routines = $(rtld-routines) $(sysdep-rtld-routines)
-
-distribute	:= rtld-Rules \
-		   $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
-		   dl-cache.h dl-hash.h soinit.c sofini.c ldd.bash.in \
-		   genrtldtbl.awk atomicity.h dl-procinfo.h ldsodefs.h \
-		   dl-librecon.h interp.c sln.c dl-dst.h hp-timing.h \
-		   dl-lookupcfg.h sprof.c gen-trusted-dirs.awk \
-		   testobj1.c testobj2.c testobj3.c testobj4.c testobj5.c \
-		   testobj6.c testobj1_1.c failobj.c unloadmod.c \
-		   ldconfig.h ldconfig.c cache.c readlib.c readelflib.c \
-		   chroot_canon.c gccframe.h \
-		   dep1.c dep2.c dep3.c dep4.c dl-dtprocnum.h unsecvars.h \
-		   vismain.c vismod1.c vismod2.c vismod3.c \
-		   constload2.c constload3.c filtmod1.c filtmod2.c \
-		   nodlopenmod.c nodelete.c nodelmod1.c nodelmod2.c \
-		   nodelmod3.c nodelmod4.c nodlopen.c dl-osinfo.h \
-		   reldepmod1.c reldepmod2.c reldepmod3.c reldepmod4.c \
-		   reldepmod5.c reldepmod6.c \
-		   reldep4mod1.c reldep4mod2.c reldep4mod3.c reldep4mod4.c \
-		   nextmod1.c nextmod2.c pathoptobj.c tst-pathopt.sh \
-		   neededobj1.c neededobj2.c neededobj3.c neededobj4.c \
-		   neededobj5.c neededobj6.c firstobj.c \
-		   unload2mod.c unload2dep.c ltglobmod1.c ltglobmod2.c \
-		   testobj.h vismod.h globalmod1.c \
-		   dblloadmod1.c dblloadmod2.c dblloadmod3.c \
-		   reldep6mod4.c reldep6mod3.c reldep6mod2.c reldep6mod1.c \
-		   reldep6mod0.c reldep7mod1.c reldep7mod2.c \
-		   unwind-dw2.c unwind-dw2-fde.c unwind.h unwind-pe.h \
-		   unwind-dw2-fde.h dwarf2.h dl-procinfo.c tls.h dl-tls.h \
-		   tst-tlsmod1.c tst-tlsmod2.c tst-tlsmod3.c tst-tlsmod4.c \
-		   tst-tlsmod5.c tst-tlsmod6.c tst-tlsmod7.c tst-tlsmod8.c \
-		   tst-tlsmod9.c tst-tlsmod10.c tst-tlsmod11.c \
-		   tst-tlsmod12.c tst-tls10.h tst-alignmod.c tst-alignmod2.c \
-		   circlemod1.c circlemod1a.c circlemod2.c circlemod2a.c \
-		   circlemod3.c circlemod3a.c nodlopenmod2.c \
-		   tst-tls19mod1.c tst-tls19mod2.c tst-tls19mod3.c \
-		   tls-macros.h \
-		   reldep8mod1.c reldep8mod2.c reldep8mod3.c \
-		   nodel2mod1.c nodel2mod2.c nodel2mod3.c \
-		   reldep9.c reldep9mod1.c reldep9mod2.c reldep9mod3.c \
-		   tst-array1.exp tst-array2.exp tst-array4.exp \
-		   tst-array2dep.c tst-piemod1.c \
-		   tst-execstack-mod.c tst-dlmodcount.c \
-		   check-textrel.c dl-sysdep.h test-dlopenrpathmod.c \
-		   tst-deep1mod1.c tst-deep1mod2.c tst-deep1mod3.c \
-		   unload3mod1.c unload3mod2.c unload3mod3.c unload3mod4.c \
-		   unload4mod1.c unload4mod2.c unload4mod3.c unload4mod4.c \
-		   unload6mod1.c unload6mod2.c unload6mod3.c \
-		   unload7mod1.c unload7mod2.c \
-		   unload8mod1.c unload8mod1x.c unload8mod2.c unload8mod3.c \
-		   tst-audit1.c tst-audit2.c tst-audit3.c tst-audit4.c \
-		   tst-auditmod1.c tst-auditmod3a.c tst-auditmod3b.c \
-		   tst-auditmod4a.c tst-auditmod4b.c \
-		   tst-audit5.c tst-auditmod5a.c tst-auditmod5b.c \
-		   tst-audit6.c tst-auditmod6a.c tst-auditmod6b.c \
-		   tst-auditmod6c.c \
-		   tst-audit7.c tst-auditmod7a.c tst-auditmod7b.c \
-		   order2mod1.c order2mod2.c order2mod3.c order2mod4.c \
-		   tst-stackguard1.c tst-stackguard1-static.c \
-		   tst-array5.c tst-array5-static.c tst-array5dep.c \
-		   tst-array5.exp tst-leaks1.c check-execstack.c \
-		   ifuncmain1.c ifuncmain1pic.c ifuncmain1vis.c \
-		   ifuncmain1vispic.c ifuncmain1static.c \
-		   ifuncmain1staticpic.c ifuncmain1picstatic.c \
-		   ifuncdep1.c ifuncdep1pic.c ifuncmod1.c \
-		   ifuncmain1pie.c ifuncmain1vispie.c \
-		   ifuncmain1staticpie.c \
-		   ifuncmain2.c ifuncmain2static.c ifuncdep2.c \
-		   ifuncmain2pic.c ifuncmain2picstatic.c ifuncdep2pic.c \
-		   ifuncmain3.c ifuncmod3.c \
-		   ifuncmain4.c ifuncmain4static.c ifuncmain4picstatic.c \
-		   ifuncmain5.c ifuncmain5pic.c ifuncmain5picstatic.c \
-		   ifuncmain5pie.c ifuncmain5static.c \
-		   ifuncmain5staticpic.c \
-		   ifuncdep5.c ifuncdep5pic.c ifuncmod5.c \
-		   ifuncmain6pie.c ifuncmod6.c \
-		   ifuncmain7.c ifuncmain7pic.c ifuncmain7picstatic.c \
-		   ifuncmain7pie.c ifuncmain7static.c \
-		   tst-unique1.c tst-unique1mod1.c tst-unique1mod2.c \
-		   tst-unique2.c tst-unique2mod1.c tst-unique2mod2.c \
-		   tst-initordera1.c tst-initordera2.c tst-initorderb1.c \
-		   tst-initorderb2.c tst-initordera3.c tst-initordera4.c \
-		   tst-initorder.c \
-		   tst-initorder2.c \
-		   tst-relsort1.c tst-relsort1mod1.c tst-relsort1mod2.c
 
 CFLAGS-dl-runtime.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-dl-lookup.c = -fexceptions -fasynchronous-unwind-tables

Modified: trunk/libc/gmon/Makefile
==============================================================================
--- trunk/libc/gmon/Makefile (original)
+++ trunk/libc/gmon/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1995,1996,1997,2001,2002,2005 Free Software Foundation, Inc.
+# Copyright (C) 1995-1997,2001,2002,2005,2012 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
@@ -21,7 +21,6 @@
 subdir	:= gmon
 
 headers	:= sys/gmon.h sys/gmon_out.h sys/profil.h
-distribute := machine-gmon.h profil-counter.h
 routines := gmon mcount profil sprofil bb_init_func bb_exit_func prof-freq
 
 elide-routines.os = bb_init_func bb_exit_func

Modified: trunk/libc/grp/Makefile
==============================================================================
--- trunk/libc/grp/Makefile (original)
+++ trunk/libc/grp/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,5 @@
-# Copyright (C) 1991,1992,1996-2000,2003,2004 Free Software Foundation, Inc.
+# Copyright (C) 1991,1992,1996-2000,2003,2004,2012
+# 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
@@ -22,8 +23,6 @@
 
 subdir	:= grp
 headers := grp.h
-
-distribute := tst_fgetgrent.c tst_fgetgrent.sh compat-initgroups.c
 
 routines := fgetgrent initgroups setgroups \
 	    getgrent getgrgid getgrnam putgrent \

Modified: trunk/libc/hesiod/Makefile
==============================================================================
--- trunk/libc/hesiod/Makefile (original)
+++ trunk/libc/hesiod/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2001, 2012 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
@@ -22,8 +22,6 @@
 
 subdir	:= hesiod
 
-distribute := hesiod.h hesiod_p.h README.hesiod nss_hesiod/nss_hesiod.h
-
 extra-libs-$(OPTION_EGLIBC_INET) += libnss_hesiod
 extra-libs-others-y += $(extra-libs-y)
 
@@ -31,7 +29,7 @@
 vpath %.c nss_hesiod
 
 libnss_hesiod-routines	:= hesiod hesiod-grp hesiod-init hesiod-proto \
-                           hesiod-pwd hesiod-service
+			   hesiod-pwd hesiod-service
 # Build only shared library
 libnss_hesiod-inhibit-o	= $(filter-out .os,$(object-suffixes))
 
@@ -43,6 +41,6 @@
 # The Hesiod NSS modules also needs the resolver and some help from
 # the file service.
 $(objpfx)libnss_hesiod.so: $(common-objpfx)resolv/libresolv.so \
-                           $(common-objpfx)nss/libnss_files.so \
-                           $(common-objpfx)libc.so \
+			   $(common-objpfx)nss/libnss_files.so \
+			   $(common-objpfx)libc.so \
 			   $(common-objpfx)libc_nonshared.a

Modified: trunk/libc/hurd/Makefile
==============================================================================
--- trunk/libc/hurd/Makefile (original)
+++ trunk/libc/hurd/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,98,99,2001,2002,2004,2006
+# Copyright (C) 1991,92,93,94,95,96,97,98,99,2001,2002,2004,2006,2012
 #	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -29,7 +29,7 @@
 			    userlink.h resource.h threadvar.h lookup.h)
 
 inline-headers = hurd.h $(addprefix hurd/,fd.h signal.h \
-				          userlink.h threadvar.h port.h)
+					  userlink.h threadvar.h port.h)
 
 # The RPC interfaces go in a separate library.
 interface-library := libhurduser
@@ -67,12 +67,9 @@
 	  getdport openport \
 	  fd-close fd-read fd-write hurdioctl ctty-input ctty-output
 inlines = $(inline-headers:%.h=%-inlines)
-distribute = hurdstartup.h hurdfault.h hurdhost.h \
-	     faultexc.defs intr-rpc.defs intr-rpc.h intr-msg.h Notes
 
 # XXX this is a temporary hack; see hurdmalloc.h
 routines += hurdmalloc
-distribute += hurdmalloc.h
 
 # Binary compatibility for libc.so.0.2[GLIBC_2.0].
 ifeq ($(versioning),yes)

Modified: trunk/libc/iconv/Makefile
==============================================================================
--- trunk/libc/iconv/Makefile (original)
+++ trunk/libc/iconv/Makefile Wed Mar  7 19:31:25 2012
@@ -47,10 +47,6 @@
 
 tests	= tst-iconv1 tst-iconv2 tst-iconv3 tst-iconv4 tst-iconv5
 
-distribute	= gconv_builtin.h gconv_int.h loop.c skeleton.c iconv_prog.h \
-		  iconv_charmap.c dummy-repertoire.c gconv_charset.h strtab.c \
-		  iconvconfig.h
-
 others		= iconv_prog iconvconfig
 install-others-programs	= $(inst_bindir)/iconv
 install-sbin	= iconvconfig

Modified: trunk/libc/iconvdata/Makefile
==============================================================================
--- trunk/libc/iconvdata/Makefile (original)
+++ trunk/libc/iconvdata/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1997-2008, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1997-2008, 2011, 2012 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
@@ -131,83 +131,6 @@
 LDFLAGS-libISOIR165.so = $(LDFLAGS-soname-fname)
 LDFLAGS-libJISX0213.so = $(LDFLAGS-soname-fname)
 
-distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map    \
-	      gen-8bit.sh gen-8bit-gap.sh gen-8bit-gap-1.sh		    \
-	      TESTS $(wildcard testdata/*)	    \
-	      TESTS2 run-iconv-test.sh tst-tables.sh tst-table.sh	    \
-	      tst-table-charmap.sh tst-table-from.c tst-table-to.c	    \
-	      EUC-JP.irreversible ISIRI-3342.irreversible SJIS.irreversible \
-	      EUC-KR.irreversible BIG5HKSCS.irreversible BIG5.irreversible  \
-	      CP1255.irreversible CP1258.irreversible EUC-TW.irreversible   \
-	      IBM856.irreversible IBM922.irreversible IBM1132.irreversible  \
-	      IBM1133.irreversible IBM1160.irreversible IBM1161.irreversible\
-	      IBM1163.irreversible IBM1164.irreversible			    \
-	      ARMSCII-8.irreversible TCVN5712-1.precomposed		    \
-	      JISX0213.TXT EUC-JISX0213.precomposed			    \
-	      SHIFT_JISX0213.precomposed SHIFT_JISX0213.irreversible	    \
-	      TSCII.irreversible TSCII.precomposed			    \
-	      8bit-generic.c 8bit-gap.c					    \
-	      ansi_x3.110.c asmo_449.c big5.c cp737.c cp737.h		    \
-	      cp775.c cp775.h ibm874.c cns11643.c cns11643.h		    \
-	      cns11643l1.c cns11643l1.h cp1125.c cp1250.c cp1251.c cp1252.c \
-	      cp1253.c cp1254.c cp1255.c cp1256.c cp1257.c cp1258.c	    \
-	      csn_369103.c cwi.c dec-mcs.c ebcdic-at-de.c ebcdic-at-de-a.c  \
-	      ebcdic-ca-fr.c ebcdic-dk-no.c ebcdic-dk-no-a.c ebcdic-es.c    \
-	      ebcdic-es-a.c ebcdic-es-s.c ebcdic-fr.c ebcdic-fi-se.c	    \
-	      ebcdic-fi-se-a.c ebcdic-is-friss.c ebcdic-it.c ebcdic-pt.c    \
-	      ebcdic-uk.c ebcdic-us.c ecma-cyrillic.c euc-cn.c euc-jp.c	    \
-	      euc-kr.c euc-tw.c gb2312.c gb2312.h gbk.c gost_19768-74.c	    \
-	      greek-ccitt.c greek7.c greek7-old.c hp-roman8.c ibm037.c	    \
-	      ibm038.c ibm256.c ibm273.c ibm274.c ibm275.c ibm277.c	    \
-	      ibm278.c ibm280.c ibm281.c ibm284.c ibm285.c ibm290.c	    \
-	      ibm297.c ibm420.c ibm423.c ibm424.c ibm437.c ibm500.c	    \
-	      ibm850.c ibm851.c ibm852.c ibm855.c ibm857.c ibm860.c	    \
-	      ibm861.c ibm862.c ibm863.c ibm864.c ibm865.c ibm866.c	    \
-	      ibm868.c ibm869.c ibm870.c ibm871.c ibm875.c ibm880.c	    \
-	      ibm891.c ibm903.c ibm904.c ibm905.c ibm918.c ibm1004.c	    \
-	      ibm856.c ibm930.c ibm933.c ibm935.c ibm937.c ibm939.c ibm1046.c \
-	      ibm856.h ibm930.h ibm933.h ibm935.h ibm937.h ibm939.h ibm1046.h \
-	      ibm922.c ibm922.h ibm1124.c ibm1124.h ibm1129.c ibm1129.h     \
-	      ibm1132.c ibm1132.h ibm1133.c ibm1133.h ibm1162.c ibm1162.h   \
-	      ibm1026.c ibm1047.c iec_p27-1.c inis.c inis-8.c viscii.c	    \
-	      inis-cyrillic.c iso-2022-jp.c iso-2022-kr.c iso646.c	    \
-	      iso8859-1.c iso8859-2.c iso8859-3.c iso8859-4.c iso8859-5.c   \
-	      iso8859-6.c iso8859-7.c iso8859-8.c iso8859-9.c iso8859-10.c  \
-	      iso8859-11.c iso8859-13.c iso8859-14.c iso8859-9e.c	    \
-	      iso8859-15.c iso_2033.c iso_5427-ext.c iso_5427.c iso_5428.c  \
-	      iso_6937.c iso_6937-2.c iso_10367-box.c jis0201.c jis0201.h   \
-	      jis0208.c jis0208.h jis0212.c jis0212.h johab.c koi-8.c	    \
-	      koi8-r.c ksc5601.c ksc5601.h latin-greek.c latin-greek-1.c    \
-	      macintosh.c mac-is.c mac-uk.c nats-dano.c nats-sefi.c sjis.c  \
-	      t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c koi8-u.c	    \
-	      isiri-3342.c isiri-3342.h gbgbk.c iso-2022-cn.c cns11643l2.h  \
-	      iso8859-16.c utf-16.c unicode.c utf-32.c utf-7.c big5hkscs.c  \
-	      iso-ir-165.c iso-ir-165.h gb18030.c iso-2022-cn-ext.c	    \
-	      ibm932.c ibm932.h ibm943.c ibm943.h gbbig5.c cp10007.c	    \
-	      koi8-t.c georgian-ps.c georgian-academy.c iso-ir-209.c	    \
-	      mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h	    \
-	      ibm1163.c ibm1163.h ibm1164.c ibm1164.h jisx0213.c jisx0213.h \
-	      euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c		    \
-	      tcvn5712-1.c armscii-8.c tscii.c ibm866nav.c pt154.c rk1048.c \
-	      ibm1025.c ibm1025.h ibm1122.c ibm1122.h ibm1137.c ibm1137.h   \
-	      ibm1153.c ibm1153.h ibm1154.c ibm1154.h ibm1155.c ibm1155.h   \
-	      ibm1156.c ibm1156.h ibm1157.c ibm1157.h ibm1158.c ibm1158.h   \
-	      ibm803.c ibm803.h ibm901.c ibm901.h ibm902.c ibm902.h	    \
-	      ibm921.c ibm921.h ibm1008.c ibm1008.h ibm1008_420.c	    \
-	      ibm1097.c ibm1097.h ibm1112.c ibm1112.h ibm1123.c ibm1123.h   \
-	      ibm1130.c ibm1130.h ibm1140.c ibm1140.h ibm1141.c ibm1141.h   \
-	      ibm1142.c ibm1142.h ibm1143.c ibm1143.h ibm1144.c ibm1144.h   \
-	      ibm1145.c ibm1145.h ibm1146.c ibm1146.h ibm1147.c ibm1147.h   \
-	      ibm1148.c ibm1148.h ibm1149.c ibm1149.h ibm1166.c ibm1166.h   \
-	      ibm1167.c ibm1167.h ibm4517.c ibm4517.h ibm4899.c ibm4899.h   \
-	      ibm4909.c ibm4909.h ibm4971.c ibm4971.h ibm5347.c ibm5347.h   \
-	      ibm9030.c ibm9030.h ibm9066.c ibm9066.h ibm9448.c ibm9448.h   \
-	      ibm12712.c ibm12712.h ibm16804.c ibm16804.h                   \
-	      ibm1364.c ibm1364.h ibm1371.c ibm1371.h ibm1388.c ibm1388.h   \
-	      ibm1390.c ibm1390.h ibm1399.c ibm1399.h iso_11548-1.c mik.c   \
-	      brf.c mac-centraleurope.c hp-roman9.c hp-turkish8.c	    \
-	      hp-thai8.c hp-greek8.c cp770.c cp771.c cp772.c cp773.c cp774.c
-
 # We build the transformation modules only when we build shared libs.
 ifeq (yes,$(build-shared))
 

Modified: trunk/libc/include/sys/cdefs.h
==============================================================================
--- trunk/libc/include/sys/cdefs.h (original)
+++ trunk/libc/include/sys/cdefs.h Wed Mar  7 19:31:25 2012
@@ -14,11 +14,7 @@
 rtld_hidden_proto (__chk_fail)
 
 
-# if __GNUC_PREREQ (4,3)
-#  define __attribute_alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__)))
-# else
-#  define __attribute_alloc_size(...)
-# endif
+# define __attribute_alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__)))
 #endif
 
 #endif

Modified: trunk/libc/inet/Makefile
==============================================================================
--- trunk/libc/inet/Makefile (original)
+++ trunk/libc/inet/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2006, 2007, 2009, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1991-2007, 2009, 2011, 2012 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
@@ -26,8 +26,6 @@
 	   netinet/if_ether.h netinet/igmp.h \
 	   netinet/tcp.h netinet/ip.h $(wildcard arpa/*.h protocols/*.h) \
 	   aliases.h ifaddrs.h netinet/ip6.h netinet/icmp6.h bits/in.h
-
-distribute := netgroup.h
 
 routines-$(OPTION_EGLIBC_INET) \
 	 += htonl htons \

Modified: trunk/libc/intl/Makefile
==============================================================================
--- trunk/libc/intl/Makefile (original)
+++ trunk/libc/intl/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2003, 2005, 2008, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1995-2003,2005,2008,2011,2012 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
@@ -24,15 +24,6 @@
 	   dcigettext dcngettext dngettext ngettext \
 	   finddomain loadmsgcat localealias textdomain
 aux =	   l10nflist explodename plural plural-exp hash-string
-distribute = gmo.h gettextP.h hash-string.h loadinfo.h locale.alias \
-	     plural.y plural-exp.h plural-eval.c po2test.sed \
-	     tst-gettext.sh \
-	     tst-translit.sh translit.po \
-	     tst-gettext2.sh tstlang1.po tstlang2.po \
-	     tst-codeset.sh tstcodeset.po \
-	     tst-gettext3.sh \
-	     tst-gettext4.sh tst-gettext4-de.po tst-gettext4-fr.po \
-	     tst-gettext5.sh tst-gettext6.sh
 
 include ../Makeconfig
 

Modified: trunk/libc/io/Makefile
==============================================================================
--- trunk/libc/io/Makefile (original)
+++ trunk/libc/io/Makefile Wed Mar  7 19:31:25 2012
@@ -77,8 +77,6 @@
 tests-$(OPTION_EGLIBC_FTRAVERSE) += bug-ftw1 bug-ftw2 bug-ftw3 bug-ftw4 \
 				    bug-ftw5
 
-distribute	:= ftwtest-sh
-
 include ../Rules
 
 CFLAGS-fcntl.c = -fexceptions -fasynchronous-unwind-tables

Modified: trunk/libc/libidn/ChangeLog
==============================================================================
--- trunk/libc/libidn/ChangeLog (original)
+++ trunk/libc/libidn/ChangeLog Wed Mar  7 19:31:25 2012
@@ -1,3 +1,7 @@
+2012-03-07  Ulrich Drepper  <drepper@xxxxxxxxx>
+
+	* Makefile (distribute): Remove variable.
+
 2011-12-03  Ulrich Drepper  <drepper@xxxxxxxxx>
 
 	* idna.c (idna_to_unicode_4z4z): Remove variable rc.

Modified: trunk/libc/libidn/Makefile
==============================================================================
--- trunk/libc/libidn/Makefile (original)
+++ trunk/libc/libidn/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006, 2012 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
@@ -20,8 +20,6 @@
 
 subdir	:= libidn
 
-distribute := punycode.h stringprep.h idna.h iconvme.h
-
 routines = idn-stub
 
 extra-libs-$(OPTION_EGLIBC_IDN) = libcidn

Modified: trunk/libc/libio/Makefile
==============================================================================
--- trunk/libc/libio/Makefile (original)
+++ trunk/libc/libio/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2004,2006-2009,2011 Free Software Foundation, Inc.
+# Copyright (C) 1995-2004,2006-2009,2011,2012 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
@@ -189,9 +189,6 @@
 		       oldiofgetpos oldiofgetpos64 oldiofsetpos		\
 		       oldiofsetpos64
 
-distribute := iolibio.h libioP.h strfile.h Banner test-freopen.sh \
-	      fd_to_filename.h
-
 include ../Rules
 
 ifeq (y,$(OPTION_POSIX_WIDE_CHAR_DEVICE_IO))

Modified: trunk/libc/locale/Makefile
==============================================================================
--- trunk/libc/locale/Makefile (original)
+++ trunk/libc/locale/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,1992,1995-2003,2005,2009,2011
+# Copyright (C) 1991,1992,1995-2003,2005,2009,2011,2012
 # Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -24,19 +24,6 @@
 subdir	:= locale
 
 headers		= locale.h bits/locale.h langinfo.h xlocale.h
-distribute	= localeinfo.h categories.def iso-639.def iso-3166.def \
-		  iso-4217.def weight.h weightwc.h strlen-hash.h elem-hash.h \
-		  indigits.h indigitswc.h outdigits.h outdigitswc.h \
-		  coll-lookup.h C-translit.h.in C-translit.h gen-translit.pl \
-		  locarchive.h hashval.h dummy-setlocale.c \
-		  $(addprefix programs/, \
-			      locale.c localedef.c \
-			      $(localedef-modules:=.c) $(locale-modules:=.c) \
-			      $(lib-modules:=.c) config.h simple-hash.h \
-			      charmap-kw.gperf charmap-kw.h locfile-token.h \
-			      locfile-kw.gperf locfile-kw.h linereader.h \
-			      locfile.h charmap.h repertoire.h localedef.h \
-			      3level.h charmap-dir.h locarchive.c)
 # catnames is needed by OPTION_EGLIBC_LOCALE_CODE and by the 'intl' code.
 # If we put the latter in an option group, too, we can omit catnames
 # when both option groups are disabled.  libstdc++-v3 needs mb_cur_max.

Modified: trunk/libc/localedata/ChangeLog
==============================================================================
--- trunk/libc/localedata/ChangeLog (original)
+++ trunk/libc/localedata/ChangeLog Wed Mar  7 19:31:25 2012
@@ -1,3 +1,7 @@
+2012-03-07  Ulrich Drepper  <drepper@xxxxxxxxx>
+
+	* Makefile (distribute): Remove variable.
+
 2012-02-10  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	Revert changes to locales from previous commit.

Modified: trunk/libc/localedata/Makefile
==============================================================================
--- trunk/libc/localedata/Makefile (original)
+++ trunk/libc/localedata/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,5 @@
-# Copyright (C) 1996-2003,2005,2007,2008,2009,2011 Free Software Foundation, Inc.
+# Copyright (C) 1996-2003,2005,2007-2009,2011,2012
+# 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
@@ -65,19 +66,6 @@
 	     tst-mbswcs.out tst-leaks.mtrace mtrace-tst-leaks
 generated-dirs := $(ld-test-names) tt_TT de_DE.437			\
 		  $(addprefix tstfmon_,$(fmon-tests))			\
-
-distribute := CHECKSUMS README SUPPORTED ChangeLog			\
-	      $(all-charmaps) $(all-locales)				\
-	      tst-rpmatch.sh tst-locale.sh tst-fmon.sh sort-test.sh	\
-	      tst-fmon.data $(test-input-data) $(ld-test-srcs)		\
-	      th_TH.in cs_CZ.in tst-mbswcs.sh tst-trans.sh tst-ctype.sh \
-	      tst-ctype-de_DE.ISO-8859-1.in				\
-	      tst-numeric.sh tst-numeric.data				\
-	      $(wildcard tests-mbwc/*.[ch])				\
-	      $(addprefix tst-fmon-locales/tstfmon_,$(fmon-tests))	\
-	      gen-locale.sh show-ucs-data.c tst-langinfo.sh		\
-	      tst-wctype.sh tst-wctype.input gen-unicode-ctype.c	\
-	      dump-ctype.c
 
 # Get $(inst_i18ndir) defined.
 include ../Makeconfig

Modified: trunk/libc/login/Makefile
==============================================================================
--- trunk/libc/login/Makefile (original)
+++ trunk/libc/login/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,5 @@
-# Copyright (C) 1996-1998,2000-2003,2007, 2009 Free Software Foundation, Inc.
+# Copyright (C) 1996-1998,2000-2003,2007,2009,2012
+# 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
@@ -35,8 +36,6 @@
 others-$(OPTION_EGLIBC_UTMP) += utmpdump
 others-pie = pt_chown
 install-others-programs = $(inst_libexecdir)/pt_chown
-
-distribute := utmp-private.h utmp-equal.h pty-private.h
 
 subdir-dirs = programs
 vpath %.c programs

Modified: trunk/libc/mach/Makefile
==============================================================================
--- trunk/libc/mach/Makefile (original)
+++ trunk/libc/mach/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,98,2001,02
+# Copyright (C) 1991,92,93,94,95,96,97,98,2001,02,12
 #	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -27,7 +27,6 @@
 headers = mach_init.h mach.h mach_error.h mach-shortcuts.h mach/mach_traps.h \
 	  $(interface-headers) mach/mach.h mach/mig_support.h mach/error.h \
 	  $(lock-headers) machine-sp.h
-distribute = thread_state.h
 lock = spin-solid spin-lock mutex-init mutex-solid
 lock-headers = lock-intern.h machine-lock.h spin-lock.h
 routines = $(mach-syscalls) $(mach-shortcuts) \
@@ -52,16 +51,10 @@
 
 user-interfaces := $(addprefix mach/,$(mach-interface-list)	\
 			       	     mach_port mach_host exc	\
-	            )\
+		    )\
 		   $(addprefix device/,device device_request)
 
 server-interfaces := mach/exc
-
-# It is important that we do not use the wildcard function to expand
-# `err_*.sub'.  Leaving the wildcard allows Make-dist to find all matching
-# files in all sysdep directories.
-distribute += Machrules syscalls.awk shortcut.awk \
-	      errorlib.h err_*.sub errsystems.awk
 
 # Clear any environment	value.
 generated =

Modified: trunk/libc/malloc/Makefile
==============================================================================
--- trunk/libc/malloc/Makefile (original)
+++ trunk/libc/malloc/Makefile Wed Mar  7 19:31:25 2012
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2011
+# Copyright (C) 1991-2003, 2005, 2006, 2007, 2009, 2011, 2012
 # Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -31,14 +31,7 @@
 	 tst-mallocstate tst-mcheck tst-mallocfork tst-trim1
 test-srcs = tst-mtrace
 
-distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memusage.h \
-	     memusage.sh memusagestat.c tst-mtrace.sh arena.c hooks.c
-
-# Things which get pasted together into gmalloc.c.
-gmalloc-routines := malloc morecore
-# Things to include in the standalone distribution.
-dist-routines = $(gmalloc-routines) mcheck mtrace
-routines = $(dist-routines) obstack
+routines = malloc morecore mcheck mtrace obstack
 
 install-lib := libmcheck.a
 non-lib.a := libmcheck.a

Modified: trunk/libc/manual/Makefile
==============================================================================
--- trunk/libc/manual/Makefile (original)
+++ trunk/libc/manual/Makefile Wed Mar  7 19:31:25 2012
@@ -131,7 +131,8 @@
 
 # Generate Texinfo files from the C source for the example programs.
 %.c.texi: examples/%.c
-	sed -e 's,[{}],@&,g'				\
+	sed -e '1,/^\*\/$$/d'				\
+	    -e 's,[{}],@&,g'				\
 	    -e 's,/\*\(@.*\)\*/,\1,g'			\
 	    -e 's,/\*  *,/* @r{,g' -e 's,  *\*/,} */,'	\
 	    -e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/g'\
@@ -153,16 +154,7 @@
 	       $(filter-out summary.texi, $(nonexamples))		    \
 	       $(patsubst %.c.texi,examples/%.c, $(examples))
 
-doc-only-dist = Makefile COPYING.LIB
-distribute = $(minimal-dist) $(examples) stdio-fp.c	\
-	     libc.info* libc.?? libc.??s texinfo.tex	\
-	     xtract-typefun.awk dir-add.texi dir libm-err-tab.pl
-export distribute := $(distribute)
-
 tar-it = tar chovf $@ $^
-
-manual.tar: $(doc-only-dist) $(minimal-dist) ; $(tar-it)
-mandist.tar: $(doc-only-dist) $(distribute) ; $(tar-it)
 
 edition := $(shell sed -n 's/^@set EDITION \([0-9][0-9.]*\)[^0-9.]*.*$$/\1/p' \
 		       libc.texinfo)

Modified: trunk/libc/manual/examples/add.c
==============================================================================
--- trunk/libc/manual/examples/add.c (original)
+++ trunk/libc/manual/examples/add.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Example of a Variadic Function
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdarg.h>
 #include <stdio.h>
 

Modified: trunk/libc/manual/examples/argp-ex1.c
==============================================================================
--- trunk/libc/manual/examples/argp-ex1.c (original)
+++ trunk/libc/manual/examples/argp-ex1.c Wed Mar  7 19:31:25 2012
@@ -1,4 +1,19 @@
-/* Argp example #1 -- a minimal program using argp */
+/* Argp example #1 -- a minimal program using argp
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
 
 /* This is (probably) the smallest possible program that
    uses argp.  It won't do much except give an error

Modified: trunk/libc/manual/examples/argp-ex2.c
==============================================================================
--- trunk/libc/manual/examples/argp-ex2.c (original)
+++ trunk/libc/manual/examples/argp-ex2.c Wed Mar  7 19:31:25 2012
@@ -1,4 +1,19 @@
-/* Argp example #2 -- a pretty minimal program using argp */
+/* Argp example #2 -- a pretty minimal program using argp
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
 
 /* This program doesn't use any options or arguments, but uses
    argp to be compliant with the GNU standard command line

Modified: trunk/libc/manual/examples/argp-ex3.c
==============================================================================
--- trunk/libc/manual/examples/argp-ex3.c (original)
+++ trunk/libc/manual/examples/argp-ex3.c Wed Mar  7 19:31:25 2012
@@ -1,4 +1,19 @@
-/* Argp example #3 -- a program with options and arguments using argp */
+/* Argp example #3 -- a program with options and arguments using argp
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
 
 /* This program uses the same features as example 2, and uses options and
    arguments.

Modified: trunk/libc/manual/examples/argp-ex4.c
==============================================================================
--- trunk/libc/manual/examples/argp-ex4.c (original)
+++ trunk/libc/manual/examples/argp-ex4.c Wed Mar  7 19:31:25 2012
@@ -1,4 +1,19 @@
-/* Argp example #4 -- a program with somewhat more complicated options */
+/* Argp example #4 -- a program with somewhat more complicated options
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
 
 /* This program uses the same features as example 3, but has more
    options, and somewhat more structure in the -help output.  It

Modified: trunk/libc/manual/examples/atexit.c
==============================================================================
--- trunk/libc/manual/examples/atexit.c (original)
+++ trunk/libc/manual/examples/atexit.c Wed Mar  7 19:31:25 2012
@@ -1,7 +1,24 @@
+/* Cleanups on Exit
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 
-void 
+void
 bye (void)
 {
   puts ("Goodbye, cruel world....");

Modified: trunk/libc/manual/examples/db.c
==============================================================================
--- trunk/libc/manual/examples/db.c (original)
+++ trunk/libc/manual/examples/db.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* User and Group Database Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <grp.h>
 #include <pwd.h>
 #include <sys/types.h>

Modified: trunk/libc/manual/examples/dir.c
==============================================================================
--- trunk/libc/manual/examples/dir.c (original)
+++ trunk/libc/manual/examples/dir.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Simple Program to List a Directory
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /*@group*/
 #include <stdio.h>
 #include <sys/types.h>

Modified: trunk/libc/manual/examples/dir2.c
==============================================================================
--- trunk/libc/manual/examples/dir2.c (original)
+++ trunk/libc/manual/examples/dir2.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Simple Program to List a Directory, Mark II
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /*@group*/
 #include <stdio.h>
 #include <dirent.h>

Modified: trunk/libc/manual/examples/execinfo.c
==============================================================================
--- trunk/libc/manual/examples/execinfo.c (original)
+++ trunk/libc/manual/examples/execinfo.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Obtain a backtrace and print it.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <execinfo.h>
 #include <stdio.h>
 #include <stdlib.h>

Modified: trunk/libc/manual/examples/filecli.c
==============================================================================
--- trunk/libc/manual/examples/filecli.c (original)
+++ trunk/libc/manual/examples/filecli.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Example of Reading Datagrams
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>

Modified: trunk/libc/manual/examples/filesrv.c
==============================================================================
--- trunk/libc/manual/examples/filesrv.c (original)
+++ trunk/libc/manual/examples/filesrv.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Datagram Socket Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>

Modified: trunk/libc/manual/examples/fmtmsgexpl.c
==============================================================================
--- trunk/libc/manual/examples/fmtmsgexpl.c (original)
+++ trunk/libc/manual/examples/fmtmsgexpl.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* How to use fmtmsg and addseverity.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <fmtmsg.h>
 
 int

Modified: trunk/libc/manual/examples/genpass.c
==============================================================================
--- trunk/libc/manual/examples/genpass.c (original)
+++ trunk/libc/manual/examples/genpass.c Wed Mar  7 19:31:25 2012
@@ -1,31 +1,48 @@
+/* Encrypting Passwords
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
 #include <crypt.h>
 
-int 
+int
 main(void)
 {
   unsigned long seed[2];
   char salt[] = "$1$........";
-  const char *const seedchars = 
+  const char *const seedchars =
     "./0123456789ABCDEFGHIJKLMNOPQRST"
     "UVWXYZabcdefghijklmnopqrstuvwxyz";
   char *password;
   int i;
-  
-  /* Generate a (not very) random seed.  
+
+  /* Generate a (not very) random seed.
      You should do it better than this...  */
   seed[0] = time(NULL);
   seed[1] = getpid() ^ (seed[0] >> 14 & 0x30000);
-  
+
   /* Turn it into printable characters from `seedchars'.  */
   for (i = 0; i < 8; i++)
     salt[3+i] = seedchars[(seed[i/5] >> (i%5)*6) & 0x3f];
-  
+
   /* Read in the user's password and encrypt it.  */
   password = crypt(getpass("Password:"), salt);
-  
+
   /* Print the results.  */
   puts(password);
   return 0;

Modified: trunk/libc/manual/examples/inetcli.c
==============================================================================
--- trunk/libc/manual/examples/inetcli.c (original)
+++ trunk/libc/manual/examples/inetcli.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Byte Stream Socket Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
@@ -11,7 +28,7 @@
 #define MESSAGE		"Yow!!! Are we having fun yet?!?"
 #define SERVERHOST 	"mescaline.gnu.org"
 
-void 
+void
 write_to_server (int filedes)
 {
   int nbytes;

Modified: trunk/libc/manual/examples/inetsrv.c
==============================================================================
--- trunk/libc/manual/examples/inetsrv.c (original)
+++ trunk/libc/manual/examples/inetsrv.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Byte Stream Connection Server Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>

Modified: trunk/libc/manual/examples/isockad.c
==============================================================================
--- trunk/libc/manual/examples/isockad.c (original)
+++ trunk/libc/manual/examples/isockad.c Wed Mar  7 19:31:25 2012
@@ -1,10 +1,27 @@
+/* Internet Socket Example using sockaddr_in.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
 
-void 
+void
 init_sockaddr (struct sockaddr_in *name,
 	       const char *hostname,
 	       uint16_t port)
@@ -14,7 +31,7 @@
   name->sin_family = AF_INET;
   name->sin_port = htons (port);
   hostinfo = gethostbyname (hostname);
-  if (hostinfo == NULL) 
+  if (hostinfo == NULL)
     {
       fprintf (stderr, "Unknown host %s.\n", hostname);
       exit (EXIT_FAILURE);

Modified: trunk/libc/manual/examples/longopt.c
==============================================================================
--- trunk/libc/manual/examples/longopt.c (original)
+++ trunk/libc/manual/examples/longopt.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Example of Parsing Long Options with getopt_long.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <getopt.h>

Modified: trunk/libc/manual/examples/memopen.c
==============================================================================
--- trunk/libc/manual/examples/memopen.c (original)
+++ trunk/libc/manual/examples/memopen.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* String Streams
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 
 static char buffer[] = "foobar";

Modified: trunk/libc/manual/examples/memstrm.c
==============================================================================
--- trunk/libc/manual/examples/memstrm.c (original)
+++ trunk/libc/manual/examples/memstrm.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* open_memstream example.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 
 int

Modified: trunk/libc/manual/examples/mkfsock.c
==============================================================================
--- trunk/libc/manual/examples/mkfsock.c (original)
+++ trunk/libc/manual/examples/mkfsock.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Example of Local-Namespace Sockets
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stddef.h>
 #include <stdio.h>
 #include <errno.h>

Modified: trunk/libc/manual/examples/mkisock.c
==============================================================================
--- trunk/libc/manual/examples/mkisock.c (original)
+++ trunk/libc/manual/examples/mkisock.c Wed Mar  7 19:31:25 2012
@@ -1,9 +1,26 @@
+/* Internet Socket Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 
-int 
+int
 make_socket (uint16_t port)
 {
   int sock;

Modified: trunk/libc/manual/examples/mygetpass.c
==============================================================================
--- trunk/libc/manual/examples/mygetpass.c (original)
+++ trunk/libc/manual/examples/mygetpass.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Reading Passwords
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <termios.h>
 #include <stdio.h>
 
@@ -14,12 +31,12 @@
   new.c_lflag &= ~ECHO;
   if (tcsetattr (fileno (stream), TCSAFLUSH, &new) != 0)
     return -1;
-  
+
   /* Read the password.  */
   nread = getline (lineptr, n, stream);
 
   /* Restore terminal.  */
   (void) tcsetattr (fileno (stream), TCSAFLUSH, &old);
-  
+
   return nread;
 }

Modified: trunk/libc/manual/examples/pipe.c
==============================================================================
--- trunk/libc/manual/examples/pipe.c (original)
+++ trunk/libc/manual/examples/pipe.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Creating a Pipe
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdio.h>

Modified: trunk/libc/manual/examples/popen.c
==============================================================================
--- trunk/libc/manual/examples/popen.c (original)
+++ trunk/libc/manual/examples/popen.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Pipe to a Subprocess
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 

Modified: trunk/libc/manual/examples/rprintf.c
==============================================================================
--- trunk/libc/manual/examples/rprintf.c (original)
+++ trunk/libc/manual/examples/rprintf.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Printf Extension Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <printf.h>

Modified: trunk/libc/manual/examples/search.c
==============================================================================
--- trunk/libc/manual/examples/search.c (original)
+++ trunk/libc/manual/examples/search.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Searching and Sorting Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -35,7 +52,7 @@
 
 /* This is the comparison function used for sorting and searching. */
 
-int 
+int
 critter_cmp (const struct critter *c1, const struct critter *c2)
 {
   return strcmp (c1->name, c2->name);
@@ -44,7 +61,7 @@
 
 /* Print information about a critter. */
 
-void 
+void
 print_critter (const struct critter *c)
 {
   printf ("%s, the %s\n", c->name, c->species);
@@ -54,7 +71,7 @@
 /*@group*/
 /* Do the lookup into the sorted array. */
 
-void 
+void
 find_critter (const char *name)
 {
   struct critter target, *result;

Modified: trunk/libc/manual/examples/select.c
==============================================================================
--- trunk/libc/manual/examples/select.c (original)
+++ trunk/libc/manual/examples/select.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Waiting for Input or Output
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /*@group*/
 #include <errno.h>
 #include <stdio.h>

Modified: trunk/libc/manual/examples/setjmp.c
==============================================================================
--- trunk/libc/manual/examples/setjmp.c (original)
+++ trunk/libc/manual/examples/setjmp.c Wed Mar  7 19:31:25 2012
@@ -1,10 +1,27 @@
+/* Introduction to Non-Local Exits
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <setjmp.h>
 #include <stdlib.h>
 #include <stdio.h>
 
 jmp_buf main_loop;
 
-void 
+void
 abort_to_main_loop (int status)
 {
   longjmp (main_loop, status);
@@ -21,7 +38,7 @@
 }
 
 
-void 
+void
 do_command (void)
 {
   char buffer[128];

Modified: trunk/libc/manual/examples/sigh1.c
==============================================================================
--- trunk/libc/manual/examples/sigh1.c (original)
+++ trunk/libc/manual/examples/sigh1.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Signal Handlers that Return
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -6,14 +23,14 @@
 volatile sig_atomic_t keep_going = 1;
 
 /* The signal handler just clears the flag and re-enables itself. */
-void 
+void
 catch_alarm (int sig)
 {
   keep_going = 0;
   signal (sig, catch_alarm);
 }
 
-void 
+void
 do_stuff (void)
 {
   puts ("Doing stuff while waiting for alarm....");

Modified: trunk/libc/manual/examples/sigusr.c
==============================================================================
--- trunk/libc/manual/examples/sigusr.c (original)
+++ trunk/libc/manual/examples/sigusr.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Using kill for Communication
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /*@group*/
 #include <signal.h>
 #include <stdio.h>
@@ -8,14 +25,14 @@
 /* When a @code{SIGUSR1} signal arrives, set this variable.  */
 volatile sig_atomic_t usr_interrupt = 0;
 
-void 
+void
 synch_signal (int sig)
 {
   usr_interrupt = 1;
 }
 
 /* The child process executes this function. */
-void 
+void
 child_function (void)
 {
   /* Perform initialization. */

Modified: trunk/libc/manual/examples/stpcpy.c
==============================================================================
--- trunk/libc/manual/examples/stpcpy.c (original)
+++ trunk/libc/manual/examples/stpcpy.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* stpcpy example.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <string.h>
 #include <stdio.h>
 

Modified: trunk/libc/manual/examples/strdupa.c
==============================================================================
--- trunk/libc/manual/examples/strdupa.c (original)
+++ trunk/libc/manual/examples/strdupa.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* strdupa example.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <paths.h>
 #include <string.h>
 #include <stdio.h>

Modified: trunk/libc/manual/examples/strftim.c
==============================================================================
--- trunk/libc/manual/examples/strftim.c (original)
+++ trunk/libc/manual/examples/strftim.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Time Functions Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <time.h>
 #include <stdio.h>
 

Modified: trunk/libc/manual/examples/strncat.c
==============================================================================
--- trunk/libc/manual/examples/strncat.c (original)
+++ trunk/libc/manual/examples/strncat.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* strncat example.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <string.h>
 #include <stdio.h>
 

Modified: trunk/libc/manual/examples/subopt.c
==============================================================================
--- trunk/libc/manual/examples/subopt.c (original)
+++ trunk/libc/manual/examples/subopt.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Parsing of Suboptions Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>

Modified: trunk/libc/manual/examples/swapcontext.c
==============================================================================
--- trunk/libc/manual/examples/swapcontext.c (original)
+++ trunk/libc/manual/examples/swapcontext.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Complete Context Control
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>

Modified: trunk/libc/manual/examples/termios.c
==============================================================================
--- trunk/libc/manual/examples/termios.c (original)
+++ trunk/libc/manual/examples/termios.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Noncanonical Mode Example
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -7,13 +24,13 @@
 
 struct termios saved_attributes;
 
-void 
+void
 reset_input_mode (void)
 {
   tcsetattr (STDIN_FILENO, TCSANOW, &saved_attributes);
 }
 
-void 
+void
 set_input_mode (void)
 {
   struct termios tattr;

Modified: trunk/libc/manual/examples/testopt.c
==============================================================================
--- trunk/libc/manual/examples/testopt.c (original)
+++ trunk/libc/manual/examples/testopt.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* Example of Parsing Arguments with getopt.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /*@group*/
 #include <ctype.h>
 #include <stdio.h>

Modified: trunk/libc/manual/examples/testpass.c
==============================================================================
--- trunk/libc/manual/examples/testpass.c (original)
+++ trunk/libc/manual/examples/testpass.c Wed Mar  7 19:31:25 2012
@@ -1,9 +1,26 @@
+/* Verify a password.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
 #include <crypt.h>
 
-int 
+int
 main(void)
 {
   /* Hashed form of "GNU libc manual".  */
@@ -11,7 +28,7 @@
 
   char *result;
   int ok;
-  
+
 /*@group*/
   /* Read in the user's password and encrypt it,
      passing the expected password in as the salt.  */

Modified: trunk/libc/manual/examples/timeval_subtract.c
==============================================================================
--- trunk/libc/manual/examples/timeval_subtract.c (original)
+++ trunk/libc/manual/examples/timeval_subtract.c Wed Mar  7 19:31:25 2012
@@ -1,3 +1,20 @@
+/* struct timeval subtraction.
+   Copyright (C) 1991-2012 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, if not, see <http://www.gnu.org/licenses/>.
+*/
+
 /* Subtract the `struct timeval' values X and Y,
    storing the result in RESULT.

[... 5847 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits