mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
4d37c8aa01
2004-12-22 Steven Munroe <sjmunroe@us.ibm.com> * math/libm-test.inc (rint_test_tonearest): New test. (rint_test_towardzero): New test. (rint_test_downward): New test. (rint_test_upward): New test. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case. Remove redundant const values. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case. Remove redundant const values. Use float const. * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case. Use float const. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case. Use float const. * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case. Remove redundant const values. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case. Remove redundant const values. Use float const. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case. Remove redundant const values. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case. Remove redundant const values. Use float const. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Remove redundant const values. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Remove redundant const values. Use float const. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword alignment. Fix -0.0 case. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Use float const. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword alignment. Fix -0.0 case. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Use float const. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Remove redundant const values. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Remove redundant const values. Use float const. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword alignment. Fix -0.0 case. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword alignment. Fix -0.0 case. Remove redundant const values. Use float const.
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
<unistd.h>:
|
|
|
|
lssek: Probably should be __wur but lseek(fd,SEEK_SET,0) will succeed if
|
|
the descriptor is fine.
|
|
lseek64: same
|
|
|
|
setuid: will always succeed given correct privileges, so there might
|
|
be places which don't check for it.
|
|
setreuid: same
|
|
seteuid: same
|
|
setgid: same
|
|
setregid: same
|
|
setegid: same
|
|
setresuid: same
|
|
setresgid: same
|
|
|
|
|
|
<stdio.h>:
|
|
|
|
setvbuf: if stream and buffer are fine and other parameters constant,
|
|
it cannot really fail.
|
|
fseek: see lseek
|
|
fseeko: likewise
|
|
fgetpos: similarly
|
|
fsetpos: likewise
|
|
|
|
|
|
<stdlib.h>:
|
|
|
|
atext: it is guaranteed that a certain number of handlers can be
|
|
registered, so some calls might need not be checked
|
|
on_exit: same
|
|
random functions: one might want to discard a number of results. In any
|
|
case, no security problem
|
|
|
|
|
|
putenv: probably SHOULD be marked, but we'll wait a bit.
|
|
setenv: likewise
|
|
unsetenv: likewise
|
|
clearenv: likewise
|
|
|
|
mbstowcs: probably SHOULD be marked
|
|
wcstombs: likewise
|
|
|
|
ptsname_r: probably SHOULD be marked
|