| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
try a hopefully more robust stdin/stdout/stderr. This costs an indirect
pointer fetch, but saves us from changes in 'FILE'. The __stdin stuff
is there to not pollute application name space if the application does
not use <stdio.h> and also in case something depended on the current
behavior where stdin etc was a #define.
Reviewed by: eischen, dillon
|
|
|
|
|
|
| |
inclusion of stddef.h.
Reviewed by: peter
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
application to provide locking for I/O operations. This doesn't
break any of my tests, but the old behavior can be restored by
compiling with _FDLOCKS_ENABLED. This will eventually be removed
when it is obvious it does not cause any problems.
Remove most of flockfile implementation, with the exception of
flockfile_debug.
Make error messages more informational (submitted by Mike Heffner
<spock@techfour.net>, who's now known as mikeh@FreeBSD.org).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a lock to FILE. flockfile and friends are now implemented
(for the most part) in libc. flockfile_debug is implemented in
libc_r; I suppose it's about time to kill it but will do it in
a future commit.
Fix a potential deadlock in _fwalk in a threaded environment.
A file flag (__SIGN) was added to stdio.h that, when set, tells
_fwalk to ignore it in its walk. This seemed to be needed in
refill.c because each file needs to be locked when flushing.
Add a stub for pthread_self in libc. This is needed by flockfile
which is allowed by POSIX to be recursive.
Make fgetpos() error return value (-1) match man page.
Remove recursive calls to locked functions (stdio); I think I've
got them all, but I may have missed a couple.
A few K&R -> ANSI conversions along with removal of a few instances
of "register".
$Id$ -> $FreeBSD$ in libc/stdio/rget.c
Not objected to: -arch, a few months ago
|
|
|
|
| |
Pointed out by: kris
|
|
|
|
| |
Reviewed by: hackers
|
| |
|
|
|
|
|
|
| |
in the .Nd.
Reviewed by: hackers
|
|
|
|
|
|
|
|
|
|
| |
it in.
Some review from -hackers (some time ago), and I think the best way to
get this improved (if it needs improving) or updating, is to bring it in.
PR: docs/12557
Submitted by: Tim Singletary <tsingle@triana.gsfc.nasa.gov>
|
|
|
|
| |
dynamic)
|
|
|
|
|
|
| |
was explicitly specified.
Submitted by: ache
|
|
|
|
| |
not only one-digit number
|
|
|
|
| |
Requested by: deischen
|
|
|
|
|
|
| |
LC_NUMERIC::grouping) values.
. Always set __XXX_changed flags then loading numeric & monetary locale
categories to allow localeconv() to use C locale also.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/24961
Submmitted by: Tony Finch <dot@dotat.at>
|
| |
|
| |
|
|
|
|
|
|
| |
These come from the live FS of the BSDi FreeBSD/AXP 4.2 disc set.
Forgotten by: non-Alpha person
|
| |
|
| |
|
| |
|
|
|
|
| |
These are: libalias.so.3 libfetch.so.1 libperl.so.3 libss.so.2 libvgl.so.1
|
| |
|
| |
|
| |
|
|
|
|
|
| |
I had moved on to FreeBSD 4.0 before 3.5-R and had forgotten to keep this
collection up to date.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: inspired by NetBSD strtod
|
|
|
|
|
| |
grouping" (CHAR_MAX, '\0').
Fixme: grouping parser needs to be implemented.
|
|
|
|
|
| |
all my "-1" -> "something" fixes and replace -1 with CHAR_MAX directly in
strtol() in cnv()
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
LC_NUMERIC fields, but only for *grouping fields - other fields are converted
to a chars in localeconv(), so final change is:
"-1" -> "127"
127 here is because CHAR_MAX supposed, which is _positive_ (SUSv2 requirement),
not negative as 255. It is still a bit of hack. To find real CHAR_MAX will be
better to sprintf() it once somewhere in static buffer. *grouping parsing
still broken and missing and needs to be implemented.
|
|
|
|
|
|
|
|
|
|
|
| |
LC_MONETARY, LC_NUMERIC are byte-arrays, not ASCII strings!
Fix "C" locale, change "-1" to {CHAR_MAX, '\0'} according to standards.
This is only partial fix - locale loading procedure remains broken as before
and load too big values for all locales. All numeric strings there should be
converted with something like atoi() and placed into bytes. Maybe I do it
later, if someone will not fix it faster.
|
| |
|
|
|
|
| |
PR: 15070
|
|
|
|
|
|
| |
PR: docs/24225
Submitted by: Joakim Henriksson <jurduth@ludd.luth.se>
Patch from: ben
|
|
|
|
| |
Approved by: jkh
|
|
|
|
| |
Approved by: jkh
|
|
|
|
| |
to SUSV2. Add comment explaining it instead.
|
|
|
|
|
|
|
| |
Return currency_symbol for CRNCYSTR
Return "%r" for T_FMT_AMPM
Remove obsoleted comment about c_fmt
Return "" for {YES,NO}STR
|
|
|
|
| |
whitespace after ``i.e.'', use .Rv, update .Dd.
|
| |
|
| |
|