Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* posix/Makefile (tests): Add tst-sysconf.
	* posix/tst-sysconf.c: New file.
  • Loading branch information
Ulrich Drepper committed Nov 27, 2004
1 parent 60e4523 commit 597ce09
Show file tree
Hide file tree
Showing 14 changed files with 212 additions and 18 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2004-11-27 Ulrich Drepper <drepper@redhat.com>

* posix/Makefile (tests): Add tst-sysconf.
* posix/tst-sysconf.c: New file.

* posix/getconf.c (vars): Add support for _SC_IPV6 and
_SC_RAW_SOCKETS.
* sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6
Expand Down
9 changes: 9 additions & 0 deletions linuxthreads/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2004-11-27 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_PRIORITIZED_IO,
_POSIX2_CHAR_TERM, _POSIX_THREAD_PRIO_INHERIT,
_POSIX_THREAD_PRIO_PROTECT): Define.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise.

2004-11-26 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_ADVISORY_INFO,
Expand Down
9 changes: 9 additions & 0 deletions linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -150,6 +152,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -163,4 +168,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -156,6 +158,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -169,4 +174,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions linuxthreads/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -156,6 +158,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -169,4 +174,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions linuxthreads/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -156,6 +158,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -169,4 +174,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
21 changes: 4 additions & 17 deletions localedata/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
and
POSIX character set descriptions

Ulrich Drepper Time-stamp: <2000/07/20 13:08:24 aj>
drepper@cygnus.com
Ulrich Drepper Time-stamp: <2004/11/27 13:06:54 drepper>
drepper@redhat.com


This directory contains the data needed to build the locale data files
Expand Down Expand Up @@ -40,22 +40,9 @@ current directory simply use
How to use these data files is described in the GNU libc manual,
especially in the section describing the `setlocale' function.

All problems should be reported using

The files contained here were originally from

ftp://dkuug.dk/i18n/WG15-collection

Keld J�rn Simonsen from the Danish Unix User Group maintains this
archive on behalf of the POSIX working groups. When you find some wrong
data or want to add something please contact

Keld J�rn Simonsen <keld@dkuug.dk>
and
Ulrich Drepper <drepper@cygnus.com>

Please make sure your corrections are relative to the originally
distributed files. Consult the CHECKSUMS file which contains the MD5
sums for all data files.
http://sources.redhat.com/bugzilla/


One more note: the `POSIX' locale definition is not meant to be used
Expand Down
9 changes: 9 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2004-11-27 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_PRIORITIZED_IO,
_POSIX2_CHAR_TERM, _POSIX_THREAD_PRIO_INHERIT,
_POSIX_THREAD_PRIO_PROTECT): Define.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise.

2004-11-26 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_ADVISORY_INFO,
Expand Down
9 changes: 9 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -147,6 +149,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -160,4 +165,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection so far. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -153,6 +155,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -166,4 +171,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection so far. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -153,6 +155,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -166,4 +171,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection so far. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
9 changes: 9 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
#define _POSIX_ASYNC_IO 1
/* Alternative name for Unix98. */
#define _LFS_ASYNCHRONOUS_IO 1
/* Support for prioritization is also available. */
#define _POSIX_PRIORITIZED_IO 200112L

/* The LFS support in asynchronous I/O is also available. */
#define _LFS64_ASYNCHRONOUS_IO 1
Expand Down Expand Up @@ -153,6 +155,9 @@
/* Raw socket support is available. */
#define _POSIX_RAW_SOCKETS 200112L

/* We have at least one terminal. */
#define _POSIX2_CHAR_TERM 200112L

/* Neither process nor thread sporadic server interfaces is available. */
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_THREAD_SPORADIC_SERVER -1
Expand All @@ -166,4 +171,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1

/* No support for priority inheritance or protection so far. */
#define _POSIX_THREAD_PRIO_INHERIT -1
#define _POSIX_THREAD_PRIO_PROTECT -1

#endif /* posix_opt.h */
2 changes: 1 addition & 1 deletion posix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tests := tstgetopt testfnm runtests runptests \
tst-nice tst-nanosleep tst-regex2 \
transbug tst-rxspencer tst-pcre tst-boost \
bug-ga1 tst-vfork1 tst-vfork2 tst-waitid \
tst-getaddrinfo2 bug-glob1 bug-glob2
tst-getaddrinfo2 bug-glob1 bug-glob2 tst-sysconf
xtests := bug-ga2
ifeq (yes,$(build-shared))
test-srcs := globtest
Expand Down
Loading

0 comments on commit 597ce09

Please sign in to comment.