| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
__SOFF flag (i.e. we don't have offset) instead of returning EOVERFLOW.
It allows again continious reading from non-stop stream.
Notes:
svn path=/head/; revision=82818
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82812
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82810
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
__swrite() and __sseek() to higher level. According to funopen(3) they all
are just wrappers to something like standard read(2), write(2) and
lseek(2), i.e. must not touch stdio internals because they are replaceable
with any other functions knows nothing about stdio internals. See example
of funopen(3) usage in sendmail sources f.e.
NOTE: this is original stdio bug, not result of my range checkin added.
Notes:
svn path=/head/; revision=82807
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82761
|
| |
|
|
|
|
|
|
| |
modules.
o Properly terminate a preposition.
Notes:
svn path=/head/; revision=82760
|
| |
|
|
|
|
|
|
|
| |
internal functions there may fail and set (i.e. overwrite) errno in normal
(not error) situation). In original variant errno testing after call
(as POSIX suggest) is wrong when errno overwrite happens.
Notes:
svn path=/head/; revision=82743
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82742
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82741
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82740
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82739
|
| |
|
|
|
|
|
| |
Add more to SEE ALSO section.
Notes:
svn path=/head/; revision=82738
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82737
|
| |
|
|
|
|
|
|
|
|
| |
0, return that we can't specify it, i.e. error with ESPIPE.
(hint from: "Peter S. Housel" <housel@acm.org>)
Back out sinit() addition, not needed after various code simplifications.
Notes:
svn path=/head/; revision=82736
|
| |
|
|
|
|
|
| |
to indicate that stream becomes inconsistent.
Notes:
svn path=/head/; revision=82735
|
| |
|
|
|
|
|
| |
return EIO and set __SERR to mark stream as inconsistent.
Notes:
svn path=/head/; revision=82734
|
| |
|
|
|
|
|
|
| |
keep negative offset internally, but return 0 externally in ftell*()
I.e. use 0 now as 'unspecified value' per POSIX ungetc() description.
Notes:
svn path=/head/; revision=82709
|
| |
|
|
|
|
|
|
|
|
|
| |
o Attach cap_copy_ext.3 and cap_copy_int.3 to the install, and link
cap_size.3 to cap_copy_ext.3.
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82707
|
| |
|
|
|
|
|
| |
Sort ERRORS section
Notes:
svn path=/head/; revision=82705
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82684
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82683
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82679
|
| |
|
|
|
|
|
| |
checks in ftell.
Notes:
svn path=/head/; revision=82673
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82670
|
| |
|
|
|
|
|
|
| |
it into one subfunction instead.
Try to use real offset in strange cases.
Notes:
svn path=/head/; revision=82668
|
| |
|
|
|
|
|
| |
internal buffer and trust offset, not return error.
Notes:
svn path=/head/; revision=82659
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82654
|
| |
|
|
|
|
|
| |
Use errno to catch negative seek with -1 offset
Notes:
svn path=/head/; revision=82653
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=82644
|
| |
|
|
|
|
|
| |
Submitted by: yar
Notes:
svn path=/head/; revision=82642
|
| |
|
|
|
|
|
|
| |
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82617
|
| |
|
|
|
|
|
|
|
|
| |
sys/capability.h now.
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82616
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support functions:
cap_subset_np() - Is cap1 a subset of cap2
cap_equal_np() - Is cap1 equal to cap2
o Introduce implementations of POSIX.1e capability support functions:
cap_copy_ext() - Externalize capability
cap_copy_int() - Internalize capability
cap_size() - Determine size required for cap_copy_ext()
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82614
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82600
|
| |
|
|
|
|
|
| |
if offset tends to be negative.
Notes:
svn path=/head/; revision=82591
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82590
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When file offset tends to be negative due to internal and ungetc buffers
additions counted, try to discard some ungetc data first, then return EBADF.
Later one can happens if lseek(fileno(fd),...) called f.e. POSIX says that
ungetc beyond beginning of the file results are undefined, so we can just
discard some of ungetc data in that case.
Don't rely on gcc cast when checking for overflow, use OFF_MAX.
Cosmetique.
Notes:
svn path=/head/; revision=82588
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Unify <machine/endian.h>'s across all architectures.
o Make bswapXX() functions use a different spelling of u_int16_t and
friends to reduce namespace pollution. The bswapXX() functions
don't actually exist, but we'll probably import these at some
point. Atleast one driver (if_de) depends on bswapXX() for big
endian cases.
o Deprecate byteorder(3) prototypes from <sys/types.h>, these are
now prototyped indirectly in <arpa/inet.h>.
o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these
are now typedef'd in <arpa/inet.h>.
o Change byteorder(3) prototypes to use standards compliant uint32_t
(spelled __uint32_t to reduce namespace pollution).
o Document new preferred headers and standards compliance.
Discussed with: bde
PR: 29946
Reviewed by: bmilekic
Notes:
svn path=/head/; revision=82530
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
documented by POSIX.1e, and understand the opaque capability structures.
Introduce support in the userland POSIX.1e library for a
_CAPABILITY_NEEDMACROS define to remove these macros from the normal
namespace, but allow the libc functions to use them.
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82511
|
| |
|
|
|
|
|
|
|
| |
libraries or for other members of the err() family).
This fixes world breakage in bc and rcs/* for NOSHARED worlds.
Notes:
svn path=/head/; revision=82496
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82407
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82402
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82401
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82400
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82397
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82348
|
| |
|
|
|
|
|
|
|
|
| |
an exception to it.
Submitted by: tmm
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=82321
|
| |
|
|
|
|
|
|
| |
semantics as PROT_XXX vs VM_PROT_XXX separating user-space defines from
kernel defines).
Notes:
svn path=/head/; revision=82292
|
| |
|
|
|
|
|
| |
document minherit().
Notes:
svn path=/head/; revision=82291
|
| |
|
|
|
|
|
|
|
|
|
| |
referal from mmap to minherit for MAP_INHERIT. Fully document the
minherit.2 manual page (because frankly, my dear, however you think it
currently works is almost certainly wrong!). I may soon re-implement
MAP_COPY because I believe we can support it properly now, but I will have
to call it something else and that is for a later time.
Notes:
svn path=/head/; revision=82289
|