| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Requested by: ru
Notes:
svn path=/head/; revision=113224
|
| |
|
|
|
|
|
|
| |
- Use the environment variable 'PATH_FSTAB' if set rather than the
hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB)
Notes:
svn path=/head/; revision=113219
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113199
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113196
|
| |
|
|
|
|
|
|
|
| |
into the last commit.
Noticed by: mike
Notes:
svn path=/head/; revision=113194
|
| |
|
|
|
|
|
|
|
|
|
| |
be printed.
- Fix %f conversions where the number of significant digits is < expt.
This would be a one-line change were it not for thousands separators.
Noticed by tjr.
- Remove some unnecessary code in the parsing of precision specifiers.
Notes:
svn path=/head/; revision=113191
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- We used to round long double arguments to double. Now we print
them properly.
- Bugs involving '%F', corner cases of '#' and 'g' format
specifiers, and the '.*' precision specifier have been
fixed.
- Added support for the "'" specifier to print thousands' grouping
characters in a locale-dependent manner.
- Implement the __vfprintf() side of hexadecimal floating point
support. All that is still needed is a routine to convert the
mantissa to hex digits one nibble at a time in the style of ultoa().
Reviewed by: silence on standards@
Notes:
svn path=/head/; revision=113146
|
| |
|
|
|
|
|
|
|
|
| |
In support of this, add some MD macros to assist in converting long
doubles to the format expected by gdtoa().
Reviewed by: silence on standards@
Notes:
svn path=/head/; revision=113145
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113143
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- __vfprintf()'s 'buf' has never been used for floating point, so
don't define it in terms of (incorrect) constants describing
floating point numbers. The actual size needed depends on
sizeof(uintmax_t) and locale details, so I slightly overestimated.
- We don't need a 308-character buffer to store the string "308".
With long doubles and %a we need more than three characters, though.
Notes:
svn path=/head/; revision=113142
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113105
|
| |
|
|
|
|
|
|
|
|
|
| |
strange things might happen when garbage values in the struct
get passed in to localtime_r() and family.
Noticed by: marcus
Approved by: markm (mentor)(implicit)
Notes:
svn path=/head/; revision=113104
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113103
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112963
|
| |
|
|
|
|
|
|
|
|
|
| |
[2] - Remove a contraction
PR: docs/50401
Submitted by: [1] Slaven Rezic <slaven@rezic.de>
MFC after: 1 week
Notes:
svn path=/head/; revision=112955
|
| |
|
|
|
|
|
|
|
|
|
| |
critical and should not be killed when pageout is looking for more
memory pages in all the wrong places.
Reviewed by: arch@
Sponsored by: St. Bernard Software
Notes:
svn path=/head/; revision=112881
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112823
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112820
|
| |
|
|
|
|
|
|
|
| |
restores can work. Also correct allocation for signal frame size.
Reviewed by: mini
Notes:
svn path=/head/; revision=112807
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
from strptime(3). Previously, they would get filled only
for the %s specifier and as a side effect of using the
the %Z specifier with a GMT time zone.
PR: misc/48993
Approved by: markm (mentor)
Silence on: -standards
Notes:
svn path=/head/; revision=112787
|
| |
|
|
|
|
|
| |
Requested by: bde
Notes:
svn path=/head/; revision=112743
|
| |
|
|
|
|
|
| |
Submitted by: Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
Notes:
svn path=/head/; revision=112726
|
| |
|
|
|
|
|
|
|
| |
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.
Notes:
svn path=/head/; revision=112665
|
| |
|
|
|
|
|
| |
The ... 2 system call
Notes:
svn path=/head/; revision=112543
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112542
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112427
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112426
|
| |
|
|
|
|
|
| |
in that case.
Notes:
svn path=/head/; revision=112425
|
| |
|
|
|
|
|
|
|
|
| |
by NIS work, like nsswitch.conf(5) promises to be able to.
(These modifications will be fed back to NetBSD, of course)
- In endusershell(), do not set `sl' to NULL if we know it already has
that value.
Notes:
svn path=/head/; revision=112407
|
| |
|
|
|
|
|
| |
leaving without deallocating `data' thereby creating a memory leak.
Notes:
svn path=/head/; revision=112404
|
| |
|
|
|
|
|
|
| |
explode, so nix the old strtod() / dtoa(). This change is part
of the gdtoa patches reviewed on standards@.
Notes:
svn path=/head/; revision=112257
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112232
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112229
|
| |
|
|
|
|
|
|
|
|
|
|
| |
dtoa() is buggy. The bug would cause incorrect output to be
generated when format strings such as '%5.0f' were used with
nonzero numbers whose magnitude is less than 1.
Reported by: df(1) by way of periodic(8)
Reviewed by: mike
Notes:
svn path=/head/; revision=112224
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112223
|
| |
|
|
|
|
|
| |
OK'ed by: das
Notes:
svn path=/head/; revision=112202
|
| |
|
|
|
|
|
|
| |
struct member names and the corresponding comments so the lines don't
wrap on 80-column terminals.
Notes:
svn path=/head/; revision=112190
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112177
|
| |
|
|
|
|
|
| |
last argument.
Notes:
svn path=/head/; revision=112174
|
| |
|
|
|
|
|
| |
Reviewed by: bde (briefly), mike (mentor), obrien
Notes:
svn path=/head/; revision=112164
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
package, a more recent, generalized set of routines. Among the
changes:
- Declare strtof() and strtold() in stdlib.h.
- Add glue to libc to support these routines for all kinds
of ``long double''.
- Update printf() to reflect the fact that dtoa works slightly
differently now.
As soon as I see that nothing has blown up, I will kill
src/lib/libc/stdlib/strtod.c. Soon printf() will be able
to use the new routines to output long doubles without loss
of precision, but numerous bugs in the existing code must
be addressed first.
Reviewed by: bde (briefly), mike (mentor), obrien
Notes:
svn path=/head/; revision=112163
|
| |
|
|
|
|
|
|
|
|
|
| |
desired strptime(3) reentrancy by adding an extra argument to _strptime()
instead.
Approved by: markm (mentor)
MFC: 4 weeks
Notes:
svn path=/head/; revision=112156
|
| |
|
|
|
|
|
|
|
|
| |
hsearch(.., ENTER). Make the example reflect this.
PR: 49951
Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
Notes:
svn path=/head/; revision=112143
|
| |
|
|
|
|
|
|
|
|
| |
various tunables that are applicable to sendfile(2). Update tuning.7
to mention a reference to sendfile.2.
Approved by: keramida
Notes:
svn path=/head/; revision=112134
|
| |
|
|
|
|
|
| |
are at the top of loops.
Notes:
svn path=/head/; revision=112132
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112131
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112129
|
| |
|
|
|
|
|
| |
better than the code generated by gcc in many cases.
Notes:
svn path=/head/; revision=112059
|
| |
|
|
|
|
|
| |
to the Errors section.
Notes:
svn path=/head/; revision=112019
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=111962
|