| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
conversion specifiers (a, A, e, E, f, F, g and G).
|
|
|
|
|
|
|
| |
Now readers won't get an impression that pointing to beyond
the current end of file will result in EINVAL.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
| |
to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail)
MFC after: 1 week
|
|
|
|
| |
Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
|
|
|
|
|
|
| |
+ spell LIBC_SCCS consistently
+ enable builds with LIBC_SCCS defined to not syntax error
+ minor SCM reformatting to try to have some consistency
|
|
|
|
| |
Noticed by: Andrea Campi
|
|
|
|
|
|
|
|
| |
the contents of the returned buffer for unknown error codes.
PR: docs/72578
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
Requested by: bde
o Remove unneeded sys/types.h and netinet/in.h from the synopsis and
the example.
o We do have struct in_addr in arpa/inet.h, so no need for netinet/in.h.
o Mention where AF_* constants defined are.
Educated by: bde
|
|
|
|
|
|
|
|
|
|
| |
This fixes a case, when DoSed syslogd completely loses messages.
PR: bin/72366
Discussed with: dwmalone, millert@OpenBSD.org
Approved by: julian (mentor)
Obtained from: OpenBSD (rev. 1.17, 1.21 by millert)
MFC after: 3 months
|
|
|
|
| |
MFC in: 1 week
|
|
|
|
|
|
| |
recommending that the standard exit codes in sysexits(3) be used.
Reviewed by: ru
|
| |
|
|
|
|
| |
include it in all cases.
|
|
|
|
|
|
|
| |
for AF_* constants.
Submitted by: Matthew George
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
__isnan() and __isnanf() must remain in libc for hysterical raisins.
On the other hand, __isnanl() must live in libm because libm uses it
internally and can't depend on older versions of libc to provide it.
Fortunately, we don't need __isnanl() in both libraries.
Prodded by: ale
PR: 71698
MT5 candidate
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
| |
place during a split.
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
caused by refering broken (uninitialized?) pointer which is retrieved
from __bt_new() (and from mpool_new()).
I don't know why this linp[0] is read before stored because this
should be controlled by .lower and .upper member of PAGE structure
which are correctly initialized.
But this workaround fixes the problem on my environment and this
module has #ifdef PURIFY option which initializes new and reused
memory from mpool by memset(p, 0xff, size) like as I did.
Please feel free to fix the real bug instead of my workaround.
|
| |
|
|
|
|
| |
constant for the default number of retries.
|
|
|
|
|
|
|
|
|
|
|
| |
multibyte character support:
- In CHadd(), avoid writing past the end of the character set bitmap when
the opposite-case counterpart of wide characters with values less than
NC have values greater than or equal to NC.
- In CHaddtype(), fix a braino that caused alphabetic characters to be
added to all character classes! (but only with REG_ICASE)
PR: 71367
|
|
|
|
| |
macro to actually reference memmove, not memcpy.
|
|
|
|
|
|
| |
By using r8 instead of r14 to do the swap, we put the dst argument
in the return register. Since bcopy() doesn't clobber r8, we don't
have to do anything else. This fixes ports/textproc/aspell.
|
|
|
|
|
|
|
|
|
| |
documenting the obsoleteness of the msync(2) syscall and its single
remaining purpose.
PR: 70916
Submitted by: Radim Kolar <hsn@netmag.cz>
MFC after: 3 days
|
|
|
|
| |
Noticed by: ru
|
|
|
|
| |
pathnames.
|
| |
|
|
|
|
|
|
|
|
|
| |
mpool_open(3) - it is *not* really used for synchronization; in fact,
it is not used at all.
PR: 70929
Submitted by: Martin Kammerhofer <dada@sbox.tugraz.at>
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Sean McNeil <sean@mcneil.com>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_mcount() stub when profiling is enabled. Emit this code sequence
for assembly routines as welli (MCOUNT definition in <machine/asm.h>.
We do not pass the GOT entry however as the 4th argument, because it's
not used. The _mcount() stub calls __mcount(), which does the actual
work. Define _MCOUNT_DECL to define __mcount. We do not have an
implementation of mcount(), so we define MCOUNT as empty, but have a
weak alias to _mcount() in _mcount.S.
Note that the _mcount() stub in the kernel is slightly different from
the stub in userland. This is because we do not have to worry about
nested routines in the kernel.
|
|
|
|
| |
to setvbuf(3) and friends.
|
|
|
|
|
| |
implementations written by Todd C. Miller. These are cleaner, less buggy
and actively maintained.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
64 bit systems, years roughly -2^31 through 2^31 can be represented in
time_t without any trouble. 32 bit time_t systems only range from
roughly 1902 through 2038. As a consequence, none of the date munging
code for all the various calendar tweaks before then is present. There
are other problems including the fact that there was no 'year zero' and
so on. So rather than get excited about trying to figure out when the
calendar jumped by two weeks etc, simply disallow negative (ie: prior to
1900) years.
This happens to have an important side effect. If you bzero a 'struct
tm', it corresponds to 'Jan 0, 1900, 00:00 GMT'. This happens to be
representable (after canonification) in 64 bit time_t space. Zero tm
structs are generally an error and mktime normally returns -1 for them.
Interestingly, it tries to canonify the 'jan 0' to 'dec 31, 1899', ie:
year -1. This conveniently trips the negative year test above, which
means we can trivially detect the null 'tm' struct.
This actually tripped up code at work. :-/ (Don't ask)
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
to the current LC_COLLATE setting, not in "ASCII order".
PR: 54391
MFC after: 1 week
|
|
|
|
| |
"obsolete" instead of "deprecated".
|
| |
|
|
|
|
| |
"obsolete" instead of "deprecated".
|
|
|
|
| |
to "obsolete".
|
|
|
|
|
| |
describe the 4.4BSD extension of accepting characters (runes) outside of
the range of unsigned char.
|
|
|
|
|
|
|
|
| |
Requested by: keramida
Bump .Dd
Requested by: ru
|