Author: ache
Date: Wed Sep 28 20:49:33 2016
New Revision: 306414
URL: https://svnweb.freebsd.org/changeset/base/306414
Log:
MFC r306075,r306109
1) Microoptimize %p case.
2) Implememt %u for GNU compatibility.
3) Don't forget to advance buf for %w/%u.
4) Fail with incomplete week (week
Author: ache
Date: Thu Sep 22 16:46:59 2016
New Revision: 306200
URL: https://svnweb.freebsd.org/changeset/base/306200
Log:
MFC r305841
Implement multibyte encoding support for -v with fallback
Modified:
stable/10/bin/cat/cat.c
Directory Properties:
stable/10/ (props changed)
Modifi
Author: ache
Date: Thu Sep 8 07:14:48 2016
New Revision: 305583
URL: https://svnweb.freebsd.org/changeset/base/305583
Log:
MFC r305413
Fix error handling.
Modified:
stable/10/lib/libc/stdio/fgets.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/libc/stdio/
Author: ache
Date: Thu Sep 8 05:13:50 2016
New Revision: 305577
URL: https://svnweb.freebsd.org/changeset/base/305577
Log:
MFC r305406,r305409,r305412
1) Fix errors handling.
2) Prevent out of bounds access to ws[-1] (passed buffer) which happens
when the first mb sequence is incomp
Author: ache
Date: Tue Sep 6 00:32:33 2016
New Revision: 305447
URL: https://svnweb.freebsd.org/changeset/base/305447
Log:
MFC r305365
The bug:
$ echo x | awk '/[[:cntrl:]]/'
x
The NUL character in cntrl class truncates the pattern, and an empty
pattern matches anything. The pat
Author: ache
Date: Mon Sep 5 01:57:32 2016
New Revision: 305403
URL: https://svnweb.freebsd.org/changeset/base/305403
Log:
MFC r305241
fgetwc(3) may set both __SEOF and __SERR at once (in case of incomplete
sequence near EOF), so we can't just check for
(wc == WEOF && !__sfeof(fp)) and
Author: ache
Date: Mon Sep 5 00:36:52 2016
New Revision: 305401
URL: https://svnweb.freebsd.org/changeset/base/305401
Log:
MFC r305144
'addrlen' does not matter when we need to find the first non-zero bit in
the byte from the left and 'addrlen' already counted in 'lim'.
PR: 2121
Author: ache
Date: Sun Sep 4 00:34:15 2016
New Revision: 305369
URL: https://svnweb.freebsd.org/changeset/base/305369
Log:
MFC r305219
If error happens, don't overwrite original errno comes from __mbrtowc()
and __srefill().
Modified:
stable/10/lib/libc/stdio/fgetwc.c
Directory Propert
Author: ache
Date: Sat Sep 3 01:08:52 2016
New Revision: 305316
URL: https://svnweb.freebsd.org/changeset/base/305316
Log:
MFC r305133
Apply the same qsort() usage fix as in r304911 getaddrinfo.c
qsort() can't be stabilized with just return(-1) alone.
Modified:
stable/10/lib/libc/net/
Author: ache
Date: Tue Aug 30 00:57:57 2016
New Revision: 305037
URL: https://svnweb.freebsd.org/changeset/base/305037
Log:
MFC r304911
The formal behavior of qsort is unstable with regard to objects that
are equal. Unfortunately, RFC 3484 requires that otherwise equal objects
remain in
Author: ache
Date: Sat Aug 27 10:34:01 2016
New Revision: 304893
URL: https://svnweb.freebsd.org/changeset/base/304893
Log:
MFC r304607,r304641,r304819,r304811
1) Don't forget to set __SERR on __slbexpand() error.
2) Remove "Fast path" from fgetwc()/fputwc() since it can't detect
enc
Author: ache
Date: Sat Aug 27 09:58:06 2016
New Revision: 304888
URL: https://svnweb.freebsd.org/changeset/base/304888
Log:
MFC r304810
Don't check for __SERR which may stick from one of any previous stdio
functions.
__SERR is for user and the rest of stdio code do not check it
for er
Author: ache
Date: Fri Aug 26 21:26:33 2016
New Revision: 304864
URL: https://svnweb.freebsd.org/changeset/base/304864
Log:
Bump __FreeBSD_version after LC_*_MASK fix
Modified:
stable/10/sys/sys/param.h
Modified: stable/10/sys/sys/param.h
=
Author: ache
Date: Fri Aug 26 21:19:23 2016
New Revision: 304862
URL: https://svnweb.freebsd.org/changeset/base/304862
Log:
MFC r304703, r304755
1) _locale.h
LC_*_MASK bit shifting order was partially broken from the initial commit
time at year 2012. Only LC_COLLATE_MASK and LC_CTYPE_MA
Author: ache
Date: Thu Aug 25 19:55:31 2016
New Revision: 304816
URL: https://svnweb.freebsd.org/changeset/base/304816
Log:
MFC r295632
getln: We cannot expand the buffer beyond INT_MAX (_size overflows).
In such cases return ENOMEM. This is a limitation of our
implementation, altern
Author: ache
Date: Tue Aug 23 00:00:06 2016
New Revision: 304648
URL: https://svnweb.freebsd.org/changeset/base/304648
Log:
Direct commit, equal to MFC part of r295632 which is not planned for
MFC at whole.
Set __SERR on __slbexpand() errors.
Modified:
stable/10/lib/libc/stdio/fgetln.c
Author: ache
Date: Tue Aug 16 07:14:09 2016
New Revision: 304203
URL: https://svnweb.freebsd.org/changeset/base/304203
Log:
MFC r302943,r302944,r303004,r303010,r303011,r303013,r303014,r303074,
r303088,r303142,r303208,r303210,r303530,r303536,r303564,r303565,
r303706
In short:
Author: ache
Date: Sun Jul 31 10:37:09 2016
New Revision: 303582
URL: https://svnweb.freebsd.org/changeset/base/303582
Log:
Direct commit of adapted r303581.
Fix date.
Modified:
stable/10/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.military
stable/10/usr.bin/calendar/calendars/ru_RU.
Author: ache
Date: Fri Jul 22 19:36:11 2016
New Revision: 303201
URL: https://svnweb.freebsd.org/changeset/base/303201
Log:
MFC: r302827
Optimize [Cc]flag case: don't repeatedly add the last character of
string2 to squeeze cset when string2 reach its EOS state.
Modified:
stable/10/usr.
Author: ache
Date: Fri Jul 22 19:34:43 2016
New Revision: 303200
URL: https://svnweb.freebsd.org/changeset/base/303200
Log:
MFC: r302826
Document incomplete support of [=equiv=] and collation for ranges.
Modified:
stable/10/usr.bin/tr/tr.1
Directory Properties:
stable/10/ (props chan
Author: ache
Date: Fri Jul 22 16:48:39 2016
New Revision: 303191
URL: https://svnweb.freebsd.org/changeset/base/303191
Log:
Forget to merge this changes in prev. MFC
Modified:
stable/10/lib/libc/locale/collcmp.c
Modified: stable/10/lib/libc/locale/collcmp.c
==
Author: ache
Date: Fri Jul 22 14:24:17 2016
New Revision: 303185
URL: https://svnweb.freebsd.org/changeset/base/303185
Log:
MFC: r302824
1) Eliminate possibility to call __*collate_range_cmp() with inclomplete
locale (which cause core dump) by removing whole 'table' argument
by which it
Author: ache
Date: Sun Jun 5 18:11:52 2016
New Revision: 301459
URL: https://svnweb.freebsd.org/changeset/base/301459
Log:
MFC: r301115
Don't use fixup for C99 and up, the compiler result is already correct.
Suggested by: bde
Modified:
stable/10/lib/libc/stdlib/div.c
stable/10/li
Author: ache
Date: Sun Jun 5 16:21:53 2016
New Revision: 301454
URL: https://svnweb.freebsd.org/changeset/base/301454
Log:
MFC: r301448
Reflect error indication according to POSIX and what those functions
currently do.
Modified:
stable/10/lib/libc/stdlib/random.3
Directory Properties:
Author: ache
Date: Sun Jun 5 14:31:36 2016
New Revision: 301445
URL: https://svnweb.freebsd.org/changeset/base/301445
Log:
MFC: r300956
1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes
reading hard.
2) Instead of doing range transformation in each and every
Author: ache
Date: Sun Jun 5 14:04:54 2016
New Revision: 301444
URL: https://svnweb.freebsd.org/changeset/base/301444
Log:
Prepare for merge of r300956. One year old r288030 which fix prototypes
can't be merged without conflicts and require merging of other versions
too and I don't want to
Author: ache
Date: Sun Jun 5 13:39:31 2016
New Revision: 301443
URL: https://svnweb.freebsd.org/changeset/base/301443
Log:
MFC: r300953
1) Unifdef USE_WEAK_SEEDING it is too obsolete to support and makes reading
harder.
2) ACM paper require seed to be in [1, 2^31-2] range, so use th
Author: ache
Date: Fri Jun 3 07:34:59 2016
New Revision: 301245
URL: https://svnweb.freebsd.org/changeset/base/301245
Log:
For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to
the character after the one this conversion stopped at.
PR: 209907
Submitted by: Roel
Author: ache
Date: Sun May 29 06:46:17 2016
New Revision: 300946
URL: https://svnweb.freebsd.org/changeset/base/300946
Log:
MFC: r300397
1) POSIX prohibits printing errors to stderr here and require
returning NULL:
"Upon successful completion, initstate() and setstate() shall return
Author: ache
Date: Mon Apr 11 02:21:42 2016
New Revision: 297798
URL: https://svnweb.freebsd.org/changeset/base/297798
Log:
MFC r297557:
SJIS encoding don't have single byte characters >= 224
Modified:
stable/10/lib/libc/locale/mskanji.c
Directory Properties:
stable/10/ (props changed)
Author: ache
Date: Thu Nov 19 02:04:16 2015
New Revision: 291050
URL: https://svnweb.freebsd.org/changeset/base/291050
Log:
MFC: r290549,r290729
r290549:
Reorganize code to elimitate one _sseek() call for append modes.
r290729:
1) Remove my overcomplicated error fallback and
Author: ache
Date: Sun Nov 8 14:22:57 2015
New Revision: 290546
URL: https://svnweb.freebsd.org/changeset/base/290546
Log:
MFC: r290329,r290336
PR: 204230
r290329:
Use meaningful errno for ssize_t overflow in read().
Catch size_t overflow in malloc().
r290336:
Check for
Author: ache
Date: Sun Nov 8 13:37:16 2015
New Revision: 290544
URL: https://svnweb.freebsd.org/changeset/base/290544
Log:
MFC: r289863,r289931,r290110,r290230,r290231,r290232
r290232:
Microoptimize.
r290231:
Addition to prev. commit.
In some edge cases fp->_p can be chan
33 matches
Mail list logo