]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update. cvs/libc-ud-971014
authorUlrich Drepper <drepper@redhat.com>
Wed, 15 Oct 1997 05:34:02 +0000 (05:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 15 Oct 1997 05:34:02 +0000 (05:34 +0000)
1997-10-15 06:56  Ulrich Drepper  <drepper@cygnus.com>

* Rules: Remove ruls to magically install <subdir>.h headers.
Reported by Mark Kettenis <kettenis@phys.uva.nl>.

* glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
* version.c: Likewise.
* catgets/gencat.c: Likewise.
* db2/makedb.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.

* libc.map: Move _IO_list_all back to GLIBC_2.0.

* elf/rtld.c: Provide name of running program to _dl_new_object.

* Rules: Implement shared-only-sources.
* include/libc-symbols.h: Define default_symbol_version.
* libio/Makefile (shared-only-sources): Define.
* libio/freopen.c: Define as default version.
* libio/iofopen.c: Likewise.
* libio/genops.c: Define _IO_list_all here.
* libio/stdfiles.c: Create linked list with public names.
* libio/oldstdfiles.c: Likewise.

* stdio-common/printf.c: Optimize.
* stdio-common/scanf.c: Optimize.

* sysdeps/generic/setfpucw.c: Include #include <...> not "...".

* sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
rindex.

1997-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi: Spelling fixes.
* manual/conf.texi: Likewise.
* manual/creature.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/intro.texi: Likewise.
* manual/llio.texi: Likewise.
* manual/math.texi: Likewise.
* manual/message.texi: Likewise.
* manual/pattern.texi: Likewise.
* manual/search.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/socket.texi: Likewise.
* manual/startup.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/string.texi: Likewise.
* manual/time.texi: Likewise.
* manual/users.texi: Likewise.

1997-10-13 05:25  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* sysdeps/mach/hurd/mmap.c: Likewise.
* sysdeps/generic/mmap.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
* sysdeps/mach/munmap.c: Likewise.
* sysdeps/generic/munmap.c: Likewise.
* sysdeps/mach/mprotect.c: Likewise.
* sysdeps/generic/mprotect.c: Likewise.
* sysdeps/generic/msync.c: Likewise.
* sysdeps/generic/madvise.c: Likewise.

* sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
subdir.

1997-10-12 20:27  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/stub (all files):  Moved to sysdeps/generic.
* all files using stub_warning: Include <stub-tag.h>.
* include/stub-tag.h: New file, marks stubs in .d files.
* Makerules: Look for stub-tag.h, not sysdeps/stub, when building
<gnu/stubs.h>.
* configure.in: Don't add sysdeps/stub to $sysnames.
* sysdeps/unix/Makefile: Look for generic headers, not stub
headers.
* sysdeps/generic/Makefile: Likewise.
* manual/maint.texi: Delete references to sysdeps/stub.
* INSTALL: Rebuilt.
* configure: Rebuilt.

420 files changed:
ChangeLog
INSTALL
Makerules
Rules
bits/dirent.h [moved from sysdeps/stub/bits/dirent.h with 100% similarity]
bits/elfclass.h [moved from sysdeps/stub/bits/elfclass.h with 100% similarity]
bits/endian.h [moved from sysdeps/stub/bits/endian.h with 100% similarity]
bits/errno.h [moved from sysdeps/stub/bits/errno.h with 100% similarity]
bits/fcntl.h [moved from sysdeps/stub/bits/fcntl.h with 100% similarity]
bits/fenv.h [moved from sysdeps/stub/bits/fenv.h with 100% similarity]
bits/huge_val.h [moved from sysdeps/stub/bits/huge_val.h with 100% similarity]
bits/ioctls.h [moved from sysdeps/stub/bits/ioctls.h with 100% similarity]
bits/ipc.h [moved from sysdeps/stub/bits/ipc.h with 100% similarity]
bits/libc-lock.h [moved from sysdeps/stub/bits/libc-lock.h with 100% similarity]
bits/local_lim.h [moved from sysdeps/stub/bits/local_lim.h with 100% similarity]
bits/mathinline.h [moved from sysdeps/stub/bits/mathinline.h with 100% similarity]
bits/msq.h [moved from sysdeps/stub/bits/msq.h with 100% similarity]
bits/nan.h [moved from sysdeps/stub/bits/nan.h with 100% similarity]
bits/posix_opt.h [moved from sysdeps/stub/bits/posix_opt.h with 100% similarity]
bits/sem.h [moved from sysdeps/stub/bits/sem.h with 100% similarity]
bits/setjmp.h [moved from sysdeps/stub/bits/setjmp.h with 100% similarity]
bits/shm.h [moved from sysdeps/stub/bits/shm.h with 100% similarity]
bits/sigcontext.h [moved from sysdeps/stub/bits/sigcontext.h with 100% similarity]
bits/signum.h [moved from sysdeps/stub/bits/signum.h with 100% similarity]
bits/stat.h [moved from sysdeps/stub/bits/stat.h with 100% similarity]
bits/string.h [moved from sysdeps/stub/bits/string.h with 100% similarity]
bits/time.h [moved from sysdeps/stub/bits/time.h with 100% similarity]
bits/waitflags.h [moved from sysdeps/stub/bits/waitflags.h with 100% similarity]
catgets/gencat.c
configure
configure.in
db2/makedb.c
elf/rtld.c
glibcbug.in
include/libc-symbols.h
include/stub-tag.h [new file with mode: 0644]
libc.map
libio/Makefile
libio/freopen.c
libio/genops.c
libio/iofopen.c
libio/oldstdfiles.c
libio/stdfiles.c
locale/programs/locale.c
locale/programs/localedef.c
manual/arith.texi
manual/conf.texi
manual/creature.texi
manual/filesys.texi
manual/intro.texi
manual/llio.texi
manual/maint.texi
manual/math.texi
manual/message.texi
manual/pattern.texi
manual/search.texi
manual/signal.texi
manual/socket.texi
manual/startup.texi
manual/stdio.texi
manual/string.texi
manual/time.texi
manual/users.texi
stdio-common/printf.c
stdio-common/scanf.c
sysdeps/generic/Makefile
sysdeps/generic/__longjmp.c [moved from sysdeps/stub/__longjmp.c with 98% similarity]
sysdeps/generic/_exit.c [moved from sysdeps/stub/_exit.c with 98% similarity]
sysdeps/generic/accept.c [moved from sysdeps/stub/accept.c with 98% similarity]
sysdeps/generic/access.c [moved from sysdeps/stub/access.c with 98% similarity]
sysdeps/generic/acct.c [moved from sysdeps/stub/acct.c with 98% similarity]
sysdeps/generic/adjtime.c [moved from sysdeps/stub/adjtime.c with 98% similarity]
sysdeps/generic/alarm.c [moved from sysdeps/stub/alarm.c with 98% similarity]
sysdeps/generic/asm-syntax.h [moved from sysdeps/stub/asm-syntax.h with 100% similarity]
sysdeps/generic/atomicity.h [moved from sysdeps/stub/atomicity.h with 100% similarity]
sysdeps/generic/bind.c [moved from sysdeps/stub/bind.c with 98% similarity]
sysdeps/generic/bits/dirent.h [new file with mode: 0644]
sysdeps/generic/bits/elfclass.h [new file with mode: 0644]
sysdeps/generic/bits/endian.h [new file with mode: 0644]
sysdeps/generic/bits/errno.h [new file with mode: 0644]
sysdeps/generic/bits/fcntl.h [new file with mode: 0644]
sysdeps/generic/bits/fenv.h [new file with mode: 0644]
sysdeps/generic/bits/huge_val.h [new file with mode: 0644]
sysdeps/generic/bits/ioctls.h [new file with mode: 0644]
sysdeps/generic/bits/ipc.h [new file with mode: 0644]
sysdeps/generic/bits/libc-lock.h [new file with mode: 0644]
sysdeps/generic/bits/local_lim.h [new file with mode: 0644]
sysdeps/generic/bits/mathinline.h [new file with mode: 0644]
sysdeps/generic/bits/msq.h [new file with mode: 0644]
sysdeps/generic/bits/nan.h [new file with mode: 0644]
sysdeps/generic/bits/posix_opt.h [new file with mode: 0644]
sysdeps/generic/bits/sem.h [new file with mode: 0644]
sysdeps/generic/bits/setjmp.h [new file with mode: 0644]
sysdeps/generic/bits/shm.h [new file with mode: 0644]
sysdeps/generic/bits/sigcontext.h [new file with mode: 0644]
sysdeps/generic/bits/signum.h [new file with mode: 0644]
sysdeps/generic/bits/stat.h [new file with mode: 0644]
sysdeps/generic/bits/stdio_lim.h [moved from sysdeps/stub/bits/stdio_lim.h with 100% similarity]
sysdeps/generic/bits/string.h [new file with mode: 0644]
sysdeps/generic/bits/time.h [new file with mode: 0644]
sysdeps/generic/bits/waitflags.h [new file with mode: 0644]
sysdeps/generic/brdinit.c [moved from sysdeps/stub/brdinit.c with 100% similarity]
sysdeps/generic/brk.c [moved from sysdeps/stub/brk.c with 98% similarity]
sysdeps/generic/bsd-_setjmp.c [moved from sysdeps/stub/bsd-_setjmp.c with 100% similarity]
sysdeps/generic/bsd-setjmp.c [moved from sysdeps/stub/bsd-setjmp.c with 100% similarity]
sysdeps/generic/chdir.c [moved from sysdeps/stub/chdir.c with 98% similarity]
sysdeps/generic/chflags.c [moved from sysdeps/stub/chflags.c with 98% similarity]
sysdeps/generic/chmod.c [moved from sysdeps/stub/chmod.c with 98% similarity]
sysdeps/generic/chown.c [moved from sysdeps/stub/chown.c with 98% similarity]
sysdeps/generic/chroot.c [moved from sysdeps/stub/chroot.c with 98% similarity]
sysdeps/generic/clock.c [moved from sysdeps/stub/clock.c with 98% similarity]
sysdeps/generic/close.c [moved from sysdeps/stub/close.c with 98% similarity]
sysdeps/generic/closedir.c [moved from sysdeps/stub/closedir.c with 98% similarity]
sysdeps/generic/confstr.h [moved from sysdeps/stub/confstr.h with 100% similarity]
sysdeps/generic/connect.c [moved from sysdeps/stub/connect.c with 98% similarity]
sysdeps/generic/console.c [moved from sysdeps/stub/console.c with 100% similarity]
sysdeps/generic/ctermid.c [moved from sysdeps/stub/ctermid.c with 98% similarity]
sysdeps/generic/cuserid.c [moved from sysdeps/stub/cuserid.c with 98% similarity]
sysdeps/generic/dbl2mpn.c [moved from sysdeps/stub/dbl2mpn.c with 100% similarity]
sysdeps/generic/defs.c [moved from sysdeps/stub/defs.c with 100% similarity]
sysdeps/generic/des_impl.c [moved from sysdeps/stub/des_impl.c with 98% similarity]
sysdeps/generic/dirfd.c [moved from sysdeps/stub/dirfd.c with 98% similarity]
sysdeps/generic/dirstream.h [moved from sysdeps/stub/dirstream.h with 100% similarity]
sysdeps/generic/dl-machine.h [moved from sysdeps/stub/dl-machine.h with 100% similarity]
sysdeps/generic/dup.c [moved from sysdeps/stub/dup.c with 98% similarity]
sysdeps/generic/dup2.c [moved from sysdeps/stub/dup2.c with 98% similarity]
sysdeps/generic/e_acoshl.c [moved from sysdeps/stub/e_acoshl.c with 91% similarity]
sysdeps/generic/e_acosl.c [moved from sysdeps/stub/e_acosl.c with 91% similarity]
sysdeps/generic/e_asinl.c [moved from sysdeps/stub/e_asinl.c with 91% similarity]
sysdeps/generic/e_atan2l.c [moved from sysdeps/stub/e_atan2l.c with 91% similarity]
sysdeps/generic/e_expl.c [moved from sysdeps/stub/e_expl.c with 91% similarity]
sysdeps/generic/e_fmodl.c [moved from sysdeps/stub/e_fmodl.c with 91% similarity]
sysdeps/generic/e_j0l.c [moved from sysdeps/stub/e_j0l.c with 94% similarity]
sysdeps/generic/e_j1l.c [moved from sysdeps/stub/e_j1l.c with 94% similarity]
sysdeps/generic/e_jnl.c [moved from sysdeps/stub/e_jnl.c with 94% similarity]
sysdeps/generic/e_lgammal_r.c [moved from sysdeps/stub/e_lgammal_r.c with 92% similarity]
sysdeps/generic/e_log10l.c [moved from sysdeps/stub/e_log10l.c with 91% similarity]
sysdeps/generic/e_logl.c [moved from sysdeps/stub/e_logl.c with 91% similarity]
sysdeps/generic/e_powl.c [moved from sysdeps/stub/e_powl.c with 91% similarity]
sysdeps/generic/e_rem_pio2l.c [moved from sysdeps/stub/e_rem_pio2l.c with 92% similarity]
sysdeps/generic/e_sqrtl.c [moved from sysdeps/stub/e_sqrtl.c with 91% similarity]
sysdeps/generic/errlist.c [moved from sysdeps/stub/errlist.c with 100% similarity]
sysdeps/generic/euidaccess.c [moved from sysdeps/stub/euidaccess.c with 98% similarity]
sysdeps/generic/exc2signal.c [moved from sysdeps/stub/exc2signal.c with 100% similarity]
sysdeps/generic/execve.c [moved from sysdeps/stub/execve.c with 98% similarity]
sysdeps/generic/fchdir.c [moved from sysdeps/stub/fchdir.c with 98% similarity]
sysdeps/generic/fchflags.c [moved from sysdeps/stub/fchflags.c with 98% similarity]
sysdeps/generic/fchmod.c [moved from sysdeps/stub/fchmod.c with 98% similarity]
sysdeps/generic/fchown.c [moved from sysdeps/stub/fchown.c with 98% similarity]
sysdeps/generic/fclrexcpt.c [moved from sysdeps/stub/fclrexcpt.c with 98% similarity]
sysdeps/generic/fcntl.c [moved from sysdeps/stub/fcntl.c with 98% similarity]
sysdeps/generic/fdopen.c [moved from sysdeps/stub/fdopen.c with 98% similarity]
sysdeps/generic/fegetenv.c [moved from sysdeps/stub/fegetenv.c with 97% similarity]
sysdeps/generic/fegetround.c [moved from sysdeps/stub/fegetround.c with 97% similarity]
sysdeps/generic/feholdexcpt.c [moved from sysdeps/stub/feholdexcpt.c with 98% similarity]
sysdeps/generic/fesetenv.c [moved from sysdeps/stub/fesetenv.c with 97% similarity]
sysdeps/generic/fesetround.c [moved from sysdeps/stub/fesetround.c with 98% similarity]
sysdeps/generic/feupdateenv.c [moved from sysdeps/stub/feupdateenv.c with 98% similarity]
sysdeps/generic/fexecve.c [moved from sysdeps/stub/fexecve.c with 98% similarity]
sysdeps/generic/fgetexcptflg.c [moved from sysdeps/stub/fgetexcptflg.c with 98% similarity]
sysdeps/generic/flock.c [moved from sysdeps/stub/flock.c with 98% similarity]
sysdeps/generic/fork.c [moved from sysdeps/stub/fork.c with 98% similarity]
sysdeps/generic/fpathconf.c [moved from sysdeps/stub/fpathconf.c with 98% similarity]
sysdeps/generic/fpu_control.h [moved from sysdeps/stub/fpu_control.h with 100% similarity]
sysdeps/generic/fraiseexcpt.c [moved from sysdeps/stub/fraiseexcpt.c with 97% similarity]
sysdeps/generic/fsetexcptflg.c [moved from sysdeps/stub/fsetexcptflg.c with 98% similarity]
sysdeps/generic/fstatfs.c [moved from sysdeps/stub/fstatfs.c with 98% similarity]
sysdeps/generic/fstatfs64.c [moved from sysdeps/stub/fstatfs64.c with 98% similarity]
sysdeps/generic/fsync.c [moved from sysdeps/stub/fsync.c with 98% similarity]
sysdeps/generic/ftestexcept.c [moved from sysdeps/stub/ftestexcept.c with 98% similarity]
sysdeps/generic/ftruncate.c [moved from sysdeps/stub/ftruncate.c with 98% similarity]
sysdeps/generic/fxstat.c [moved from sysdeps/stub/fxstat.c with 98% similarity]
sysdeps/generic/fxstat64.c [moved from sysdeps/stub/fxstat64.c with 98% similarity]
sysdeps/generic/gai_strerror.c [moved from sysdeps/stub/gai_strerror.c with 100% similarity]
sysdeps/generic/getaddrinfo.c [moved from sysdeps/stub/getaddrinfo.c with 98% similarity]
sysdeps/generic/getcwd.c [moved from sysdeps/stub/getcwd.c with 98% similarity]
sysdeps/generic/getdents.c [moved from sysdeps/stub/getdents.c with 98% similarity]
sysdeps/generic/getdomain.c
sysdeps/generic/getdtsz.c [moved from sysdeps/stub/getdtsz.c with 98% similarity]
sysdeps/generic/getegid.c [moved from sysdeps/stub/getegid.c with 98% similarity]
sysdeps/generic/geteuid.c [moved from sysdeps/stub/geteuid.c with 98% similarity]
sysdeps/generic/getgid.c [moved from sysdeps/stub/getgid.c with 98% similarity]
sysdeps/generic/getgroups.c [moved from sysdeps/stub/getgroups.c with 98% similarity]
sysdeps/generic/gethostid.c [moved from sysdeps/stub/gethostid.c with 98% similarity]
sysdeps/generic/gethostname.c [moved from sysdeps/stub/gethostname.c with 98% similarity]
sysdeps/generic/getitimer.c [moved from sysdeps/stub/getitimer.c with 98% similarity]
sysdeps/generic/getlogin.c [moved from sysdeps/stub/getlogin.c with 98% similarity]
sysdeps/generic/getlogin_r.c [moved from sysdeps/stub/getlogin_r.c with 98% similarity]
sysdeps/generic/getpagesize.c [moved from sysdeps/stub/getpagesize.c with 98% similarity]
sysdeps/generic/getpeername.c [moved from sysdeps/stub/getpeername.c with 98% similarity]
sysdeps/generic/getpgid.c [moved from sysdeps/stub/getpgid.c with 98% similarity]
sysdeps/generic/getpid.c [moved from sysdeps/stub/getpid.c with 98% similarity]
sysdeps/generic/getppid.c [moved from sysdeps/stub/getppid.c with 98% similarity]
sysdeps/generic/getpriority.c [moved from sysdeps/stub/getpriority.c with 98% similarity]
sysdeps/generic/getrlimit.c [moved from sysdeps/stub/getrlimit.c with 98% similarity]
sysdeps/generic/getrlimit64.c [moved from sysdeps/stub/getrlimit64.c with 98% similarity]
sysdeps/generic/getrusage.c [moved from sysdeps/stub/getrusage.c with 98% similarity]
sysdeps/generic/getsid.c [moved from sysdeps/stub/getsid.c with 98% similarity]
sysdeps/generic/getsockname.c [moved from sysdeps/stub/getsockname.c with 98% similarity]
sysdeps/generic/getsockopt.c [moved from sysdeps/stub/getsockopt.c with 98% similarity]
sysdeps/generic/getsysstats.c [moved from sysdeps/stub/getsysstats.c with 98% similarity]
sysdeps/generic/gettimeofday.c [moved from sysdeps/stub/gettimeofday.c with 98% similarity]
sysdeps/generic/getuid.c [moved from sysdeps/stub/getuid.c with 98% similarity]
sysdeps/generic/gtty.c [moved from sysdeps/stub/gtty.c with 98% similarity]
sysdeps/generic/if_index.c [moved from sysdeps/stub/if_index.c with 98% similarity]
sysdeps/generic/init-first.c [moved from sysdeps/stub/init-first.c with 100% similarity]
sysdeps/generic/init-posix.c [moved from sysdeps/stub/init-posix.c with 100% similarity]
sysdeps/generic/intr-msg.h [moved from sysdeps/stub/intr-msg.h with 100% similarity]
sysdeps/generic/ioctl.c [moved from sysdeps/stub/ioctl.c with 98% similarity]
sysdeps/generic/isatty.c [moved from sysdeps/stub/isatty.c with 98% similarity]
sysdeps/generic/isfdtype.c [moved from sysdeps/stub/isfdtype.c with 98% similarity]
sysdeps/generic/jmp-unwind.c [moved from sysdeps/stub/jmp-unwind.c with 100% similarity]
sysdeps/generic/k_cosl.c [moved from sysdeps/stub/k_cosl.c with 91% similarity]
sysdeps/generic/k_rem_pio2l.c [moved from sysdeps/stub/k_rem_pio2l.c with 93% similarity]
sysdeps/generic/k_sinl.c [moved from sysdeps/stub/k_sinl.c with 91% similarity]
sysdeps/generic/k_tanl.c [moved from sysdeps/stub/k_tanl.c with 91% similarity]
sysdeps/generic/kill.c [moved from sysdeps/stub/kill.c with 98% similarity]
sysdeps/generic/killpg.c [moved from sysdeps/stub/killpg.c with 98% similarity]
sysdeps/generic/lchown.c [moved from sysdeps/stub/lchown.c with 98% similarity]
sysdeps/generic/ldbl2mpn.c [moved from sysdeps/stub/ldbl2mpn.c with 100% similarity]
sysdeps/generic/libc_fatal.c [moved from sysdeps/stub/libc_fatal.c with 100% similarity]
sysdeps/generic/link.c [moved from sysdeps/stub/link.c with 98% similarity]
sysdeps/generic/listen.c [moved from sysdeps/stub/listen.c with 98% similarity]
sysdeps/generic/lockfile.c [moved from sysdeps/stub/lockfile.c with 100% similarity]
sysdeps/generic/longjmp-ts.c [moved from sysdeps/stub/longjmp-ts.c with 100% similarity]
sysdeps/generic/lseek.c [moved from sysdeps/stub/lseek.c with 98% similarity]
sysdeps/generic/lseek64.c [moved from sysdeps/stub/lseek64.c with 98% similarity]
sysdeps/generic/lxstat64.c [moved from sysdeps/stub/lxstat64.c with 98% similarity]
sysdeps/generic/machine-lock.h [moved from sysdeps/stub/machine-lock.h with 100% similarity]
sysdeps/generic/machine-sp.h [moved from sysdeps/stub/machine-sp.h with 100% similarity]
sysdeps/generic/madvise.c [moved from sysdeps/stub/madvise.c with 94% similarity]
sysdeps/generic/mkdir.c [moved from sysdeps/stub/mkdir.c with 98% similarity]
sysdeps/generic/mkfifo.c [moved from sysdeps/stub/mkfifo.c with 98% similarity]
sysdeps/generic/mkstemp.c [moved from sysdeps/stub/mkstemp.c with 98% similarity]
sysdeps/generic/mktemp.c [moved from sysdeps/stub/mktemp.c with 98% similarity]
sysdeps/generic/mmap.c [moved from sysdeps/stub/mmap.c with 89% similarity]
sysdeps/generic/mpn2dbl.c [moved from sysdeps/stub/mpn2dbl.c with 100% similarity]
sysdeps/generic/mpn2flt.c [moved from sysdeps/stub/mpn2flt.c with 100% similarity]
sysdeps/generic/mpn2ldbl.c [moved from sysdeps/stub/mpn2ldbl.c with 100% similarity]
sysdeps/generic/mprotect.c [moved from sysdeps/stub/mprotect.c with 94% similarity]
sysdeps/generic/msgctl.c [moved from sysdeps/stub/msgctl.c with 98% similarity]
sysdeps/generic/msgget.c [moved from sysdeps/stub/msgget.c with 98% similarity]
sysdeps/generic/msgrcv.c [moved from sysdeps/stub/msgrcv.c with 98% similarity]
sysdeps/generic/msgsnd.c [moved from sysdeps/stub/msgsnd.c with 98% similarity]
sysdeps/generic/msync.c [moved from sysdeps/stub/msync.c with 94% similarity]
sysdeps/generic/munmap.c [moved from sysdeps/stub/munmap.c with 95% similarity]
sysdeps/generic/nanosleep.c [moved from sysdeps/stub/nanosleep.c with 98% similarity]
sysdeps/generic/nice.c [moved from sysdeps/stub/nice.c with 98% similarity]
sysdeps/generic/nlist.c [moved from sysdeps/stub/nlist.c with 98% similarity]
sysdeps/generic/open.c [moved from sysdeps/stub/open.c with 98% similarity]
sysdeps/generic/open64.c [moved from sysdeps/stub/open64.c with 98% similarity]
sysdeps/generic/opendir.c [moved from sysdeps/stub/opendir.c with 98% similarity]
sysdeps/generic/pathconf.c [moved from sysdeps/stub/pathconf.c with 98% similarity]
sysdeps/generic/pause.c [moved from sysdeps/stub/pause.c with 98% similarity]
sysdeps/generic/pipe.c [moved from sysdeps/stub/pipe.c with 98% similarity]
sysdeps/generic/pipestream.c [moved from sysdeps/stub/pipestream.c with 98% similarity]
sysdeps/generic/poll.c [moved from sysdeps/stub/poll.c with 98% similarity]
sysdeps/generic/pread.c [moved from sysdeps/stub/pread.c with 98% similarity]
sysdeps/generic/pread64.c [moved from sysdeps/stub/pread64.c with 98% similarity]
sysdeps/generic/profil.c [moved from sysdeps/stub/profil.c with 98% similarity]
sysdeps/generic/ptrace.c [moved from sysdeps/stub/ptrace.c with 99% similarity]
sysdeps/generic/pwrite.c [moved from sysdeps/stub/pwrite.c with 98% similarity]
sysdeps/generic/pwrite64.c [moved from sysdeps/stub/pwrite64.c with 98% similarity]
sysdeps/generic/raise.c [moved from sysdeps/stub/raise.c with 98% similarity]
sysdeps/generic/read.c [moved from sysdeps/stub/read.c with 98% similarity]
sysdeps/generic/readdir.c [moved from sysdeps/stub/readdir.c with 98% similarity]
sysdeps/generic/readdir64.c [moved from sysdeps/stub/readdir64.c with 98% similarity]
sysdeps/generic/readdir64_r.c [moved from sysdeps/stub/readdir64_r.c with 98% similarity]
sysdeps/generic/readdir_r.c [moved from sysdeps/stub/readdir_r.c with 98% similarity]
sysdeps/generic/readlink.c [moved from sysdeps/stub/readlink.c with 98% similarity]
sysdeps/generic/readv.c [moved from sysdeps/stub/readv.c with 98% similarity]
sysdeps/generic/reboot.c [moved from sysdeps/stub/reboot.c with 98% similarity]
sysdeps/generic/recv.c [moved from sysdeps/stub/recv.c with 98% similarity]
sysdeps/generic/recvfrom.c [moved from sysdeps/stub/recvfrom.c with 98% similarity]
sysdeps/generic/recvmsg.c [moved from sysdeps/stub/recvmsg.c with 98% similarity]
sysdeps/generic/remove.c [moved from sysdeps/stub/remove.c with 98% similarity]
sysdeps/generic/rename.c [moved from sysdeps/stub/rename.c with 98% similarity]
sysdeps/generic/revoke.c [moved from sysdeps/stub/revoke.c with 98% similarity]
sysdeps/generic/rewinddir.c [moved from sysdeps/stub/rewinddir.c with 98% similarity]
sysdeps/generic/rmdir.c [moved from sysdeps/stub/rmdir.c with 98% similarity]
sysdeps/generic/s_atanl.c [moved from sysdeps/stub/s_atanl.c with 91% similarity]
sysdeps/generic/s_erfl.c [moved from sysdeps/stub/s_erfl.c with 94% similarity]
sysdeps/generic/s_exp2.c [moved from sysdeps/stub/s_exp2.c with 90% similarity]
sysdeps/generic/s_exp2f.c [moved from sysdeps/stub/s_exp2f.c with 90% similarity]
sysdeps/generic/s_exp2l.c [moved from sysdeps/stub/s_exp2l.c with 91% similarity]
sysdeps/generic/s_expm1l.c [moved from sysdeps/stub/s_expm1l.c with 91% similarity]
sysdeps/generic/s_log1pl.c [moved from sysdeps/stub/s_log1pl.c with 91% similarity]
sysdeps/generic/s_log2l.c [moved from sysdeps/stub/s_log2l.c with 91% similarity]
sysdeps/generic/sched_getp.c [moved from sysdeps/stub/sched_getp.c with 98% similarity]
sysdeps/generic/sched_gets.c [moved from sysdeps/stub/sched_gets.c with 98% similarity]
sysdeps/generic/sched_primax.c [moved from sysdeps/stub/sched_primax.c with 98% similarity]
sysdeps/generic/sched_primin.c [moved from sysdeps/stub/sched_primin.c with 98% similarity]
sysdeps/generic/sched_rr_gi.c [moved from sysdeps/stub/sched_rr_gi.c with 98% similarity]
sysdeps/generic/sched_setp.c [moved from sysdeps/stub/sched_setp.c with 98% similarity]
sysdeps/generic/sched_sets.c [moved from sysdeps/stub/sched_sets.c with 98% similarity]
sysdeps/generic/sched_yield.c [moved from sysdeps/stub/sched_yield.c with 98% similarity]
sysdeps/generic/seekdir.c [moved from sysdeps/stub/seekdir.c with 98% similarity]
sysdeps/generic/select.c [moved from sysdeps/stub/select.c with 98% similarity]
sysdeps/generic/semctl.c [moved from sysdeps/stub/semctl.c with 98% similarity]
sysdeps/generic/semget.c [moved from sysdeps/stub/semget.c with 98% similarity]
sysdeps/generic/semop.c [moved from sysdeps/stub/semop.c with 98% similarity]
sysdeps/generic/send.c [moved from sysdeps/stub/send.c with 98% similarity]
sysdeps/generic/sendmsg.c [moved from sysdeps/stub/sendmsg.c with 98% similarity]
sysdeps/generic/sendto.c [moved from sysdeps/stub/sendto.c with 98% similarity]
sysdeps/generic/setdomain.c [moved from sysdeps/stub/setdomain.c with 98% similarity]
sysdeps/generic/setegid.c [moved from sysdeps/stub/setegid.c with 98% similarity]
sysdeps/generic/seteuid.c [moved from sysdeps/stub/seteuid.c with 98% similarity]
sysdeps/generic/setfpucw.c
sysdeps/generic/setgid.c [moved from sysdeps/stub/setgid.c with 98% similarity]
sysdeps/generic/setgroups.c [moved from sysdeps/stub/setgroups.c with 98% similarity]
sysdeps/generic/sethostid.c [moved from sysdeps/stub/sethostid.c with 98% similarity]
sysdeps/generic/sethostname.c [moved from sysdeps/stub/sethostname.c with 98% similarity]
sysdeps/generic/setitimer.c [moved from sysdeps/stub/setitimer.c with 98% similarity]
sysdeps/generic/setjmp.c [moved from sysdeps/stub/setjmp.c with 98% similarity]
sysdeps/generic/setlogin.c [moved from sysdeps/stub/setlogin.c with 98% similarity]
sysdeps/generic/setpgid.c [moved from sysdeps/stub/setpgid.c with 98% similarity]
sysdeps/generic/setpriority.c [moved from sysdeps/stub/setpriority.c with 98% similarity]
sysdeps/generic/setregid.c [moved from sysdeps/stub/setregid.c with 98% similarity]
sysdeps/generic/setreuid.c [moved from sysdeps/stub/setreuid.c with 98% similarity]
sysdeps/generic/setrlimit.c [moved from sysdeps/stub/setrlimit.c with 98% similarity]
sysdeps/generic/setrlimit64.c [moved from sysdeps/stub/setrlimit64.c with 98% similarity]
sysdeps/generic/setsid.c [moved from sysdeps/stub/setsid.c with 98% similarity]
sysdeps/generic/setsockopt.c [moved from sysdeps/stub/setsockopt.c with 98% similarity]
sysdeps/generic/settimeofday.c [moved from sysdeps/stub/settimeofday.c with 98% similarity]
sysdeps/generic/setuid.c [moved from sysdeps/stub/setuid.c with 98% similarity]
sysdeps/generic/shmat.c [moved from sysdeps/stub/shmat.c with 98% similarity]
sysdeps/generic/shmctl.c [moved from sysdeps/stub/shmctl.c with 98% similarity]
sysdeps/generic/shmdt.c [moved from sysdeps/stub/shmdt.c with 98% similarity]
sysdeps/generic/shmget.c [moved from sysdeps/stub/shmget.c with 98% similarity]
sysdeps/generic/shutdown.c [moved from sysdeps/stub/shutdown.c with 98% similarity]
sysdeps/generic/sigaction.c [moved from sysdeps/stub/sigaction.c with 98% similarity]
sysdeps/generic/sigaltstack.c [moved from sysdeps/stub/sigaltstack.c with 98% similarity]
sysdeps/generic/sigblock.c [moved from sysdeps/stub/sigblock.c with 98% similarity]
sysdeps/generic/sigintr.c [moved from sysdeps/stub/sigintr.c with 98% similarity]
sysdeps/generic/siglist.c [moved from sysdeps/stub/siglist.c with 100% similarity]
sysdeps/generic/signal.c [moved from sysdeps/stub/signal.c with 98% similarity]
sysdeps/generic/sigpause.c [moved from sysdeps/stub/sigpause.c with 98% similarity]
sysdeps/generic/sigpending.c [moved from sysdeps/stub/sigpending.c with 98% similarity]
sysdeps/generic/sigprocmask.c [moved from sysdeps/stub/sigprocmask.c with 100% similarity]
sysdeps/generic/sigreturn.c [moved from sysdeps/stub/sigreturn.c with 98% similarity]
sysdeps/generic/sigsetmask.c [moved from sysdeps/stub/sigsetmask.c with 98% similarity]
sysdeps/generic/sigstack.c [moved from sysdeps/stub/sigstack.c with 98% similarity]
sysdeps/generic/sigsuspend.c [moved from sysdeps/stub/sigsuspend.c with 98% similarity]
sysdeps/generic/sigvec.c [moved from sysdeps/stub/sigvec.c with 98% similarity]
sysdeps/generic/sigwait.c [moved from sysdeps/stub/sigwait.c with 98% similarity]
sysdeps/generic/sleep.c [moved from sysdeps/stub/sleep.c with 98% similarity]
sysdeps/generic/socket.c [moved from sysdeps/stub/socket.c with 98% similarity]
sysdeps/generic/socketpair.c [moved from sysdeps/stub/socketpair.c with 98% similarity]
sysdeps/generic/sstk.c [moved from sysdeps/stub/sstk.c with 98% similarity]
sysdeps/generic/start.c [moved from sysdeps/stub/start.c with 100% similarity]
sysdeps/generic/statfs.c [moved from sysdeps/stub/statfs.c with 98% similarity]
sysdeps/generic/statfs64.c [moved from sysdeps/stub/statfs64.c with 98% similarity]
sysdeps/generic/stdio_init.c [moved from sysdeps/stub/stdio_init.c with 100% similarity]
sysdeps/generic/stime.c [moved from sysdeps/stub/stime.c with 98% similarity]
sysdeps/generic/strtsupp.c [moved from sysdeps/stub/strtsupp.c with 100% similarity]
sysdeps/generic/stty.c [moved from sysdeps/stub/stty.c with 98% similarity]
sysdeps/generic/stub_warnings [new file with mode: 0644]
sysdeps/generic/swapoff.c [moved from sysdeps/stub/swapoff.c with 98% similarity]
sysdeps/generic/swapon.c [moved from sysdeps/stub/swapon.c with 98% similarity]
sysdeps/generic/symlink.c [moved from sysdeps/stub/symlink.c with 98% similarity]
sysdeps/generic/sync.c [moved from sysdeps/stub/sync.c with 98% similarity]
sysdeps/generic/sys/mman.h
sysdeps/generic/sys/param.h [moved from sysdeps/stub/sys/param.h with 100% similarity]
sysdeps/generic/sys/reboot.h [moved from sysdeps/stub/sys/reboot.h with 100% similarity]
sysdeps/generic/sys/syscall.h [moved from sysdeps/stub/sys/syscall.h with 100% similarity]
sysdeps/generic/syscall.c [moved from sysdeps/stub/syscall.c with 98% similarity]
sysdeps/generic/sysconf.c [moved from sysdeps/stub/sysconf.c with 99% similarity]
sysdeps/generic/sysdep.c [moved from sysdeps/stub/sysdep.c with 100% similarity]
sysdeps/generic/system.c [moved from sysdeps/stub/system.c with 98% similarity]
sysdeps/generic/sysv_signal.c [moved from sysdeps/stub/sysv_signal.c with 98% similarity]
sysdeps/generic/tcdrain.c [moved from sysdeps/stub/tcdrain.c with 98% similarity]
sysdeps/generic/tcflow.c [moved from sysdeps/stub/tcflow.c with 98% similarity]
sysdeps/generic/tcflush.c [moved from sysdeps/stub/tcflush.c with 98% similarity]
sysdeps/generic/tcgetattr.c [moved from sysdeps/stub/tcgetattr.c with 98% similarity]
sysdeps/generic/tcgetpgrp.c [moved from sysdeps/stub/tcgetpgrp.c with 98% similarity]
sysdeps/generic/tcsendbrk.c [moved from sysdeps/stub/tcsendbrk.c with 98% similarity]
sysdeps/generic/tcsetattr.c [moved from sysdeps/stub/tcsetattr.c with 98% similarity]
sysdeps/generic/tcsetpgrp.c [moved from sysdeps/stub/tcsetpgrp.c with 98% similarity]
sysdeps/generic/telldir.c [moved from sysdeps/stub/telldir.c with 98% similarity]
sysdeps/generic/tempname.c [moved from sysdeps/stub/tempname.c with 98% similarity]
sysdeps/generic/thread_state.h [moved from sysdeps/stub/thread_state.h with 100% similarity]
sysdeps/generic/time.c [moved from sysdeps/stub/time.c with 98% similarity]
sysdeps/generic/times.c [moved from sysdeps/stub/times.c with 98% similarity]
sysdeps/generic/trampoline.c [moved from sysdeps/stub/trampoline.c with 100% similarity]
sysdeps/generic/truncate.c [moved from sysdeps/stub/truncate.c with 98% similarity]
sysdeps/generic/ttyname.c [moved from sysdeps/stub/ttyname.c with 98% similarity]
sysdeps/generic/ttyname_r.c [moved from sysdeps/stub/ttyname_r.c with 98% similarity]
sysdeps/generic/ualarm.c [moved from sysdeps/stub/ualarm.c with 98% similarity]
sysdeps/generic/udiv_qrnnd.c [moved from sysdeps/stub/udiv_qrnnd.c with 100% similarity]
sysdeps/generic/ulimit.c [moved from sysdeps/stub/ulimit.c with 98% similarity]
sysdeps/generic/umask.c [moved from sysdeps/stub/umask.c with 98% similarity]
sysdeps/generic/unlink.c [moved from sysdeps/stub/unlink.c with 98% similarity]
sysdeps/generic/usleep.c [moved from sysdeps/stub/usleep.c with 98% similarity]
sysdeps/generic/ustat.c [moved from sysdeps/stub/ustat.c with 98% similarity]
sysdeps/generic/utime.c [moved from sysdeps/stub/utime.c with 98% similarity]
sysdeps/generic/utimes.c [moved from sysdeps/stub/utimes.c with 98% similarity]
sysdeps/generic/vdprintf.c [moved from sysdeps/stub/vdprintf.c with 98% similarity]
sysdeps/generic/vhangup.c [moved from sysdeps/stub/vhangup.c with 98% similarity]
sysdeps/generic/wait.c [moved from sysdeps/stub/wait.c with 98% similarity]
sysdeps/generic/wait3.c [moved from sysdeps/stub/wait3.c with 98% similarity]
sysdeps/generic/wait4.c [moved from sysdeps/stub/wait4.c with 98% similarity]
sysdeps/generic/waitpid.c [moved from sysdeps/stub/waitpid.c with 98% similarity]
sysdeps/generic/write.c [moved from sysdeps/stub/write.c with 98% similarity]
sysdeps/generic/writev.c [moved from sysdeps/stub/writev.c with 98% similarity]
sysdeps/generic/xmknod.c [moved from sysdeps/stub/xmknod.c with 98% similarity]
sysdeps/generic/xstat.c [moved from sysdeps/stub/xstat.c with 98% similarity]
sysdeps/generic/xstat64.c [moved from sysdeps/stub/xstat64.c with 98% similarity]
sysdeps/i386/i486/bits/string.h
sysdeps/mach/hurd/mmap.c
sysdeps/mach/mprotect.c
sysdeps/mach/munmap.c
sysdeps/unix/Makefile
sysdeps/unix/bsd/osf/sys/mman.h
sysdeps/unix/bsd/sun/sunos4/mmap.c
sysdeps/unix/bsd/sun/sunos4/sys/mman.h
sysdeps/unix/bsd/ultrix4/sys/mman.h
sysdeps/unix/sysv/irix4/sys/mman.h
sysdeps/unix/sysv/linux/madvise.c
sysdeps/unix/sysv/linux/sys/mman.h
version.c

index b361b136dd7b582584e7e9ee45e963dc62a6d5d2..148799486db4abc72b4601b907e6089a6510268a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,92 @@
+1997-10-15 06:56  Ulrich Drepper  <drepper@cygnus.com>
+
+       * Rules: Remove ruls to magically install <subdir>.h headers.
+       Reported by Mark Kettenis <kettenis@phys.uva.nl>.
+
+       * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
+       * version.c: Likewise.
+       * catgets/gencat.c: Likewise.
+       * db2/makedb.c: Likewise.
+       * locale/programs/locale.c: Likewise.
+       * locale/programs/localedef.c: Likewise.
+
+       * libc.map: Move _IO_list_all back to GLIBC_2.0.
+
+       * elf/rtld.c: Provide name of running program to _dl_new_object.
+
+       * Rules: Implement shared-only-sources.
+       * include/libc-symbols.h: Define default_symbol_version.
+       * libio/Makefile (shared-only-sources): Define.
+       * libio/freopen.c: Define as default version.
+       * libio/iofopen.c: Likewise.
+       * libio/genops.c: Define _IO_list_all here.
+       * libio/stdfiles.c: Create linked list with public names.
+       * libio/oldstdfiles.c: Likewise.
+
+       * stdio-common/printf.c: Optimize.
+       * stdio-common/scanf.c: Optimize.
+
+       * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
+
+       * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
+       rindex.
+
+1997-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * manual/arith.texi: Spelling fixes.
+       * manual/conf.texi: Likewise.
+       * manual/creature.texi: Likewise.
+       * manual/filesys.texi: Likewise.
+       * manual/intro.texi: Likewise.
+       * manual/llio.texi: Likewise.
+       * manual/math.texi: Likewise.
+       * manual/message.texi: Likewise.
+       * manual/pattern.texi: Likewise.
+       * manual/search.texi: Likewise.
+       * manual/signal.texi: Likewise.
+       * manual/socket.texi: Likewise.
+       * manual/startup.texi: Likewise.
+       * manual/stdio.texi: Likewise.
+       * manual/string.texi: Likewise.
+       * manual/time.texi: Likewise.
+       * manual/users.texi: Likewise.
+
+1997-10-13 05:25  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
+       * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
+       * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
+       * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
+       * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
+       * sysdeps/mach/hurd/mmap.c: Likewise.
+       * sysdeps/generic/mmap.c: Likewise.
+       * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
+       * sysdeps/mach/munmap.c: Likewise.
+       * sysdeps/generic/munmap.c: Likewise.
+       * sysdeps/mach/mprotect.c: Likewise.
+       * sysdeps/generic/mprotect.c: Likewise.
+       * sysdeps/generic/msync.c: Likewise.
+       * sysdeps/generic/madvise.c: Likewise.
+
+       * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
+       subdir.
+
+1997-10-12 20:27  Zack Weinberg  <zack@rabi.phys.columbia.edu>
+
+       * sysdeps/stub (all files):  Moved to sysdeps/generic.
+       * all files using stub_warning: Include <stub-tag.h>.
+       * include/stub-tag.h: New file, marks stubs in .d files.
+       * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
+       <gnu/stubs.h>.
+       * configure.in: Don't add sysdeps/stub to $sysnames.
+       * sysdeps/unix/Makefile: Look for generic headers, not stub
+       headers.
+       * sysdeps/generic/Makefile: Likewise.
+       * manual/maint.texi: Delete references to sysdeps/stub.
+       * INSTALL: Rebuilt.
+       * configure: Rebuilt.
+
 1997-10-13 03:14  Ulrich Drepper  <drepper@cygnus.com>
 
        * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
diff --git a/INSTALL b/INSTALL
index 85fe1eb9040f76f1b6aaf4f505d40fd5caf9907d..6a03afcf2be3830b21cc01b155477cd04215032e 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -21,28 +21,19 @@ the chosen configuration before proceeding.
    Here are some options that you should specify (if appropriate) when
 you run `configure':
 
-`--with-gnu-ld'
-     Use this option if you plan to use GNU `ld' to link programs with
-     the GNU C Library.  (We strongly recommend that you do.)  This
-     option enables use of features that exist only in GNU `ld'; so if
-     you configure for GNU `ld' you must use GNU `ld' *every time* you
-     link with the GNU C Library, and when building it.
-
-`--with-gnu-as'
-     Use this option if you plan to use the GNU assembler, `gas', when
-     building the GNU C Library.  On some systems, the library may not
-     build properly if you do *not* use `gas'.
-
-`--with-gnu-binutils'
-     This option implies both `--with-gnu-ld' and `--with-gnu-as'.  On
-     systems where GNU tools are the system tools, there is no need to
-     specify this option.  These include GNU, GNU/Linux, and free BSD
-     systems.
+`--with-binutils=DIRECTORY'
+     Use the binutils (assembler and linker) in `DIRECTORY', not the
+     ones the C compiler would default to.  You could use this option if
+     the default binutils on your system cannot deal with all the
+     constructs in the GNU C library.  (`configure' will detect the
+     problem and suppress these constructs, so the library will still
+     be usable, but functionality may be lost--for example, you can not
+     build a shared libc with old binutils.)
 
 `--without-fp'
 `--nfp'
      Use this option if your computer lacks hardware floating-point
-     support.
+     support and your operating system does not emulate an FPU.
 
 `--prefix=DIRECTORY'
      Install machine-independent data files in subdirectories of
@@ -112,7 +103,7 @@ and define in that file the parameters you want to specify.
 `configparms' should *not* be an edited copy of `Makeconfig'; specify
 only the parameters that you want to override.  To see how to set these
 parameters, find the section of `Makeconfig' that says "These are the
-configuration variables."  Then for each parameter that you want to
+configuration variables." Then for each parameter that you want to
 change, copy the definition from `Makeconfig' to your new `configparms'
 file, and change the value as appropriate for your system.
 
@@ -218,6 +209,7 @@ following patterns:
      iX86-ANYTHING-linux
      m68k-ANYTHING-linux
      powerpc-ANYTHING-linux
+     sparc64-ANYTHING-linux
 
    Former releases of this library (version 1.09.1 and perhaps earlier
 versions) used to run on the following configurations:
@@ -443,27 +435,36 @@ and `unix/Implies' contains:
 
 So the final list is `unix/bsd/vax unix/bsd unix/inet unix posix'.
 
-   `sysdeps' has two "special" subdirectories, called `generic' and
-`stub'.  These two are always implicitly appended to the list of
-subdirectories (in that order), so you needn't put them in an `Implies'
-file, and you should not create any subdirectories under them intended
-to be new specific categories.  `generic' is for things that can be
-implemented in machine-independent C, using only other
-machine-independent functions in the C library.  `stub' is for "stub"
-versions of functions which cannot be implemented on a particular
-machine or operating system.  The stub functions always return an
+   `sysdeps' has a "special" subdirectory called `generic'.  It is
+always implicitly appended to the list of subdirectories, so you
+needn't put it in an `Implies' file, and you should not create any
+subdirectories under it intended to be new specific categories.
+`generic' serves two purposes.  First, the makefiles do not bother to
+look for a system-dependent version of a file that's not in `generic'.
+This means that any system-dependent source file must have an analogue
+in `generic', even if the routines defined by that file are not
+implemented on other platforms.  Second. the `generic' version of a
+system-dependent file is used if the makefiles do not find a version
+specific to the system you're compiling for.
+
+   If it is possible to implement the routines in a `generic' file in
+machine-independent C, using only other machine-independent functions in
+the C library, then you should do so.  Otherwise, make them stubs.  A
+"stub" function is a function which cannot be implemented on a
+particular machine or operating system.  Stub functions always return an
 error, and set `errno' to `ENOSYS' (Function not implemented).  *Note
-Error Reporting::.
-
-   A source file is known to be system-dependent by its having a
-version in `generic' or `stub'; every generally-available function whose
-implementation is system-dependent in should have either a generic or
-stub implementation (there is no point in having both).  Some rare
-functions are only useful on specific systems and aren't defined at all
-on others; these do not appear anywhere in the system-independent
-source code or makefiles (including the `generic' and `stub'
-directories), only in the system-dependent `Makefile' in the specific
-system's subdirectory.
+Error Reporting::.  If you define a stub function, you must place the
+statement `stub_warning(FUNCTION)', where FUNCTION is the name of your
+function, after its definition; also, you must include the file
+`<stub-tag.h>' into your file.  This causes the function to be listed
+in the installed `<gnu/stubs.h>', and makes GNU ld warn when the
+function is used.
+
+   Some rare functions are only useful on specific systems and aren't
+defined at all on others; these do not appear anywhere in the
+system-independent source code or makefiles (including the `generic'
+and `stub' directories), only in the system-dependent `Makefile' in the
+specific system's subdirectory.
 
    If you come across a file that is in one of the main source
 directories (`string', `stdio', etc.), and you want to write a machine-
@@ -640,10 +641,8 @@ machine should go in `sysdeps/MACHINE/fpu'.
 hierarchy that are not for particular machine architectures.
 
 `generic'
-`stub'
-     As described above (*note Porting::.), these are the two
-     subdirectories that every configuration implicitly uses after all
-     others.
+     As described above (*note Porting::.), this is the subdirectory
+     that every configuration implicitly uses after all others.
 
 `ieee754'
      This directory is for code using the IEEE 754 floating-point
@@ -971,3 +970,105 @@ parts of the library were contributed or worked on by other people.
           extensions that they make and grant Carnegie Mellon the
           rights to redistribute these changes.
 
+   * The code for the database library `libdb' comes from the 2.3
+     release of Berkeley DB. That code is under the same copyright as
+     4.4 BSD and also:
+
+               Copyright (C) 1990, 1993, 1994, 1995, 1996, 1997
+               Sleepycat Software.  All rights reserved.
+
+          Redistribution and use in source and binary forms, with or
+          without modification, are permitted provided that the
+          following conditions are met:
+
+            1. Redistributions of source code must retain the above
+               copyright notice, this list of conditions and the
+               following disclaimer.
+
+            2. Redistributions in binary form must reproduce the above
+               copyright notice, this list of conditions and the
+               following disclaimer in the documentation and/or other
+               materials provided with the distribution.
+
+            3. Redistributions in any form must be accompanied by
+               information on how to obtain complete source code for
+               the DB software and any accompanying software that uses
+               the DB software.  The source code must either be
+               included in the distribution or be available for no more
+               than the cost of distribution plus a nominal fee, and
+               must be freely redistributable under reasonable
+               conditions.  For an executable file, complete source
+               code means the source code for all modules it contains.
+               It does not mean source code for modules or files that
+               typically accompany the operating system on which the
+               executable file runs, e.g., standard library modules or
+               system header files.
+
+          THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE "AS IS" AND
+          ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+          TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+          A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+          SLEEPYCAT SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
+          INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+          (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+          GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+          INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+          WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+          NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+          THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+          DAMAGE.
+
+               Portions copyright (C) 1995, 1996
+               The President and Fellows of Harvard University.
+               All rights reserved.
+
+          Redistribution and use in source and binary forms, with or
+          without modification, are permitted provided that the
+          following conditions are met:
+            1. Redistributions of source code must retain the above
+               copyright notice, this list of conditions and the
+               following disclaimer.
+
+            2. Redistributions in binary form must reproduce the above
+               copyright notice, this list of conditions and the
+               following disclaimer in the documentation and/or other
+               materials provided with the distribution.
+
+            3. All advertising materials mentioning features or use of
+               this software must display the following acknowledgement:
+                     This product includes software developed by
+                    Harvard University  and its contributors.
+
+            4. Neither the name of the University nor the names of its
+               contributors may be used to endorse or promote products
+               derived from this software without specific prior
+               written permission.
+
+          THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS "AS
+          IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+          LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+          FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT
+          SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+          INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+          DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+          SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+          OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+          LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+          (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+          THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+          OF SUCH DAMAGE.
+
+          For a license to use, redistribute or sell DB software under
+          conditions other than those described above, or to purchase
+          support for this software, please contact Sleepycat Software
+          at
+
+                Sleepycat Software
+                394 E. Riding Dr.
+                Carlisle, MA 01741
+                USA
+                +1-508-287-4781
+
+          or <db@sleepycat.com>.
+
+
index 948c01b89d20820797181e930a085106f64a9a1f..a554e2a9ec0178e7839ffeda24c059181bc96516 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -896,18 +896,19 @@ common-clean: common-mostlyclean
 \f
 # Produce a file `stub-$(subdir)' which contains `#define __stub_FUNCTION'
 # for each function which is a stub.  We grovel over all the .d files
-# looking for references to source files in sysdeps/stub.  Then we grovel
-# over each referenced source file to see what stub function it defines.
+# looking for references to <stub-tag.h>.  Then we grovel over each
+# referenced source file to see what stub function it defines.
 
 .PHONY: stubs # The parent Makefile calls this target.
 stubs: $(common-objpfx)stub-$(subdir)
-s = $(sysdep_dir)/stub
+s = $(sysdep_dir)/generic
 $(common-objpfx)stub-$(subdir): $(+depfiles)
 # Use /dev/null since `...` might expand to empty.
        (s=`cd $s; /bin/pwd`; \
         $(patsubst %/,cd %;,$(objpfx)) \
         sed -n 's/^stub_warning *(\([^)]*\).*$$/#define __stub_\1/p' \
-            `sed -n 's@^.*$s/\([a-z0-9_-]*\.c\).*$$@'"$$s"/'\1@p' \
+         `sed -n -e '\@: $s@{; s@^.*: $s/\([a-z0-9_./-]*\.c\).*$$@'"$$s"'/\1@; h; }' \
+               -e '/stub-tag\.h/{; g; p; }' \
                  $(patsubst $(objpfx)%,%,$^) /dev/null` \
             /dev/null) > $@T
        mv -f $@T $@
diff --git a/Rules b/Rules
index ca1361b9f67383083f6d97cc0c17a9836cd3b029..cd82a6e2bcb5aadf0a08eef6427d6877846d2392 100644 (file)
--- a/Rules
+++ b/Rules
@@ -59,12 +59,6 @@ ifneq        "$(findstring env,$(origin common-generated))" ""
 common-generated :=
 endif
 
-ifeq "$(strip $(headers))" ""
-ifneq "$(wildcard $(subdir).h)" ""
-override headers := $(subdir).h
-endif
-endif
-
 include ../Makerules
 
 .PHONY: subdir_lib
@@ -173,3 +167,18 @@ $(static-only-routines:%=$(objpfx)%.os): %.os: $(common-objpfx)empty.os
 $(common-objpfx)empty.os: $(common-objpfx)empty.c $(before-compile)
        $(compile-command.c)
 endif
+
+ifdef shared-only-routines
+# If we have versioned code we don't need the old versions in any of the
+# static libraries.
+define o-iterator-doit
+$(shared-only-routines:%=$(objpfx)%.$o): %.$o: $(common-objpfx)empty.$o
+       rm -f $$@
+       ln $$< $$@
+
+$(common-objpfx)empty.$o: $(common-objpfx)empty.c $(before-compile)
+       $$(compile-command.c)
+endef
+object-suffixes-left := $(filter-out .os,$(object-suffixes))
+include $(o-iterator)
+endif
similarity index 100%
rename from sysdeps/stub/bits/dirent.h
rename to bits/dirent.h
similarity index 100%
rename from sysdeps/stub/bits/elfclass.h
rename to bits/elfclass.h
similarity index 100%
rename from sysdeps/stub/bits/endian.h
rename to bits/endian.h
similarity index 100%
rename from sysdeps/stub/bits/errno.h
rename to bits/errno.h
similarity index 100%
rename from sysdeps/stub/bits/fcntl.h
rename to bits/fcntl.h
similarity index 100%
rename from sysdeps/stub/bits/fenv.h
rename to bits/fenv.h
similarity index 100%
rename from sysdeps/stub/bits/huge_val.h
rename to bits/huge_val.h
similarity index 100%
rename from sysdeps/stub/bits/ioctls.h
rename to bits/ioctls.h
similarity index 100%
rename from sysdeps/stub/bits/ipc.h
rename to bits/ipc.h
similarity index 100%
rename from sysdeps/stub/bits/msq.h
rename to bits/msq.h
similarity index 100%
rename from sysdeps/stub/bits/nan.h
rename to bits/nan.h
similarity index 100%
rename from sysdeps/stub/bits/sem.h
rename to bits/sem.h
similarity index 100%
rename from sysdeps/stub/bits/setjmp.h
rename to bits/setjmp.h
similarity index 100%
rename from sysdeps/stub/bits/shm.h
rename to bits/shm.h
similarity index 100%
rename from sysdeps/stub/bits/signum.h
rename to bits/signum.h
similarity index 100%
rename from sysdeps/stub/bits/stat.h
rename to bits/stat.h
similarity index 100%
rename from sysdeps/stub/bits/string.h
rename to bits/string.h
similarity index 100%
rename from sysdeps/stub/bits/time.h
rename to bits/time.h
index 8d310d81f41510c7b5b0128caffbd477f7b0265f..ee2b8cbf479e923a4a56555d66c075febbe9ebe4 100644 (file)
@@ -220,7 +220,7 @@ more_help (int key, const char *text, void *input)
     case ARGP_KEY_HELP_EXTRA:
       /* We print some extra information.  */
       return strdup (gettext ("\
-Report bugs using the `glibcbug' script to <bugs@gnu.ai.mit.edu>.\n"));
+Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n"));
     default:
       break;
     }
index 6081b3b064f55224c72ec00fd761e87bae34ded2..029f2c8f012bbc26e27da5fd940852ac8189ad21 100755 (executable)
--- a/configure
+++ b/configure
@@ -1056,10 +1056,10 @@ while test $# -gt 0; do
 done
 
 # Add the default directories.
-sysnames="$names sysdeps/generic sysdeps/stub"
+sysnames="$names sysdeps/generic"
 
 # The other names were emitted during the scan.
-echo "$ac_t""sysdeps/generic sysdeps/stub" 1>&6
+echo "$ac_t""sysdeps/generic" 1>&6
 
 
 ### Locate tools.
index 992f1ee5927b973333b9cd0bbb5b51af7b4a57a1..ec8773609533a8257d096cb4c54a927c803d8f7e 100644 (file)
@@ -388,10 +388,10 @@ changequote([,])dnl
 done
 
 # Add the default directories.
-sysnames="$names sysdeps/generic sysdeps/stub"
+sysnames="$names sysdeps/generic"
 AC_SUBST(sysnames)
 # The other names were emitted during the scan.
-AC_MSG_RESULT(sysdeps/generic sysdeps/stub)
+AC_MSG_RESULT(sysdeps/generic)
 
 
 ### Locate tools.
index 69a4029066352920dc42e00830d1e85c2fb13efd..be4ba951214e43394d07f66931131bbce0cd9362 100644 (file)
@@ -217,7 +217,7 @@ more_help (int key, const char *text, void *input)
     case ARGP_KEY_HELP_EXTRA:
       /* We print some extra information.  */
       return strdup (gettext ("\
-Report bugs using the `glibcbug' script to <bugs@gnu.ai.mit.edu>.\n"));
+Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n"));
     default:
       break;
     }
index 74a8f3b05ba33729c00bab92d501a66925f1ce9b..0402727c52a582ea952b6627eda11fc9f981720e 100644 (file)
@@ -395,7 +395,8 @@ of this helper program; chances are you did not intend to run this program.\n",
     {
       /* Create a link_map for the executable itself.
         This will be what dlopen on "" returns.  */
-      main_map = _dl_new_object ((char *) "", "", lt_executable);
+      main_map = _dl_new_object (_dl_argv[0] ?: (char *) "<main program>",
+                                "", lt_executable);
       if (main_map == NULL)
        _dl_sysdep_fatal ("cannot allocate memory for link map\n", NULL);
       main_map->l_phdr = phdr;
index 0d46b325aba32b95d1aac6ca4c84f7977a257335..1d7eed760477b9b1f03d7bbdf6aac4604b62f661 100644 (file)
@@ -6,7 +6,7 @@
 #       these variables are filled in by configure
 #
 VERSION="@VERSION@"
-BUGGLIBC="bugs@gnu.ai.mit.edu"
+BUGGLIBC="bugs@gnu.org"
 ADDONS="@subdirs@"
 
 PATH=/bin:/usr/bin:/usr/local/bin:$PATH
index b7433eef42736b10afe9cd1c5f5d1fb467c2191f..4a0349b66645611e4851ac4da0c968bf42cbe4c5 100644 (file)
@@ -328,8 +328,11 @@ extern const char _libc_intl_domainname[];
 #if DO_VERSIONING
 # define symbol_version(real, name, version) \
      __asm__ (".symver " #real "," #name "@" #version)
+# define default_symbol_version(real, name, version) \
+     __asm__ (".symver " #real "," #name "@@" #version)
 #else
 # define symbol_version(real, name, version)
+# define default_symbol_version(real, name, version)
 #endif
 
 #endif /* libc-symbols.h */
diff --git a/include/stub-tag.h b/include/stub-tag.h
new file mode 100644 (file)
index 0000000..3004d6f
--- /dev/null
@@ -0,0 +1,5 @@
+/* This header is included into every file that declares a stub function.
+ * The build process looks for this header in .d files to decide whether
+ * or not it needs to scan the corresponding .c file for entries to add to
+ * <gnu/stubs.h>.
+ */
index 01c45a06f8daef2bcabd2b4aefb032400b36dfc2..57ac588ae352538a9a678c755980930775f5138e 100644 (file)
--- a/libc.map
+++ b/libc.map
@@ -413,12 +413,14 @@ GLIBC_2.0 {
     xdrrec_endofrecord; xdrrec_eof; xdrrec_skiprecord; xdrstdio_create;
     xencrypt; xprt_register; xprt_unregister;
 
+    _IO_list_all;
+
   local:
     *;
 };
 
 GLIBC_2.1 {
   global:
-    _IO_fopen; fopen; _IO_stdin_; _IO_stdout_; _IO_stderr_; _IO_list_all;
+    _IO_fopen; fopen; _IO_stdin_; _IO_stdout_; _IO_stderr_;
     freopen;
-} GLIBC_2.0;
\ No newline at end of file
+} GLIBC_2.0;
index 3e9f6eae395b4891e4a1fdf9a37408a631d07027..033c9598893554946f24f6832bbe9a5d9f2cbb5d 100644 (file)
@@ -62,6 +62,8 @@ ifeq ($(versioning),yes)
 aux    += oldfileops oldstdfiles
 endif
 
+shared-only-routines = oldiofopen oldfreopen oldfileops oldstdfiles
+
 distribute := iolibio.h libioP.h strfile.h Banner
 
 include ../Rules
index c443bbc2eb759811d5cbf79027ffa79990d8d908..7ab3e69845ba9a3a8e3464b6c2719bb9e56ed78f 100644 (file)
@@ -43,4 +43,4 @@ __new_freopen (filename, mode, fp)
   return result;
 }
 
-symbol_version (__new_freopen, freopen, GLIBC_2.1);
+default_symbol_version (__new_freopen, freopen, GLIBC_2.1);
index 71275da28c2511d3e2b04613b737418e22907354..f8342776f5d1123216a62ee4dc235a0db4a7f27c 100644 (file)
@@ -710,6 +710,8 @@ _IO_cleanup ()
   _IO_unbuffer_all ();
 }
 
+_IO_FILE *_IO_list_all = &_IO_stderr_.plus.file;
+
 void
 _IO_init_marker (marker, fp)
      struct _IO_marker *marker;
index c27b69bc1b45cafb880565a8a191fdae3ecf0eaa..b74b6926c03b098be6b918dd70035a1adc8f7a15 100644 (file)
@@ -61,8 +61,8 @@ _IO_new_fopen (filename, mode)
 
 #ifdef DO_VERSIONING
 strong_alias (_IO_new_fopen, __new_fopen)
-symbol_version (_IO_new_fopen, _IO_fopen, GLIBC_2.1);
-symbol_version (__new_fopen, fopen, GLIBC_2.1);
+default_symbol_version (_IO_new_fopen, _IO_fopen, GLIBC_2.1);
+default_symbol_version (__new_fopen, fopen, GLIBC_2.1);
 #else
 # ifdef weak_alias
 weak_symbol (_IO_new_fopen, _IO_fopen)
index d34a8680c34e318fee3d8e86bc0f7765a5da70d9..30171095813996afc6af35f6720d0845cdc53d4d 100644 (file)
 #endif
 
 DEF_STDFILE(_IO_old_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES);
-DEF_STDFILE(_IO_old_stdout_, _IO_stdout_, 1, &_IO_old_stdin_.file,
+DEF_STDFILE(_IO_old_stdout_, _IO_stdout_, 1, &_IO_stdin_.plus.file,
            _IO_NO_READS);
-DEF_STDFILE(_IO_old_stderr_, _IO_stderr_, 2, &_IO_old_stdout_.file,
+DEF_STDFILE(_IO_old_stderr_, _IO_stderr_, 2, &_IO_stdout_.plus.file,
             _IO_NO_READS+_IO_UNBUFFERED);
 
-_IO_FILE *_IO_old_list_all = &_IO_old_stderr_.file;
+#if 0
+_IO_FILE *_IO_old_list_all = &_IO_stderr_.plus.file;
 symbol_version (_IO_old_list_all, _IO_list_all,);
+#endif
index f5113b297381f1f5283565e764fb4ec68a13b4d1..c563f2aed05ba29a61f74612f3376b2d4023cc62 100644 (file)
   static _IO_lock_t _IO_stdfile_##FD##_lock = _IO_lock_initializer; \
   struct _IO_FILE_complete INAME \
     = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; \
-  symbol_version (INAME, NAME, GLIBC_2.1)
+  default_symbol_version (INAME, NAME, GLIBC_2.1)
 #else
 #define DEF_STDFILE(INAME, FD, CHAIN, FLAGS) \
   struct _IO_FILE_complete INAME \
     = {{FILEBUF_LITERAL(CHAIN, FLAGS, FD), &_IO_file_jumps},}; \
-  symbol_version (INAME, NAME, GLIBC_2.1)
+  default_symbol_version (INAME, NAME, GLIBC_2.1)
 #endif
 
 DEF_STDFILE(_IO_new_stdin_, _IO_stdin_, 0, 0, _IO_NO_WRITES);
-DEF_STDFILE(_IO_new_stdout_, _IO_stdout_, 1, &_IO_new_stdin_.plus.file,
+DEF_STDFILE(_IO_new_stdout_, _IO_stdout_, 1, &_IO_stdin_.plus.file,
            _IO_NO_READS);
-DEF_STDFILE(_IO_new_stderr_, _IO_stderr_, 2, &_IO_new_stdout_.plus.file,
+DEF_STDFILE(_IO_new_stderr_, _IO_stderr_, 2, &_IO_stdout_.plus.file,
             _IO_NO_READS+_IO_UNBUFFERED);
 
-_IO_FILE *_IO_new_list_all = &_IO_new_stderr_.plus.file;
-symbol_version (_IO_new_list_all, _IO_list_all, GLIBC_2.1);
+#if 0
+_IO_FILE *_IO_new_list_all = &_IO_stderr_.plus.file;
+default_symbol_version (_IO_new_list_all, _IO_list_all, GLIBC_2.1);
+#endif
index 3292962309733c16866fb9e0e976a5900edf74dc..e09e6f1e37ed03ca18f65c8b6f4d136083cf2d5f 100644 (file)
@@ -252,7 +252,7 @@ more_help (int key, const char *text, void *input)
     case ARGP_KEY_HELP_EXTRA:
       /* We print some extra information.  */
       return strdup (gettext ("\
-Report bugs using the `glibcbug' script to <bugs@gnu.ai.mit.edu>.\n"));
+Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n"));
     default:
       break;
     }
index c511d4246c0ecb2b56973ca6e3138ab504612c14..3b8a7a54d5a6b2d4291cf2648228a7b59a022904 100644 (file)
@@ -379,7 +379,7 @@ System's directory for character maps: %s\n\
                        locale files  : %s\n\
 %s"),
                CHARMAP_PATH, LOCALE_PATH, gettext ("\
-Report bugs using the `glibcbug' script to <bugs@gnu.ai.mit.edu>.\n"));
+Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n"));
       return cp;
     default:
       break;
index 2e418838db3e92f290653bbc9a5b53b3527455a1..431b4dbfec2dee3359f3eae4e6cf980a2f4e5e80 100644 (file)
@@ -12,7 +12,7 @@ These functions are declared in the header files @file{math.h} and
 * Not a Number::                Making NaNs and testing for NaNs.
 * Imaginary Unit::              Constructing complex Numbers.
 * Predicates on Floats::        Testing for infinity and for NaNs.
-* Floating-Point Classes::      Classifiy floating-point numbers.
+* Floating-Point Classes::      Classify floating-point numbers.
 * Operations on Complex::       Projections, Conjugates, and Decomposing.
 * Absolute Value::              Absolute value functions.
 * Normalization Functions::     Hacks for radix-2 representations.
@@ -41,13 +41,13 @@ these situations.  There is a special value for infinity.
 @comment math.h
 @comment ISO
 @deftypevr Macro float_t INFINITY
-A expression representing the inifite value.  @code{INFINITY} values are
+A expression representing the infinite value.  @code{INFINITY} values are
 produce by mathematical operations like @code{1.0 / 0.0}.  It is
 possible to continue the computations with this value since the basic
 operations as well as the mathematical library functions are prepared to
 handle values like this.
 
-Beside @code{INFINITY} also the value @code{-INIFITY} is representable
+Beside @code{INFINITY} also the value @code{-INFINITY} is representable
 and it is handled differently if needed.  It is possible to test a
 variables for infinite value using a simple comparison but the
 recommended way is to use the the @code{isinf} function.
@@ -103,7 +103,7 @@ such as by defining @code{_GNU_SOURCE}, and then you must include
 @pindex complex.h
 To construct complex numbers it is necessary have a way to express the
 imaginary part of the numbers.  In mathematics one uses the symbol ``i''
-to mark a number as imaginary.  For convenienve the @file{complex.h}
+to mark a number as imaginary.  For convenience the @file{complex.h}
 header defines two macros which allow to use a similar easy notation.
 
 @deftypevr Macro float_t _Imaginary_I
@@ -284,7 +284,7 @@ situation the function be absolutely necessary one can use
 @end smallexample
 
 @noindent
-to avoid the macro expansion.  Using the macro has two big adavantages:
+to avoid the macro expansion.  Using the macro has two big advantages:
 it is more portable and one does not have to choose the right function
 among @code{isnan}, @code{isnanf}, and @code{isnanl}.
 @end deftypefn
@@ -297,7 +297,7 @@ among @code{isnan}, @code{isnanf}, and @code{isnanl}.
 @cindex decompose complex numbers
 
 This section lists functions performing some of the simple mathematical
-operations on complex numbers.  Using any of the function requries that
+operations on complex numbers.  Using any of the function requires that
 the C compiler understands the @code{complex} keyword, introduced to the
 C language in the @w{ISO C 9X} standard.
 
@@ -357,7 +357,7 @@ cut along the negative real axis.
 @deftypefunx {complex long double} cprojl (complex long double @var{z})
 Return the projection of the complex value @var{z} on the Riemann
 sphere.  Values with a infinite complex part (even if the real part
-is NaN) are projected to positive infinte on the real axis.  If the real part is infinite, the result is equivalent to
+is NaN) are projected to positive infinite on the real axis.  If the real part is infinite, the result is equivalent to
 
 @smallexample
 INFINITY + I * copysign (0.0, cimag (z))
@@ -531,7 +531,7 @@ bit set.
 This is not the same as @code{x < 0.0} since in some floating-point
 formats (e.g., @w{IEEE 754}) the zero value is optionally signed.  The
 comparison @code{-0.0 < 0.0} will not be true while @code{signbit
-(-0.0)} will return a nonzeri value.
+(-0.0)} will return a nonzero value.
 @end deftypefun
 
 @node Rounding and Remainders
@@ -599,7 +599,7 @@ raise the inexact exception.
 @comment math.h
 @comment ISO
 @deftypefun double modf (double @var{value}, double *@var{integer-part})
-@deftypefunx float modff (flaot @var{value}, float *@var{integer-part})
+@deftypefunx float modff (float @var{value}, float *@var{integer-part})
 @deftypefunx {long double} modfl (long double @var{value}, long double *@var{integer-part})
 These functions break the argument @var{value} into an integer part and a
 fractional part (between @code{-1} and @code{1}, exclusive).  Their sum
@@ -1060,7 +1060,7 @@ format supports this; and to the largest representable value otherwise.
 If the input string is @code{"nan"} or
 @code{"nan(@var{n-char-sequence})"} the return value of @code{strtod} is
 the representation of the NaN (not a number) value (if the
-flaoting-point formats supports this.  The form with the
+floating-point formats supports this.  The form with the
 @var{n-char-sequence} enables in an implementation specific way to
 specify the form of the NaN value.  When using the @w{IEEE 754}
 floating-point format, the NaN value can have a lot of forms since only
index 64591ee9f27b73c8bfd4fdcbd60b3830818468d8..86e29a8e04833dc8dd5bb818741b2ff99bf42ba1 100644 (file)
@@ -1601,56 +1601,56 @@ after logging in.
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS_CFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the C compiler if a source is compiled using the
 @code{_LARGEFILE_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS_LDFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the linker if a source is compiled using the
 @code{_LARGEFILE_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS_LIBS
-The returned string specifies which additionals libraries must be linked
+The returned string specifies which additional libraries must be linked
 to the application if a source is compiled using the
 @code{_LARGEFILE_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS_LINTFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the the lint tool if a source is compiled using the
 @code{_LARGEFILE_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS64_CFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the C compiler if a source is compiled using the
 @code{_LARGEFILE64_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS64_LDFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the linker if a source is compiled using the
 @code{_LARGEFILE64_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS64_LIBS
-The returned string specifies which additionals libraries must be linked
+The returned string specifies which additional libraries must be linked
 to the application if a source is compiled using the
 @code{_LARGEFILE64_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 
 @comment unistd.h
 @comment Unix98
 @item _CS_LFS64_LINTFLAGS
-The returned string specifies which additionals flags must be given to
+The returned string specifies which additional flags must be given to
 the the lint tool if a source is compiled using the
 @code{_LARGEFILE64_SOURCE} feature select macro; @pxref{Feature Test Macros}.
 @end table
index 2e0c62e1f72ed78276b8dfa304928c4c8ace7917..38a11c0093ed941842d17f7c2963bf8e67f12e59 100644 (file)
@@ -95,7 +95,7 @@ Single Unix specification, @w{version 2}.
 @comment X/Open
 @defvr Macro _LARGEFILE_SOURCE
 If this macro is defined some extra functions are available which
-rectify a few shortcomings in all previous standards.  More concreten
+rectify a few shortcomings in all previous standards.  More concrete
 the functions @code{fseeko} and @code{ftello} are available.  Without
 these functions the difference between the @w{ISO C} interface
 (@code{fseek}, @code{ftell}) and the low-level POSIX interface
index 7e8a1a12d2faea8f577a0ab72db61511cd0e52f1..6d62545cc482a5788a46517a0373dc3135f59790 100644 (file)
@@ -18,7 +18,7 @@ access permissions and modification times.
 * Accessing Directories::       Finding out what files a directory
                                 contains.
 * Working on Directory Trees::  Apply actions to all files or a selectable
-                                 subset of a directory hierachy.
+                                 subset of a directory hierarchy.
 * Hard Links::                  Adding alternate names to a file.
 * Symbolic Links::              A file that ``points to'' a file name.
 * Deleting Files::              How to delete a file, and what that means.
@@ -504,14 +504,14 @@ we want to see all directory entries we always return @code{1}.
 
 @node Working on Directory Trees
 @section Working on Directory Trees
-@cindex directory hierachy
-@cindex hierachy, directory
+@cindex directory hierarchy
+@cindex hierarchy, directory
 @cindex tree, directory
 
 The functions to handle files in directories described so far allowed to
 retrieve all the information in small pieces or process all files in a
 directory (see @code{scandir}).  Sometimes it is useful to process whole
-hierachies of directories and the contained files.  The X/Open
+hierarchies of directories and the contained files.  The X/Open
 specification define two functions to do this.  The simpler form is
 derived from an early definition in @w{System V} systems and therefore
 this function is available on SVID derived systems.  The prototypes and
@@ -591,7 +591,7 @@ with some extra information as described below.
 @deftp {Data Type} {struct FTW}
 The contained information helps to interpret the name parameter and
 gives some information about current state of the traversal of the
-directory hierachy.
+directory hierarchy.
 
 @table @code
 @item int base
@@ -644,7 +644,7 @@ The @var{descriptors} parameter to the @code{ftw} function specifies how
 many file descriptors the @code{ftw} function is allowed to consume.
 The more descriptors can be used the faster the function can run.  For
 each level of directories at most one descriptor is used so that for
-very deep directory hierachies the limit on open file descriptors for
+very deep directory hierarchies the limit on open file descriptors for
 the process or the system can be exceeded.  Beside this the limit on
 file descriptors is counted together for all threads in a multi-threaded
 program and therefore it is always good too limit the maximal number of
@@ -679,7 +679,7 @@ values, combined using bitwise OR.
 While traversing the directory symbolic links are not followed.  I.e.,
 if this flag is given symbolic links are reported using the
 @code{FTW_SL} value for the type parameter to the callback function.
-Please note that if this flag is used the appearence of @code{FTW_SL} in
+Please note that if this flag is used the appearance of @code{FTW_SL} in
 a callback function does not mean the referenced file does not exist.
 To indicate this the extra value @code{FTW_SLN} exists.
 @item FTW_MOUNT
@@ -1447,7 +1447,7 @@ This macro returns nonzero if the file is a symbolic link.
 This macro returns nonzero if the file is a socket.  @xref{Sockets}.
 @end deftypefn
 
-An alterate non-POSIX method of testing the file type is supported for
+An alternate non-POSIX method of testing the file type is supported for
 compatibility with BSD.  The mode can be bitwise ANDed with
 @code{S_IFMT} to extract the file type code, and compared to the
 appropriate type code constant.  For example,
@@ -1780,7 +1780,7 @@ used as the swap area of diskless client machines.  The idea is that the
 pages of the file will be cached in the client's memory, so it is a
 waste of the server's memory to cache them a second time.  In this use
 the sticky bit also says that the filesystem may fail to record the
-file's modification time onto disk reliably (the idea being that noone
+file's modification time onto disk reliably (the idea being that no-one
 cares for a swap file).
 @end table
 
@@ -1790,7 +1790,7 @@ These bit values are correct for most systems, but they are not
 guaranteed.
 
 @strong{Warning:} Writing explicit numbers for file permissions is bad
-practice.  It is not only nonportable, it also requires everyone who
+practice.  It is not only non-portable, it also requires everyone who
 reads your program to remember what the bits mean.  To make your
 program clean, use the symbolic names.
 
@@ -2080,7 +2080,7 @@ Argument that means, test for existence of the file.
 @cindex file access time
 @cindex file modification time
 @cindex file attribute modification time
-Each file has three timestamps associated with it:  its access time,
+Each file has three time stamps associated with it:  its access time,
 its modification time, and its attribute modification time.  These
 correspond to the @code{st_atime}, @code{st_mtime}, and @code{st_ctime}
 members of the @code{stat} structure; see @ref{File Attributes}.
@@ -2093,7 +2093,7 @@ values, see @ref{Calendar Time}.
 
 Reading from a file updates its access time attribute, and writing
 updates its modification time.  When a file is created, all three
-timestamps for that file are set to the current time.  In addition, the
+time stamps for that file are set to the current time.  In addition, the
 attribute change time and modification time fields of the directory that
 contains the new entry are updated.
 
@@ -2109,7 +2109,7 @@ the times for the file being renamed.
 Changing attributes of a file (for example, with @code{chmod}) updates
 its attribute change time field.
 
-You can also change some of the timestamps of a file explicitly using
+You can also change some of the time stamps of a file explicitly using
 the @code{utime} function---all except the attribute change time.  You
 need to include the header file @file{utime.h} to use this facility.
 @pindex utime.h
@@ -2142,7 +2142,7 @@ values from the @code{actime} and @code{modtime} members (respectively)
 of the @code{utimbuf} structure pointed at by @var{times}.
 
 The attribute modification time for the file is set to the current time
-in either case (since changing the timestamps is itself a modification
+in either case (since changing the time stamps is itself a modification
 of the file attributes).
 
 The @code{utime} function returns @code{0} if successful and @code{-1}
@@ -2153,7 +2153,7 @@ are defined for this function:
 @table @code
 @item EACCES
 There is a permission problem in the case where a null pointer was
-passed as the @var{times} argument.  In order to update the timestamp on
+passed as the @var{times} argument.  In order to update the time stamp on
 the file, you must either be the owner of the file, have write
 permission on the file, or be a privileged user.
 
index 75978072749da731a121ed5828afcabe18b44062..fa16041b9b0281a03a73c9a14eec599e90152494 100644 (file)
@@ -15,7 +15,7 @@ operating system, and extensions specific to the GNU system.
 
 The purpose of this manual is to tell you how to use the facilities
 of the GNU library.  We have mentioned which features belong to which
-standards to help you identify things that are potentially nonportable
+standards to help you identify things that are potentially non-portable
 to other systems.  But the emphasis in this manual is not on strict
 portability.
 
index 23c5f767f1374ec169fbe39974d49f1923383670..c31a5cf0ebdfae363c47d4922a2a9a465ed6b04e 100644 (file)
@@ -242,7 +242,7 @@ extra bytes are stripped of.  If the file was small or equal to
 @var{length} in size before nothing is done.  The file must be writable
 by the user to perform this operation.
 
-The return value is zero is everything wnet ok.  Otherwise the return
+The return value is zero is everything went ok.  Otherwise the return
 value is @math{-1} and the global variable @var{errno} is set to:
 @table @code
 @item EACCES
@@ -1180,16 +1180,16 @@ No synchronization is possible since the system does not implement this.
 Sometimes it is not even necessary to write all data associated with a
 file descriptor.  E.g., in database files which do not change in size it
 is enough to write all the file content data to the device.
-Metainformation like the modification time etc. are not that important
+Meta-information like the modification time etc. are not that important
 and leaving such information uncommitted does not prevent a successful
 recovering of the file in case of a problem.
 
 @comment unistd.h
 @comment POSIX
 @deftypefun int fdatasync (int @var{fildes})
-When a call to the @code{fdatasync} function returns it is maed sure
+When a call to the @code{fdatasync} function returns it is made sure
 that all of the file data is written to the device.  For all pending I/O
-operations the parts guaranteeing data integrety finished.
+operations the parts guaranteeing data integrity finished.
 
 Not all systems implement the @code{fdatasync} operation.  On systems
 missing this functionality @code{fdatasync} is emulated by a call to
index e6fc47f8e1b5d986e35e9e42e02f9229efaf281f..7698549bf383d3831a50e1eb445ebd279bc298b8 100644 (file)
@@ -513,25 +513,35 @@ posix
 @noindent
 So the final list is @file{unix/bsd/vax unix/bsd unix/inet unix posix}.
 
-@file{sysdeps} has two ``special'' subdirectories, called @file{generic}
-and @file{stub}.  These two are always implicitly appended to the list
-of subdirectories (in that order), so you needn't put them in an
-@file{Implies} file, and you should not create any subdirectories under
-them intended to be new specific categories.  @file{generic} is for
-things that can be implemented in machine-independent C, using only
-other machine-independent functions in the C library.  @file{stub} is
-for @dfn{stub} versions of functions which cannot be implemented on a
-particular machine or operating system.  The stub functions always
-return an error, and set @code{errno} to @code{ENOSYS} (Function not
-implemented).  @xref{Error Reporting}.
-
-A source file is known to be system-dependent by its having a version in
-@file{generic} or @file{stub}; every generally-available function whose
-implementation is system-dependent in should have either a generic or
-stub implementation (there is no point in having both).  Some rare functions
-are only useful on specific systems and aren't defined at all on others;
-these do not appear anywhere in the system-independent source code or makefiles
-(including the @file{generic} and @file{stub} directories), only in the
+@file{sysdeps} has a ``special'' subdirectory called @file{generic}.  It
+is always implicitly appended to the list of subdirectories, so you
+needn't put it in an @file{Implies} file, and you should not create any
+subdirectories under it intended to be new specific categories.
+@file{generic} serves two purposes.  First, the makefiles do not bother
+to look for a system-dependent version of a file that's not in
+@file{generic}.  This means that any system-dependent source file must
+have an analogue in @file{generic}, even if the routines defined by that
+file are not implemented on other platforms.  Second. the @file{generic}
+version of a system-dependent file is used if the makefiles do not find
+a version specific to the system you're compiling for.
+
+If it is possible to implement the routines in a @file{generic} file in
+machine-independent C, using only other machine-independent functions in
+the C library, then you should do so.  Otherwise, make them stubs.  A
+@dfn{stub} function is a function which cannot be implemented on a
+particular machine or operating system.  Stub functions always return an
+error, and set @code{errno} to @code{ENOSYS} (Function not implemented).
+@xref{Error Reporting}.  If you define a stub function, you must place
+the statement @code{stub_warning(@var{function})}, where @var{function}
+is the name of your function, after its definition; also, you must
+include the file @code{<stub-tag.h>} into your file.  This causes the
+function to be listed in the installed @code{<gnu/stubs.h>}, and
+makes GNU ld warn when the function is used.
+
+Some rare functions are only useful on specific systems and aren't
+defined at all on others; these do not appear anywhere in the
+system-independent source code or makefiles (including the
+@file{generic} and @file{stub} directories), only in the
 system-dependent @file{Makefile} in the specific system's subdirectory.
 
 If you come across a file that is in one of the main source directories
@@ -737,8 +747,7 @@ hierarchy that are not for particular machine architectures.
 
 @table @file
 @item generic
-@itemx stub
-As described above (@pxref{Porting}), these are the two subdirectories
+As described above (@pxref{Porting}), this is the subdirectory
 that every configuration implicitly uses after all others.
 
 @item ieee754
index fe9394b22de2ca93996136ccd870fc5502e01cdc..478678f2360c5f8d03862e521d90babaab97766c 100644 (file)
@@ -236,7 +236,7 @@ If the exception does not cause a trap handler to be called the result
 of the operation is taken as a quiet NaN.
 
 @item Division by Zero
-This exception is raised if the devisor is zero and the dividend is a
+This exception is raised if the divisor is zero and the dividend is a
 finite nonzero number.  If no trap occurs the result is either
 @math{+@infinity{}} or @math{-@infinity{}}, depending on the
 signs of the operands.
@@ -413,7 +413,7 @@ representable as an integer.  These are completely independent types.
 It is sometimes necessary so save the complete status of the
 floating-point unit for a certain time to perform some completely
 different actions.  Beside the status of the exception flags, the
-control word for the exceptions and the rounding mode can be safed.
+control word for the exceptions and the rounding mode can be saved.
 
 The file @file{fenv.h} defines the type @code{fenv_t}.  The layout of a
 variable of this type is implementation defined but the variable is able
@@ -710,7 +710,7 @@ exception if one of the arguments is an unordered value.
 @cindex Optimization
 
 If an application uses many floating point function it is often the case
-that the costs for the function calls itseld are not neglectable.
+that the costs for the function calls itselfs are not neglectable.
 Modern processor implementation often can execute the operation itself
 very fast but the call means a disturbance of the control flow.
 
@@ -811,7 +811,7 @@ radians.  Both values, @code{*@var{sinx}} and @code{*@var{cosx}}, are in
 the range of @code{-1} to @code{1}.
 
 This function is a GNU extension.  It should be used whenever both sine
-and cosine are needed but in protable applications there should be a
+and cosine are needed but in portable applications there should be a
 fallback method for systems without this function.
 @end deftypefun
 
@@ -1036,7 +1036,7 @@ magnitude of the result is too large to be representable.
 @comment math.h
 @comment ISO
 @deftypefun double log (double @var{x})
-@deftypefunx float logf (floatdouble @var{x})
+@deftypefunx float logf (float @var{x})
 @deftypefunx {long double} logl (long double @var{x})
 These functions return the natural logarithm of @var{x}.  @code{exp (log
 (@var{x}))} equals @var{x}, exactly in mathematics and approximately in
@@ -1211,7 +1211,7 @@ near zero.
 @cindex complex logarithm functions
 
 @w{ISO C 9X} defines variants of some of the exponentiation and
-logarithm functions.  As for the other functions handlung complex
+logarithm functions.  As for the other functions handling complex
 numbers these functions are perhaps better optimized and provide better
 error checking than a direct use of the formulas of the mathematical
 definition.
@@ -1488,7 +1488,7 @@ The GNU library supports the standard @w{ISO C} random number functions
 plus two other sets derived from BSD and SVID.  We recommend you use the
 standard ones, @code{rand} and @code{srand} if only a small number of
 random bits are required.  The SVID functions provide an interface which
-allows better randon number generator algorithms and they return up to
+allows better random number generator algorithms and they return up to
 48 random bits in one calls and they also return random floating-point
 numbers if wanted.  The SVID function might not be available on some BSD
 derived systems but since they are required in the XPG they are
@@ -1580,7 +1580,7 @@ This function returns the next pseudo-random number in the sequence.
 The range of values returned is from @code{0} to @code{RAND_MAX}.
 
 @strong{Please note:} Historically this function returned a @code{long
-int} value.  But with the appearence of 64bit machines this could lead
+int} value.  But with the appearance of 64bit machines this could lead
 to severe compatibility problems and therefore the type now explicitly
 limits the return value to 32bit.
 @end deftypefun
@@ -1619,7 +1619,7 @@ information @var{state}.  The argument must have been the result of
 a previous call to @var{initstate} or @var{setstate}.
 
 The return value is the previous value of the state information array.
-You can use thise value later as an argument to @code{setstate} to
+You can use this value later as an argument to @code{setstate} to
 restore that state.
 @end deftypefun
 
@@ -1734,12 +1734,12 @@ information provided.
 @deftypefun void srand48 (long int @var{seedval}))
 The @code{srand48} function sets the most significant 32 bits of the
 state internal state of the random number generator to the least
-significant 32 bits of the @var{seedval} parameter.  The lower 16 bts
-are initilialized to the value @code{0x330E}.  Even if the @code{long
+significant 32 bits of the @var{seedval} parameter.  The lower 16 bits
+are initialized to the value @code{0x330E}.  Even if the @code{long
 int} type contains more the 32 bits only the lower 32 bits are used.
 
 Due to this limitation the initialization of the state using this
-function of not very useful.  But it makes it easy to use a constrcut
+function of not very useful.  But it makes it easy to use a construct
 like @code{srand48 (time (0))}.
 
 A side-effect of this function is that the values @code{a} and @code{c}
@@ -1802,7 +1802,7 @@ Please note that it is no problem if several threads use the global
 state if all threads use the functions which take a pointer to an array
 containing the state.  The random numbers are computed following the
 same loop but if the state in the array is different all threads will
-get an individuual random number generator.
+get an individual random number generator.
 
 The user supplied buffer must be of type @code{struct drand48_data}.
 This type should be regarded as opaque and no member should be used
@@ -1830,7 +1830,7 @@ programs.
 @deftypefun int erand48_r (unsigned short int @var{xsubi}[3], struct drand48_data *@var{buffer}, double *@var{result})
 The @code{erand48_r} function works like the @code{erand48} and it takes
 an argument @var{buffer} which describes the random number generator.
-The state of the random number genertor is taken from the @code{xsubi}
+The state of the random number generator is taken from the @code{xsubi}
 array, the parameters for the congruential formula from the global
 random number generator data.  The random number is return in the
 variable pointed to by @var{result}.
@@ -1909,7 +1909,7 @@ memset (buffer, '\0', sizeof (struct drand48_data));
 @end smallexample
 
 @noindent
-Using any of the reetrant functions of this family now will
+Using any of the reentrant functions of this family now will
 automatically initialize the random number generator to the default
 values for the state and the parameters of the congruential formula.
 
@@ -1924,8 +1924,8 @@ what you expect.
 @deftypefun int srand48_r (long int @var{seedval}, struct drand48_data *@var{buffer})
 The description of the random number generator represented by the
 information in @var{buffer} is initialized similar to what the function
-@code{srand48} does.  The state is initialized from the paramter
-@var{seedval} and the paameters for the congruential formula are
+@code{srand48} does.  The state is initialized from the parameter
+@var{seedval} and the parameters for the congruential formula are
 initialized to the default values.
 
 If the return value is non-negative the function call succeeded.
index deb778440d76857755682de6324cf13f813d0e10..a292b78531020b0104b074432c37871dee718a68 100644 (file)
@@ -19,8 +19,8 @@ selection of the user.
 The GNU C Library provides two different sets of functions to support
 message translation.  The problem is that neither of the interfaces is
 officially defined by the POSIX standard.  The @code{catgets} family of
-functions is defined in the X/Open standard but this is drived from
-industry decisions and therefore not necessarily is based on reasinable
+functions is defined in the X/Open standard but this is derived from
+industry decisions and therefore not necessarily based on reasonable
 decisions.
 
 As mentioned above the message catalog handling provides easy
@@ -67,7 +67,7 @@ The user of the program must be able to guide the responsible function
 to find whatever catalog the user wants.  This is separated from what
 the programmer had in mind.
 
-All the types, constants and funtions for the @code{catgets} functions
+All the types, constants and functions for the @code{catgets} functions
 are defined/declared in the @file{nl_types.h} header file.
 
 @menu
@@ -99,7 +99,7 @@ Locating the catalog file must happen in a way which lets the user of
 the program influence the decision.  It is up to the user to decide
 about the language to use and sometimes it is useful to use alternate
 catalog files.  All this can be specified by the user by setting some
-enviroment variables.
+environment variables.
 
 The first problem is to find out where all the message catalogs are
 stored.  Every program could have its own place to keep all the
@@ -137,7 +137,7 @@ explained below.
 
 @item %l
 (This is the lowercase ell.) This format element is substituted with the
-language element of the locale name.  The string decsribing the selected
+language element of the locale name.  The string describing the selected
 locale is expected to have the form
 @code{@var{lang}[_@var{terr}[.@var{codeset}]]} and this format uses the
 first part @var{lang}.
@@ -186,7 +186,7 @@ to all other platforms providing the @code{catgets} interface.
 @cindex LC_MESSAGES environment variable
 @cindex LANG environment variable
 Otherwise the values of environment variables from the standard
-environemtn are examined (@pxref{Standard Environment}).  Which
+environment are examined (@pxref{Standard Environment}).  Which
 variables are examined is decided by the @var{flag} parameter of
 @code{catopen}.  If the value is @code{NL_CAT_LOCALE} (which is defined
 in @file{nl_types.h}) then the @code{catopen} function examines the
@@ -225,7 +225,7 @@ When an error occured the global variable @var{errno} is set to
 @item EBADF
 The catalog does not exist.
 @item ENOMSG
-The set/message touple does not name an existing element in the
+The set/message ttuple does not name an existing element in the
 message catalog.
 @end table
 
@@ -275,7 +275,7 @@ all @var{string} arguments should be written in the same language.
 
 It is somewhat uncomfortable to write a program using the @code{catgets}
 functions if no supporting functionality is available.  Since each
-set/message number touple must be unique the programmer must keep lists
+set/message number tuple must be unique the programmer must keep lists
 of the messages at the same time the code is written.  And the work
 between several people working on the same project must be coordinated.
 In @ref{Common Usage} we will see some how these problems can be relaxed
@@ -299,7 +299,7 @@ The only reasonable way the translate all the messages of a function and
 store the result in a message catalog file which can be read by the
 @code{catopen} function is to write all the message text to the
 translator and let her/him translate them all.  I.e., we must have a
-file with entries which associate the set/message touple with a specific
+file with entries which associate the set/message tuple with a specific
 translation.  This file format is specified in the X/Open standard and
 is as follows:
 
@@ -363,11 +363,11 @@ line ends quoting is disable.
 By default no quoting character is used.  In this mode strings are
 terminated with the first unescaped line break.  If there is a
 @code{$quote} sequence present newline need not be escaped.  Instead a
-string is terminated with the first unescaped appearence of the quote
+string is terminated with the first unescaped appearance of the quote
 character.
 
 A common usage of this feature would be to set the quote character to
-@code{"}.  Then any appearence of the @code{"} in the strings must
+@code{"}.  Then any appearance of the @code{"} in the strings must
 be escaped using the backslash (i.e., @code{\"} must be written).
 
 @item
@@ -414,7 +414,7 @@ $set SetOne
 two "   Message with ID \"two\", which gets the value 2 assigned"
 
 $set SetTwo
-$ Since the last set got the nubmer 1 assigned this set has number 2.
+$ Since the last set got the number 1 assigned this set has number 2.
 4000 "The numbers can be arbitrary, they need not start at one."
 @end smallexample
 
@@ -429,7 +429,7 @@ message definition would have to be left away and in this case the
 message with the identifier @code{two} would loose its leading whitespace.
 @item
 Mixing numbered messages with message having symbolic names is no
-problem and the numering happens automatically.
+problem and the numbering happens automatically.
 @end itemize
 
 
@@ -438,7 +438,7 @@ use in a running program.  The @code{catopen} function would have to
 parser the file and handle syntactic errors gracefully.  This is not so
 easy and the whole process is pretty slow.  Therefore the @code{catgets}
 functions expect the data in another more compact and ready-to-use file
-format.  There is a special programm @code{gencat} which is explained in
+format.  There is a special program @code{gencat} which is explained in
 detail in the next section.
 
 Files in this other format are not human readable.  To be easy to use by
@@ -449,7 +449,7 @@ so translation files can be shared by systems of arbitrary architecture
 Details about the binary file format are not important to know since
 these files are always created by the @code{gencat} program.  The
 sources of the GNU C Library also provide the sources for the
-@code{gencat} program and so the interested reader can look throught
+@code{gencat} program and so the interested reader can look through
 these source files to learn about the file format.
 
 
@@ -491,8 +491,8 @@ while using the device names is a GNU extension.
 
 The @code{gencat} program works by concatenating all input files and
 then @strong{merge} the resulting collection of message sets with a
-possiblity existing output file.  This is done by removing all messages
-with set/message number touples matching any of the generated messages
+possibly existing output file.  This is done by removing all messages
+with set/message number tuples matching any of the generated messages
 from the output file and then adding all the new messages.  To
 regenerate a catalog file while ignoring the old contents therefore
 requires to remove the output file if it exists.  If the output is
@@ -541,8 +541,8 @@ method first to understand the benefits of extensions.
 
 Since the X/Open format of the message catalog files does not allow
 symbol names we have to work with numbers all the time.  When we start
-writing a program we have to replace all appearences of translatable
-strings with someting like
+writing a program we have to replace all appearances of translatable
+strings with something like
 
 @smallexample
 catgets (catdesc, set, msg, "string")
@@ -556,8 +556,8 @@ message numbers.
 
 In a bigger program several programmers usually work at the same time on
 the program and so coordinating the number allocation is crucial.
-Though no two different strings must be indexed by the same touple of
-numbers it is highly desireable to reuse the numbers for equal strings
+Though no two different strings must be indexed by the same tuple of
+numbers it is highly desirable to reuse the numbers for equal strings
 with equal translations (please note that there might be strings which
 are equal in one language but have different translations due to
 difference contexts).
@@ -570,7 +570,7 @@ cannot be discovered by the compiler or the @code{catgets} functions.
 Only the user of the program might see wrong messages printed.  In the
 worst cases the messages are so irritating that they cannot be
 recognized as wrong.  Think about the translations for @code{"true"} and
-@code{"false"} being exchanged.  This could result in a desaster.
+@code{"false"} being exchanged.  This could result in a disaster.
 
 
 @subsubsection Using symbolic names
@@ -829,7 +829,7 @@ something like
 Here the @var{errno} value is used in the @code{printf} function while
 processing the @code{%m} format element and if the @code{gettext}
 function would change this value (it is called before @code{printf} is
-called) we wouls get a wrong message.
+called) we would get a wrong message.
 
 So there is no easy way to detect a missing message catalog beside
 comparing the argument string with the result.  But it is normally the
@@ -856,7 +856,7 @@ pointer the @code{dgettext} function is exactly equivalent to
 @code{gettext} since the default value for the domain name is used.
 
 As for @code{gettext} the return value type is @code{char *} which is an
-anachronism.  The returned string must never be modfied.
+anachronism.  The returned string must never be modified.
 @end deftypefun
 
 @deftypefun {char *} dcgettext (const char *@var{domainname}, const char *@var{msgid}, int @var{category})
@@ -895,7 +895,7 @@ but @code{LC_MESSAGES} in for the @var{category} parameter.  We are
 dealing with messages here and any other choice can only be irritating.
 
 As for @code{gettext} the return value type is @code{char *} which is an
-anachronism.  The returned string must never be modfied.
+anachronism.  The returned string must never be modified.
 @end deftypefun
 
 When using the three functions above in a program it is a frequent case
@@ -906,7 +906,7 @@ will not change.  I.e., the algorithm to determine the translation is
 deterministic.
 
 Exactly this is what the optimizations implemented in the
-@file{libintl.h} header will use.  Whenver a program is compiler with
+@file{libintl.h} header will use.  Whenever a program is compiler with
 the GNU C compiler, optimization is selected and the @var{msgid}
 argument to @code{gettext}, @code{dgettext} or @code{dcgettext} is a
 constant string the actual function call will only be done the first
@@ -920,7 +920,7 @@ independent of the compiler or compiler options in use.
 @node Locating gettext catalog
 @subsubsection How to determine which catalog to be used
 
-The functions to retrieve the translations for a given mesage have a
+The functions to retrieve the translations for a given message have a
 remarkable simple interface.  But to provide the user of the program
 still the opportunity to select exactly the translation s/he wants and
 also to provide the programmer the possibility to influence the way to
@@ -977,7 +977,7 @@ to read the messages in another language and so the user of the program
 should be able to define an precedence order of languages.
 @end itemize
 
-We can devide the configuration actions in two parts: the one is
+We can divide the configuration actions in two parts: the one is
 performed by the programmer, the other by the user.  We will start with
 the functions the programmer can use since the user configuration will
 be based on this.
@@ -999,7 +999,7 @@ all future @code{gettext} calls, to @var{domainname}.  Please note that
 @var{domainname} parameter of these functions is not the null pointer.
 
 Before the first call to @code{textdomain} the default domain is
-@code{messages}.  This is the name specified in the fpsecification of
+@code{messages}.  This is the name specified in the specification of
 the @code{gettext} API.  This name is as good as any other name.  No
 program should ever really use a domain with this name since this can
 only lead to problems.
@@ -1025,10 +1025,10 @@ really never should be used.
 The @code{bindtextdomain} function can be used to specify the directly
 which contains the message catalogs for domain @var{domainname} for the
 different languages.  To be correct, this is the directory where the
-hierachy of directories is expected.  Details are explained below.
+hierarchy of directories is expected.  Details are explained below.
 
 For the programmer it is important to note that the translations which
-come with the program have be placed in a directory hierachy starting
+come with the program have be placed in a directory hierarchy starting
 at, say, @file{/foo/bar}.  Then the program should make a
 @code{bindtextdomain} call to bind the domain for the current program to
 this directory.  So it is made sure the catalogs are found.  A correctly
@@ -1036,7 +1036,7 @@ running program does not depend on the user setting an environment
 variable.
 
 The @code{bindtextdomain} function can be used several times and if the
-@var{domainname} argument is different the previously boundd domains
+@var{domainname} argument is different the previously bounded domains
 will not be overwritten.
 
 If the program which wish to use @code{bindtextdomain} at some point of
@@ -1095,7 +1095,7 @@ files.  If the program executed the @code{bindtextdomain} function for
 the message domain that is currently handled the @code{dir_name}
 component is the exactly the value which was given to the function as
 the second parameter.  I.e., @code{bindtextdomain} allows to overwrite
-the only system depdendent and fixed value to make it possible to
+the only system dependent and fixed value to make it possible to
 address file everywhere in the filesystem.
 
 The @var{category} is the name of the locale category which was selected
@@ -1220,7 +1220,7 @@ list:
 @code{audience}/@code{modifier}
 @end enumerate
 
-From the last entry one can see that the meaning of the @code{modifer}
+From the last entry one can see that the meaning of the @code{modifier}
 field in the X/Open format and the @code{audience} format have the same
 meaning.  Beside one can see that the @code{language} field for obvious
 reasons never will be dropped.
@@ -1296,7 +1296,7 @@ help to understand the input better.
 
 Other programs help to manage development cycle when new messages appear
 in the source files or when a new translation of the messages appear.
-here it should only be noted that using all the tools in GNu gettext it
+here it should only be noted that using all the tools in GNU gettext it
 is possible to @emph{completely} automize the handling of message
 catalog.  Beside marking the translatable string in the source code and
 generating the translations the developers do not have anything to do
index 1decfe3dae3935297c9ba4bbd92ced0c0fafc65e..7a37e402c14bef2c515e8eaa4ef7893d976490f1 100644 (file)
@@ -365,7 +365,7 @@ repeatedly.  It handles the flag @code{GLOB_NOESCAPE} by turning on the
 @node More Flags for Globbing
 @subsection More Flags for Globbing
 
-Beside the flags descibed in the last section, the GNU implementation of
+Beside the flags described in the last section, the GNU implementation of
 @code{glob} allows a few more flags which are also defined in the
 @file{glob.h} file.  Some of the extensions implement functionality
 which is available in modern shell implementations.
@@ -406,7 +406,7 @@ another one.  It is important to note that the range of each brace
 expression is completely contained in the outer brace expression (if
 there is one).
 
-The string between the mathing braces is separated into single
+The string between the matching braces is separated into single
 expressions by splitting at @code{,} (comma) characters.  The commas
 themself are discarded.  Please note what we said above about recursive
 brace expressions.  The commas used to separate the subexpressions must
index 356d976555799d8021e43c1c75fa8f444754a7fd..013c5849140e97ed56392bb74900698a9abc2f5b 100644 (file)
@@ -259,7 +259,7 @@ Computer Programming, Part 3: Searching and Sorting'' for more
 information.
 
 The weakest aspect of this function is that there can be at most one
-hashing table used throught the whole program.  The table is allocated
+hashing table used through the whole program.  The table is allocated
 in local memory out of control of the programmer.  As an extension the
 GNU C library provides an additional set of functions with an reentrant
 interface which provide a similar interface but which allow to keep
@@ -284,13 +284,13 @@ table with possibly different size.
 It is important to remember that the elements contained in the hashing
 table at the time @code{hdestroy} is called are @emph{not} freed by this
 function.  It is the responsibility of the program code to free those
-strings (if necessary at all).  Freeing all the element memory iss not
+strings (if necessary at all).  Freeing all the element memory is not
 possible without extra, separately kept information since there is no
 function to iterate through all available elements in the hashing table.
 If it is really necessary to free a table and all elements the
 programmer has to keep a list of all table elements and before calling
 @code{hdestroy} s/he has to free all element's data using this list.
-This is a very unpleasent mechanism and it also shows that this kind of
+This is a very unpleasant mechanism and it also shows that this kind of
 hashing tables is mainly meant for tables which are created once and
 used until the end of the program run.
 @end deftypefun
@@ -349,7 +349,7 @@ members should be changed directly.
 @comment search.h
 @comment GNU
 @deftypefun int hcreate_r (size_t @var{nel}, struct hsearch_data *@var{htab})
-The @code{hcreate_r} function intializes the object pointed to by
+The @code{hcreate_r} function initializes the object pointed to by
 @var{htab} to contain a hashing table with at least @var{nel} elements.
 So this function is equivalent to the @code{hcreate} function except
 that the initialized data structure is controlled by the user.
@@ -377,7 +377,7 @@ for the elements of the table.
 @deftypefun int hsearch_r (ENTRY @var{item}, ACTION @var{action}, ENTRY **@var{retval}, struct hsearch_data *@var{htab})
 The @code{hsearch_r} function is equivalent to @code{hsearch}.  The
 meaning of the first two arguments is identical.  But instead of
-operating on a single global hashing table the functio works on the
+operating on a single global hashing table the function works on the
 table described by the object pointed to by @var{htab} (which is
 initialized by a call to @code{hcreate_r}).
 
@@ -411,7 +411,7 @@ The GNU C library implementation even guarantees that this bound is
 never exceeded even for input data which cause problems for simple
 binary tree implementations.
 
-The functions desribed in the chapter are all described in the @w{System
+The functions described in the chapter are all described in the @w{System
 V} and X/Open specifications and are therefore quite portable.
 
 In contrast to the @code{hsearch} functions the @code{tsearch} functions
@@ -427,7 +427,7 @@ extended or searched.
 @deftypefun {void *} tsearch (const void *@var{key}, void **@var{rootp}, comparison_fn_t @var{compar})
 The @code{tsearch} function searches in the tree pointed to by
 @code{*@var{rootp}} for an element matching @var{key}.  The function
-pointed to by @var{compar} is used to determine wether two elements
+pointed to by @var{compar} is used to determine whether two elements
 match.  @xref{Comparison Functions} for a specification of the functions
 which can be used for the @var{compar} parameter.
 
@@ -512,7 +512,7 @@ tree and how the function is called.  The status of a node is either
 `leaf' or `internal node'.  For each leaf node the function is called
 exactly once, for each internal node it is called three times: before
 the first child is processed, after the first child is processed and
-after both childs are processed.  This makes it possible to handle all
+after both children are processed.  This makes it possible to handle all
 three methods of tree traversal (or even a combination of them).
 
 @table @code
@@ -540,7 +540,7 @@ For each node in the tree with a node pointed to by @var{root} the
 called three times, setting the @var{value} parameter or @var{action} to
 the appropriate value.  The @var{level} argument for the @var{action}
 function is computed while descending the tree with increasing the value
-by one for the escend to a child, starting with the value @math{0} for
+by one for the descend to a child, starting with the value @math{0} for
 the root node.
 
 Since the functions used for the @var{action} parameter to @code{twalk}
index 79482298713026a50eefaa72844a988f4091c95c..e6014ec1954f4138258dc72a0088b4d21a5de2ac 100644 (file)
@@ -1656,7 +1656,7 @@ make is whether at least one signal has arrived since a given time in
 the past.
 
 Here is an example of a handler for @code{SIGCHLD} that compensates for
-the fact that the number of signals recieved may not equal the number of
+the fact that the number of signals received may not equal the number of
 child processes generate them.  It assumes that the program keeps track
 of all the child processes with a chain of structures as follows:
 
index 9cb9b435e401b688e4d28265ddc699fbfaacc29d..76d78637287457581094277ebd68245c1e187a4f 100644 (file)
@@ -687,7 +687,7 @@ Each computer on the Internet has one or more @dfn{Internet addresses},
 numbers which identify that computer among all those on the Internet.
 Users typically write IPv4 numeric host addresses as sequences of four
 numbers, separated by periods, as in @samp{128.52.46.32}, and IPv6
-numeric host addresses as sequences of up to eight numbers seperated by
+numeric host addresses as sequences of up to eight numbers separated by
 colons, as in @samp{5f03:1200:836f:c100::1}.
 
 Each computer also has one or more @dfn{host names}, which are strings
index fab74edbef9c1d80a6020b937fadb50ba9c50e80..7e42bb9c7baf31fb8aaf35dd44d3c96e297982f9 100644 (file)
@@ -520,7 +520,7 @@ classification.
 @cindex LC_MESSAGES environment variable
 
 This specifies what locale to use for printing messages and to parse
-reponses.
+responses.
 
 @item LC_MONETARY
 @cindex LC_MONETARY environment variable
index fbf218ebf37f721716c9745ecba2329d8536db0c..96c3de4fec7d8272b91ae2eef05b38d285fe58fe 100644 (file)
@@ -288,7 +288,7 @@ another function.
 @deftypefun int fcloseall (void)
 This function causes all open streams of the process to be closed and
 the connection to corresponding files to be broken.  All buffered data
-is written and any buffered inputis discarded.  The @code{fcloseall}
+is written and any buffered input is discarded.  The @code{fcloseall}
 function returns a value of @code{0} if all the files were closed
 successfully, and @code{EOF} if an error was detected.
 
@@ -912,7 +912,7 @@ initial @samp{%} character followed in sequence by:
 @item
 An optional specification of the parameter used for this format.
 Normally the parameters to the @code{printf} function a assigned to the
-formats in the order of appearence in the format string.  But in some
+formats in the order of appearance in the format string.  But in some
 situations (such as message translation) this is not desirable and this
 extension allows to specify and explicit parameter to be used.
 
@@ -1236,7 +1236,7 @@ numbers are represented is the form
 @w{[@code{-}]@code{0x}@var{h}@code{.}@var{hhh}@code{p}[@code{+}|@code{-}]@var{dd}}.
 At the left of the decimal-point character exactly one digit is print.
 This character is only @code{0} is the number is denormalized.
-Otherwise the value is unspecifed; it is implemention dependent how many
+Otherwise the value is unspecified; it is implemention dependent how many
 bits are used.  The number of hexadecimal digits on the right side of
 the decimal-point character is equal to the precision.  If the precision
 is zero it is determined to be large enough to provide an exact
@@ -2310,7 +2310,7 @@ register_printf_function ('B', printf_size, printf_size_info);
 @end smallexample
 
 Here we register the functions to print numbers as powers of 1000 since
-the format character @code{'B'} is an upper-case characeter.  If we
+the format character @code{'B'} is an upper-case character.  If we
 would additionally use @code{'b'} in a line like
 
 @smallexample
@@ -3110,7 +3110,7 @@ This function is similar to @code{fseek} but it corrects a problem with
 @code{fseeko} uses the correct type @code{off_t} for the @var{offset}
 parameter.
 
-For this reasonit is a good idea to prefer @code{ftello} whenever it is
+For this reason it is a good idea to prefer @code{ftello} whenever it is
 available since its functionality is (if different at all) closer the
 underlying definition.
 
@@ -3157,7 +3157,7 @@ the offset provided is relative to the end of the file.
 @comment ISO
 @deftypefun void rewind (FILE *@var{stream})
 The @code{rewind} function positions the stream @var{stream} at the
-begining of the file.  It is equivalent to calling @code{fseek} or
+beginning of the file.  It is equivalent to calling @code{fseek} or
 @code{fseeko} on the @var{stream} with an @var{offset} argument of
 @code{0L} and a @var{whence} argument of @code{SEEK_SET}, except that
 the return value is discarded and the error indicator for the stream is
@@ -3756,7 +3756,7 @@ the following members:
 @table @code
 @item cookie_read_function_t *read
 This is the function that reads data from the cookie.  If the value is a
-null pointer instead of a function, then read operations on ths stream
+null pointer instead of a function, then read operations on this stream
 always return @code{EOF}.
 
 @item cookie_write_function_t *write
@@ -3926,7 +3926,7 @@ Display the message in standard error.
 Display the message on the system console.
 @end vtable
 
-The errorneous piece of the system can be signalled by exactly one of the
+The erroneous piece of the system can be signalled by exactly one of the
 following values which also is bitwise ORed with the
 @var{classification} parameter to @code{fmtmsg}:
 
@@ -3945,11 +3945,11 @@ done by using exactly one of the following values:
 
 @vtable @code
 @item MM_APPL
-The errorneous condition is detected by the application.
+The erroneous condition is detected by the application.
 @item MM_UTIL
-The errorneous condition is detected by a utility.
+The erroneous condition is detected by a utility.
 @item MM_OPSYS
-The errorneous condition is detected by the operating system.
+The erroneous condition is detected by the operating system.
 @end vtable
 
 A last component of @var{classification} can signal the results of this
@@ -3970,7 +3970,7 @@ in the @var{classification} parameter.  The @var{label} parameter
 identifies the source of the message.  The string should consist of two
 colon separated parts where the first part has not more than 10 and the
 second part not more the 14 characters.  The @var{text} parameter
-descries the condition of the error, the @var{action} parameter possible
+describes the condition of the error, the @var{action} parameter possible
 steps to recover from the error and the @var{tag} parameter is a
 reference to the online documentation where more information can be
 found.  It should contain the @var{label} value and a unique
index d6c09b8df9d142f0c1397489bfc7be5290ad385d..767a811c7eb8a7f89ecef5eb27efa368d142fbc0 100644 (file)
@@ -175,7 +175,7 @@ The @code{strnlen} function returns the length of the null-terminated
 string @var{s} is this length is smaller than @var{maxlen}.  Otherwise
 it returns @var{maxlen}.  Therefore this function is equivalent to
 @code{(strlen (@var{s}) < n ? strlen (@var{s}) : @var{maxlen})} but it
-is more efficent.
+is more efficient.
 
 @smallexample
 char string[32] = "hello, world";
@@ -247,7 +247,7 @@ memcpy (new, old, arraysize * sizeof (struct foo));
 @comment GNU
 @deftypefun {void *} mempcpy (void *@var{to}, const void *@var{from}, size_t @var{size})
 The @code{mempcpy} function is nearly identical to the @code{memcpy}
-function.  It copies @var{size} byts from the object beginning at
+function.  It copies @var{size} bytes from the object beginning at
 @code{from} into the object pointed to by @var{to}.  But instead of
 returning the value of @code{to} it returns a pointer to the byte
 following the last written byte in the object beginning at @var{to}.
@@ -616,7 +616,7 @@ This function is like @code{strcmp}, except that differences in case are
 ignored.  How uppercase and lowercase character are related is
 determined by the currently selected locale.  In the standard @code{"C"}
 locale the characters @"A and @"a do not match but in a locale which
-regards this characters as parts of the alphabeth they do match.
+regards this characters as parts of the alphabet they do match.
 
 @code{strcasecmp} is derived from BSD.
 @end deftypefun
@@ -669,12 +669,12 @@ value follows the same conventions as found in the @code{strverscmp}
 function.  In fact, if @var{s1} and @var{s2} contain no digits,
 @code{strverscmp} behaves like @code{strcmp}.
 
-Basically, we compare strings normaly (character by character), until
+Basically, we compare strings normally (character by character), until
 we find a digit in each string - then we enter a special comparison
 mode, where each sequence of digit is taken as a whole.  If we reach the
 end of these two parts without noticing a difference, we return to the
 standard comparison mode.  There are two types of numeric parts:
-"integral" and "fractionnal" (these laters begins with a '0'). The types
+"integral" and "fractional" (those  begin with a '0'). The types
 of the numeric parts affect the way we sort them:
 
 @itemize @bullet
@@ -682,13 +682,13 @@ of the numeric parts affect the way we sort them:
 integral/integral: we compare values as you would expect.
 
 @item
-fractionnal/integral: the fractionnal part is less than the integral one.
+fractional/integral: the fractional part is less than the integral one.
 Again, no surprise.
 
 @item
-fractionnal/fractionnal: the things become a bit more complex.
-if the common prefix contains only leading zeroes, the longest part is less
-than the other one; else the comparison behaves normaly.
+fractional/fractional: the things become a bit more complex.
+If the common prefix contains only leading zeroes, the longest part is less
+than the other one; else the comparison behaves normally.
 @end itemize
 
 @smallexample
@@ -697,14 +697,14 @@ strverscmp ("no digit", "no digit")
 strverscmp ("item#99", "item#100")
     @result{} <0   /* @r{same prefix, but 99 < 100.} */
 strverscmp ("alpha1", "alpha001")
-    @result{} >0   /* @r{fractionnal part inferior to integral one.} */
+    @result{} >0   /* @r{fractional part inferior to integral one.} */
 strverscmp ("part1_f012", "part1_f01")
-    @result{} >0   /* @r{two fractionnal parts.} */
+    @result{} >0   /* @r{two fractional parts.} */
 strverscmp ("foo.009", "foo.0")
     @result{} <0   /* @r{idem, but with leading zeroes only.} */
 @end smallexample
 
-This function is especially usefull when dealing with filename sorting,
+This function is especially useful when dealing with filename sorting,
 because filenames frequently hold indices/version numbers.
 
 @code{strverscmp} is a GNU extension.
@@ -852,7 +852,7 @@ sort_strings_fast (char **array, int nstrings)
     @{
       size_t length = strlen (array[i]) * 2;
       char *transformed;
-      size_t transformed_lenght;
+      size_t transformed_length;
 
       temp_array[i].input = array[i];
 
index c2b2378da8cbfd884f58255594b88b0ae50629d9..b67ef63d5ecfa6bb268db75026368eccd4ee8c68 100644 (file)
@@ -568,7 +568,7 @@ universal time.
 @end deftypefun
 
 As for the @code{localtime} function we have the problem that the result
-is placed ina static variable.  POSIX.1c also provides a replacement for
+is placed in a static variable.  POSIX.1c also provides a replacement for
 @code{gmtime}.
 
 @comment time.h
@@ -1163,7 +1163,7 @@ broken-down time structure, since @code{tm_zone} reports the correct
 abbreviation even when it is not the latest one.
 
 Though the strings are declared as @code{char *} the user must stay away
-from modifying these strings.  Modying the strings will almost certainly
+from modifying these strings.  Modifying the strings will almost certainly
 lead to trouble.
 
 @end deftypevar
index ca9dee4ca6736f995952c8fa1af66dc1a02ca73d..e6e358f44a4ec7f8ed2b62b184faeb9ed8a1ce02 100644 (file)
@@ -1770,7 +1770,7 @@ This function closes the internal stream used by @code{getgrent} or
 @subsection Netgroup Data
 
 @cindex Netgroup
-Sometimes it is useful group users according to other criterias like the
+Sometimes it is useful group users according to other criteria like the
 ones used in the @xref{Group Database}.  E.g., it is useful to associate
 a certain group of users with a certain machine.  On the other hand
 grouping of host names is not supported so far.
index c92cd94d99e026fc4d1faa962e5e0eb9624ee5a9..39f2a50a964cd3a42cf2313f5c9c0e756506f16a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997 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
@@ -28,7 +28,7 @@ printf (const char *format, ...)
   int done;
 
   va_start (arg, format);
-  done = vprintf (format, arg);
+  done = vfprintf (stdout, format, arg);
   va_end (arg);
 
   return done;
index bb8a5ae8cbc4ddbc53c6ba94067c1a928c0d993f..d4eacbe4ed0dde975fb84722eb2b3ab64afb0eed 100644 (file)
 #include <stdarg.h>
 #include <stdio.h>
 
-/* The function `vscanf' is not defined in ISO C.  Therefore we must
-   use the protected form here.  In stdio it is called `__vscanf' and
-   in libio `_IO_vscanf'.  */
-#ifdef USE_IN_LIBIO
-# include <libioP.h>
-# define VSCANF _IO_vscanf
-#else
-# define VSCANF __vscanf
-#endif
 
 /* Read formatted input from stdin according to the format string FORMAT.  */
 /* VARARGS1 */
@@ -38,7 +29,11 @@ scanf (const char *format, ...)
   int done;
 
   va_start (arg, format);
-  done = VSCANF (format, arg);
+#ifdef USE_IN_LIBIO
+  done = _IO_vfscanf (stdin, format, arg, NULL);
+#else
+  done = vfscanf (stdin, format, arg);
+#endif
   va_end (arg);
 
   return done;
index b6a08172e4898ff9a0a70dea3f15e89463fdb4f5..2f6a8f4333d41973782d4f6e451804ce075861cd 100644 (file)
@@ -16,7 +16,7 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-ifeq (,$(filter-out $(sysdep_dir)/stub/bits $(common-objpfx)/bits,\
+ifeq (,$(filter-out $(sysdep_dir)/generic/bits $(common-objpfx)/bits,\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/endian.h))))))
 
 $(common-objpfx)bytesex.h: $(common-objpfx)det_endian
similarity index 98%
rename from sysdeps/stub/__longjmp.c
rename to sysdeps/generic/__longjmp.c
index 11b72357e405f299f05253d71c507e362a15c7cd..84d23d4fcd6fdbe3fdbe7cdead0df299b278816b 100644 (file)
@@ -36,3 +36,4 @@ __longjmp (env, val)
 }
 
 stub_warning (longjmp)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/_exit.c
rename to sysdeps/generic/_exit.c
index 1b8f1700da7f112edb223394c36835db9e716275..5fb4366e49614eff2c2a79057b5453745b355488 100644 (file)
@@ -31,3 +31,4 @@ _exit (status)
 }
 
 stub_warning (_exit)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/accept.c
rename to sysdeps/generic/accept.c
index c27070c0b1ea5398c4a809968aa10608e2013a13..b8f714a2016b734693991ceaf0a1d61a3b6132e9 100644 (file)
@@ -36,3 +36,4 @@ accept (fd, addr, addr_len)
 
 
 stub_warning (accept)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/access.c
rename to sysdeps/generic/access.c
index a3b1d32998f8f1a6277685a9df9e34108ae97df5..9dad9b5f79f1f29eb1dde713c5d12fd5b1a4cb64 100644 (file)
@@ -38,3 +38,4 @@ __access (file, type)
 stub_warning (access)
 
 weak_alias (__access, access)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/acct.c
rename to sysdeps/generic/acct.c
index 508a775dc8b889541205ad63dde94dc17f0302ac..c571567f4715ba6f38059eb76e1f156b7c1a6e26 100644 (file)
@@ -31,3 +31,4 @@ acct (name)
 }
 
 stub_warning (acct)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/adjtime.c
rename to sysdeps/generic/adjtime.c
index dc1534926f73dcae8175522179daa68135da7e22..9b6f3574d94178e72c5f03a481ad6a5751faabc5 100644 (file)
@@ -34,3 +34,4 @@ __adjtime (delta, olddelta)
 stub_warning (adjtime)
 
 weak_alias (__adjtime, adjtime)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/alarm.c
rename to sysdeps/generic/alarm.c
index 441327c04a225c3873494afb82d83ca5de0237f5..0f4302978061fedd83d60381ca37c58a61609427 100644 (file)
@@ -36,3 +36,4 @@ alarm (seconds)
 
 
 stub_warning (alarm)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/bind.c
rename to sysdeps/generic/bind.c
index 7e7f0d70b72d421c7d0f89c55c8c83780230fb4b..1c787820d87420d486efacee3281842883df2146 100644 (file)
@@ -32,3 +32,4 @@ bind (fd, addr, len)
 
 
 stub_warning (bind)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/bits/dirent.h b/sysdeps/generic/bits/dirent.h
new file mode 100644 (file)
index 0000000..2f7dca7
--- /dev/null
@@ -0,0 +1,24 @@
+/* Directory entry structure `struct dirent'.  Stub version.
+   Copyright (C) 1996 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+struct dirent
+  {
+    char d_name[1];            /* Variable length.  */
+    int d_fileno;
+  };
diff --git a/sysdeps/generic/bits/elfclass.h b/sysdeps/generic/bits/elfclass.h
new file mode 100644 (file)
index 0000000..1ad1295
--- /dev/null
@@ -0,0 +1,8 @@
+/* This file specifies the native word size of the machine, which indicates
+   the ELF file class used for executables and shared objects on this
+   machine.  */
+
+#define __ELF_NATIVE_CLASS ??
+
+/* This file goes in sysdeps/wordsize-?? and sysdeps/MACHINE/Implies lists
+   wordsize-?? for MACHINE's wordsize.  */
diff --git a/sysdeps/generic/bits/endian.h b/sysdeps/generic/bits/endian.h
new file mode 100644 (file)
index 0000000..597f079
--- /dev/null
@@ -0,0 +1,9 @@
+/* This file should define __BYTE_ORDER as appropriate for the machine
+   in question.  See string/endian.h for how to define it.
+
+   If only the stub bits/endian.h applies to a particular configuration,
+   bytesex.h is generated by running a program on the host machine.
+   So if cross-compiling to a machine with a different byte order,
+   the bits/endian.h file for that machine must exist.  */
+
+#error Machine byte order unknown.
diff --git a/sysdeps/generic/bits/errno.h b/sysdeps/generic/bits/errno.h
new file mode 100644 (file)
index 0000000..e197c36
--- /dev/null
@@ -0,0 +1,40 @@
+/* Copyright (C) 1991, 1994, 1996, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* This file defines the `errno' constants.  */
+
+#if !defined(__Emath_defined) && (defined(_ERRNO_H) || defined(__need_Emath))
+#undef __need_Emath
+#define        __Emath_defined 1
+
+#define        EDOM    1
+#define        ERANGE  2
+#endif
+
+#ifdef _ERRNO_H
+#define        ENOSYS  3
+#define        EINVAL  4
+#define        ESPIPE  5
+#define        EBADF   6
+#define        ENOMEM  7
+#define        EACCES  8
+#define ENFILE  9
+#define EMFILE  10
+#endif
+
+#define __set_errno(val) errno = (val)
diff --git a/sysdeps/generic/bits/fcntl.h b/sysdeps/generic/bits/fcntl.h
new file mode 100644 (file)
index 0000000..24a1c38
--- /dev/null
@@ -0,0 +1,85 @@
+/* O_*, F_*, FD_* bit values for stub configuration.
+   Copyright (C) 1991, 1992, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* These values should be changed as appropriate for your system.  */
+
+#ifndef        _FCNTL_H
+#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
+#endif
+
+
+/* File access modes for `open' and `fcntl'.  */
+#define        O_RDONLY        0       /* Open read-only.  */
+#define        O_WRONLY        1       /* Open write-only.  */
+#define        O_RDWR          2       /* Open read/write.  */
+
+
+/* Bits OR'd into the second argument to open.  */
+#define        O_CREAT         0x0200  /* Create file if it doesn't exist.  */
+#define        O_EXCL          0x0800  /* Fail if file already exists.  */
+#define        O_TRUNC         0x0400  /* Truncate file to zero length.  */
+#define        O_NOCTTY        0x0100  /* Don't assign a controlling terminal.  */
+
+/* File status flags for `open' and `fcntl'.  */
+#define        O_APPEND        0x0008  /* Writes append to the file.  */
+#define        O_NONBLOCK      0x0004  /* Non-blocking I/O.  */
+
+#ifdef __USE_BSD
+#define        O_NDELAY        O_NONBLOCK
+#endif
+
+/* Mask for file access modes.  This is system-dependent in case
+   some system ever wants to define some other flavor of access.  */
+#define        O_ACCMODE       (O_RDONLY|O_WRONLY|O_RDWR)
+
+/* Values for the second argument to `fcntl'.  */
+#define        F_DUPFD         0       /* Duplicate file descriptor.  */
+#define        F_GETFD         1       /* Get file descriptor flags.  */
+#define        F_SETFD         2       /* Set file descriptor flags.  */
+#define        F_GETFL         3       /* Get file status flags.  */
+#define        F_SETFL         4       /* Set file status flags.  */
+#ifdef __USE_BSD
+#define        F_GETOWN        5       /* Get owner (receiver of SIGIO).  */
+#define        F_SETOWN        6       /* Set owner (receiver of SIGIO).  */
+#endif
+#define        F_GETLK         7       /* Get record locking info.  */
+#define        F_SETLK         8       /* Set record locking info.  */
+#define        F_SETLKW        9       /* Set record locking info, wait.  */
+
+/* File descriptor flags used with F_GETFD and F_SETFD.  */
+#define        FD_CLOEXEC      1       /* Close on exec.  */
+
+
+#include <bits/types.h>
+
+/* The structure describing an advisory lock.  This is the type of the third
+   argument to `fcntl' for the F_GETLK, F_SETLK, and F_SETLKW requests.  */
+struct flock
+  {
+    short int l_type;  /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.  */
+    short int l_whence;        /* Where `l_start' is relative to (like `lseek').  */
+    __off_t l_start;   /* Offset where the lock begins.  */
+    __off_t l_len;     /* Size of the locked area; zero means until EOF.  */
+    __pid_t l_pid;     /* Process holding the lock.  */
+  };
+
+/* Values for the `l_type' field of a `struct flock'.  */
+#define        F_RDLCK 1       /* Read lock.  */
+#define        F_WRLCK 2       /* Write lock.  */
+#define        F_UNLCK 3       /* Remove lock.  */
diff --git a/sysdeps/generic/bits/fenv.h b/sysdeps/generic/bits/fenv.h
new file mode 100644 (file)
index 0000000..f45deb0
--- /dev/null
@@ -0,0 +1,61 @@
+/* Copyright (C) 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _FENV_H
+#error "Never use <bits/fenv.h> directly; include <fenv.h> instead."
+#endif
+
+
+/* Here should be the exception be defined:
+    FE_INVALID
+    FE_DIVBYZERO
+    FE_OVERFLOW
+    FE_UNDERFLOW
+    FE_INEXACT
+   We define no macro which signals no exception is supported.  */
+
+#define FE_ALL_EXCEPT 0
+
+
+/* Here should the rounding modes be defined:
+    FE_TONEAREST
+    FE_DOWNWARD
+    FE_UPWARD
+    FE_TOWARDSZERO
+   We define no macro which signals no rounding mode is selectable.  */
+
+
+/* Type representing exception flags.
+   XXX Probably we should also include the signal handler here.  */
+typedef struct
+  {
+    unsigned int flags;
+  }
+fexcept_t;
+
+
+/* Type representing floating-point environment.  */
+typedef struct
+  {
+    fexcept_t excepts;
+    /* XXX I don't know what else we should save.  */
+  }
+fenv_t;
+
+/* If the default argument is used we use this value.  */
+#define FE_DFL_ENV     ((fenv_t *) -1l)
diff --git a/sysdeps/generic/bits/huge_val.h b/sysdeps/generic/bits/huge_val.h
new file mode 100644 (file)
index 0000000..8f137d1
--- /dev/null
@@ -0,0 +1,26 @@
+/* Stub `HUGE_VAL' constant.
+   Used by <stdlib.h> and <math.h> functions for overflow.
+   Copyright (C) 1992, 1996 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _MATH_H
+#error "Never use <bits/huge_val.h> directly; include <math.h> instead."
+#endif
+
+
+#define           HUGE_VAL     1e37
diff --git a/sysdeps/generic/bits/ioctls.h b/sysdeps/generic/bits/ioctls.h
new file mode 100644 (file)
index 0000000..3b6178b
--- /dev/null
@@ -0,0 +1 @@
+/* This space intentionally left blank.  */
diff --git a/sysdeps/generic/bits/ipc.h b/sysdeps/generic/bits/ipc.h
new file mode 100644 (file)
index 0000000..a5ecbd9
--- /dev/null
@@ -0,0 +1,56 @@
+/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SYS_IPC_BUF_H
+
+#define _SYS_IPC_BUF_H 1
+#include <features.h>
+
+#include <sys/types.h>
+
+/* Mode bits for `msgget', `semget', and `shmget'.  */
+#define IPC_CREAT      01000           /* create key if key does not exist */
+#define IPC_EXCL       02000           /* fail if key exists */
+#define IPC_NOWAIT     04000           /* return error on wait */
+
+/* Control commands for `msgctl', `semctl', and `shmctl'.  */
+#define IPC_RMID       0               /* remove identifier */
+#define IPC_SET                1               /* set `ipc_perm' options */
+#define IPC_STAT       2               /* get `ipc_perm' options */
+
+
+__BEGIN_DECLS
+
+/* Special key values.  */
+#define IPC_PRIVATE    ((key_t) 0)     /* private key */
+
+
+/* Data structure used to pass permission information to IPC operations.  */
+struct ipc_perm
+{
+  __uid_t uid;                         /* owner's user ID */
+  __gid_t gid;                         /* owner's group ID */
+  __uid_t cuid;                                /* creator's user ID */
+  __gid_t cgid;                                /* creator's group ID */
+  __mode_t mode;                       /* read/write permission */
+};
+
+__END_DECLS
+
+#endif /* _SYS_IPC_BUF_H */
diff --git a/sysdeps/generic/bits/libc-lock.h b/sysdeps/generic/bits/libc-lock.h
new file mode 100644 (file)
index 0000000..c24dcd0
--- /dev/null
@@ -0,0 +1,109 @@
+/* libc-internal interface for mutex locks.  Stub version.
+   Copyright (C) 1996, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _BITS_LIBC_LOCK_H
+#define _BITS_LIBC_LOCK_H 1
+
+
+/* Define a lock variable NAME with storage class CLASS.  The lock must be
+   initialized with __libc_lock_init before it can be used (or define it
+   with __libc_lock_define_initialized, below).  Use `extern' for CLASS to
+   declare a lock defined in another module.  In public structure
+   definitions you must use a pointer to the lock structure (i.e., NAME
+   begins with a `*'), because its storage size will not be known outside
+   of libc.  */
+#define __libc_lock_define(CLASS,NAME)
+
+/* Define an initialized lock variable NAME with storage class CLASS.  */
+#define __libc_lock_define_initialized(CLASS,NAME)
+
+/* Define an initialized recursive lock variable NAME with storage
+   class CLASS.  */
+#define __libc_lock_define_initialized_recursive(CLASS,NAME)
+
+/* Initialize the named lock variable, leaving it in a consistent, unlocked
+   state.  */
+#define __libc_lock_init(NAME)
+
+/* Same as last but this time we initialize a recursive mutex.  */
+#define __libc_lock_init_recursive(NAME)
+
+/* Finalize the named lock variable, which must be locked.  It cannot be
+   used again until __libc_lock_init is called again on it.  This must be
+   called on a lock variable before the containing storage is reused.  */
+#define __libc_lock_fini(NAME)
+
+/* Finalize recursive named lock.  */
+#define __libc_lock_fini_recursive(NAME)
+
+/* Lock the named lock variable.  */
+#define __libc_lock_lock(NAME)
+
+/* Lock the recursive named lock variable.  */
+#define __libc_lock_lock_recursive(NAME)
+
+/* Try to lock the named lock variable.  */
+#define __libc_lock_trylock(NAME) 0
+
+/* Try to lock the recursive named lock variable.  */
+#define __libc_lock_trylock_recursive(NAME) 0
+
+/* Unlock the named lock variable.  */
+#define __libc_lock_unlock(NAME)
+
+/* Unlock the recursive named lock variable.  */
+#define __libc_lock_unlock_recursive(NAME)
+
+
+/* Define once control variable.  */
+#define __libc_once_define(CLASS, NAME) CLASS int NAME = 0
+
+/* Call handler iff the first call.  */
+#define __libc_once(ONCE_CONTROL, INIT_FUNCTION) \
+  do {                                                                       \
+    if ((ONCE_CONTROL) == 0) {                                               \
+      INIT_FUNCTION ();                                                              \
+      (ONCE_CONTROL) = 1;                                                    \
+    }                                                                        \
+  } while (0)
+
+
+/* Start critical region with cleanup.  */
+#define __libc_cleanup_region_start(FCT, ARG)
+
+/* End critical region with cleanup.  */
+#define __libc_cleanup_region_end(DOIT)
+
+
+/* We need portable names for some of the functions.  */
+#define __libc_mutex_unlock
+
+/* Type for key of thread specific data.  */
+typedef int __libc_key_t;
+
+/* Create key for thread specific data.  */
+#define __libc_key_create(KEY,DEST) -1
+
+/* Set thread-specific data associated with KEY to VAL.  */
+#define __libc_setspecific(KEY,VAL) -1
+
+/* Get thread-specific data associated with KEY.  */
+#define __libc_getspecific(KEY) 0
+
+#endif /* bits/libc-lock.h */
diff --git a/sysdeps/generic/bits/local_lim.h b/sysdeps/generic/bits/local_lim.h
new file mode 100644 (file)
index 0000000..42cc7eb
--- /dev/null
@@ -0,0 +1,3 @@
+/* This file should define the implementation-specific limits described
+   in posix[12]_lim.h.  If there are no useful values to give a limit,
+   don't define it.  */
diff --git a/sysdeps/generic/bits/mathinline.h b/sysdeps/generic/bits/mathinline.h
new file mode 100644 (file)
index 0000000..5498af6
--- /dev/null
@@ -0,0 +1,12 @@
+/* This file should provide inline versions of math functions.
+
+   Surround GCC-specific parts with #ifdef __GNUC__, and use `extern __inline'.
+
+   This file should define __MATH_INLINES if functions are actually defined as
+   inlines.  */
+
+#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
+
+/* Here goes the real code.  */
+
+#endif
diff --git a/sysdeps/generic/bits/msq.h b/sysdeps/generic/bits/msq.h
new file mode 100644 (file)
index 0000000..37daa9b
--- /dev/null
@@ -0,0 +1,47 @@
+/* Copyright (C) 1995, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SYS_MSG_H
+#error "Never use <bits/msq.h> directly; include <sys/msg.h> instead."
+#endif
+
+
+#include <features.h>
+#include <sys/types.h>
+
+/* Define options for message queue functions.  */
+#define MSG_NOERROR    010000  /* no error if message is too big */
+
+__BEGIN_DECLS
+
+/* Structure of record for one message inside the kernel.
+   The type `struct __msg' is opaque.  */
+struct msqid_ds
+{
+  struct ipc_perm msg_perm;    /* structure describing operation permission */
+  __time_t msg_stime;          /* time of last msgsnd command */
+  __time_t msg_rtime;          /* time of last msgrcv command */
+  __time_t msg_ctime;          /* time of last change */
+  unsigned short int msg_qnum; /* number of messages currently on queue */
+  unsigned short int msg_qbytes;/* max number of bytes allowed on queue */
+  __pid_t msg_lspid;           /* pid of last msgsnd() */
+  __pid_t msg_lrpid;           /* pid of last msgrcv() */
+};
+
+__END_DECLS
diff --git a/sysdeps/generic/bits/nan.h b/sysdeps/generic/bits/nan.h
new file mode 100644 (file)
index 0000000..ab38168
--- /dev/null
@@ -0,0 +1,5 @@
+#ifndef _MATH_H
+#error "Never use <bits/nan.h> directly; include <math.h> instead."
+#endif
+
+/* This file should define `NAN' on machines that have such things.  */
diff --git a/sysdeps/generic/bits/posix_opt.h b/sysdeps/generic/bits/posix_opt.h
new file mode 100644 (file)
index 0000000..54f5a79
--- /dev/null
@@ -0,0 +1,2 @@
+/* This file should define the POSIX options described in <unistd.h>,
+   or leave them undefined, as appropriate.  */
diff --git a/sysdeps/generic/bits/sem.h b/sysdeps/generic/bits/sem.h
new file mode 100644 (file)
index 0000000..1d3e41b
--- /dev/null
@@ -0,0 +1,61 @@
+/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SYS_SEM_H
+#error "Never use <bits/sem.h> directly; include <sys/sem.h> instead."
+#endif
+
+
+#include <features.h>
+#include <sys/types.h>
+
+/* Flags for `semop'.  */
+#define SEM_UNDO       0x1000          /* undo the operation on exit */
+
+/* Commands for `semctl'.  */
+#define GETPID         11              /* get sempid */
+#define GETVAL         12              /* get semval */
+#define GETALL         13              /* get all semval's */
+#define GETNCNT                14              /* get semncnt */
+#define GETZCNT                15              /* get semzcnt */
+#define SETVAL         16              /* set semval */
+#define SETALL         17              /* set all semval's */
+
+
+__BEGIN_DECLS
+
+/* Data structure describing a set of semaphores.  */
+struct semid_ds
+{
+  struct ipc_perm sem_perm;            /* operation permission struct */
+  __time_t sem_otime;                  /* last semop() time */
+  __time_t sem_ctime;                  /* last time changed by semctl() */
+  unsigned short int sem_nsems;                /* number of semaphores in set */
+};
+
+/* Union used for argument for `semctl'.  */
+union semun
+{
+  int val;                             /* value for SETVAL */
+  struct semid_ds *buf;                        /* buffer for IPC_STAT & IPC_SET */
+  unsigned short int *array;           /* array for GETALL & SETALL */
+  struct seminfo *__buf;               /* buffer for IPC_INFO */
+ };
+
+__END_DECLS
diff --git a/sysdeps/generic/bits/setjmp.h b/sysdeps/generic/bits/setjmp.h
new file mode 100644 (file)
index 0000000..6620e5a
--- /dev/null
@@ -0,0 +1,3 @@
+/* Define the machine-dependent type `jmp_buf'.  Stub version.  */
+
+typedef int __jmp_buf[1];
diff --git a/sysdeps/generic/bits/shm.h b/sysdeps/generic/bits/shm.h
new file mode 100644 (file)
index 0000000..b41d0c1
--- /dev/null
@@ -0,0 +1,53 @@
+/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SYS_SHM_H
+#error "Never use <bits/shm.h> directly; include <sys/shm.h> instead."
+#endif
+
+
+#include <features.h>
+#include <sys/types.h>
+
+/* Flags for `shmat'.  */
+#define SHM_RDONLY     010000          /* attach read-only else read-write */
+#define SHM_RND                020000          /* round attach address to SHMLBA */
+#define SHM_REMAP      040000          /* take-over region on attach */
+
+/* Commands for `shmctl'.  */
+#define SHM_LOCK       11              /* lock segment (root only) */
+#define SHM_UNLOCK     12              /* unlock segment (root only) */
+
+
+__BEGIN_DECLS
+
+/* Data structure describing a set of semaphores.  */
+struct shmid_ds
+{
+  struct ipc_perm sem_perm;            /* operation permission struct */
+  int shm_segsz;                       /* size of segment in bytes */
+  __time_t sem_atime;                  /* time of last shmat() */
+  __time_t sem_dtime;                  /* time of last shmdt() */
+  __time_t sem_ctime;                  /* time of last change by shmctl() */
+  __pid_t shm_cpid;                    /* pid of creator */
+  __pid_t shm_lpid;                    /* pid of last shmop */
+  unsigned short int shm_nattch;       /* number of current attaches */
+};
+
+__END_DECLS
diff --git a/sysdeps/generic/bits/sigcontext.h b/sysdeps/generic/bits/sigcontext.h
new file mode 100644 (file)
index 0000000..46e4df8
--- /dev/null
@@ -0,0 +1,29 @@
+/* Structure describing state saved while handling a signal.  Stub version.
+   Copyright (C) 1991, 1994, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* State of this thread when the signal was taken.  */
+struct sigcontext
+  {
+    int sc_onstack;
+    __sigset_t sc_mask;
+
+    /* Registers and such.  */
+  };
+
+/* Signal subcodes should be defined here.  */
diff --git a/sysdeps/generic/bits/signum.h b/sysdeps/generic/bits/signum.h
new file mode 100644 (file)
index 0000000..6b4693f
--- /dev/null
@@ -0,0 +1,53 @@
+/* Copyright (C) 1991, 1993, 1996 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifdef _SIGNAL_H
+
+/* Fake signal functions.  */
+extern void _sig_ign __P ((int sig));
+extern void _sig_dfl __P ((int sig));
+
+#define        SIG_ERR ((__sighandler_t) 0) /* Error return.  */
+#define        SIG_DFL _sig_dfl        /* Default action.  */
+#define        SIG_IGN _sig_ign        /* Ignore signal.  */
+
+
+/* ANSI signals.  */
+#define        SIGABRT 1       /* Abnormal termination.  */
+#define        SIGFPE  2       /* Erroneous arithmetic operation.  */
+#define        SIGILL  3       /* Illegal instruction.  */
+#define        SIGINT  3       /* Interactive attention signal.  */
+#define        SIGSEGV 4       /* Invalid access to storage.  */
+#define        SIGTERM 5       /* Termination request.  */
+
+/* POSIX signals.  */
+#define        SIGHUP  6       /* Hangup.  */
+#define        SIGQUIT 7       /* Quit.  */
+#define        SIGPIPE 8       /* Broken pipe.  */
+#define        SIGKILL 9       /* Kill (cannot be blocked, caught, or ignored).  */
+#define        SIGALRM 10      /* Alarm clock.  */
+#define        SIGSTOP 11      /* Stop (cannot be blocked, caught, or ignored).  */
+#define        SIGTSTP 12      /* Keyboard stop.  */
+#define        SIGCONT 13      /* Continue.  */
+#define        SIGCHLD 14      /* Child terminated or stopped.  */
+#define        SIGTTIN 15      /* Background read from control terminal.  */
+#define        SIGTTOU 16      /* Background write to control terminal.  */
+
+#endif /* <signal.h> included.  */
+
+#define        _NSIG   17
diff --git a/sysdeps/generic/bits/stat.h b/sysdeps/generic/bits/stat.h
new file mode 100644 (file)
index 0000000..dab0cd0
--- /dev/null
@@ -0,0 +1,74 @@
+/* Copyright (C) 1992, 1996 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/*
+ * Never include this file directly; use <sys/stat.h> instead.
+ */
+
+/* This structure needs to be defined in accordance with the
+   implementation of __stat, __fstat, and __lstat.  */
+
+#ifndef        _BITS_STAT_H
+#define        _BITS_STAT_H    1
+
+#include <bits/types.h>
+
+/* Structure describing file characteristics.  */
+struct stat
+  {
+    /* These are the members that POSIX.1 requires.  */
+
+    __mode_t st_mode;          /* File mode.  */
+    __ino_t st_ino;            /* File serial number.  */
+    __dev_t st_dev;            /* Device containing the file.  */
+    __nlink_t st_nlink;                /* Link count.  */
+
+    __uid_t st_uid;            /* User ID of the file's owner.  */
+    __gid_t st_gid;            /* Group ID of the file's group.  */
+    __off_t st_size;           /* Size of file, in bytes.  */
+
+    __time_t st_atime;         /* Time of last access.  */
+    __time_t st_mtime;         /* Time of last modification.  */
+    __time_t st_ctime;         /* Time of last status change.  */
+
+    /* This should be defined if there is a `st_blksize' member.  */
+#undef _STATBUF_ST_BLKSIZE
+  };
+
+/* Encoding of the file mode.  These are the standard Unix values,
+   but POSIX.1 does not specify what values should be used.  */
+
+#define        __S_IFMT        0170000 /* These bits determine file type.  */
+
+/* File types.  */
+#define        __S_IFDIR       0040000 /* Directory.  */
+#define        __S_IFCHR       0020000 /* Character device.  */
+#define        __S_IFBLK       0060000 /* Block device.  */
+#define        __S_IFREG       0100000 /* Regular file.  */
+#define        __S_IFIFO       0010000 /* FIFO.  */
+
+/* Protection bits.  */
+
+#define        __S_ISUID       04000   /* Set user ID on execution.  */
+#define        __S_ISGID       02000   /* Set group ID on execution.  */
+#define        __S_IREAD       0400    /* Read by owner.  */
+#define        __S_IWRITE      0200    /* Write by owner.  */
+#define        __S_IEXEC       0100    /* Execute by owner.  */
+
+
+#endif /* bits/stat.h */
diff --git a/sysdeps/generic/bits/string.h b/sysdeps/generic/bits/string.h
new file mode 100644 (file)
index 0000000..ad68b03
--- /dev/null
@@ -0,0 +1,12 @@
+/* This file should provide inline versions of string functions.
+
+   Surround GCC-specific parts with #ifdef __GNUC__, and use `extern __inline'.
+
+   This file should define __STRING_INLINES if functions are actually defined
+   as inlines.  */
+
+#ifndef _BITS_STRING_H
+#define _BITS_STRING_H 1
+
+
+#endif /* bits/string.h */
diff --git a/sysdeps/generic/bits/time.h b/sysdeps/generic/bits/time.h
new file mode 100644 (file)
index 0000000..e41a991
--- /dev/null
@@ -0,0 +1,44 @@
+/* System-dependent timing definitions.  Stub version.
+   Copyright (C) 1996, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/*
+ * Never include this file directly; use <time.h> instead.
+ */
+
+#ifdef __need_timeval
+# undef __need_timeval
+# ifndef _STRUCT_TIMEVAL
+#  define _STRUCT_TIMEVAL      1
+/* A time value that is accurate to the nearest
+   microsecond but also has a range of years.  */
+struct timeval
+  {
+    time_t tv_sec;             /* Seconds.  */
+    time_t tv_usec;            /* Microseconds.  */
+  };
+# endif        /* struct timeval */
+#endif /* need timeval */
+
+
+#ifndef _BITS_TIME_H
+#define        _BITS_TIME_H    1
+
+#define CLOCKS_PER_SEC 60
+
+#endif /* bits/time.h */
diff --git a/sysdeps/generic/bits/waitflags.h b/sysdeps/generic/bits/waitflags.h
new file mode 100644 (file)
index 0000000..127eb6c
--- /dev/null
@@ -0,0 +1,27 @@
+/* Definitions of flag bits for `waitpid' et al.
+   Copyright (C) 1992, 1996, 1997 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
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#ifndef _SYS_WAIT_H
+#error "Never use <bits/waitflags.h> directly; include <sys/wait.h> instead."
+#endif
+
+
+/* Bits in the third argument to `waitpid'.  */
+#define        WNOHANG         1       /* Don't block waiting.  */
+#define        WUNTRACED       2       /* Report status of stopped children.  */
similarity index 98%
rename from sysdeps/stub/brk.c
rename to sysdeps/generic/brk.c
index 100c4624985bf65336b179adab8a61ad2f875c7d..4db14f759172ee11c3bba3adfc64c5235aa4afc8 100644 (file)
@@ -31,3 +31,4 @@ __brk (addr)
 stub_warning (brk)
 
 weak_alias (__brk, brk)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/chdir.c
rename to sysdeps/generic/chdir.c
index 2ff9c7176d64f8cf09fbd26f6f7e66c2320cfcf9..963885bd5e2acae11005c03da0ea1bffeb6854ed 100644 (file)
@@ -37,3 +37,4 @@ __chdir (path)
 stub_warning (chdir)
 
 weak_alias (__chdir, chdir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/chflags.c
rename to sysdeps/generic/chflags.c
index 267dede2bbc236f3351e8bfc35d50fa1225dc988..bf2a283b20276bea3394902bec0f362331b435b7 100644 (file)
@@ -40,3 +40,4 @@ chflags (file, flags)
 }
 
 stub_warning (chflags)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/chmod.c
rename to sysdeps/generic/chmod.c
index 5906a6fd1b9f7320505564bb6d5933498864a6e8..3e76c939034a24ad4c88a7392fdf4128bcc307a5 100644 (file)
@@ -39,3 +39,4 @@ __chmod (file, mode)
 stub_warning (chmod)
 
 weak_alias (__chmod, chmod)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/chown.c
rename to sysdeps/generic/chown.c
index f92e536f8d2590dc8a736a2a689b00f864e293ea..62753e06d07dd6465a4828fd56ee28d1e80c0021 100644 (file)
@@ -40,3 +40,4 @@ __chown (file, owner, group)
 stub_warning (chown)
 
 weak_alias (__chown, chown)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/chroot.c
rename to sysdeps/generic/chroot.c
index 9c8daae40a524596a8948fb8b5819d11131b20f6..1852c089387cbc67e617143b86d97874faa8db67 100644 (file)
@@ -31,3 +31,4 @@ chroot (path)
 
 
 stub_warning (chroot)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/clock.c
rename to sysdeps/generic/clock.c
index ae9e657ce68b44a8fe3b579985879c8b3dd3eee8..ac0dc46e4fe4b53d9671ec789f07601aa2335cbf 100644 (file)
@@ -29,3 +29,4 @@ clock ()
 }
 
 stub_warning (clock)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/close.c
rename to sysdeps/generic/close.c
index ed9620637bc1f2eaa504710e584a44b16b4d7702..4e78ca12fef3f84f37610bc974ac3f2486e60f6e 100644 (file)
@@ -36,3 +36,4 @@ __close (fd)
 stub_warning (close)
 
 weak_alias (__close, close)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/closedir.c
rename to sysdeps/generic/closedir.c
index 2f0edca05daa6adc6677601d4127d8adf2c2aa0e..77e9a69352c47eca0a4d175c1e0c12ca9bf0f53e 100644 (file)
@@ -32,3 +32,4 @@ __closedir (DIR *dirp)
 weak_alias (__closedir, closedir)
 
 stub_warning (closedir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/connect.c
rename to sysdeps/generic/connect.c
index fb8b50341ace26a985999872023624abe80ffa99..cbea96a61dd3910c31ff012040cb5fcaec00a0a7 100644 (file)
@@ -35,3 +35,4 @@ __connect (fd, addr, len)
 weak_alias (__connect, connect)
 
 stub_warning (connect)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ctermid.c
rename to sysdeps/generic/ctermid.c
index c6e8e5fe091d0b6a203e6cb453bd1f0091a2fbce..589ccfee0e6a235042621f245b4f61ff93782b3e 100644 (file)
@@ -33,3 +33,4 @@ ctermid (s)
 
 
 stub_warning (ctermid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/cuserid.c
rename to sysdeps/generic/cuserid.c
index 3ddce3dcfc8ba39209a24e603b7ab18338e8e207..1d9d17c7b6ee3b3eb4f3d42cc775efaa78767b7f 100644 (file)
@@ -32,3 +32,4 @@ cuserid (s)
 
 
 stub_warning (cuserid)
+#include <stub-tag.h>
similarity index 100%
rename from sysdeps/stub/defs.c
rename to sysdeps/generic/defs.c
similarity index 98%
rename from sysdeps/stub/des_impl.c
rename to sysdeps/generic/des_impl.c
index b6a4a8eb132edac9c661d3e273fef4b3e606be9b..e0a3af9dd96ae8cd7a558488515201a280f2d3d5 100644 (file)
@@ -25,3 +25,4 @@ _des_crypt (char *buf, unsigned len, struct desparams *desp)
 }
 
 stub_warning (_des_crypt)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/dirfd.c
rename to sysdeps/generic/dirfd.c
index 767bc215f8cf2254943a2043094496cd97cf90ff..a3f07a63f93b732afd1ee53490765994d8085d8a 100644 (file)
@@ -30,3 +30,4 @@ dirfd (dirp)
 }
 
 stub_warning (dirfd)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/dup.c
rename to sysdeps/generic/dup.c
index 2f433c610a2e523e6a35c10e3c9ac8670c23f8c8..95fe18bf010f922cce4fa6355aece67545cb0c88 100644 (file)
@@ -31,3 +31,4 @@ __dup (fd)
 stub_warning (dup)
 
 weak_alias (__dup, dup)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/dup2.c
rename to sysdeps/generic/dup2.c
index 88f4fbf6be251621a34ab0db3f006c4e7302cb41..ded80d3e0020a7136b1e9722187ad5bf23cb5cfe 100644 (file)
@@ -44,3 +44,4 @@ __dup2 (fd, fd2)
 stub_warning (dup2)
 
 weak_alias (__dup2, dup2)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_acoshl.c
rename to sysdeps/generic/e_acoshl.c
index 3383c14872fe7aeb8ff649470fa224e9844a705b..2c7e8ca3cd6922204938c234b362e866608c4b60 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_acoshl (long double x)
 }
 
 stub_warning (__ieee754_acoshl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_acosl.c
rename to sysdeps/generic/e_acosl.c
index af1e6261c3f9663aced2a1ee6e59d222c664ed2b..f7ee70d5929d043752cbc6f2aade6ba00f64762f 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_acosl (long double x)
 }
 
 stub_warning (__ieee754_acosl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_asinl.c
rename to sysdeps/generic/e_asinl.c
index ce8c8cdaeaef3bb637285b62a9efd42cc7c90670..271a375fa22958ce17e398ac33a6bd8ecd945f59 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_asinl (long double x)
 }
 
 stub_warning (__ieee754_asinl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_atan2l.c
rename to sysdeps/generic/e_atan2l.c
index 6c500d4c8ad8bd2670afbc52819c6762eca974cc..00d43d95c2b060cd1af0128a26a709d5d7726046 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_atan2l (long double x, long double y)
 }
 
 stub_warning (__ieee754_atan2l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_expl.c
rename to sysdeps/generic/e_expl.c
index 4ea8c795971033a74c561462e9e32660b4214862..9d6a4bd4bda5094594b7941cff1666654dc76cc3 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_expl (long double x)
 }
 
 stub_warning (__ieee754_expl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_fmodl.c
rename to sysdeps/generic/e_fmodl.c
index 25cc114808b9cea3967434f24a4774d095feb2a0..950ba085b5d367b772e0948cde16952254767749 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_fmodl (long double x, long double y)
 }
 
 stub_warning (__ieee754_fmodl)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/e_j0l.c
rename to sysdeps/generic/e_j0l.c
index ecb8a8ed168ff4d68b655029843599236ae9a8ca..1e36bf76ad22135fe69fa818e1eb567b4f16ed7f 100644 (file)
@@ -21,3 +21,4 @@ __ieee754_y0l (long double x)
 }
 
 stub_warning (__ieee754_y0l)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/e_j1l.c
rename to sysdeps/generic/e_j1l.c
index 24655700e3ef8686700857ec855713f520304f59..a1d30e2501e8c4f4580bd92bc3d8b6baf7607842 100644 (file)
@@ -21,3 +21,4 @@ __ieee754_y1l (long double x)
 }
 
 stub_warning (__ieee754_y1l)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/e_jnl.c
rename to sysdeps/generic/e_jnl.c
index 8ced34d4616f040718d7f6eaf04b77acfac11446..78915ec8179b02b39ed8a66da30015c2a9f1751b 100644 (file)
@@ -21,3 +21,4 @@ __ieee754_ynl (int n, long double x)
 }
 
 stub_warning (__ieee754_ynl)
+#include <stub-tag.h>
similarity index 92%
rename from sysdeps/stub/e_lgammal_r.c
rename to sysdeps/generic/e_lgammal_r.c
index d7fbbca4df0fc3a3acfdb4a01b69f3dd091885e1..bba92bb5e23c65f1214b82b6b012327281a1ecfe 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_lgammal_r (long double x, int *signgamp)
 }
 
 stub_warning (__ieee754_lgammal_r)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_log10l.c
rename to sysdeps/generic/e_log10l.c
index a414d04d74f2410ffcfe974e1e0cada732562588..fef310308acbbac7d92abd64cfe6a104797d4002 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_log10l (long double x)
 }
 
 stub_warning (__ieee754_log10l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_logl.c
rename to sysdeps/generic/e_logl.c
index 45248a375aef91de716f54ee62cbe81d0dcc1287..3fe7a48459f836e5db805b961aa5dac9441fc98e 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_logl (long double x)
 }
 
 stub_warning (__ieee754_logl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_powl.c
rename to sysdeps/generic/e_powl.c
index 611dfb583c7274b12e1da0264c458a965bd628f7..96ec53943e9462bc49b91fc2ae77f5172e69d224 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_powl (long double x, long double y)
 }
 
 stub_warning (__ieee754_powl)
+#include <stub-tag.h>
similarity index 92%
rename from sysdeps/stub/e_rem_pio2l.c
rename to sysdeps/generic/e_rem_pio2l.c
index eec7d793bb915047b348eebcf5d3cfb129575644..847f5f98c6810d26470421f9bb496ffec31f4ac1 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_rem_pio2l (long double x, long double *y)
 }
 
 stub_warning (__ieee754_rem_pio2l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/e_sqrtl.c
rename to sysdeps/generic/e_sqrtl.c
index c583a27673316c93e321688b3905c4ef81ef2fd2..d5380809ed85622cd0d9522b6d5908c010bc09b7 100644 (file)
@@ -11,3 +11,4 @@ __ieee754_sqrtl (long double x)
 }
 
 stub_warning (__ieee754_sqrtl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/euidaccess.c
rename to sysdeps/generic/euidaccess.c
index f11c74b8f73c75666f587e0ae08fcf75d3d2120f..825c152beabf2a7cef99ff9ccfbac2fba47e160d 100644 (file)
@@ -37,3 +37,4 @@ __euidaccess (file, type)
 }
 weak_alias (__euidaccess, euidaccess)
 stub_warning (euidaccess)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/execve.c
rename to sysdeps/generic/execve.c
index c57fb92f7c8b1fa32e3323b3a8f05627c2206245..fa708c36b9c98f15067a6de3d0b8889a0f14b070 100644 (file)
@@ -41,3 +41,4 @@ __execve (path, argv, envp)
 stub_warning (execve)
 
 weak_alias (__execve, execve)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fchdir.c
rename to sysdeps/generic/fchdir.c
index b18dcc7986a766e7685e8500358c0d2f958e02b8..9a6a9dc3d83670919fe2a5ca50631ed39e36e743 100644 (file)
@@ -30,3 +30,4 @@ fchdir (fd)
 }
 
 stub_warning (fchdir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fchflags.c
rename to sysdeps/generic/fchflags.c
index 5a477e7d5de662e83ed7ee2619ceaa4b92d7f915..befca38bd6ddbb8103f769a741cea95703e424e7 100644 (file)
@@ -40,3 +40,4 @@ fchflags (fd, flags)
 }
 
 stub_warning (fchflags)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fchmod.c
rename to sysdeps/generic/fchmod.c
index eba768fce746b59142f44d45e9b7e926202d2af8..81b1e4247ea07d976b7eedea9de185844995e715 100644 (file)
@@ -39,3 +39,4 @@ __fchmod (fd, mode)
 stub_warning (fchmod)
 
 weak_alias (__fchmod, fchmod)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fchown.c
rename to sysdeps/generic/fchown.c
index 60b16aab6115ef3c44c27eb362e6428aa2c5e9f2..d504dd4c7c42e7963e89561802eb77594503239d 100644 (file)
@@ -40,3 +40,4 @@ __fchown (fd, owner, group)
 stub_warning (fchown)
 
 weak_alias (__fchown, fchown)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fclrexcpt.c
rename to sysdeps/generic/fclrexcpt.c
index 50373e06a5f94b88b8933684a13c8905feca40e4..c760e54a3edb505c2a486f03df1d13509fb1ad82 100644 (file)
@@ -25,3 +25,4 @@ feclearexcept (int excepts)
 {
 }
 stub_warning (feclearexcept)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fcntl.c
rename to sysdeps/generic/fcntl.c
index 2c63a2d2c0bd2d8c6a13786e49d745125e219aee..718e3267193ee12409163530dae489da7a9f6be2 100644 (file)
@@ -37,3 +37,4 @@ __fcntl (fd, cmd)
 stub_warning (fcntl)
 
 weak_alias (__fcntl, fcntl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fdopen.c
rename to sysdeps/generic/fdopen.c
index 9cb12ea510ad88846f742c620307e71a448e91a4..c7d7f556fa6505fc5d1ca763b1e3694e770db0e4 100644 (file)
@@ -30,3 +30,4 @@ fdopen (fd, mode)
 }
 
 stub_warning (fdopen)
+#include <stub-tag.h>
similarity index 97%
rename from sysdeps/stub/fegetenv.c
rename to sysdeps/generic/fegetenv.c
index 5d10d84abcf6d8a05657175c68a42169480715cc..4afe17a0042001e893eb9a6dd2fae43582ea5a46 100644 (file)
@@ -25,3 +25,4 @@ fegetenv (fenv_t *envp)
 {
 }
 stub_warning (fegetenv)
+#include <stub-tag.h>
similarity index 97%
rename from sysdeps/stub/fegetround.c
rename to sysdeps/generic/fegetround.c
index db673c83aae93910d06783ee6d5906c9009369e5..60b259450b8621e1c960b732b6a5fb65a965b8fb 100644 (file)
@@ -26,3 +26,4 @@ fegetround (void)
   return 0;
 }
 stub_warning (fegetround)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/feholdexcpt.c
rename to sysdeps/generic/feholdexcpt.c
index c52dbcfa5d8bde9df4a0bc50bb642d6e4428c4b5..5cc9b38a28b941b96f12dacc3c22c808a7fc612c 100644 (file)
@@ -26,3 +26,4 @@ feholdexcept (fenv_t *envp)
   return 0;            /* Signal failure.  */
 }
 stub_warning (feholdexcept)
+#include <stub-tag.h>
similarity index 97%
rename from sysdeps/stub/fesetenv.c
rename to sysdeps/generic/fesetenv.c
index 57cad7c093fe1ac6f5966564706016360d8a38d9..91619494c5e11d4cf4efb5488c1be82bec5864d8 100644 (file)
@@ -25,3 +25,4 @@ fesetenv (const fenv_t *envp)
 {
 }
 stub_warning (fesetenv)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fesetround.c
rename to sysdeps/generic/fesetround.c
index ed1d20fa62d815dbb9ad8c0e7565cd87ec9c45bb..cd77a76fcf4952c273f7ff50215606109c69313a 100644 (file)
@@ -26,3 +26,4 @@ fesetround (int round)
   return 0;    /* Signal we are unable to set the direction.  */
 }
 stub_warning (fesetround)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/feupdateenv.c
rename to sysdeps/generic/feupdateenv.c
index 2e9c8fdac09d9626cc00bae12389f95e83d3f213..cc6f59d4ce6edcbd0ec06c30f7c8f06961d10df8 100644 (file)
@@ -25,3 +25,4 @@ feupdateenv (const fenv_t *envp)
 {
 }
 stub_warning (feupdateenv)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fexecve.c
rename to sysdeps/generic/fexecve.c
index eddbe24d9961980725e4de27c95c268a012bd78f..f2ea896cacc2624577249285e4d27aa267eea470 100644 (file)
@@ -40,3 +40,4 @@ fexecve (fd, argv, envp)
 }
 
 stub_warning (fexecve)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fgetexcptflg.c
rename to sysdeps/generic/fgetexcptflg.c
index 18beff4359e23154ec7ba1a27eaa378dddcfb734..94f36f7f21ddb06fd20fc65d9f2fd29abf6fb109 100644 (file)
@@ -25,3 +25,4 @@ fegetexceptflag (fexcept_t *flagp, int excepts)
 {
 }
 stub_warning (fegetexceptflag)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/flock.c
rename to sysdeps/generic/flock.c
index e0701387d432b79dad8a1c48f64ce44e9182f7b2..b096637d2096267d1c45d0defead9c6a41b283d5 100644 (file)
@@ -33,3 +33,4 @@ __flock (fd, operation)
 weak_alias (__flock, flock)
 
 stub_warning (flock)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fork.c
rename to sysdeps/generic/fork.c
index a7f4e5d8259f49d835972142653d4e5f131a1990..06a3235472945354eba7aeabab6ef3f98f48bd54 100644 (file)
@@ -32,3 +32,4 @@ __fork ()
 stub_warning (fork)
 
 weak_alias (__fork, fork)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fpathconf.c
rename to sysdeps/generic/fpathconf.c
index 705f7552eee2960d9984b855d8c58559318b3354..761e5c215c2cf5d2a0672b3f7d47507ea032d9a5 100644 (file)
@@ -59,3 +59,4 @@ __fpathconf (fd, name)
 weak_alias (__fpathconf, fpathconf)
 
 stub_warning (fpathconf)
+#include <stub-tag.h>
similarity index 97%
rename from sysdeps/stub/fraiseexcpt.c
rename to sysdeps/generic/fraiseexcpt.c
index b03192c3d68ec94c1dff68bc05c83da4c73528d5..5f24782652eedfd0498880d333d7a232ddc9e630 100644 (file)
@@ -25,3 +25,4 @@ feraiseexcept (int excepts)
 {
 }
 stub_warning (feraiseexcept)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fsetexcptflg.c
rename to sysdeps/generic/fsetexcptflg.c
index e352244e6fc8aae398c30e55222579e0dccc04e9..b3a6375851d8f63e1267b39102814f396c211fc6 100644 (file)
@@ -25,3 +25,4 @@ fesetexceptflag (const fexcept_t *flagp, int excepts)
 {
 }
 stub_warning (fesetexceptflag)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fstatfs.c
rename to sysdeps/generic/fstatfs.c
index e7c40d800664db311cfe5868ed71b8841812f84c..e716e18b491676dba3832e2623b60c13eaa16811 100644 (file)
@@ -31,3 +31,4 @@ __fstatfs (int fd, struct statfs *buf)
 stub_warning (fstatfs)
 
 weak_alias (__fstatfs, fstatfs)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fstatfs64.c
rename to sysdeps/generic/fstatfs64.c
index b2dba0f38b6a048e4dd483b51bc0011e42773c91..99a2452558b5b612ce9af30228648bf60080fca9 100644 (file)
@@ -29,3 +29,4 @@ fstatfs64 (int fd, struct statfs64 *buf)
   return -1;
 }
 stub_warning (fstatfs64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fsync.c
rename to sysdeps/generic/fsync.c
index d268adc065e26d120578e777f1c56e61ec52d3bf..9177cf88b05639f6b901a7ea9938504cfb0784b6 100644 (file)
@@ -30,3 +30,4 @@ fsync (fd)
 
 
 stub_warning (fsync)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ftestexcept.c
rename to sysdeps/generic/ftestexcept.c
index 7227c21a4888413bfb979b65f63091931a7b29fc..c96479001131fe7f196ca09e8bffe4ea2c28daba 100644 (file)
@@ -26,3 +26,4 @@ fetestexcept (int excepts)
   return 0;
 }
 stub_warning (fetestexcept)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ftruncate.c
rename to sysdeps/generic/ftruncate.c
index c84ed4ab1b1f879a2e861f9551cf53b7e2eb18fd..8e067ac2b8b4edccde8a024108fc71d6f3fee4ee 100644 (file)
@@ -31,3 +31,4 @@ ftruncate (fd, length)
 }
 
 stub_warning (ftruncate)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fxstat.c
rename to sysdeps/generic/fxstat.c
index 0110c5fda0b9c1cbafa75efaa795548ed05789f1..b070b8617912ef324764099f327d62c986eac18a 100644 (file)
@@ -47,3 +47,4 @@ __fxstat (int vers, int fd, struct stat *buf)
 stub_warning (fstat)
 
 weak_alias (__fxstat, _fxstat)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/fxstat64.c
rename to sysdeps/generic/fxstat64.c
index 93ec312d3e6953dc63ab8df687d39a0744f81dae..c8da8a42716e268a48e55439163904a2b8a2949c 100644 (file)
@@ -45,3 +45,4 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
   return -1;
 }
 stub_warning (fstat64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getaddrinfo.c
rename to sysdeps/generic/getaddrinfo.c
index 5b8bb0ea940859a3cbc763cee219e0d7f91d7ea9..c099723b3e69302488485ec5ff7eef5149054f2e 100644 (file)
@@ -36,3 +36,4 @@ freeaddrinfo (struct addrinfo *ai)
   /* Nothing.  */
 }
 stub_warning (freeaddrinfo)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getcwd.c
rename to sysdeps/generic/getcwd.c
index 1ba732e6ecf4e06f54377f8c01d86edc8ffe136e..6df4a08054f4f4c3fa12be8135041ade0ffa3a31 100644 (file)
@@ -37,3 +37,4 @@ weak_alias (__getcwd, getcwd)
 
 stub_warning (__getcwd)
 stub_warning (getcwd)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getdents.c
rename to sysdeps/generic/getdents.c
index 652eda2bc7c83821f19006141c07a48848babd87..06a6c030edf84ddc7b24f44a2d912001f20645e4 100644 (file)
@@ -34,3 +34,4 @@ __getdirentries (fd, buf, nbytes, basep)
 weak_alias (__getdirentries, getdirentries)
 
 stub_warning (getdirentries)
+#include <stub-tag.h>
index ab9cbd4bd092fe3a4005f04506b740a4fba589b1..250aec68e23983093d1e5df61e97928d23613593 100644 (file)
@@ -54,5 +54,6 @@ getdomainname (name, len)
 }
 
 stub_warning (getdomainname)
+#include <stub-tag.h>
 
 #endif
similarity index 98%
rename from sysdeps/stub/getdtsz.c
rename to sysdeps/generic/getdtsz.c
index 41b342fb3e8f4191547230adb86eb8ab40f1adce..a4eb78488f0b63d78f3dc0bc3501f3b092b28f28 100644 (file)
@@ -30,3 +30,4 @@ __getdtablesize ()
 stub_warning (getdtablesize)
 
 weak_alias (__getdtablesize, getdtablesize)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getegid.c
rename to sysdeps/generic/getegid.c
index f817b4c845ff4f7d36c0342524ebe1c77bac6e33..2b9b9032fdbccca0d556d1b680db50ec2dc4579a 100644 (file)
@@ -29,3 +29,4 @@ __getegid ()
 stub_warning (getegid)
 
 weak_alias (__getegid, getegid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/geteuid.c
rename to sysdeps/generic/geteuid.c
index 6858a942ba680b9060a49fe6fd704f16674bfa8c..0a894170125110fd148ee9a3766b8ecaaa2990bf 100644 (file)
@@ -30,3 +30,4 @@ __geteuid ()
 stub_warning (geteuid)
 
 weak_alias (__geteuid, geteuid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getgid.c
rename to sysdeps/generic/getgid.c
index 3d90c3a4407cb0aaa5235761678390ff42eba96a..d87aea1f5cf4c17758925463340cd50e5ded3aa6 100644 (file)
@@ -30,3 +30,4 @@ __getgid ()
 stub_warning (getgid)
 
 weak_alias (__getgid, getgid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getgroups.c
rename to sysdeps/generic/getgroups.c
index 6054bc391fe258dbc665a97c3120f40e5483c22d..ae11496a4caa824a346b0dce85d7eb803fa39f3f 100644 (file)
@@ -45,3 +45,4 @@ stub_warning (getgroups);
 #endif
 
 weak_alias (__getgroups, getgroups)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/gethostid.c
rename to sysdeps/generic/gethostid.c
index 47db79fc6b05567b03667440c3d4de770f13e062..96bb3ea7a78c4ff98aa663e60312dddbbaa133ab 100644 (file)
@@ -29,3 +29,4 @@ gethostid ()
 
 
 stub_warning (gethostid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/gethostname.c
rename to sysdeps/generic/gethostname.c
index 93afd350d0bb827e6308b4c03656782fec15cadd..ad09b008277a42b8e2c8d52ed67c79118566a815 100644 (file)
@@ -33,3 +33,4 @@ __gethostname (name, len)
 stub_warning (gethostname)
 
 weak_alias (__gethostname, gethostname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getitimer.c
rename to sysdeps/generic/getitimer.c
index 2c852e7a5c32190404a86ee223b8606647d5c900..5f4f258c4951445582c93ca38ee50a6fe69cf582 100644 (file)
@@ -39,3 +39,4 @@ __getitimer (which, value)
 stub_warning (getitimer)
 
 weak_alias (__getitimer, getitimer)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getlogin.c
rename to sysdeps/generic/getlogin.c
index 34acbc38a9c52c2489cb49becebec4b0d3149857..248d040d9f1c01af4bae39019a910e99f25708bc 100644 (file)
@@ -30,3 +30,4 @@ getlogin (void)
 }
 
 stub_warning (getlogin)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getlogin_r.c
rename to sysdeps/generic/getlogin_r.c
index 1b6145c12df8212c8e364fcad0b8f63135a4208a..7d40c1a10794d8680bbb5d7588d5b7eced6dacdc 100644 (file)
@@ -33,3 +33,4 @@ getlogin_r (name, name_len)
 }
 
 stub_warning (getlogin_r)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getpagesize.c
rename to sysdeps/generic/getpagesize.c
index 363151be2181323114c5eed9878989b6d00e9842..2289b973d71577f8979d43168d18a396a741455b 100644 (file)
@@ -29,3 +29,4 @@ __getpagesize ()
 stub_warning (getpagesize)
 
 weak_alias (__getpagesize, getpagesize)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getpeername.c
rename to sysdeps/generic/getpeername.c
index 5d513aca1b3bae3607046e40c51bb1c03853d4bb..bd38cb4def7b92c4cf49cfc725d36018c517b72a 100644 (file)
@@ -33,3 +33,4 @@ getpeername (fd, addr, len)
 
 
 stub_warning (getpeername)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getpgid.c
rename to sysdeps/generic/getpgid.c
index 5de37f3e1be04cd5cf20ea6ecf1aa41dd6996c29..7423e118f072bf1b0785841e304f78abf04b7811 100644 (file)
@@ -29,3 +29,4 @@ __getpgid (pid)
 weak_alias (__getpgid, getpgid)
 
 stub_warning (getpgid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getpid.c
rename to sysdeps/generic/getpid.c
index e8baf26f2eb3c26ddb8e7b866ec3fd7f26d1f027..8b2fb9cde753110c5111af2f1d0c5249c4a3784f 100644 (file)
@@ -30,3 +30,4 @@ __getpid ()
 stub_warning (getpid)
 
 weak_alias (__getpid, getpid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getppid.c
rename to sysdeps/generic/getppid.c
index e9e4fff68a8af418ce19f89978717e0e8d714e01..f05b6caf2cf001386120ffe11f6f46b423af6c64 100644 (file)
@@ -30,3 +30,4 @@ __getppid ()
 stub_warning (getppid)
 
 weak_alias (__getppid, getppid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getpriority.c
rename to sysdeps/generic/getpriority.c
index a2dd7cb907d13a20ccc9a690bb2ec9358c19f453..ce9eb59f0d1c6fdcffd1526c9cc2e92c4e226ef0 100644 (file)
@@ -33,3 +33,4 @@ getpriority (which, who)
 }
 
 stub_warning (getpriority)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getrlimit.c
rename to sysdeps/generic/getrlimit.c
index 06f3eb94a45b44ebd716ba28aae2895c931cd1dc..c283f770381f6331e465cbc9d466d4f52907df33 100644 (file)
@@ -30,3 +30,4 @@ __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits)
 weak_alias (__getrlimit, getrlimit)
 
 stub_warning (getrlimit)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getrlimit64.c
rename to sysdeps/generic/getrlimit64.c
index 6f12cad84bfe3ec0f157731e7bae919f0bb78d61..6c581edf728c416b5581a5898af7e5406fdd25d8 100644 (file)
@@ -29,3 +29,4 @@ getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits)
 }
 
 stub_warning (getrlimit64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getrusage.c
rename to sysdeps/generic/getrusage.c
index 1db5d08b86f77d0ba5d4df8ae3f967ecc8badca3..a6f0e67826b902286bcddc0247a535461bbf861e 100644 (file)
@@ -32,3 +32,4 @@ __getrusage (who, usage)
 stub_warning (getrusage)
 
 weak_alias (__getrusage, getrusage)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getsid.c
rename to sysdeps/generic/getsid.c
index 5c65311ce07f05900e7b71abe6cc869fa22de16d..11efbf67a875f40a9fe917efa39dbd947ed2ea1b 100644 (file)
@@ -28,3 +28,4 @@ getsid (pid_t pid)
   return (pid_t) -1;
 }
 stub_warning (getsid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getsockname.c
rename to sysdeps/generic/getsockname.c
index f0d46dbc3c1a495a92ba852f5b392653fd7131e7..37095ff2b5ac3f86f0818df070af525719445e49 100644 (file)
@@ -32,3 +32,4 @@ getsockname (fd, addr, len)
 
 
 stub_warning (getsockname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getsockopt.c
rename to sysdeps/generic/getsockopt.c
index 6f3c866b466a50ca40290ce13126a6f19da73fd7..0b151bd9ecd58272880f54910329aa91354a8a8d 100644 (file)
@@ -35,3 +35,4 @@ getsockopt (fd, level, optname, optval, optlen)
 }
 
 stub_warning (getsockopt)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getsysstats.c
rename to sysdeps/generic/getsysstats.c
index 0b5dfabf1df5b4a0c16d6f4f32c76b7c628ca7d7..d43a86ae5ac668834851522d2e577dbfc32a0bb5 100644 (file)
@@ -66,3 +66,4 @@ __get_avphys_pages ()
 weak_alias (__get_avphys_pages, get_avphys_pages)
 
 stub_warning (get_avphys_pages)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/gettimeofday.c
rename to sysdeps/generic/gettimeofday.c
index de26242eb28d7b4ac44576bd12cb612422c3b939..ff7689d374489f7240918d357f55ce05c032ca52 100644 (file)
@@ -33,3 +33,4 @@ __gettimeofday (tv, tz)
 stub_warning (gettimeofday)
 
 weak_alias (__gettimeofday, gettimeofday)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/getuid.c
rename to sysdeps/generic/getuid.c
index 2afb9678b731e99cd05d29c54f05cd81d03b7978..37afc6f6fc03ae988375ca174209ec5ddcad94b9 100644 (file)
@@ -30,3 +30,4 @@ __getuid ()
 stub_warning (getuid)
 
 weak_alias (__getuid, getuid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/gtty.c
rename to sysdeps/generic/gtty.c
index 8d89c132ca46ab8c70819d364bd3b41124020993..3505b9f7bf98c051a990b76f36ed1ad3ca3963bb 100644 (file)
@@ -37,3 +37,4 @@ gtty (fd, params)
 }
 
 stub_warning (gtty)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/if_index.c
rename to sysdeps/generic/if_index.c
index ca859f75fcf742c84b0f3271544de2ff4b6efeb9..c7022d8b0717c052f3e837f1c7ee97405e3fbb10 100644 (file)
@@ -49,3 +49,4 @@ if_nameindex (void)
   return NULL;
 }
 stub_warning (if_nameindex)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ioctl.c
rename to sysdeps/generic/ioctl.c
index c7e0d31b4f7e7c4414e70ee4c074e4126835ba87..019fb0e0cd07974dbb945a31c430e84342e0c8ce 100644 (file)
@@ -32,3 +32,4 @@ __ioctl (fd, request)
 stub_warning (ioctl)
 
 weak_alias (__ioctl, ioctl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/isatty.c
rename to sysdeps/generic/isatty.c
index f5332f1f8965b9e863ab5cc2725f1e052c9a7390..824d09b3ccf89647f4459aeedae4108e00105eb3 100644 (file)
@@ -31,3 +31,4 @@ __isatty (fd)
 weak_alias (__isatty, isatty)
 
 stub_warning (isatty)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/isfdtype.c
rename to sysdeps/generic/isfdtype.c
index 395a931f5eab9017670de3921b550aa7ac015bf2..0d22a93477878012fc8f79873483673bb372243c 100644 (file)
@@ -28,3 +28,4 @@ isfdtype (int fildes, int fdtype)
   return -1;
 }
 stub_warning (isfdtype)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/k_cosl.c
rename to sysdeps/generic/k_cosl.c
index 10016ab72e3fa5bac5d8def2463bbe7c1585094c..61af3372a1cf86b6b6ac74f1ea1439a042b170ea 100644 (file)
@@ -11,3 +11,4 @@ __kernel_cosl (long double x, long double y)
 }
 
 stub_warning (__kernel_cosl)
+#include <stub-tag.h>
similarity index 93%
rename from sysdeps/stub/k_rem_pio2l.c
rename to sysdeps/generic/k_rem_pio2l.c
index 01bf1582493d76b605d39fe276eb6439a1ed7ee7..236eb30dd909aa6d1dda4548caab960807e585cf 100644 (file)
@@ -13,3 +13,4 @@ __kernel_rem_pio2l (long double *x, long double *y, int e0, int nx, int prec,
 }
 
 stub_warning (__kernel_rem_pio2l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/k_sinl.c
rename to sysdeps/generic/k_sinl.c
index 40cf22a59602a2d18d369638441d11177647c4aa..07dddcecb223c823552162a18672a9699a794753 100644 (file)
@@ -11,3 +11,4 @@ __kernel_sinl (long double x, long double y)
 }
 
 stub_warning (__kernel_sinl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/k_tanl.c
rename to sysdeps/generic/k_tanl.c
index 95ffc23bd953f0b065f322b77ed980b6e4962c52..1504a1cd901cb4628350de137954231f64da54bd 100644 (file)
@@ -11,3 +11,4 @@ __kernel_tanl (long double x, long double y, int iy)
 }
 
 stub_warning (__kernel_tanl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/kill.c
rename to sysdeps/generic/kill.c
index 9993d195e2a04c31f0eeabb4ae7213a0a851bf3a..0d035d4bb6954cea388c805ec7afc3bec7d789ea 100644 (file)
@@ -34,3 +34,4 @@ __kill (pid, sig)
 stub_warning (kill)
 
 weak_alias (__kill, kill)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/killpg.c
rename to sysdeps/generic/killpg.c
index 91a62eed478ddc59628047c110962d3310892e8a..b9c8b8c26e3e901d0d141fafc036b07ebb71c73d 100644 (file)
@@ -33,3 +33,4 @@ killpg (pgrp, sig)
 }
 
 stub_warning (killpg)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/lchown.c
rename to sysdeps/generic/lchown.c
index f3aa2a1425fd726e1b27e9078ba97f9fec41bc7e..e428798c301c8b4ee54343314983ea4019e9fe93 100644 (file)
@@ -40,3 +40,4 @@ __lchown (file, owner, group)
 stub_warning (lchown)
 
 weak_alias (__lchown, lchown)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/link.c
rename to sysdeps/generic/link.c
index 213dcdfadcba901c7c8ef73ee8b260670df5d34c..6d55a749b347759c5a75856694a5243f8cf84817 100644 (file)
@@ -39,3 +39,4 @@ __link (from, to)
 stub_warning (link)
 
 weak_alias (__link, link)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/listen.c
rename to sysdeps/generic/listen.c
index 85fa895596df5d12198a089635c0db0671847d43..3d557136cf508f4bcc1741bb631d7d1af3c18d9e 100644 (file)
@@ -33,3 +33,4 @@ listen (fd, n)
 
 
 stub_warning (listen)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/lseek.c
rename to sysdeps/generic/lseek.c
index 7d9e0964f8b39b005d7f435100e7a81ecf18243a..879b05a1c4bebb1e0dcdc429c0e2fdbe1167ba88 100644 (file)
@@ -49,3 +49,4 @@ __lseek (fd, offset, whence)
 stub_warning (lseek)
 
 weak_alias (__lseek, lseek)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/lseek64.c
rename to sysdeps/generic/lseek64.c
index 71d58ba1a63f0579939803da8d3403c1539a6943..a2ffe2e0bd47a8ae1aab09ca7470e625716e9b3b 100644 (file)
@@ -47,3 +47,4 @@ lseek64 (fd, offset, whence)
   return -1;
 }
 stub_warning (lseek64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/lxstat64.c
rename to sysdeps/generic/lxstat64.c
index 78e0b82bde201b40e355ffd71c3237b238e47a73..7916fdca050f18f7251bf4bcce800fefd8fd19cd 100644 (file)
@@ -35,3 +35,4 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
   return -1;
 }
 stub_warning (lstat64)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/madvise.c
rename to sysdeps/generic/madvise.c
index 244be3f3b9939bc0ac278418bfd58f7a473cb2c0..5431bda111507b17e887c34c30c068d10d4fcb58 100644 (file)
    for the region starting at ADDR and extending LEN bytes.  */
 
 int
-madvise (caddr_t addr, size_t len, int advice)
+madvise (__ptr_t addr, size_t len, int advice)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
 stub_warning (madvise)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/mkdir.c
rename to sysdeps/generic/mkdir.c
index 9a6cac52dbd3d1994367d9203d0e20bdc19a0d60..fe6c7194277d8b461c76b492298db534708dc560 100644 (file)
@@ -40,3 +40,4 @@ __mkdir (path, mode)
 stub_warning (mkdir)
 
 weak_alias (__mkdir, mkdir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/mkfifo.c
rename to sysdeps/generic/mkfifo.c
index 5404b3b3ce0de8d9f181dcdbcdba25f7c3163deb..9163680bc9b2992fa8e06e9c75bcb48b05a39c3d 100644 (file)
@@ -40,3 +40,4 @@ mkfifo (path, mode)
 
 
 stub_warning (mkfifo)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/mkstemp.c
rename to sysdeps/generic/mkstemp.c
index ec78145eadeb7fb40e289e7b72abf09d27ee477e..c84e8eb4c2e8feafc5b9fecb15b5b55e3f71e2fe 100644 (file)
@@ -39,3 +39,4 @@ mkstemp (template)
 }
 
 stub_warning (mkstemp)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/mktemp.c
rename to sysdeps/generic/mktemp.c
index 7780140a7a47cc1cf12a0594c3fbced718cc72d7..7d53f01c049dc095330c291123788ac4d1f620b2 100644 (file)
@@ -38,3 +38,4 @@ mktemp (template)
 }
 
 stub_warning (mktemp)
+#include <stub-tag.h>
similarity index 89%
rename from sysdeps/stub/mmap.c
rename to sysdeps/generic/mmap.c
index 02fb8d780d663657432b1481da952a835db11e39..fc43c0b09d64a0203a1ab711d16721fb48bbff23 100644 (file)
    is nonzero, it is the desired mapping address.  If the MAP_FIXED bit is
    set in FLAGS, the mapping will be at ADDR exactly (which must be
    page-aligned); otherwise the system chooses a convenient nearby address.
-   The return value is the actual mapping address chosen or (caddr_t) -1
+   The return value is the actual mapping address chosen or MAP_FAILED
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
 {
   __set_errno (ENOSYS);
-  return (caddr_t) -1;
+  return MAP_FAILED;
 }
 
 stub_warning (mmap)
+#include <stub-tag.h>
 weak_alias (__mmap, mmap)
similarity index 94%
rename from sysdeps/stub/mprotect.c
rename to sysdeps/generic/mprotect.c
index 262fa850d4f1c2dac7e00bfd4b6d24ae4fb5aa9f..d9252fe903d38024ba1291716da7d357bfe16d37 100644 (file)
@@ -25,7 +25,7 @@
    (and sets errno).  */
 
 int
-__mprotect (caddr_t addr, size_t len, int prot)
+__mprotect (__ptr_t addr, size_t len, int prot)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -33,3 +33,4 @@ __mprotect (caddr_t addr, size_t len, int prot)
 weak_alias (__mprotect, mprotect)
 
 stub_warning (mprotect)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/msgctl.c
rename to sysdeps/generic/msgctl.c
index 889a1efdcb1bb85066d5df5a1bc7a265ad2c6ab4..8a973397f47b47e355f7162ab382afcbdb43d3d8 100644 (file)
@@ -34,3 +34,4 @@ msgctl (msqid, cmd, buf)
 }
 
 stub_warning (msgctl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/msgget.c
rename to sysdeps/generic/msgget.c
index 17f649e89dac447cd1f78d46fd785ea6e855eb73..c00804d37d1059529a0876380cc26f7e8289e445 100644 (file)
@@ -33,3 +33,4 @@ msgget (key, msgflg)
 }
 
 stub_warning (msgget)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/msgrcv.c
rename to sysdeps/generic/msgrcv.c
index 201c2cf4d5f342cc5c0d7defc9351ca90db2c2d5..e233b6d0417d1f149a1ae935639c043494831a69 100644 (file)
@@ -39,3 +39,4 @@ msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
 }
 
 stub_warning (msgrcv)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/msgsnd.c
rename to sysdeps/generic/msgsnd.c
index c7fffd79502b234a2e7c2c0739d1b5bcbe35ea57..993895290b7adb1c22cc458612044b59107176ac 100644 (file)
@@ -38,3 +38,4 @@ msgsnd (msqid, msgp, msgsz, msgflg)
 }
 
 stub_warning (msgsnd)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/msync.c
rename to sysdeps/generic/msync.c
index c8cbe430a5d1d6ad84982b46e698174c60a416c5..d1cb2d7c6d5d19445a2821dd04800efd57a00c5b 100644 (file)
    unpredictable before this is done.  */
 
 int
-msync (caddr_t addr, size_t len, int flags)
+msync (__ptr_t addr, size_t len, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
 stub_warning (msync)
+#include <stub-tag.h>
similarity index 95%
rename from sysdeps/stub/munmap.c
rename to sysdeps/generic/munmap.c
index 4802a58f7f08d85e4f6340ebfb414a77cceb921d..9c2217bb6d031e3378f51922ad9f1f91974d304e 100644 (file)
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
 
 int
-__munmap (caddr_t addr, size_t len)
+__munmap (__ptr_t addr, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
 stub_warning (munmap)
+#include <stub-tag.h>
 weak_alias (__munmap, munmap)
similarity index 98%
rename from sysdeps/stub/nanosleep.c
rename to sysdeps/generic/nanosleep.c
index 0fcbb0d4028fc9f3ba5e4ef322210275c2a92330..1f9704e2d926970d2003f384fe44ed0edd21737c 100644 (file)
@@ -32,3 +32,4 @@ stub_warning (nanosleep)
 
 weak_alias (__libc_nanosleep, __nanosleep)
 weak_alias (__libc_nanosleep, nanosleep)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/nice.c
rename to sysdeps/generic/nice.c
index 1e2e6a2a104e883d0d8e6c8af4cbf26081f84c5c..f58b8c4f5226ca794b1c000cc50ccadad245145a 100644 (file)
@@ -30,3 +30,4 @@ nice (incr)
 }
 
 stub_warning (nice)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/nlist.c
rename to sysdeps/generic/nlist.c
index 006c902454011b75a528e877d74838ce817f4eaf..5d7a08e24cab357e07075691b98961d8d0fe84b8 100644 (file)
@@ -40,3 +40,4 @@ nlist (file, nl)
 
 
 stub_warning (nlist)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/open.c
rename to sysdeps/generic/open.c
index 6b3800896bb09cbc766c6f5962a5971ac1de766f..cd7b0e051cbe1af05acc3a9898698c00deecccbb 100644 (file)
@@ -50,3 +50,4 @@ __open (file, oflag)
 stub_warning (open)
 
 weak_alias (__open, open)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/open64.c
rename to sysdeps/generic/open64.c
index c020d887bd22d381f422601e7c17ad6d1a5b1988..16e19730f4949b8f899655649791c38c46b6f844 100644 (file)
@@ -50,3 +50,4 @@ __open64 (file, oflag)
 weak_alias (__open64, open64)
 
 stub_warning (open64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/opendir.c
rename to sysdeps/generic/opendir.c
index fd8ad5029c9c20c28f9fe259c74f6c02ea853634..6b7f14e9f8812a42fc32915f81bdbb4a81ad324e 100644 (file)
@@ -31,3 +31,4 @@ __opendir (const char *name)
 weak_alias (__opendir, opendir)
 
 stub_warning (opendir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pathconf.c
rename to sysdeps/generic/pathconf.c
index 4b0c94946d91cadbcf1a9b043e691055b7f5e840..b3c2c88a4bb14ec57c375ea7abde545a4ef097b9 100644 (file)
@@ -38,3 +38,4 @@ __pathconf (path, name)
 weak_alias (__pathconf, pathconf)
 
 stub_warning (pathconf)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pause.c
rename to sysdeps/generic/pause.c
index 22664e6c3b441c0541923b05ac9728fd08368298..18742e810188bee70073e53f133a15e3f0742880 100644 (file)
@@ -31,3 +31,4 @@ pause ()
 }
 
 stub_warning (pause)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pipe.c
rename to sysdeps/generic/pipe.c
index b566a19560e0465e93e2fca1a8fb1e424f5081ac..26cf5230d427dccba40087e4655702f53acf6258 100644 (file)
@@ -40,3 +40,4 @@ __pipe (__pipedes)
 stub_warning (pipe)
 
 weak_alias (__pipe, pipe)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pipestream.c
rename to sysdeps/generic/pipestream.c
index c8ab70e9164029a3decd9fe070383d5609a8e9f5..eead474f7446cbc2197c58e28c7a6f8ca079c1e3 100644 (file)
@@ -57,3 +57,4 @@ pclose (stream)
 
 stub_warning (popen)
 stub_warning (pclose)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/poll.c
rename to sysdeps/generic/poll.c
index 509ebf8a24676b73c7325eb465d96e01081548bf..f3d678e40d991b27db2a3484f131c4f77c6d8b86 100644 (file)
@@ -36,3 +36,4 @@ poll (fds, nfds, timeout)
 }
 
 stub_warning (poll)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pread.c
rename to sysdeps/generic/pread.c
index 8d937c76c5ae9ab7d6da099a905802740fc9a28b..5fdaf7b4afa321d258cf0bb4fe8bcf3df337f7d2 100644 (file)
@@ -41,3 +41,4 @@ pread (int fd, void *buf, size_t nbytes, off_t offset)
   return -1;
 }
 stub_warning (pread)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pread64.c
rename to sysdeps/generic/pread64.c
index 42236465764ac0d6f4e72c9d3dbe4b3133186503..fdf622250b54619191fa1172d8a27587bd55f7f6 100644 (file)
@@ -41,3 +41,4 @@ pread64 (int fd, void *buf, size_t nbytes, off64_t offset)
   return -1;
 }
 stub_warning (pread64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/profil.c
rename to sysdeps/generic/profil.c
index 9613108e3a8c0b15474377460f2c1ff675f54842..b70e20afd7b17352dd3c9ec30add744db6f33bac 100644 (file)
@@ -39,3 +39,4 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
 }
 weak_alias (__profil, profil)
 stub_warning (profil)
+#include <stub-tag.h>
similarity index 99%
rename from sysdeps/stub/ptrace.c
rename to sysdeps/generic/ptrace.c
index 2a0ba4c858b254c20146c805c9cfd53a4b14a910..5ab62bccef612d92c5b63618f089f788252f71d1 100644 (file)
@@ -100,3 +100,4 @@ ptrace (request)
 
 
 stub_warning (ptrace)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pwrite.c
rename to sysdeps/generic/pwrite.c
index ee670d9670a460cc4dcd5802826050fcc5aae87c..48a1dc60892d3d990f6cdfcf816c6d235c68110b 100644 (file)
@@ -41,3 +41,4 @@ pwrite (int fd, const void *buf, size_t nbytes, off_t offset)
   return -1;
 }
 stub_warning (pwrite)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/pwrite64.c
rename to sysdeps/generic/pwrite64.c
index c8c77a1880f9351eece27e098973f1ade21e85d5..df229f877f6fd0296efac8a18b23dd1ed0abf088 100644 (file)
@@ -41,3 +41,4 @@ pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset)
   return -1;
 }
 stub_warning (pwrite64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/raise.c
rename to sysdeps/generic/raise.c
index 97fd5fe931be45bf20b81c70e741bdd191af6498..9b698fd98490a0b472b8977282fc529e6842d457 100644 (file)
@@ -32,3 +32,4 @@ weak_alias (raise, gsignal)
 
 stub_warning (raise)
 stub_warning (gsignal)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/read.c
rename to sysdeps/generic/read.c
index b231a18ca120f47fe1f3df5c66fce883b9796972..57015150fa9e3fa3a648fcf6abe4a4ee04327688 100644 (file)
@@ -44,3 +44,4 @@ stub_warning (read)
 
 weak_alias (__libc_read, __read)
 weak_alias (__libc_read, read)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readdir.c
rename to sysdeps/generic/readdir.c
index 0f003c6c4c80dc985fae77b1985f334f87a1f29a..94e837f2d36bda761f15d4a865f70141fee34689 100644 (file)
@@ -30,3 +30,4 @@ __readdir (DIR *dirp)
 weak_alias (__readdir, readdir)
 
 stub_warning (readdir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readdir64.c
rename to sysdeps/generic/readdir64.c
index fbf4bf4d540fad0c3fba192f81fa074f1cd84d0e..ce84340c8eaf293969e7bd58e735a92314788ab1 100644 (file)
@@ -28,3 +28,4 @@ readdir64 (DIR *dirp)
   return NULL;
 }
 stub_warning (readdir64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readdir64_r.c
rename to sysdeps/generic/readdir64_r.c
index cb143cb40c5120c986b76de8cb789ecf6dc6c6ff..787bdcee9ff0a7502b234cbc71df853632243dbe 100644 (file)
@@ -30,3 +30,4 @@ readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
   return -1;
 }
 stub_warning (readdir64_r)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readdir_r.c
rename to sysdeps/generic/readdir_r.c
index 422e5a0566f7d62aca9ade8eea458ac3087f0a80..ae14d18160e800c1974fa2225c770692d29c1f36 100644 (file)
@@ -32,3 +32,4 @@ __readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result)
 weak_alias (__readdir_r, readdir_r)
 
 stub_warning (readdir_r)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readlink.c
rename to sysdeps/generic/readlink.c
index 2319f84dff11c9acc73e2b436907949b40b785f3..90d9beba60ee05d4d1b663a0cc091787442fa50f 100644 (file)
@@ -34,3 +34,4 @@ __readlink (path, buf, len)
 stub_warning (readlink)
 
 weak_alias (__readlink, readlink)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/readv.c
rename to sysdeps/generic/readv.c
index 8dd22d964942a551e22f8fcb5f4854cd82272ab8..b210d5355255abdbefc179cf8b4cd125d9875c3c 100644 (file)
@@ -37,3 +37,4 @@ __readv (fd, vector, count)
 weak_alias (__readv, readv)
 
 stub_warning (readv)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/reboot.c
rename to sysdeps/generic/reboot.c
index 8139aee83f815924f363a0e79df5d4a2f27f5f7f..c1bce46738bb9b2aeb7bc7b72e3c49587925fe60 100644 (file)
@@ -31,3 +31,4 @@ reboot (howto)
 
 
 stub_warning (reboot)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/recv.c
rename to sysdeps/generic/recv.c
index 3a9fdce3eceb5735533474dfa3c67e0e49ec1f70..e59e341b21fe2dab4e35defd362e68125cf2cafb 100644 (file)
@@ -34,3 +34,4 @@ recv (fd, buf, n, flags)
 
 
 stub_warning (recv)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/recvfrom.c
rename to sysdeps/generic/recvfrom.c
index 931bdbb1b5d104ec605a251f2daba9f44ed62319..35b281a2a127095fb029bfbd8a8a2a1b610e545d 100644 (file)
@@ -36,3 +36,4 @@ recvfrom (fd, buf, n, flags, addr, addr_len)
 }
 
 stub_warning (recvfrom)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/recvmsg.c
rename to sysdeps/generic/recvmsg.c
index 6e2ca69f8a559397d44bcfe56c27506022b5991c..625e85aae99ac63c48902d23dd9ae5c022619a7d 100644 (file)
@@ -32,3 +32,4 @@ recvmsg (fd, message, flags)
 }
 
 stub_warning (recvmsg)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/remove.c
rename to sysdeps/generic/remove.c
index df2d3ad33f05f09db37b058d54bbca3acdaaa049..ae9251d7f6c85c7d95386333562d8ebb1743a794 100644 (file)
@@ -29,3 +29,4 @@ remove (file)
 }
 
 stub_warning (remove)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/rename.c
rename to sysdeps/generic/rename.c
index 29e14401c2f8a4be527e56ca7143298106128315..887a04612208fae9b69ca73dd67669371faa95e5 100644 (file)
@@ -38,3 +38,4 @@ rename (old, new)
 
 
 stub_warning (rename)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/revoke.c
rename to sysdeps/generic/revoke.c
index cca051409b040ae1f0edc48c0f9e06e32e21d6f8..5c7a6080894c3aa2ec7bd3ffe21cd546791e2a9b 100644 (file)
@@ -28,3 +28,4 @@ revoke (file)
   return -1;
 }
 stub_warning (revoke)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/rewinddir.c
rename to sysdeps/generic/rewinddir.c
index 4aa5a31569dfb9595b3b1863cf6e2ce7ea68b627..bea002135c790a3891fff6ac6e738e909833ae33 100644 (file)
@@ -32,3 +32,4 @@ rewinddir (dirp)
 
 
 stub_warning (rewinddir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/rmdir.c
rename to sysdeps/generic/rmdir.c
index 8b705adaadc0b769d49dcefdf0d85fda41785680..0ea404f860b32e943071e81a372575908bde57ce 100644 (file)
@@ -38,3 +38,4 @@ __rmdir (path)
 stub_warning (rmdir)
 
 weak_alias (__rmdir, rmdir)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/s_atanl.c
rename to sysdeps/generic/s_atanl.c
index 2957d702d5552d17ac4c3dfbf33da08d787dce6c..d9a7eb6f8f3798386940a058ac27dd6c7488e204 100644 (file)
@@ -12,3 +12,4 @@ __atanl (long double x)
 weak_alias (__atanl, atanl)
 
 stub_warning (atanl)
+#include <stub-tag.h>
similarity index 94%
rename from sysdeps/stub/s_erfl.c
rename to sysdeps/generic/s_erfl.c
index 7ae25d625246f0bcbaf7e803c07e1bdc4de5348b..f329d58809ddf01730940c45a268c42396678c19 100644 (file)
@@ -23,3 +23,4 @@ __erfcl (long double x)
 weak_alias (__erfcl, erfcl)
 
 stub_warning (erfcl)
+#include <stub-tag.h>
similarity index 90%
rename from sysdeps/stub/s_exp2.c
rename to sysdeps/generic/s_exp2.c
index 5adda4107abfa7e6264d82e61d818dcb2d74c0bd..4e25d381302e32e13f17ad2a8fbd81b35bd8f3b7 100644 (file)
@@ -12,3 +12,4 @@ __exp2 (double x)
 weak_alias (__exp2, exp2)
 
 stub_warning (exp2)
+#include <stub-tag.h>
similarity index 90%
rename from sysdeps/stub/s_exp2f.c
rename to sysdeps/generic/s_exp2f.c
index f763efbe692a2ad433b38ec54b0a28b53a55f738..7928a4ce3d2662657db29debfc5fc57a481e7f41 100644 (file)
@@ -12,3 +12,4 @@ __exp2f (float x)
 weak_alias (__exp2f, exp2f)
 
 stub_warning (exp2f)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/s_exp2l.c
rename to sysdeps/generic/s_exp2l.c
index cab2cb2a6932e69c097d89df55f34b6cd4526f63..46ecc4eae3c3b498b1c7794adbfccbc0191266e0 100644 (file)
@@ -12,3 +12,4 @@ __exp2l (long double x)
 weak_alias (__exp2l, exp2l)
 
 stub_warning (exp2l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/s_expm1l.c
rename to sysdeps/generic/s_expm1l.c
index 38798812ff2d80800aa45c34b06c21f47dc52021..d49c68a1f8c043e1137fc7d823ff3db6ed19f283 100644 (file)
@@ -12,3 +12,4 @@ __expm1l (long double x)
 weak_alias (__expm1l, expm1l)
 
 stub_warning (expm1l)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/s_log1pl.c
rename to sysdeps/generic/s_log1pl.c
index 9e51ce2d437b16afe344de85bd30528a4801f9c4..e5db9078bfcf0cb78274a0b22da610ce34624119 100644 (file)
@@ -12,3 +12,4 @@ __log1pl (long double x)
 weak_alias (__log1pl, log1pl)
 
 stub_warning (log1pl)
+#include <stub-tag.h>
similarity index 91%
rename from sysdeps/stub/s_log2l.c
rename to sysdeps/generic/s_log2l.c
index cc09569422b4b0088899920028ba55650e1032fd..835cd4fed2a1779bdf495e0dc89f2332812d81ab 100644 (file)
@@ -12,3 +12,4 @@ __log2l (long double x)
 weak_alias (__log2l, log2l)
 
 stub_warning (log2l)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_getp.c
rename to sysdeps/generic/sched_getp.c
index 1c87780e5bffcd651102746d8a783a8c5a76e208..f599f6459bb96e73861ea0887d29aa8f47f2efdc 100644 (file)
@@ -31,3 +31,4 @@ __sched_getparam (pid_t pid, struct sched_param *param)
 stub_warning (sched_getparam)
 
 weak_alias (__sched_getparam, sched_getparam)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_gets.c
rename to sysdeps/generic/sched_gets.c
index 78886e08d41cf4b0c9408a55cc3338a7d4ca3b20..a10755fee5c8d3569b3d05ca21ecdbb3a9063bf4 100644 (file)
@@ -31,3 +31,4 @@ __sched_getscheduler (pid_t pid)
 stub_warning (sched_getscheduler)
 
 weak_alias (__sched_getscheduler, sched_getscheduler)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_primax.c
rename to sysdeps/generic/sched_primax.c
index f43969822be24280f85ae4625e95a2ed68cab6d9..e7823699a37f3c65459e5a6f31ce18f350ffbff9 100644 (file)
@@ -30,3 +30,4 @@ __sched_get_priority_max (int algorithm)
 stub_warning (sched_get_priority_max)
 
 weak_alias (__sched_get_priority_max, sched_get_priority_max)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_primin.c
rename to sysdeps/generic/sched_primin.c
index 527e659326a63ee0f6055fa94710e58e5b927b2f..3d1aa13848657d95b4775451f75e11340d01e171 100644 (file)
@@ -30,3 +30,4 @@ __sched_get_priority_min (int algorithm)
 stub_warning (sched_get_priority_min)
 
 weak_alias (__sched_get_priority_min, sched_get_priority_min)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_rr_gi.c
rename to sysdeps/generic/sched_rr_gi.c
index 11197eefc346e4f04eeb299693ad418b018bd1e8..9fac72b3493c3470bea7e4dc7577bf3b90908500 100644 (file)
@@ -31,3 +31,4 @@ __sched_rr_get_interval (pid_t pid, struct timespec *t)
 stub_warning (sched_rr_get_interval)
 
 weak_alias (__sched_rr_get_interval, sched_rr_get_interval)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_setp.c
rename to sysdeps/generic/sched_setp.c
index d257a0e6e8ea28346ceb705277c4785accbbb0e7..fea7c2ec36fc9e99bab751a78154b2f331574fe3 100644 (file)
@@ -31,3 +31,4 @@ __sched_setparam (pid_t pid, const struct sched_param *param)
 stub_warning (sched_setparam)
 
 weak_alias (__sched_setparam, sched_setparam)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_sets.c
rename to sysdeps/generic/sched_sets.c
index c842b2c8a17a5086af905c5143eeb000d024608d..7de95168e2ca8174fb6dbbced01acbd8b51b51f0 100644 (file)
@@ -31,3 +31,4 @@ __sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
 stub_warning (sched_setscheduler)
 
 weak_alias (__sched_setscheduler, sched_setscheduler)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sched_yield.c
rename to sysdeps/generic/sched_yield.c
index d9e02da2337bfa2ac6273d73b6790c46cc8d2496..76190735f7e7eff73941ba5d2e439311011a4a58 100644 (file)
@@ -30,3 +30,4 @@ __sched_yield (void)
 stub_warning (sched_yield)
 
 weak_alias (__sched_yield, sched_yield)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/seekdir.c
rename to sysdeps/generic/seekdir.c
index 90bce7072af6c773515cc614ed1db39e8d552717..c12d3af3c008afdf043e420669b6c3e06e7b7c90 100644 (file)
@@ -38,3 +38,4 @@ seekdir (dirp, pos)
 
 
 stub_warning (seekdir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/select.c
rename to sysdeps/generic/select.c
index 82370209da40f5d1348b81e7552413e5c798fd21..99fe6d7e2e263b8f73fa8126154101e278726260 100644 (file)
@@ -39,3 +39,4 @@ __select (nfds, readfds, writefds, exceptfds, timeout)
 stub_warning (select)
 
 weak_alias (__select, select)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/semctl.c
rename to sysdeps/generic/semctl.c
index 3da97eb3edd9a944b6ab8f6aa8161f2e83eb82d4..297c26bb8a2ded0e440c57270d20749138bb18f4 100644 (file)
@@ -35,3 +35,4 @@ semctl (semid, semnum, cmd, arg)
 }
 
 stub_warning (semctl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/semget.c
rename to sysdeps/generic/semget.c
index 3c82e6f266a6bdb0986e10c8b8894a951349a32a..2e21bc9ac087cea52c872b5af8be4e4307fd9160 100644 (file)
@@ -34,3 +34,4 @@ semget (key, nsems, semflg)
 }
 
 stub_warning (semget)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/semop.c
rename to sysdeps/generic/semop.c
index 81aaac3a7e35a3dc3c583b555fd7e9ca43f3bdfd..64f595145166b755546c271db818188791cb813d 100644 (file)
@@ -33,3 +33,4 @@ semop (semid, sops, nsops)
 }
 
 stub_warning (semop)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/send.c
rename to sysdeps/generic/send.c
index a25eb7282274d6acdc84a0c08aa0bb47346a656f..0ef82948ea6280a7a9325885bda5edd232d40c4c 100644 (file)
@@ -34,3 +34,4 @@ weak_alias (__send, send)
 
 
 stub_warning (send)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sendmsg.c
rename to sysdeps/generic/sendmsg.c
index fac260c256c016771893fe8218cd5038bf506095..20d8bd6f67957125d970ea1958e78fdfca97819d 100644 (file)
@@ -32,3 +32,4 @@ sendmsg (fd, message, flags)
 }
 
 stub_warning (sendmsg)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sendto.c
rename to sysdeps/generic/sendto.c
index 47dad95dbdc21a1e4b64cacc446da24f574714b6..f9b3c87f6874143a0d1b33bd12faebe21befb3d2 100644 (file)
@@ -35,3 +35,4 @@ sendto (fd, buf, n, flags, addr, addr_len)
 }
 
 stub_warning (sendto)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setdomain.c
rename to sysdeps/generic/setdomain.c
index 718905a8567e850627328cc70f897dccc47205d5..7308d5ddb406e65593460846a5a3cb281ef3f2a5 100644 (file)
@@ -31,3 +31,4 @@ setdomainname (name, len)
 }
 
 stub_warning (setdomainname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setegid.c
rename to sysdeps/generic/setegid.c
index 8159a1833336bd2cd93586cb3afe902e43b8be94..d34d22208940c255add6165df392f9349a141e9a 100644 (file)
@@ -30,3 +30,4 @@ setegid (gid)
 
 
 stub_warning (setegid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/seteuid.c
rename to sysdeps/generic/seteuid.c
index 6254a20a33cc88527481211f6803f13d3be33032..9233828b972c7e4f31ccbad67c446493fab190ec 100644 (file)
@@ -30,3 +30,4 @@ seteuid (uid)
 
 
 stub_warning (seteuid)
+#include <stub-tag.h>
index f7f61f6fcf4fa414d42a01e502f0db7a7674611d..ba91a7671550eeaa1fa1d68f046d2a29704e7b58 100644 (file)
@@ -17,7 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include "fpu_control.h"
+#include <fpu_control.h>
 
 void
 __setfpucw (fpu_control_t set)
similarity index 98%
rename from sysdeps/stub/setgid.c
rename to sysdeps/generic/setgid.c
index 3577cefe68b8a65415881601e57c7b32172f7b9d..7b71ce77c250cb0868e5fbc27fed4101c44b2db0 100644 (file)
@@ -34,3 +34,4 @@ __setgid (gid)
 stub_warning (setgid)
 
 weak_alias (__setgid, setgid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setgroups.c
rename to sysdeps/generic/setgroups.c
index 1602085334c2222ab5cdb0321881a39a81d17d1f..e1c2b3e04a605e000b7b971c875cd3b6358d59ca 100644 (file)
@@ -32,3 +32,4 @@ setgroups (n, groups)
 
 
 stub_warning (setgroups)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sethostid.c
rename to sysdeps/generic/sethostid.c
index c95101244f0f39468199069201af5898b374e32e..9bc808f15a9baab0f49df19d5140d71eae95b557 100644 (file)
@@ -31,3 +31,4 @@ sethostid (id)
 
 
 stub_warning (sethostid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sethostname.c
rename to sysdeps/generic/sethostname.c
index 0d325aab42ff274a7702a915002340bbff2c5124..1eba39894280f126e4251bb7aab7967c9dd14cf3 100644 (file)
@@ -32,3 +32,4 @@ sethostname (name, len)
 
 
 stub_warning (sethostname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setitimer.c
rename to sysdeps/generic/setitimer.c
index 21af5173c9c9058af553bf27f8dbd25006eefa80..d85311359fc010047c5a9b1d239f0edea0b76cb4 100644 (file)
@@ -41,3 +41,4 @@ __setitimer (which, new, old)
 stub_warning (setitimer)
 
 weak_alias (__setitimer, setitimer)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setjmp.c
rename to sysdeps/generic/setjmp.c
index 994f4ca6029635178ee351b8decf8aa32e0ecfa0..8b1dfa6a83a1dd6e2c43b2d5823d7075e8fe63a8 100644 (file)
@@ -34,3 +34,4 @@ __sigsetjmp (jmp_buf env, int savemask)
 
 
 stub_warning (__sigsetjmp)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setlogin.c
rename to sysdeps/generic/setlogin.c
index 2262b50cd776204935638fdfe6eec5d77d1c98a0..5f2b5d8e58c300255e364f47f8a2452854bc35f6 100644 (file)
@@ -29,3 +29,4 @@ setlogin (name)
 }
 
 stub_warning (setlogin)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setpgid.c
rename to sysdeps/generic/setpgid.c
index bca886c451bd31bee0aa821feb2af1c09e5ef0ae..38329898e8beb8a8cfd4591fd496f39871b5b5c8 100644 (file)
@@ -33,3 +33,4 @@ __setpgid (pid, pgid)
 stub_warning (setpgid)
 
 weak_alias (__setpgid, setpgid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setpriority.c
rename to sysdeps/generic/setpriority.c
index 908f8663ea69e6c0bf5689d71012ebb15a3ae4ae..997bea82a6f01b48313b71b966390f9696f02a52 100644 (file)
@@ -32,3 +32,4 @@ setpriority (which, who, prio)
 }
 
 stub_warning (setpriority)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setregid.c
rename to sysdeps/generic/setregid.c
index 2e16bad14315e6035db8c2341b066acceb37a464..85708fa50cc9c432307331595f917e55c259e6a2 100644 (file)
@@ -33,3 +33,4 @@ __setregid (effective_gid, real_gid)
 stub_warning (setregid)
 
 weak_alias (__setregid, setregid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setreuid.c
rename to sysdeps/generic/setreuid.c
index ddfb1c2a948751a10c14cc14c7ccc70da39b8b4a..0e6017714de8bb6bc2cd55bdd880e0cb4ec1134b 100644 (file)
@@ -33,3 +33,4 @@ __setreuid (effective_uid, real_uid)
 stub_warning (setreuid)
 
 weak_alias (__setreuid, setreuid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setrlimit.c
rename to sysdeps/generic/setrlimit.c
index 7f2db6fa47a90f26c46bc99648fb30ef754bd1dc..b969ea19f78b64117e4302dcfbed1453aee3be0e 100644 (file)
@@ -33,3 +33,4 @@ setrlimit (resource, rlimits)
 
 
 stub_warning (setrlimit)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setrlimit64.c
rename to sysdeps/generic/setrlimit64.c
index 0f223f246c3ce391108b597cb869653e71576421..3d1a12279fb6482e0067e0129a2d0ccc26aba19b 100644 (file)
@@ -32,3 +32,4 @@ setrlimit64 (resource, rlimits)
 }
 
 stub_warning (setrlimit64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setsid.c
rename to sysdeps/generic/setsid.c
index 3ff4eccab1dbd4d3ceeb95508a721eecca03ae68..e5cb58616e6b0b31fe71a42b09b1b1d4db25076b 100644 (file)
@@ -32,3 +32,4 @@ __setsid ()
 stub_warning (setsid)
 
 weak_alias (__setsid, setsid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setsockopt.c
rename to sysdeps/generic/setsockopt.c
index 5fad292a575a09252f7f7f971bf96bbc760e810b..ba876438e565cb217548270ffdabaa0ddd51d343 100644 (file)
@@ -35,3 +35,4 @@ setsockopt (fd, level, optname, optval, optlen)
 }
 
 stub_warning (setsockopt)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/settimeofday.c
rename to sysdeps/generic/settimeofday.c
index 231413be58b69f02865bebe6731a7ec568899f4b..15bfbbc9b7a50df9db35d6c1a0e119800320590d 100644 (file)
@@ -32,3 +32,4 @@ __settimeofday (tv, tz)
 stub_warning (settimeofday)
 
 weak_alias (__settimeofday, settimeofday)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/setuid.c
rename to sysdeps/generic/setuid.c
index dd58f368d0fab35a9c057e2f0e39965a25870e54..eb5383bc3dbed2ebb21f08ba61cbf146918febea 100644 (file)
@@ -34,3 +34,4 @@ __setuid (uid)
 stub_warning (setuid)
 
 weak_alias (__setuid, setuid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/shmat.c
rename to sysdeps/generic/shmat.c
index b33cad117b024b77cd4dd99608a8ef25460b628d..ce2bf70018ae2406ef840c163f6ad4a0ea335229 100644 (file)
@@ -35,3 +35,4 @@ shmat (shmid, shmaddr, shmflg)
 }
 
 stub_warning (shmat)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/shmctl.c
rename to sysdeps/generic/shmctl.c
index c03d20d44e2baf4598437936bcf1540519cbff4b..c9d0ee6fef8bae78678142c98cfc26e7fe96b181 100644 (file)
@@ -33,3 +33,4 @@ shmctl (shmid, cmd, buf)
 }
 
 stub_warning (shmctl)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/shmdt.c
rename to sysdeps/generic/shmdt.c
index ab9609e55f0a4578f00dc5c82a0cbe0df255be38..9902d70b41014122463725e79e63d03ec7c326a8 100644 (file)
@@ -32,3 +32,4 @@ shmdt (shmaddr)
 }
 
 stub_warning (shmdt)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/shmget.c
rename to sysdeps/generic/shmget.c
index d86289b112915ea05cb6a594a9032d418428b881..4f8eb63ea0cc9589f8fbf5ed6004e0be22960ca5 100644 (file)
@@ -34,3 +34,4 @@ shmget (key, size, shmflg)
 }
 
 stub_warning (shmget)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/shutdown.c
rename to sysdeps/generic/shutdown.c
index 3e9754e6b6f7f8bb6dcb15eef121936e82bf67c1..55556793c0ef0dc5ae407d5721a59cb447b5c3e4 100644 (file)
@@ -36,3 +36,4 @@ shutdown (fd, how)
 
 
 stub_warning (shutdown)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigaction.c
rename to sysdeps/generic/sigaction.c
index e27741fd9739f39bc4077c0f32e50cd624b7c98a..8efc06093114985bd7fa7105b09bc936d2bef846 100644 (file)
@@ -40,3 +40,4 @@ __sigaction (sig, act, oact)
 stub_warning (sigaction)
 
 weak_alias (__sigaction, sigaction)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigaltstack.c
rename to sysdeps/generic/sigaltstack.c
index 1737e5d080bd87dd8fd4affc327c485bcf74ba41..b4b4e90b2dfe26ae7a36e313207b66348be904b9 100644 (file)
@@ -31,3 +31,4 @@ sigaltstack (ss, oss)
 }
 
 stub_warning (sigaltstack)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigblock.c
rename to sysdeps/generic/sigblock.c
index aa7ef8845ed93c51f235e66542508794d40c2a51..5eabb9dc0826d7195e199d0afe697267a6ec1a22 100644 (file)
@@ -30,3 +30,4 @@ __sigblock (mask)
 stub_warning (sigblock)
 
 weak_alias (__sigblock, sigblock)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigintr.c
rename to sysdeps/generic/sigintr.c
index c68b919867cc1eefe77d885b19e70557b67a3793..a9a11e4410c95d8621b561ff40b29f1959b05844 100644 (file)
@@ -32,3 +32,4 @@ siginterrupt (sig, interrupt)
 }
 
 stub_warning (siginterrupt)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/signal.c
rename to sysdeps/generic/signal.c
index 066a8cc79f83c352e2b1dcb6acf4339e21a34a9e..1ad3f1045ebb8b242b0fb587378c2546152eb43c 100644 (file)
@@ -35,3 +35,4 @@ weak_alias (signal, ssignal)
 
 stub_warning (signal)
 stub_warning (ssignal)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigpause.c
rename to sysdeps/generic/sigpause.c
index 3525e3536fcee8dccc89cd49d114b493e96164c3..25dfff1ea51f65c660eb6e00e3993a9e4e286357 100644 (file)
@@ -40,3 +40,4 @@ __default_sigpause (mask)
 }
 weak_alias (__default_sigpause, sigpause)
 stub_warning (sigpause)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigpending.c
rename to sysdeps/generic/sigpending.c
index dd587ff7b06368634574e36867c52c4f786f6221..2c1597a521fd0998f08505e2d806bcd37acc3b0c 100644 (file)
@@ -37,3 +37,4 @@ sigpending (set)
 }
 
 stub_warning (sigpending)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigreturn.c
rename to sysdeps/generic/sigreturn.c
index c14e358ee23b7d1f6836734ba4e11102e68bfc42..13089a76bf3981b022718e84d669fa8600c324e6 100644 (file)
@@ -29,3 +29,4 @@ __sigreturn (context)
 stub_warning (sigreturn)
 
 weak_alias (__sigreturn, sigreturn)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigsetmask.c
rename to sysdeps/generic/sigsetmask.c
index b8e630d09cb111ff8b6e3291ce352109c981be1b..4be31db02eda5bde9aa4e04a743fcf20c603bd7a 100644 (file)
@@ -29,3 +29,4 @@ __sigsetmask (mask)
 stub_warning (sigsetmask)
 
 weak_alias (__sigsetmask, sigsetmask)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigstack.c
rename to sysdeps/generic/sigstack.c
index 6784b056b566938516f0b3d0cbe740b572e8a5c3..52b135a19f6d66a292c532fce81936d008b8c86e 100644 (file)
@@ -31,3 +31,4 @@ sigstack (ss, oss)
 }
 
 stub_warning (sigstack)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigsuspend.c
rename to sysdeps/generic/sigsuspend.c
index a3f8935e9af79e9d47f80300e4d721fb83011929..15166acfb75f9cd79ef9ab15f47cbf01deabb507 100644 (file)
@@ -32,3 +32,4 @@ sigsuspend (set)
 
 
 stub_warning (sigsuspend)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigvec.c
rename to sysdeps/generic/sigvec.c
index 444105480f6e96d1da7acfec9816f7a6cf2b93f4..8cce744a036caa089eb291ee5ada8b6c8019dcf9 100644 (file)
@@ -36,3 +36,4 @@ __sigvec (sig, vec, ovec)
 stub_warning (sigvec)
 
 weak_alias (__sigvec, sigvec)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sigwait.c
rename to sysdeps/generic/sigwait.c
index 28b86aa6989afcd606809abe2771fc2aa5e0dab3..f34bfdf179a9421bbf630cf556b927559754cba0 100644 (file)
@@ -29,3 +29,4 @@ __sigwait (const sigset_t *set, int *sig)
 weak_alias (__sigwait, sigwait)
 
 stub_warning (sigwait)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sleep.c
rename to sysdeps/generic/sleep.c
index fdc8b28887d0c017bd5442e331fa9f01bcd4d014..65c1f9607d9ee6c99ba2b71efaf19391274b78aa 100644 (file)
@@ -38,3 +38,4 @@ __sleep (seconds)
 weak_alias (__sleep, sleep)
 
 stub_warning (sleep)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/socket.c
rename to sysdeps/generic/socket.c
index 9a0a1be5a08db55644b4cbfdbd88dd068cf296b6..b946c164e888f7aac109a74676e74f9007a63115 100644 (file)
@@ -34,3 +34,4 @@ socket (domain, type, protocol)
 
 
 stub_warning (socket)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/socketpair.c
rename to sysdeps/generic/socketpair.c
index d2ba66784390ad27e36c1475aaaabcd890cd2cc5..f8c0d768890b9d3c438af53c863f68b643477916 100644 (file)
@@ -36,3 +36,4 @@ socketpair (domain, type, protocol, fds)
 
 
 stub_warning (socketpair)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sstk.c
rename to sysdeps/generic/sstk.c
index 6e8567246f57ff561358a825747e169fec5d1f8b..0ca36ef9f43747e851f4201aee9a015a8a33fa54 100644 (file)
@@ -32,3 +32,4 @@ sstk (increment)
 }
 
 stub_warning (sstk)
+#include <stub-tag.h>
similarity index 100%
rename from sysdeps/stub/start.c
rename to sysdeps/generic/start.c
similarity index 98%
rename from sysdeps/stub/statfs.c
rename to sysdeps/generic/statfs.c
index bae8eaa8eecde9716204aa047dc6430444d33d3d..8cdd1e03b1f4d5aa805a6506d9b6e79572c38141 100644 (file)
@@ -31,3 +31,4 @@ __statfs (const char *file, struct statfs *buf)
 weak_alias (__statfs, statfs)
 
 stub_warning (statfs)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/statfs64.c
rename to sysdeps/generic/statfs64.c
index 51cde7dd277bf3664bc19aa27d00334f75fd422c..93b640eb74c7c16d0250ed64c6eb5b0427a9db8e 100644 (file)
@@ -29,3 +29,4 @@ statfs64 (const char *file, struct statfs64 *buf)
   return -1;
 }
 stub_warning (statfs64)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/stime.c
rename to sysdeps/generic/stime.c
index a2a17b530dd88bb819a151c32921b52089060e6d..d41d6b400f554eb3b5275104e79164faa082c5df 100644 (file)
@@ -37,3 +37,4 @@ stime (when)
 }
 
 stub_warning (stime)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/stty.c
rename to sysdeps/generic/stty.c
index d947ad0691cd942298bc021f52ed075b5d4c2170..425bca42b18787ff9d57e2e968068edfdb3718e7 100644 (file)
@@ -37,3 +37,4 @@ stty (fd, params)
 }
 
 stub_warning (stty)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/stub_warnings b/sysdeps/generic/stub_warnings
new file mode 100644 (file)
index 0000000..a97994b
--- /dev/null
@@ -0,0 +1,270 @@
+__longjmp.c
+_exit.c
+accept.c
+access.c
+acct.c
+adjtime.c
+alarm.c
+bind.c
+brk.c
+chdir.c
+chflags.c
+chmod.c
+chown.c
+chroot.c
+clock.c
+close.c
+closedir.c
+connect.c
+ctermid.c
+cuserid.c
+des_impl.c
+dirfd.c
+dup.c
+dup2.c
+e_acoshl.c
+e_acosl.c
+e_asinl.c
+e_atan2l.c
+e_expl.c
+e_fmodl.c
+e_j0l.c
+e_j1l.c
+e_jnl.c
+e_lgammal_r.c
+e_log10l.c
+e_logl.c
+e_powl.c
+e_rem_pio2l.c
+e_sqrtl.c
+euidaccess.c
+execve.c
+fchdir.c
+fchflags.c
+fchmod.c
+fchown.c
+fclrexcpt.c
+fcntl.c
+fdopen.c
+fegetenv.c
+fegetround.c
+feholdexcpt.c
+fesetenv.c
+fesetround.c
+feupdateenv.c
+fexecve.c
+fgetexcptflg.c
+flock.c
+fork.c
+fpathconf.c
+fraiseexcpt.c
+fsetexcptflg.c
+fstatfs.c
+fstatfs64.c
+fsync.c
+ftestexcept.c
+ftruncate.c
+fxstat.c
+fxstat64.c
+getaddrinfo.c
+getcwd.c
+getdents.c
+getdomain.c
+getdtsz.c
+getegid.c
+geteuid.c
+getgid.c
+getgroups.c
+gethostid.c
+gethostname.c
+getitimer.c
+getlogin.c
+getlogin_r.c
+getpagesize.c
+getpeername.c
+getpgid.c
+getpid.c
+getppid.c
+getpriority.c
+getrlimit.c
+getrlimit64.c
+getrusage.c
+getsockname.c
+getsockopt.c
+getsysstats.c
+gettimeofday.c
+getuid.c
+gtty.c
+if_index.c
+ioctl.c
+isatty.c
+isfdtype.c
+k_cosl.c
+k_rem_pio2l.c
+k_sinl.c
+k_tanl.c
+kill.c
+killpg.c
+lchown.c
+link.c
+listen.c
+lseek.c
+lseek64.c
+lxstat64.c
+madvise.c
+mkdir.c
+mkfifo.c
+mkstemp.c
+mktemp.c
+mprotect.c
+msgctl.c
+msgget.c
+msgrcv.c
+msgsnd.c
+msync.c
+nanosleep.c
+nice.c
+nlist.c
+open.c
+open64.c
+opendir.c
+pathconf.c
+pause.c
+pipe.c
+pipestream.c
+poll.c
+pread.c
+pread64.c
+profil.c
+ptrace.c
+pwrite.c
+pwrite64.c
+raise.c
+read.c
+readdir.c
+readdir64.c
+readdir64_r.c
+readdir_r.c
+readlink.c
+readv.c
+reboot.c
+recv.c
+recvfrom.c
+recvmsg.c
+remove.c
+rename.c
+revoke.c
+rewinddir.c
+rmdir.c
+s_atanl.c
+s_erfl.c
+s_exp2.c
+s_exp2f.c
+s_exp2l.c
+s_expm1l.c
+s_log1pl.c
+s_log2l.c
+sched_getp.c
+sched_gets.c
+sched_primax.c
+sched_primin.c
+sched_rr_gi.c
+sched_setp.c
+sched_sets.c
+sched_yield.c
+seekdir.c
+select.c
+semctl.c
+semget.c
+semop.c
+send.c
+sendmsg.c
+sendto.c
+setdomain.c
+setegid.c
+seteuid.c
+setgid.c
+setgroups.c
+sethostid.c
+sethostname.c
+setitimer.c
+setjmp.c
+setlogin.c
+setpgid.c
+setpriority.c
+setregid.c
+setreuid.c
+setrlimit.c
+setrlimit64.c
+setsid.c
+setsockopt.c
+settimeofday.c
+setuid.c
+shmat.c
+shmctl.c
+shmdt.c
+shmget.c
+shutdown.c
+sigaction.c
+sigaltstack.c
+sigblock.c
+sigintr.c
+signal.c
+sigpause.c
+sigpending.c
+sigreturn.c
+sigsetmask.c
+sigstack.c
+sigsuspend.c
+sigvec.c
+sigwait.c
+sleep.c
+socket.c
+socketpair.c
+sstk.c
+statfs.c
+statfs64.c
+stime.c
+stty.c
+swapoff.c
+swapon.c
+symlink.c
+sync.c
+syscall.c
+sysconf.c
+system.c
+sysv_signal.c
+tcdrain.c
+tcflow.c
+tcflush.c
+tcgetattr.c
+tcgetpgrp.c
+tcsendbrk.c
+tcsetattr.c
+tcsetpgrp.c
+telldir.c
+tempname.c
+time.c
+times.c
+truncate.c
+ttyname.c
+ttyname_r.c
+ualarm.c
+ulimit.c
+umask.c
+unlink.c
+usleep.c
+ustat.c
+utime.c
+utimes.c
+vdprintf.c
+vhangup.c
+wait.c
+wait3.c
+wait4.c
+waitpid.c
+write.c
+writev.c
+xmknod.c
+xstat.c
+xstat64.c
similarity index 98%
rename from sysdeps/stub/swapoff.c
rename to sysdeps/generic/swapoff.c
index 3b3fd9a8a12447fce5674b189f19a727a95aa84c..49e4815c4133621b7b230ea5a3e88037a63b41bc 100644 (file)
@@ -28,3 +28,4 @@ swapoff (const char *path)
 }
 
 stub_warning (swapoff)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/swapon.c
rename to sysdeps/generic/swapon.c
index cbaa1c2fe373f5928217b663138c0958a79ab67e..c466e8cea713c18ceba1e96da8ef3409d7e654bc 100644 (file)
@@ -31,3 +31,4 @@ swapon (path)
 }
 
 stub_warning (swapon)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/symlink.c
rename to sysdeps/generic/symlink.c
index abdaf4a1c57bd11661c8f8670a5b2b65acada6d7..87365aa8d5ab113bfbb3bd269fb49e79f36a0504 100644 (file)
@@ -39,3 +39,4 @@ __symlink (from, to)
 stub_warning (symlink)
 
 weak_alias (__symlink, symlink)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sync.c
rename to sysdeps/generic/sync.c
index aed63b14372b3785ddd11d93e2c088c0644343cf..aa04edf52446a532b60e115ee342d4776b89d4fb 100644 (file)
@@ -29,3 +29,4 @@ sync ()
 
 
 stub_warning (sync)
+#include <stub-tag.h>
index 6e41a923d5279308f48fd07c3490d3ae0685479d..f8ca3f03ee487138cccfe966adb46542c057b996 100644 (file)
@@ -76,7 +76,7 @@
 #endif
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 
 __BEGIN_DECLS
@@ -89,41 +89,41 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off_t __offset));
 #ifndef __USE_FILE_OFFSET64
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset));
 #else
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset))
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset))
      __asm__ ("mmap64");
 #endif
 #ifdef __USE_LARGEFILE64
-extern __caddr_t mmap64 __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off64_t __offset));
+extern __ptr_t mmap64 __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off64_t __offset));
 #endif
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  Flags are from the MS_* set.  */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 __END_DECLS
similarity index 98%
rename from sysdeps/stub/syscall.c
rename to sysdeps/generic/syscall.c
index 4903b409b56070e92e0ae50e1b1afcd9350803fd..8c20b7ead0d4d776835802cd0891a84cb33f2cbb 100644 (file)
@@ -32,3 +32,4 @@ syscall (callno)
 }
 
 stub_warning (syscall)
+#include <stub-tag.h>
similarity index 99%
rename from sysdeps/stub/sysconf.c
rename to sysdeps/generic/sysconf.c
index 3d3c0e9759aeeff3215075930d5645ec003204f6..b3fa62aa9ae5e1e004ecc37398acd3d6caaa4cb7 100644 (file)
@@ -252,3 +252,4 @@ __sysconf (name)
 weak_alias (__sysconf, sysconf)
 
 stub_warning (sysconf)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/system.c
rename to sysdeps/generic/system.c
index 311ccfe756e6a9549ec6cb0d7c7c1bcd097769a3..5476d0f15747ac8e26a605a33cbe0d9501d6f767 100644 (file)
@@ -35,3 +35,4 @@ weak_alias (__libc_system, system)
 
 
 stub_warning (system)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/sysv_signal.c
rename to sysdeps/generic/sysv_signal.c
index 4d3e15aad048356f2321c7c8be18b7f09d4c8d6c..d8db7d5f8db3da7d70f57590b776ca9b7f797214 100644 (file)
@@ -40,3 +40,4 @@ __sysv_signal (sig, handler)
 weak_alias (__sysv_signal, sysv_signal)
 
 stub_warning (sysv_signal)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcdrain.c
rename to sysdeps/generic/tcdrain.c
index cda0f167ea7fb27db7a968e3068c1a9b56706051..2bd91b32b028cc04416da1ddaf2f55d08fbc91fc 100644 (file)
@@ -36,3 +36,4 @@ weak_alias (__libc_tcdrain, tcdrain)
 
 
 stub_warning (tcdrain)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcflow.c
rename to sysdeps/generic/tcflow.c
index e8fc81cfceff913a24e533bb95620893e8811453..b1c091dfa167dc0d020108abf09de8f6d5508c81 100644 (file)
@@ -50,3 +50,4 @@ tcflow (fd, action)
 
 
 stub_warning (tcflow)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcflush.c
rename to sysdeps/generic/tcflush.c
index 28cd55853696adc3327c4598f0b82e12c45357b2..627f62e4212386a3ca661937d2271758768dc290 100644 (file)
@@ -43,3 +43,4 @@ tcflush (fd, queue_selector)
 
 
 stub_warning(tcflush);
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcgetattr.c
rename to sysdeps/generic/tcgetattr.c
index 9e80969653c78ac4f3c6c263831237267e8b3d05..bb7543482d1da56b25408f491d48aa91b1a330bb 100644 (file)
@@ -43,3 +43,4 @@ __tcgetattr (fd, termios_p)
 stub_warning (tcgetattr)
 
 weak_alias (__tcgetattr, tcgetattr)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcgetpgrp.c
rename to sysdeps/generic/tcgetpgrp.c
index a6e711a95d840c924cdf89084d385f7b4644cdb8..91ed22c2c9d4cc14ca62768f12186fa626de62d8 100644 (file)
@@ -37,3 +37,4 @@ tcgetpgrp (fd)
 
 
 stub_warning (tcgetpgrp)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcsendbrk.c
rename to sysdeps/generic/tcsendbrk.c
index 5f127e43f6fae89f6595073a6bda210bf30a556e..a741eedd2bad464164f8e93f30f9193010552802 100644 (file)
@@ -37,3 +37,4 @@ tcsendbreak (fd, duration)
 
 
 stub_warning (tcsendbreak)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcsetattr.c
rename to sysdeps/generic/tcsetattr.c
index 7904ea2c084e6d8c99cabec168393e0c8fb1b8c2..e1b54c5e14047c265719fb6768bc71479de635ff 100644 (file)
@@ -94,3 +94,4 @@ bad_speed (speed)
 
 
 stub_warning (tcsetattr)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tcsetpgrp.c
rename to sysdeps/generic/tcsetpgrp.c
index 741c3b3158b7940b65b0be5433208637e1ba1a93..e48ee69a6627605aa12ae5a23d7f492b15c0fd48 100644 (file)
@@ -38,3 +38,4 @@ tcsetpgrp (fd, pgrp_id)
 
 
 stub_warning (tcsetpgrp)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/telldir.c
rename to sysdeps/generic/telldir.c
index 85217e9a0e0b87609f50617899fc71d31dc7f81b..3400829cb76fe9cb8c267dc43c046adbcbcc2b31 100644 (file)
@@ -38,3 +38,4 @@ telldir (dirp)
 
 
 stub_warning (telldir)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/tempname.c
rename to sysdeps/generic/tempname.c
index d87c54f86a320c224b58e4e133fef3726568dcc8..f5d1ed03454686bba522a60710bd446d6b7eeef4 100644 (file)
@@ -43,3 +43,4 @@ __stdio_gen_tempname (buf, bufsize, dir, pfx, dir_search, lenptr, streamptr,
 }
 
 stub_warning (__stdio_gen_tempname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/time.c
rename to sysdeps/generic/time.c
index 412ef1dc2385dc592d49ac1aa4ce558ffb000a01..461aedd7c0d7f442570c1672e942c92d3696ddcb 100644 (file)
@@ -32,3 +32,4 @@ time (timer)
 }
 
 stub_warning (time)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/times.c
rename to sysdeps/generic/times.c
index 78676135eeeb1cb3bb44564a0dfb7d4f8368326e..e51ced0f0a542ccbb90e95d96d8dc075bd173d1e 100644 (file)
@@ -40,3 +40,4 @@ __times (buffer)
 stub_warning (times)
 
 weak_alias (__times, times)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/truncate.c
rename to sysdeps/generic/truncate.c
index c6257b68ba834408af2b593114f0e33add9f9bee..20e9fe0787b2721d1e2b19be553cbfdec4399493 100644 (file)
@@ -30,3 +30,4 @@ truncate (path, length)
 }
 
 stub_warning (truncate)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ttyname.c
rename to sysdeps/generic/ttyname.c
index 56e844cbbc4cff79fb889d7cc500ad064acb41a9..e62dea21bcb891cdb3aeb117633ef13f956f3a63 100644 (file)
@@ -35,3 +35,4 @@ ttyname (fd)
 
 
 stub_warning (ttyname)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ttyname_r.c
rename to sysdeps/generic/ttyname_r.c
index 6599d60b8b5921322b99e5dac98f2168eb6bee2c..6e8a9d6179e8eb2ca6dbc30c8bf582811889d77d 100644 (file)
@@ -34,3 +34,4 @@ ttyname_r (fd, buf, buflen)
 
 
 stub_warning (ttyname_r)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ualarm.c
rename to sysdeps/generic/ualarm.c
index 5972e240eb2109499a0cb6dbfcbcad3180675285..b2c8da3c196c22a2c5497fdff599bc10019b3832 100644 (file)
@@ -34,3 +34,4 @@ ualarm (value, interval)
 }
 
 stub_warning (ualarm)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ulimit.c
rename to sysdeps/generic/ulimit.c
index 7643e31ce7f22d55d3d9c6635dbb686b382c3ede..3d90170b501732dbc68f43e372e85083267a27f1 100644 (file)
@@ -38,3 +38,4 @@ __ulimit (cmd, newlimit)
 weak_alias (__ulimit, ulimit)
 
 stub_warning (ulimit)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/umask.c
rename to sysdeps/generic/umask.c
index 58b369d6fe8819c5ff63cbc9ddf66949f4fa2909..584780dd3baa1b77f56d1c2619e6ac0cce622b0b 100644 (file)
@@ -31,3 +31,4 @@ __umask (mask)
 stub_warning (umask)
 
 weak_alias (__umask, umask)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/unlink.c
rename to sysdeps/generic/unlink.c
index fd303b8662fbd7fdeaa26fa6124abd4f802a75c8..545a24abe0a210d5e1c8b3c4ee88e57789b28e84 100644 (file)
@@ -38,3 +38,4 @@ __unlink (name)
 stub_warning (unlink)
 
 weak_alias (__unlink, unlink)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/usleep.c
rename to sysdeps/generic/usleep.c
index 7ee41b63fab10cc5a1c61ee9300cfc75040f3014..8c0e851d6de8db15c8a847c5fe8534effe0660cf 100644 (file)
@@ -29,3 +29,4 @@ usleep (useconds)
 }
 
 stub_warning (usleep)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/ustat.c
rename to sysdeps/generic/ustat.c
index 660b3087ad1111dbff2061c0419c21670fd111de..5371641f40c73fd4cb545b63a99f3f6c270b4494 100644 (file)
@@ -30,3 +30,4 @@ ustat (dev, ust)
   return -1;
 }
 stub_warning (ustat)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/utime.c
rename to sysdeps/generic/utime.c
index b69e4903ad5b5e06dcd70e20a9d9f16daafde0b2..40b554daa3bc0aabbc53331498b9be6f527405a9 100644 (file)
@@ -40,3 +40,4 @@ utime (file, times)
 
 
 stub_warning (utime)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/utimes.c
rename to sysdeps/generic/utimes.c
index 1cdc8fac33155b220c445b0ac5dbd3c37e1e2075..438673bf172c8eae04229a59f3d24fc05063824d 100644 (file)
@@ -40,3 +40,4 @@ __utimes (file, tvp)
 weak_alias (__utimes, utimes)
 
 stub_warning (utimes)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/vdprintf.c
rename to sysdeps/generic/vdprintf.c
index b99116923c4ab1c5f156e30d493022faf99ba8ab..29e7fd3ab22b4b7173df1bac5109597356b6bdc3 100644 (file)
@@ -30,3 +30,4 @@ vdprintf (int d, const char *format, va_list arg)
 }
 
 stub_warning (vdprintf)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/vhangup.c
rename to sysdeps/generic/vhangup.c
index 94925285e8a6a0d28bc676fd5fc3b20333097242..2e112b14a6664008c7207d76f3bc1d1225a2381d 100644 (file)
@@ -30,3 +30,4 @@ vhangup ()
 }
 
 stub_warning (vhangup)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/wait.c
rename to sysdeps/generic/wait.c
index 8b186afd502dd9183caf0ab37f64618e991f655f..6f1db03f2dc20420779754da3cc8024481a2c1e3 100644 (file)
@@ -31,3 +31,4 @@ __wait (stat_loc)
 stub_warning (wait)
 
 weak_alias (__wait, wait)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/wait3.c
rename to sysdeps/generic/wait3.c
index b0c71afb51ffd17c38a81e9c2509b4321fff225c..4df9d420df28740287a68ed23f4399bdb7a44d48 100644 (file)
@@ -43,3 +43,4 @@ __wait3 (stat_loc, options, usage)
 stub_warning (wait3)
 
 weak_alias (__wait3, wait3)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/wait4.c
rename to sysdeps/generic/wait4.c
index e67e37bdec63838047c865211cfc88df9072d22b..d29d80c73e83a8375d8dffb19f7a52044282abca 100644 (file)
@@ -33,3 +33,4 @@ __wait4 (pid, stat_loc, options, usage)
 stub_warning (wait4)
 
 weak_alias (__wait4, wait4)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/waitpid.c
rename to sysdeps/generic/waitpid.c
index 0e52335f194691d9b7a0005ebcf13e70c02f5134..66d89155562a431a556d45a89a00b1c6c7c5c4cf 100644 (file)
@@ -49,3 +49,4 @@ weak_alias (__libc_waitpid, __waitpid)
 weak_alias (__libc_waitpid, waitpid)
 
 stub_warning (waitpid)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/write.c
rename to sysdeps/generic/write.c
index d4fee7bdb2409b311d74171bb46e545e65fee665..6f98a83623aaac16988d46618131d6e8266a614a 100644 (file)
@@ -45,3 +45,4 @@ stub_warning (write)
 
 weak_alias (__libc_write, __write)
 weak_alias (__libc_write, write)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/writev.c
rename to sysdeps/generic/writev.c
index d18d73cddc08606966cf41d7729310144ca4c448..fc6bc200954e26d4105eac0c1aaec9e663af7d31 100644 (file)
@@ -37,3 +37,4 @@ __writev (fd, vector, count)
 weak_alias (__writev, writev)
 
 stub_warning (writev)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/xmknod.c
rename to sysdeps/generic/xmknod.c
index 35234c2d8182f5fb630fd37a494fa78e0ee89dfd..675980163867f0abc8d3da8a998e37975a19251f 100644 (file)
@@ -38,3 +38,4 @@ __xmknod (int vers, const char *path, mode_t mode, dev_t *dev)
 stub_warning (__xmknod)
 
 weak_alias (__xmknod, _xmknod)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/xstat.c
rename to sysdeps/generic/xstat.c
index 31fd3a0ed6b3a9e450ee442e7456943d6bf09d0f..02f097f160adc15e53bc1a6a9ea0268792c19838 100644 (file)
@@ -36,3 +36,4 @@ __xstat (int vers, const char *file, struct stat *buf)
 stub_warning (stat)
 
 weak_alias (__xstat, _xstat)
+#include <stub-tag.h>
similarity index 98%
rename from sysdeps/stub/xstat64.c
rename to sysdeps/generic/xstat64.c
index 8eb1d177dfa4a7505b09367243f2ce66cde08ee2..8d85360cb80f894804dfa728d4e015646e7afeed 100644 (file)
@@ -34,3 +34,4 @@ __xstat64 (int vers, const char *file, struct stat64 *buf)
   return -1;
 }
 stub_warning (stat64)
+#include <stub-tag.h>
index ef808d2e7d67b0e8b3ca391a97b33bad226acb44..80fcc48a2bc62869f68cb4d50a3e3f9babf76174 100644 (file)
@@ -979,6 +979,14 @@ __strchr_g (__const char *__s, int __c)
 }
 
 
+/* Find the first occurrence of C in S.  This is the BSD name.  */
+#define _HAVE_STRING_ARCH_index 1
+#define index(s, c) \
+  (__extension__ (__builtin_constant_p (c)                                   \
+                 ? __strchr_c (s, ((c) & 0xff) << 8)                         \
+                 : __strchr_g (s, c)))
+
+
 /* Find the last occurrence of C in S.  */
 #define _HAVE_STRING_ARCH_strrchr 1
 #define strrchr(s, c) \
@@ -1067,6 +1075,14 @@ __strrchr_g (__const char *__s, int __c)
 #endif
 
 
+/* Find the last occurrence of C in S.  This is the BSD name.  */
+#define _HAVE_STRING_ARCH_rindex 1
+#define rindex(s, c) \
+  (__extension__ (__builtin_constant_p (c)                                   \
+                 ? __strrchr_c (s, ((c) & 0xff) << 8)                        \
+                 : __strrchr_g (s, c)))
+
+
 /* Return the length of the initial segment of S which
    consists entirely of characters not in REJECT.  */
 #define _HAVE_STRING_ARCH_strcspn 1
index dc4b024bb8cdd8727935e3139426bfcfdc9edf17..8b4c3455c14b6efd0c6cb6e14b51ecf7e306337a 100644 (file)
    is nonzero, it is the desired mapping address.  If the MAP_FIXED bit is
    set in FLAGS, the mapping will be at ADDR exactly (which must be
    page-aligned); otherwise the system chooses a convenient nearby address.
-   The return value is the actual mapping address chosen or (caddr_t) -1
+   The return value is the actual mapping address chosen or (__ptr_t) -1
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
 {
   error_t err;
   vm_prot_t vmprot;
@@ -49,7 +49,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
       /* A specific address is requested.  It need not be page-aligned;
         it just needs to be congruent with the object offset.  */
       if ((mapaddr & (vm_page_size - 1)) != pageoff)
-       return (caddr_t) (long int) __hurd_fail (EINVAL);
+       return (__ptr_t) (long int) __hurd_fail (EINVAL);
       else
        /* We will add back PAGEOFF after mapping.  */
        mapaddr -= pageoff;
@@ -66,7 +66,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
   switch (flags & MAP_TYPE)
     {
     default:
-      return (caddr_t) (long int) __hurd_fail (EINVAL);
+      return (__ptr_t) (long int) __hurd_fail (EINVAL);
 
     case MAP_ANON:
       memobj = MACH_PORT_NULL;
@@ -77,7 +77,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
       {
        mach_port_t robj, wobj;
        if (err = HURD_DPORT_USE (fd, __io_map (port, &robj, &wobj)))
-         return (caddr_t) (long int) __hurd_dfail (fd, err);
+         return (__ptr_t) (long int) __hurd_dfail (fd, err);
        switch (prot & (PROT_READ|PROT_WRITE))
          {
          case PROT_READ:
@@ -106,7 +106,7 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
            else
              {
                __mach_port_deallocate (__mach_task_self (), wobj);
-               return (caddr_t) (long int) __hurd_fail (EACCES);
+               return (__ptr_t) (long int) __hurd_fail (EACCES);
              }
            break;
          }
@@ -144,12 +144,12 @@ __mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
     __mach_port_deallocate (__mach_task_self (), memobj);
 
   if (err)
-    return (caddr_t) (long int) __hurd_fail (err);
+    return (__ptr_t) (long int) __hurd_fail (err);
 
   /* Adjust the mapping address for the offset-within-page.  */
   mapaddr += pageoff;
 
-  return (caddr_t) mapaddr;
+  return (__ptr_t) mapaddr;
 }
 
 weak_alias (__mmap, mmap)
index f98c6638623e59da348064895ea66a17afd7b986..f297cdbf4ca0ff93cb0eca64116276e798ae414c 100644 (file)
@@ -26,7 +26,7 @@
    (and sets errno).  */
 
 int
-__mprotect (caddr_t addr, size_t len, int prot)
+__mprotect (__ptr_t addr, size_t len, int prot)
 {
   kern_return_t err;
   vm_prot_t vmprot;
index 6b3e07d1cf06b1b7ebf9e00043a6c33232a7d6d6..79f54e14adeb7c4daf4c218b11738cede51c4791 100644 (file)
@@ -25,7 +25,7 @@
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
 
 int
-__munmap (caddr_t addr, size_t len)
+__munmap (__ptr_t addr, size_t len)
 {
   kern_return_t err;
   if (err = __vm_deallocate (__mach_task_self (),
index 0e837ca2e71fe30d882b64a58ecf26647a1511b7..f8cdb0277aa3a0d1eee51bb293a836c60bb13392 100644 (file)
@@ -19,7 +19,7 @@
 # The unix-specific configure fragment writes `unix-generated' in config.make.
 config-generated := $(config-generated) $(unix-generated)
 \f
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/local_lim.h))))))
 
 ifneq (,$(wildcard $(sysincludedir)/sys/param.h))
@@ -43,7 +43,7 @@ common-generated := $(common-generated) local_lim.h mk-local_lim
 
 endif
 \f
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
        $(patsubst %/sys/param.h,%/,\
                   $(firstword $(wildcard $(+sysdep_dirs:%=%/sys/param.h))))))
 
@@ -126,11 +126,11 @@ endif # misc
 
 endif # No sysdep sys/param.h.
 \f
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/errno.h))))))
 
 # These need to exist before any compiling is done,
-# so cpp doesn't instead find the stub versions.
+# so cpp doesn't instead find the generic versions.
 before-compile := $(before-compile) $(common-objpfx)bits/errno.h
 
 $(common-objpfx)bits/errno.h: $(common-objpfx)make-errnos
@@ -155,7 +155,7 @@ common-generated := $(common-generated) \
                    errnos.h errnos make-errnos make-errnos.c
 endif
 \f
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/bits/ioctls.h))))))
 
 before-compile := $(before-compile) $(common-objpfx)bits/ioctls.h
@@ -211,7 +211,7 @@ common-generated := $(common-generated) \
 endif
 \f
 ifeq ($(subdir),stdio-common)
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(objpfx),\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/errlist.c))))))
 
 before-compile: $(objpfx)errlist.c
@@ -228,7 +228,7 @@ generated := $(generated) make_errlist errlist.c
 endif
 endif # stdio-common
 \f
-ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
+ifeq (,$(filter-out $(sysdep_dir)/generic/ $(common-objpfx),\
        $(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/sys/syscall.h))))))
 
 # The syscall code assumes a file <sys/syscall.h> that defines macros
index 816f271e30f1955320816c21fd42d56f3480d6c7..cf0bf456739e76ad9086f30467daac7b5ab25469 100644 (file)
@@ -77,7 +77,7 @@
 #define MS_INVALIDATE  4               /* Invalidate cached pages.  */
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 
 __BEGIN_DECLS
@@ -90,31 +90,31 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, off_t __offset));
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 __END_DECLS
index 7c373c41af09aa4db21cac7ca3ae1a14ffa283c2..8400aaa1db2beb322749a424d0216a739db69121 100644 (file)
    is nonzero, it is the desired mapping address.  If the MAP_FIXED bit is
    set in FLAGS, the mapping will be at ADDR exactly (which must be
    page-aligned); otherwise the system chooses a convenient nearby address.
-   The return value is the actual mapping address chosen or (caddr_t) -1
+   The return value is the actual mapping address chosen or MAP_FAILED
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern caddr_t __mmap_syscall (caddr_t addr, size_t len,
+extern __ptr_t __mmap_syscall (__ptr_t addr, size_t len,
                               int prot, int flags, int fd, off_t offset);
 
 
-caddr_t
-__mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
+__ptr_t
+__mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
 {
   return __mmap_syscall (addr, len, prot, flags | _MAP_NEW, fd, offset);
 }
index d2a8998d9ace98134483e9f89abf24848dfb2f95..420aed92966286a64e88b2171e24370fc686f8cd 100644 (file)
@@ -74,7 +74,7 @@
 #define        MS_INVALIDATE   0x2             /* Invalidate caches.  */
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 
 __BEGIN_DECLS
@@ -87,31 +87,31 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset));
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 __END_DECLS
index 4262fce438a85c569293876478809e5baf2785e9..b884ba51ac657fd3357a2da2dbb06d244da9f7aa 100644 (file)
@@ -58,7 +58,7 @@
 #endif
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 
 __BEGIN_DECLS
@@ -71,33 +71,33 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, off_t __offset));
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Ultrix 4 does not implement `msync' or `madvise'.  */
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  */
-extern int msync __P ((caddr_t __addr, size_t __len));
+extern int msync __P ((__ptr_t __addr, size_t __len));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 __END_DECLS
index c3a923832a4b48df0aed652657a4ee09a0f87abe..ff1918ec88734619770fe8b18504ae2b1d34f0f5 100644 (file)
@@ -68,7 +68,7 @@
 #define        MS_INVALIDATE    0x2            /* Invalidate caches.  */
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 
 __BEGIN_DECLS
@@ -81,31 +81,31 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off_t __offset));
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset));
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  */
-extern int msync __P ((caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 __END_DECLS
index 72b7d7654302ebbf4da4def33bbee5d8bc5846d9..c223184aac6e1667c341ceeaf4294e68bbbe9469 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/stub/madvise.c>
+#include <sysdeps/generic/madvise.c>
index 129702e33c7cb7ae9d0a1547d45095374133c52f..ea326e2cd9cb910fb2e13ca0b3521bea1015ed74 100644 (file)
@@ -30,7 +30,7 @@
 #include <bits/mman.h>
 
 /* Return value of `mmap' in case of an error.  */
-#define MAP_FAILED     ((__caddr_t) -1)
+#define MAP_FAILED     ((__ptr_t) -1)
 
 __BEGIN_DECLS
 /* Map addresses starting near ADDR and extending for LEN bytes.  from
@@ -42,41 +42,41 @@ __BEGIN_DECLS
    for errors (in which case `errno' is set).  A successful `mmap' call
    deallocates any previous mapping for the affected region.  */
 
-extern __caddr_t __mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off_t __offset));
+extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off_t __offset));
 #ifndef __USE_FILE_OFFSET64
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset));
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset));
 #else
-extern __caddr_t mmap __P ((__caddr_t __addr, size_t __len, int __prot,
-                           int __flags, int __fd, __off_t __offset))
+extern __ptr_t mmap __P ((__ptr_t __addr, size_t __len, int __prot,
+                       int __flags, int __fd, __off_t __offset))
      __asm__ ("mmap64");
 #endif
 #ifdef __USE_LARGEFILE64
-extern __caddr_t mmap64 __P ((__caddr_t __addr, size_t __len, int __prot,
-                             int __flags, int __fd, __off64_t __offset));
+extern __ptr_t mmap64 __P ((__ptr_t __addr, size_t __len, int __prot,
+                         int __flags, int __fd, __off64_t __offset));
 #endif
 
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
-extern int __munmap __P ((__caddr_t __addr, size_t __len));
-extern int munmap __P ((__caddr_t __addr, size_t __len));
+extern int __munmap __P ((__ptr_t __addr, size_t __len));
+extern int munmap __P ((__ptr_t __addr, size_t __len));
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
    (and sets errno).  */
-extern int __mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
-extern int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
+extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
+extern int mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
    unpredictable before this is done.  Flags are from the MS_* set.  */
-extern int msync __P ((__caddr_t __addr, size_t __len, int __flags));
+extern int msync __P ((__ptr_t __addr, size_t __len, int __flags));
 
 #ifdef __USE_BSD
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */
-extern int madvise __P ((__caddr_t __addr, size_t __len, int __advice));
+extern int madvise __P ((__ptr_t __addr, size_t __len, int __advice));
 #endif
 
 /* Cause all currently mapped pages of the process to be memory resident
@@ -90,22 +90,21 @@ extern int munlockall __P ((void));
 
 /* Guarantee all whole pages mapped by the range [ADDR,ADDR+LEN) to
    be memory resident.  */
-extern int mlock __P ((__caddr_t __addr, size_t __len));
+extern int mlock __P ((__ptr_t __addr, size_t __len));
 
 /* Unlock whole pages previously mapped by the range [ADDR,ADDR+LEN).  */
-extern int munlock __P ((__caddr_t __addr, size_t __len));
+extern int munlock __P ((__ptr_t __addr, size_t __len));
 
 #ifdef __USE_MISC
 /* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length
    NEW_LEN.  If MAY_MOVE is MREMAP_MAYMOVE the returned address may
    differ from ADDR.  */
-extern __caddr_t __mremap __P ((__caddr_t __addr, size_t __old_len,
-                               size_t __new_len, int __may_move));
-extern __caddr_t mremap __P ((__caddr_t __addr, size_t __old_len,
-                             size_t __new_len, int __may_move));
+extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len,
+                           size_t __new_len, int __may_move));
+extern __ptr_t mremap __P ((__ptr_t __addr, size_t __old_len,
+                         size_t __new_len, int __may_move));
 #endif
 
 __END_DECLS
 
-
 #endif /* _SYS_MMAN_H */
index 908558cf328757dfa9168d9e4f421e251b6b1d61..e823a6db9b019dcdcd9ecc8743fe01380db5506a 100644 (file)
--- a/version.c
+++ b/version.c
@@ -28,7 +28,7 @@ This is free software; see the source for copying conditions.\n\
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\
 PARTICULAR PURPOSE.\n"
 #include "version-info.h"
-"Report bugs using the `glibcbug' script to <bugs@gnu.ai.mit.edu>.\n";
+"Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n";
 
 #include <unistd.h>