| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=83139
|
| |
|
|
| |
Notes:
svn path=/head/; revision=83137
|
| |
|
|
|
|
|
|
|
|
|
|
| |
my last version of this work due to HDD crash, but this version cleanly
passed all POSIX and SuSv2 tests. I am working on testing scripts which
should test this implementation against all locales and surely more fixes
will come soon.
Reviewed by: ache, silence at -audit & -developers
Notes:
svn path=/head/; revision=83104
|
| |
|
|
|
|
|
|
| |
in case {L}LONG_MAX > abs({L}LONG_MIN). Non-functional change - we don't
have any such platforms.
Notes:
svn path=/head/; revision=83024
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82995
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82982
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'locale not used' statement from comments and BUGS section of manpage.
strtol(): fix non-portable 'cutoff' calculation using the same method as
in strtoll().
Cleanup 'cutoff' calculation, remove unneded casts. Misc. cleanup to
make all functions looks the same.
Implement EINVAL reaction per POSIX, document it in manpage, corresponding
POSIX example quotes here:
------------------------------------------------
If the subject sequence is empty or does not have the expected form, no
conversion is performed; the value of str is stored in the object pointed
to by endptr, provided that endptr is not a null pointer.
If no conversion could be performed, 0 shall be returned and errno may be
set to [EINVAL].
[EINVAL] The value of base is not supported.
Since 0, {LONG_MIN} or {LLONG_MIN}, and {LONG_MAX} or {LLONG_MAX} are
returned on error and are also valid returns on success, an application
wishing to check for error situations should set errno to 0, then call
strtol( ) or strtoll ( ), then check errno.
-----------------------------------------------------
Notes:
svn path=/head/; revision=82975
|
| |
|
|
|
|
|
| |
Submitted by: yar
Notes:
svn path=/head/; revision=82642
|
| |
|
|
|
|
|
|
|
|
|
| |
`getopt(3)' should not print a warning for missing argument values.
PR: bin/29625
Reviewed by: mikeh
MFC after: 1 week
Notes:
svn path=/head/; revision=81746
|
| |
|
|
|
|
|
| |
Noticed by: bde
Notes:
svn path=/head/; revision=81447
|
| |
|
|
|
|
|
|
|
|
|
| |
Backout previous revision. We should not expand plain text xrefs if
they appear in the literal text, e.g. in the error or warning message
of the library function. (Submitted by: bde)
Moved "out of memory" from warning to errors section.
Notes:
svn path=/head/; revision=81446
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Notes:
svn path=/head/; revision=81352
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81285
|
| |
|
|
|
|
|
| |
implementation and compilation when bringing up a new architecture.
Notes:
svn path=/head/; revision=80743
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79754
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79531
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79461
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79454
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79200
|
| |
|
|
| |
Notes:
svn path=/head/; revision=78727
|
| |
|
|
| |
Notes:
svn path=/head/; revision=78726
|
| |
|
|
| |
Notes:
svn path=/head/; revision=78706
|
| |
|
|
|
|
|
|
|
|
| |
PR: 27858
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
Reviewed by: md5(1)
Approved by: markm
Notes:
svn path=/head/; revision=77851
|
| |
|
|
|
|
|
|
|
| |
PR: 27858
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
Approved by: markm
Notes:
svn path=/head/; revision=77850
|
| |
|
|
|
|
|
|
| |
Obtained from: NetBSD
MFC after: 1 month
Notes:
svn path=/head/; revision=76613
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76061
|
| |
|
|
| |
Notes:
svn path=/head/; revision=75864
|
| |
|
|
| |
Notes:
svn path=/head/; revision=75863
|
| |
|
|
|
|
|
| |
change of high word part too to produce more interesting seed distribution.
Notes:
svn path=/head/; revision=75862
|
| |
|
|
| |
Notes:
svn path=/head/; revision=75845
|
| |
|
|
| |
Notes:
svn path=/head/; revision=74870
|
| |
|
|
|
|
|
| |
Approved by: nik
Notes:
svn path=/head/; revision=74268
|
| |
|
|
|
|
|
|
| |
.Nd line broken in rev 1.10
use .Bx for ``BSD''
Notes:
svn path=/head/; revision=73234
|
| |
|
|
|
|
|
|
|
| |
Noticed by: bde
Use .Bx for ``BSD''.
Notes:
svn path=/head/; revision=73222
|
| |
|
|
|
|
|
|
|
| |
Even better formula from random() could not be intetgrated because rand_r()
supposed to store its state in the single variable (but table needed for
random() algorithm integration).
Notes:
svn path=/head/; revision=73156
|
| |
|
|
|
|
|
| |
check in my changes.
Notes:
svn path=/head/; revision=73155
|
| |
|
|
|
|
|
| |
and rewrite strto[u]q() in terms of it.
Notes:
svn path=/head/; revision=73152
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73088
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73021
|
| |
|
|
|
|
|
|
|
|
|
| |
Change __dtoa to not free the string it allocated the previous time it was
called. The caller now frees the string after usage if appropiate.
PR: 15070
Reviewed by: deischen
Notes:
svn path=/head/; revision=72523
|
| |
|
|
|
|
|
|
| |
number, and then placed in alphabetical order and comma separated.",
mdoc.samples(7) said.
Notes:
svn path=/head/; revision=72401
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72400
|
| |
|
|
|
|
|
| |
Reviewed by: hackers
Notes:
svn path=/head/; revision=72369
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72368
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72313
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72301
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72288
|
| |
|
|
|
|
|
| |
Obtained from: inspired by NetBSD strtod
Notes:
svn path=/head/; revision=72287
|
| |
|
|
|
|
|
| |
PR: 15070
Notes:
svn path=/head/; revision=72254
|
| |
|
|
|
|
|
|
|
|
| |
Change __dtoa to not free the string it allocated the previous time it was
called. The caller now frees the string after usage if appropiate.
PR: 15070
Notes:
svn path=/head/; revision=72179
|