| 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
Notes:
svn path=/head/; revision=72391
|
| |
|
|
|
|
|
|
|
| |
inclusion of stddef.h.
Reviewed by: peter
Notes:
svn path=/head/; revision=72390
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72377
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
Notes:
svn path=/head/; revision=72374
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=72373
|
| |
|
|
|
|
|
| |
Pointed out by: kris
Notes:
svn path=/head/; revision=72370
|
| |
|
|
|
|
|
| |
Reviewed by: hackers
Notes:
svn path=/head/; revision=72369
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72368
|
| |
|
|
|
|
|
|
|
| |
in the .Nd.
Reviewed by: hackers
Notes:
svn path=/head/; revision=72367
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=72365
|
| |
|
|
|
|
|
| |
dynamic)
Notes:
svn path=/head/; revision=72360
|
| |
|
|
|
|
|
|
|
| |
was explicitly specified.
Submitted by: ache
Notes:
svn path=/head/; revision=72359
|
| |
|
|
|
|
|
| |
not only one-digit number
Notes:
svn path=/head/; revision=72333
|
| |
|
|
|
|
|
| |
Requested by: deischen
Notes:
svn path=/head/; revision=72331
|
| |
|
|
|
|
|
|
|
| |
LC_NUMERIC::grouping) values.
. Always set __XXX_changed flags then loading numeric & monetary locale
categories to allow localeconv() to use C locale also.
Notes:
svn path=/head/; revision=72321
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72316
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72314
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72313
|
| |
|
|
|
|
|
|
| |
PR: docs/24961
Submmitted by: Tony Finch <dot@dotat.at>
Notes:
svn path=/head/; revision=72311
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72309
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72308
|
| |
|
|
|
|
|
|
|
| |
These come from the live FS of the BSDi FreeBSD/AXP 4.2 disc set.
Forgotten by: non-Alpha person
Notes:
svn path=/head/; revision=72307
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72302
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72301
|
| |
|
|
|
|
|
| |
These are: libalias.so.3 libfetch.so.1 libperl.so.3 libss.so.2 libvgl.so.1
Notes:
svn path=/head/; revision=72299
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72297
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72296
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72294
|
| |
|
|
|
|
|
|
| |
I had moved on to FreeBSD 4.0 before 3.5-R and had forgotten to keep this
collection up to date.
Notes:
svn path=/head/; revision=72292
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72291
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72290
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72289
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72288
|
| |
|
|
|
|
|
| |
Obtained from: inspired by NetBSD strtod
Notes:
svn path=/head/; revision=72287
|
| |
|
|
|
|
|
|
| |
grouping" (CHAR_MAX, '\0').
Fixme: grouping parser needs to be implemented.
Notes:
svn path=/head/; revision=72284
|
| |
|
|
|
|
|
|
| |
all my "-1" -> "something" fixes and replace -1 with CHAR_MAX directly in
strtol() in cnv()
Notes:
svn path=/head/; revision=72283
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72273
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=72272
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=72271
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72263
|
| |
|
|
|
|
|
| |
PR: 15070
Notes:
svn path=/head/; revision=72254
|
| |
|
|
|
|
|
|
|
| |
PR: docs/24225
Submitted by: Joakim Henriksson <jurduth@ludd.luth.se>
Patch from: ben
Notes:
svn path=/head/; revision=72251
|
| |
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/head/; revision=72247
|
| |
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/head/; revision=72246
|
| |
|
|
|
|
|
| |
to SUSV2. Add comment explaining it instead.
Notes:
svn path=/head/; revision=72245
|
| |
|
|
|
|
|
|
|
|
| |
Return currency_symbol for CRNCYSTR
Return "%r" for T_FMT_AMPM
Remove obsoleted comment about c_fmt
Return "" for {YES,NO}STR
Notes:
svn path=/head/; revision=72243
|
| |
|
|
|
|
|
| |
whitespace after ``i.e.'', use .Rv, update .Dd.
Notes:
svn path=/head/; revision=72214
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72205
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72183
|