Michael Kerrisk [Mon, 4 Jul 2005 08:59:13 +0000 (08:59 +0000)]
Replace mention of /etc/shadow by refernces to
"shadow password database", and LDAP and NIS.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316117
Miscellaneous wording improvements
Consistent DESCRIPTION wording vis-a-vis getpwnam.3 etc.
> You will probably consider adding also a note to point out that the bug
> will stay a known bug of the 2.4 serie:
>
> http://lkml.org/lkml/2005/7/1/165
First off, I _very_ much appreciate the fact that you keep
informing me of the progress of this bug! Thank you.
At the moment, I'm inlined yo leave the manual page as it is.
It currently reads:
On certain systems (including x86), Linux ker‐
nels before version 2.6.12 have a bug which
will produce premature timer expirations of up
to one jiffy under some circumstances. This
bug is fixed in kernel 2.6.12.
To me that implies that the bug also affects kernels before
2.4 -- e.g., 2.4.x. Now, what would be interesting is if the
bug *does* get fixed in 2.4, then I could also add a note
about the 2.4.x version where it is fixed.
In the meantime, I have added a note to myself (i.e., a comment
in the man page source) about this point.
If the bug *does* eventually get fixed in 2.4.x, and you
hear of it, please do let me know.
Michael Kerrisk [Fri, 1 Jul 2005 16:50:33 +0000 (16:50 +0000)]
Replace mention of /etc/{passwd,group} by refernces to
"passwd/group database", and LDAP and NIS.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316117
Miscellaneous wording improvements
Consistent DESCRIPTION and ERRORS wording across these pages.
Michael Kerrisk [Fri, 24 Jun 2005 12:38:56 +0000 (12:38 +0000)]
The return value of isinf() changed in glibc 2.02
to differentiate positive and neagtive infinity.
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285765
Michael Kerrisk [Thu, 23 Jun 2005 10:01:26 +0000 (10:01 +0000)]
Noted use of atexit() for establishing function to be invoked on shared library
unload.
Noted that atexit()-registered functions are not invoked on abnormal
termination.
Formatting fixes.
Michael Kerrisk [Wed, 22 Jun 2005 09:53:58 +0000 (09:53 +0000)]
Consistent use of terms "open file description",
"file status flags", and "file decriptor flags"
Some rewriting of discussion of file descriptor flags
Under F_DUPFD, replaced some text duplicated in dup.2 with a cross ref to dup.2
Minor wording and formatting fixes
Michael Kerrisk [Wed, 22 Jun 2005 09:53:00 +0000 (09:53 +0000)]
Consistent use of terms "open file description",
"file status flags", and "file decriptor flags"
Removed mention of lock sharing -- it was not accurate.
Minor formatting fixes
Michael Kerrisk [Tue, 21 Jun 2005 14:43:56 +0000 (14:43 +0000)]
Clarified semantics of relationship between flock() locks
and open file entries and file descriptors.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291121
Michael Kerrisk [Tue, 21 Jun 2005 11:20:42 +0000 (11:20 +0000)]
When specifying resolved_path as NULL, realpath()
will (still) only allocate up to PATH_MAX bytes.
Plus other minor changes.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239424
Because RAND_MAX is equal to INT_MAX, the following expression
contained in the manpage for rand(3) is slightly incorrect.
j=1+(int) (10.0*rand()/(RAND_MAX+1.0));
The correct expression should use parentheses to group the division
before the multiplication, thus yielding:
j=1+(int) (10.0*(rand()/(RAND_MAX+1.0)));
This is not an error where 10.0 is a floating point number, however
where 10.0 is replaced with an integer, this will cause the expression
to always evaluate to 1. (The addition of two parentheses would make
this bug a lot more difficult to make.)