| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
manpage by taking its text from NetBSD and editing it further.
This also improves the page's mdoc(7) markup style.
Reviewed by: ru
Obtained from: NetBSD
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Removed whitespace at EOL
o Removed hard sentence breaks
o Added cap_size() to the NAME section
o Normalized .Nd descriptions
o Fixed the abuses of .Nm and .Va
o Fixed some DESCRIPTION texts
o Fixed the RETURN VALUES and ERRORS texts to look more traditional
Reviewed by: tmm
|
|
|
|
| |
some function arguments as unused.
|
|
|
|
|
|
| |
support.
Obtained from: TrustedBSD Project
|
|
|
|
|
| |
in case {L}LONG_MAX > abs({L}LONG_MIN). Non-functional change - we don't
have any such platforms.
|
| |
|
| |
|
|
|
|
|
|
|
| |
2) canonicalise the options use in pam_options().
Submitted by: Gunnar Kreitz <gunnark@chello.se>
PR: 30250
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'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.
-----------------------------------------------------
|
|
|
|
| |
Obtained from: Intel's EFI toolkit
|
|
|
|
|
| |
PR: 26001
Submitted by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
|
|
|
|
|
| |
PR: 25876
Submitted by: Koizumi Satoru <koizumi@cms.phys.s.u-tokyo.ac.jp>
|
| |
|
|
|
|
|
|
|
|
|
| |
are not used'. This is incorrect, as addr must be passed (caddr_t)1
to do anything useful. The source for gdb and a short test program
will confirm that this man page was in error.
PR: docs/27758
Submitted by: Jiangyi Liu <jyliu@163.net>
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
NOTE: original stdio bug.
|
|
|
|
|
|
| |
no functional changes.
Add fp->_offset optimization in _SAPP+_SOPT case
|
|
|
|
|
|
|
|
| |
sys/capability.h--this compiled fine on i386 where (int) and (ssize_t)
are the same, but broke on Alpha where they differ.
Submitted by: Mike Barcroft <mike@FreeBSD.org>
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
plain regular files, i.e. files with __SOPT flag set. Fix it, so ftell(stdout)
always returns the same as lseek(1, 0, 1) now.
NOTE: this bug was in original stdio code
|
|
|
|
|
| |
__SOFF flag (i.e. we don't have offset) instead of returning EOVERFLOW.
It allows again continious reading from non-stop stream.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
__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.
|
| |
|
|
|
|
|
| |
modules.
o Properly terminate a preposition.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add more to SEE ALSO section.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to indicate that stream becomes inconsistent.
|
|
|
|
| |
return EIO and set __SERR to mark stream as inconsistent.
|
|
|
|
|
| |
keep negative offset internally, but return 0 externally in ftell*()
I.e. use 0 now as 'unspecified value' per POSIX ungetc() description.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Sort ERRORS section
|
| |
|
| |
|
| |
|
|
|
|
| |
checks in ftell.
|
| |
|
|
|
|
|
| |
it into one subfunction instead.
Try to use real offset in strange cases.
|
|
|
|
| |
internal buffer and trust offset, not return error.
|
| |
|