[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: POSIX 2008 available
From: |
Bruno Haible |
Subject: |
Re: POSIX 2008 available |
Date: |
Wed, 10 Dec 2008 13:13:47 +0100 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> POSIX 2008 is now freely available at:
>
> http://www.opengroup.org/bookstore/catalog/c082.htm
>
> which, once you accept a cookie, redirects to:
>
> http://www.opengroup.org/onlinepubs/9699919799/toc.htm
With this patch, the generated MODULES.html file refers to the new POSIX 2008
web pages where possible.
Will there be a "shorthand" URL for
http://www.opengroup.org/onlinepubs/9699919799/,
like the /susv3 for the previous one?
Bruno
2008-12-10 Bruno Haible <address@hidden>
Change MODULES.html to refer to POSIX:2008 where possible.
* MODULES.html.sh (POSIX2008_URL): New variable.
(posix_headers): Remove sys/timeb, ucontext.
(posix2001_headers): New variable.
(posix_functions): Remove bcmp, bcopy, bsd_signal, bzero, ecvt, fcvt,
ftime, gcvt, getcontext, gethostbyaddr, gethostbyname, getwd, h_errno,
index, makecontext, mktemp, pthread_attr_getstackaddr,
pthread_attr_setstackaddr, rindex, scalb, setcontext, swapcontext,
ualarm, usleep, vfork, wcswcs. Add the new POSIX:2008 functions.
(posix2001_functions): New variable.
(func_module): Use URLs to POSIX:2008 where possible and to POSIX:2001
otherwise.
*** MODULES.html.sh.orig 2008-12-10 13:04:51.000000000 +0100
--- MODULES.html.sh 2008-12-10 12:17:16.000000000 +0100
***************
*** 22,31 ****
PATH=`dirname "$0"`:$PATH; export PATH
POSIX2001_URL='http://www.opengroup.org/susv3'
! case $USER in
! bruno )
! POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
! esac
repo_url_prefix=
repo_url_suffix=
--- 22,28 ----
PATH=`dirname "$0"`:$PATH; export PATH
POSIX2001_URL='http://www.opengroup.org/susv3'
! POSIX2008_URL='http://www.opengroup.org/onlinepubs/9699919799'
repo_url_prefix=
repo_url_suffix=
***************
*** 113,119 ****
sys/stat
sys/statvfs
sys/time
- sys/timeb
sys/times
sys/types
sys/uio
--- 110,115 ----
***************
*** 126,132 ****
tgmath
time
trace
- ucontext
ulimit
unistd
utime
--- 122,127 ----
***************
*** 135,140 ****
--- 130,139 ----
wctype
wordexp
' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
+ posix2001_headers=`echo '
+ sys/timeb
+ ucontext
+ ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
posix_functions=`echo '
FD_CLR
FD_ISSET
***************
*** 165,170 ****
--- 164,170 ----
aio_suspend
aio_write
alarm
+ alphasort
asctime
asctime_r
asin
***************
*** 189,201 ****
atol
atoll
basename
- bcmp
- bcopy
bind
- bsd_signal
bsearch
btowc
- bzero
cabs
cabsf
cabsl
--- 189,197 ----
***************
*** 316,331 ****
dbm_open
dbm_store
difftime
dirname
div
dlclose
dlerror
dlopen
dlsym
drand48
dup
dup2
! ecvt
encrypt
endgrent
endhostent
--- 312,329 ----
dbm_open
dbm_store
difftime
+ dirfd
dirname
div
dlclose
dlerror
dlopen
dlsym
+ dprintf
drand48
dup
dup2
! duplocale
encrypt
endgrent
endhostent
***************
*** 362,380 ****
fabs
fabsf
fabsl
fattach
fchdir
fchmod
fchown
fclose
fcntl
- fcvt
fdatasync
fdetach
fdim
fdimf
fdiml
fdopen
feclearexcept
fegetenv
fegetexceptflag
--- 360,381 ----
fabs
fabsf
fabsl
+ faccessat
fattach
fchdir
fchmod
+ fchmodat
fchown
+ fchownat
fclose
fcntl
fdatasync
fdetach
fdim
fdimf
fdiml
fdopen
+ fdopendir
feclearexcept
fegetenv
fegetexceptflag
***************
*** 388,393 ****
--- 389,395 ----
fesetround
fetestexcept
feupdateenv
+ fexecve
fflush
ffs
fgetc
***************
*** 407,412 ****
--- 409,415 ----
fmax
fmaxf
fmaxl
+ fmemopen
fmin
fminf
fminl
***************
*** 427,432 ****
--- 430,436 ----
fread
free
freeaddrinfo
+ freelocale
freopen
frexp
frexpf
***************
*** 436,465 ****
fseeko
fsetpos
fstat
fstatvfs
fsync
ftell
ftello
- ftime
ftok
ftruncate
ftrylockfile
ftw
funlockfile
fwide
fwprintf
fwrite
fwscanf
gai_strerror
- gcvt
getaddrinfo
getc
getc_unlocked
getchar
getchar_unlocked
- getcontext
getcwd
getdate
getegid
getenv
geteuid
--- 440,470 ----
fseeko
fsetpos
fstat
+ fstatat
fstatvfs
fsync
ftell
ftello
ftok
ftruncate
ftrylockfile
ftw
funlockfile
+ futimens
fwide
fwprintf
fwrite
fwscanf
gai_strerror
getaddrinfo
getc
getc_unlocked
getchar
getchar_unlocked
getcwd
getdate
+ getdate_err
+ getdelim
getegid
getenv
geteuid
***************
*** 470,481 ****
getgrnam
getgrnam_r
getgroups
- gethostbyaddr
- gethostbyname
gethostent
gethostid
gethostname
getitimer
getlogin
getlogin_r
getmsg
--- 475,485 ----
getgrnam
getgrnam_r
getgroups
gethostent
gethostid
gethostname
getitimer
+ getline
getlogin
getlogin_r
getmsg
***************
*** 516,528 ****
getutxline
getwc
getwchar
- getwd
glob
globfree
gmtime
gmtime_r
grantpt
- h_errno
hcreate
hdestroy
hsearch
--- 520,530 ----
***************
*** 543,549 ****
ilogbl
imaxabs
imaxdiv
- index
inet_addr
inet_ntoa
inet_ntop
--- 545,550 ----
***************
*** 552,566 ****
--- 553,573 ----
insque
ioctl
isalnum
+ isalnum_l
isalpha
+ isalpha_l
isascii
isastream
isatty
isblank
+ isblank_l
iscntrl
+ iscntrl_l
isdigit
+ isdigit_l
isfinite
isgraph
+ isgraph_l
isgreater
isgreaterequal
isinf
***************
*** 568,594 ****
--- 575,620 ----
islessequal
islessgreater
islower
+ islower_l
isnan
isnormal
isprint
+ isprint_l
ispunct
+ ispunct_l
isspace
+ isspace_l
isunordered
isupper
+ isupper_l
iswalnum
+ iswalnum_l
iswalpha
+ iswalpha_l
iswblank
+ iswblank_l
iswcntrl
+ iswcntrl_l
iswctype
+ iswctype_l
iswdigit
+ iswdigit_l
iswgraph
+ iswgraph_l
iswlower
+ iswlower_l
iswprint
+ iswprint_l
iswpunct
+ iswpunct_l
iswspace
+ iswspace_l
iswupper
+ iswupper_l
iswxdigit
+ iswxdigit_l
isxdigit
+ isxdigit_l
j0
j1
jn
***************
*** 608,613 ****
--- 634,640 ----
lgammaf
lgammal
link
+ linkat
lio_listio
listen
llabs
***************
*** 648,659 ****
lsearch
lseek
lstat
- makecontext
malloc
mblen
mbrlen
mbrtowc
mbsinit
mbsrtowcs
mbstowcs
mbtowc
--- 675,686 ----
lsearch
lseek
lstat
malloc
mblen
mbrlen
mbrtowc
mbsinit
+ mbsnrtowcs
mbsrtowcs
mbstowcs
mbtowc
***************
*** 664,673 ****
memmove
memset
mkdir
mkfifo
mknod
mkstemp
- mktemp
mktime
mlock
mlockall
--- 691,703 ----
memmove
memset
mkdir
+ mkdirat
+ mkdtemp
mkfifo
+ mkfifoat
mknod
+ mknodat
mkstemp
mktime
mlock
mlockall
***************
*** 702,707 ****
--- 732,738 ----
nearbyint
nearbyintf
nearbyintl
+ newlocale
nextafter
nextafterf
nextafterl
***************
*** 711,723 ****
--- 742,761 ----
nftw
nice
nl_langinfo
+ nl_langinfo_l
nrand48
ntohl
ntohs
open
+ open_memstream
+ open_wmemstream
+ openat
opendir
openlog
optarg
+ opterr
+ optind
+ optopt
pathconf
pause
pclose
***************
*** 810,815 ****
--- 848,855 ----
pread
printf
pselect
+ psiginfo
+ psignal
pthread_atfork
pthread_attr_destroy
pthread_attr_getdetachstate
***************
*** 819,825 ****
pthread_attr_getschedpolicy
pthread_attr_getscope
pthread_attr_getstack
- pthread_attr_getstackaddr
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
--- 859,864 ----
***************
*** 829,835 ****
pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstack
- pthread_attr_setstackaddr
pthread_attr_setstacksize
pthread_barrier_destroy
pthread_barrier_init
--- 868,873 ----
***************
*** 865,870 ****
--- 903,909 ----
pthread_key_create
pthread_key_delete
pthread_kill
+ pthread_mutex_consistent
pthread_mutex_destroy
pthread_mutex_getprioceiling
pthread_mutex_init
***************
*** 877,887 ****
--- 916,928 ----
pthread_mutexattr_getprioceiling
pthread_mutexattr_getprotocol
pthread_mutexattr_getpshared
+ pthread_mutexattr_getrobust
pthread_mutexattr_gettype
pthread_mutexattr_init
pthread_mutexattr_setprioceiling
pthread_mutexattr_setprotocol
pthread_mutexattr_setpshared
+ pthread_mutexattr_setrobust
pthread_mutexattr_settype
pthread_once
pthread_rwlock_destroy
***************
*** 933,938 ****
--- 974,980 ----
readdir
readdir_r
readlink
+ readlinkat
readv
realloc
realpath
***************
*** 952,960 ****
remquof
remquol
rename
rewind
rewinddir
- rindex
rint
rintf
rintl
--- 994,1002 ----
remquof
remquol
rename
+ renameat
rewind
rewinddir
rint
rintf
rintl
***************
*** 962,976 ****
round
roundf
roundl
- scalb
scalbln
scalblnf
scalblnl
scalbn
scalbnf
scalbnl
scanf
sched_get_priority_max
sched_getparam
sched_getscheduler
sched_rr_get_interval
--- 1004,1019 ----
round
roundf
roundl
scalbln
scalblnf
scalblnl
scalbn
scalbnf
scalbnl
+ scandir
scanf
sched_get_priority_max
+ sched_get_priority_min
sched_getparam
sched_getscheduler
sched_rr_get_interval
***************
*** 997,1003 ****
sendmsg
sendto
setbuf
- setcontext
setegid
setenv
seteuid
--- 1040,1045 ----
***************
*** 1045,1050 ****
--- 1087,1093 ----
siglongjmp
signal
signbit
+ signgam
sigpause
sigpending
sigprocmask
***************
*** 1077,1103 ****
--- 1120,1159 ----
sscanf
stat
statvfs
+ stderr
stdin
+ stdout
+ stpcpy
+ stpncpy
strcasecmp
+ strcasecmp_l
strcat
strchr
strcmp
strcoll
+ strcoll_l
strcpy
strcspn
strdup
strerror
+ strerror_l
strerror_r
strfmon
+ strfmon_l
strftime
+ strftime_l
strlen
strncasecmp
+ strncasecmp_l
strncat
strncmp
strncpy
+ strndup
+ strnlen
strpbrk
strptime
strrchr
+ strsignal
strspn
strstr
strtod
***************
*** 1112,1122 ****
strtoull
strtoumax
strxfrm
swab
- swapcontext
swprintf
swscanf
symlink
sync
sysconf
syslog
--- 1168,1179 ----
strtoull
strtoumax
strxfrm
+ strxfrm_l
swab
swprintf
swscanf
symlink
+ symlinkat
sync
sysconf
syslog
***************
*** 1147,1152 ****
--- 1204,1210 ----
timer_create
timer_delete
timer_getoverrun
+ timer_gettime
timer_settime
times
timezone
***************
*** 1154,1163 ****
--- 1212,1226 ----
tmpnam
toascii
tolower
+ tolower_l
toupper
+ toupper_l
towctrans
+ towctrans_l
towlower
+ towlower_l
towupper
+ towupper_l
trunc
truncate
truncf
***************
*** 1168,1190 ****
twalk
tzname
tzset
- ualarm
ulimit
umask
uname
ungetc
ungetwc
unlink
unlockpt
unsetenv
! usleep
utime
utimes
va_arg
va_copy
va_end
va_start
! vfork
vfprintf
vfscanf
vfwprintf
--- 1231,1254 ----
twalk
tzname
tzset
ulimit
umask
uname
ungetc
ungetwc
unlink
+ unlinkat
unlockpt
unsetenv
! uselocale
utime
+ utimensat
utimes
va_arg
va_copy
va_end
va_start
! vdprintf
vfprintf
vfscanf
vfwprintf
***************
*** 1201,1218 ****
--- 1265,1292 ----
wait
waitid
waitpid
+ wcpcpy
+ wcpncpy
wcrtomb
+ wcscasecmp
+ wcscasecmp_l
wcscat
wcschr
wcscmp
wcscoll
+ wcscoll_l
wcscpy
wcscspn
+ wcsdup
wcsftime
wcslen
+ wcsncasecmp
+ wcsncasecmp_l
wcsncat
wcsncmp
wcsncpy
+ wcsnlen
+ wcsnrtombs
wcspbrk
wcsrchr
wcsrtombs
***************
*** 1229,1241 ****
wcstoul
wcstoull
wcstoumax
- wcswcs
wcswidth
wcsxfrm
wctob
wctomb
wctrans
wctype
wcwidth
wmemchr
wmemcmp
--- 1303,1317 ----
wcstoul
wcstoull
wcstoumax
wcswidth
wcsxfrm
+ wcsxfrm_l
wctob
wctomb
wctrans
+ wctrans_l
wctype
+ wctype_l
wcwidth
wmemchr
wmemcmp
***************
*** 1252,1257 ****
--- 1328,1361 ----
y1
yn
' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
+ posix2001_functions=`echo '
+ bcmp
+ bcopy
+ bsd_signal
+ bzero
+ ecvt
+ fcvt
+ ftime
+ gcvt
+ getcontext
+ gethostbyaddr
+ gethostbyname
+ getwd
+ h_errno
+ index
+ makecontext
+ mktemp
+ pthread_attr_getstackaddr
+ pthread_attr_setstackaddr
+ rindex
+ scalb
+ setcontext
+ swapcontext
+ ualarm
+ usleep
+ vfork
+ wcswcs
+ ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
indent=""
seen_modules=
***************
*** 1410,1418 ****
element=`gnulib-tool --extract-description $1 \
| sed -e "$sed_lt" -e "$sed_gt" -e
"$sed_remove_trailing_empty_line" \
-e 's,^, ,' -e 's,$, ,' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'()
\(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'
\(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A
HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what??
If you mean a function\, please say so.</SPAN>,g' \
-e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)()
\(function\|macro\),\1\2 \3,g' \
-e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2
<SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say
so.</SPAN>,g' \
-e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\),
<CODE>\1</CODE>\2,g' \
--- 1514,1525 ----
element=`gnulib-tool --extract-description $1 \
| sed -e "$sed_lt" -e "$sed_gt" -e
"$sed_remove_trailing_empty_line" \
-e 's,^, ,' -e 's,$, ,' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'()
\(function\|macro\),\1<A HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A>
\3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'
\(function\|macro\),\1<A HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A>
\3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A
HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A> <SPAN
STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g'
\
! -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'()
\(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'
\(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
! -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'(),\1<A
HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what??
If you mean a function\, please say so.</SPAN>,g' \
-e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)()
\(function\|macro\),\1\2 \3,g' \
-e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2
<SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say
so.</SPAN>,g' \
-e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\),
<CODE>\1</CODE>\2,g' \
***************
*** 1434,1440 ****
element=`echo "$includes" \
| sed -e "$sed_lt" -e "$sed_gt" -e
"$sed_remove_trailing_empty_line" \
-e 's,^#include "\(.*\)"$,#include "<A
HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
! -e 's,^#include <'"${posix_headers}"'\.h>$,#include
\<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' \
-e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
test -n "$element" || element='---'
func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
--- 1541,1549 ----
element=`echo "$includes" \
| sed -e "$sed_lt" -e "$sed_gt" -e
"$sed_remove_trailing_empty_line" \
-e 's,^#include "\(.*\)"$,#include "<A
HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
! -e 's,^#include <'"${posix_headers}"'\.h>$,#include
\<<A HREF="'"$POSIX2008_URL"'/basedefs/\1.h.html">\1.h</A>\>,' \
! -e 's,<A
HREF="'"$POSIX2008_URL"'/basedefs/\([a-zA-Z0-9_]*\)/\([a-zA-Z0-9_]*\)\.h\.html">,<A
HREF="'"$POSIX2008_URL"'/basedefs/\1_\2.h.html">,' \
! -e 's,^#include
<'"${posix2001_headers}"'\.h>$,#include \<<A
HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' \
-e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
test -n "$element" || element='---'
func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
- POSIX 2008 available, Eric Blake, 2008/12/09
- Re: POSIX 2008 available, Mike Frysinger, 2008/12/09
- a good pdf-to-text converter? [Re: POSIX 2008 available, Jim Meyering, 2008/12/10
- Re: POSIX 2008 available,
Bruno Haible <=
- Re: POSIX 2008 available, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, openat, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, openat, Jim Meyering, 2008/12/14
- Re: POSIX 2008 available, openat, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, openat, James Youngman, 2008/12/14
- Re: POSIX 2008 available, openat, Bruno Haible, 2008/12/14
- Re: POSIX 2008 available, openat, Jim Meyering, 2008/12/15
- Re: POSIX 2008 available, openat, Jim Meyering, 2008/12/15