CVS commit: src/tests/fs/lfs

2020-08-23 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Aug 23 16:03:54 UTC 2020

Modified Files:
src/tests/fs/lfs: t_rfw.c

Log Message:
Expand test to cover more failure cases.  Change from skipped to expect fail
in anticipation of working roll-forward code.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/lfs/t_rfw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2020-08-17 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Aug 18 03:02:51 UTC 2020

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/fs/lfs: Makefile
Added Files:
src/tests/fs/lfs: t_rfw.c

Log Message:
Add skipped test for in-kernel roll-forward agent


To generate a diff of this commit:
cvs rdiff -u -r1.327 -r1.328 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.892 -r1.893 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/lfs/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/fs/lfs/t_rfw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc/citrus

2018-01-29 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jan 29 22:08:59 UTC 2018

Modified Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: Makefile.inc
citrus_trie.c citrus_trie.h
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5.c
citrus_big5_k2u.h citrus_big5_u2k.h citrus_euc.c citrus_euc_k2u.h
citrus_euc_u2k.h citrus_iso2022.c citrus_iso2022_k2u.h
citrus_iso2022_u2k.h citrus_mskanji.c citrus_mskanji_k2u.h
citrus_mskanji_u2k.h

Log Message:
Fix issues with trie implementation.  Now passes the locale tests when 
__STDC_ISO_10646__ is defined, with the exception of tests requiring LC_COLLATE 
support.


To generate a diff of this commit:
cvs rdiff -u -r1.8.40.1 -r1.8.40.2 src/lib/libc/citrus/Makefile.inc
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/lib/libc/citrus/citrus_trie.c \
src/lib/libc/citrus/citrus_trie.h
cvs rdiff -u -r1.15.18.4 -r1.15.18.5 \
src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/lib/libc/citrus/modules/citrus_big5_k2u.h \
src/lib/libc/citrus/modules/citrus_big5_u2k.h \
src/lib/libc/citrus/modules/citrus_euc_k2u.h \
src/lib/libc/citrus/modules/citrus_euc_u2k.h \
src/lib/libc/citrus/modules/citrus_iso2022_k2u.h \
src/lib/libc/citrus/modules/citrus_iso2022_u2k.h \
src/lib/libc/citrus/modules/citrus_mskanji_k2u.h \
src/lib/libc/citrus/modules/citrus_mskanji_u2k.h
cvs rdiff -u -r1.17.20.4 -r1.17.20.5 src/lib/libc/citrus/modules/citrus_euc.c
cvs rdiff -u -r1.23.22.4 -r1.23.22.5 \
src/lib/libc/citrus/modules/citrus_iso2022.c
cvs rdiff -u -r1.14.22.4 -r1.14.22.5 \
src/lib/libc/citrus/modules/citrus_mskanji.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src

2018-01-22 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jan 23 03:12:11 UTC 2018

Modified Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_ctype.h
citrus_none.c
src/tests/lib/libc/locale [perseant-stdc-iso10646]: t_toupper.c

Log Message:
Make the tests pass once more when __STDC_ISO_10646__ is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.3.22.2 -r1.3.22.3 src/lib/libc/citrus/citrus_ctype.h
cvs rdiff -u -r1.22.2.2 -r1.22.2.3 src/lib/libc/citrus/citrus_none.c
cvs rdiff -u -r1.1 -r1.1.4.1 src/tests/lib/libc/locale/t_toupper.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc/citrus

2018-01-21 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Jan 21 19:35:10 UTC 2018

Added Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_trie.c
citrus_trie.h

Log Message:
Add files missing from previous commit


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/citrus/citrus_trie.c \
src/lib/libc/citrus/citrus_trie.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src

2018-01-20 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sat Jan 20 19:36:29 UTC 2018

Modified Files:
src/include [perseant-stdc-iso10646]: wchar.h
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_lc_collate.c
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5.c
citrus_euc.c citrus_iso2022.c citrus_mskanji.c
src/lib/libc/locale [perseant-stdc-iso10646]: collate.h
collate_locale.c ducet_collation_data.h unicode_ucd.c
src/tools [perseant-stdc-iso10646]: Makefile
src/usr.bin/localedef [perseant-stdc-iso10646]: Makefile collate.c
Added Files:
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5_k2u.h
citrus_big5_u2k.h citrus_euc_k2u.h citrus_euc_u2k.h
citrus_iso2022_k2u.h citrus_iso2022_u2k.h citrus_mskanji_k2u.h
citrus_mskanji_u2k.h
Removed Files:
src/usr.bin/localedef [perseant-stdc-iso10646]: localedef parser.c
parser.h

Log Message:
Use multilevel tables (tries) to convert kuten <-> unicode.
Get rid of dchains, replace with chain/rchain conversions through keys
allocated from the PUA.


To generate a diff of this commit:
cvs rdiff -u -r1.42.8.1 -r1.42.8.2 src/include/wchar.h
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/lib/libc/citrus/citrus_lc_collate.c
cvs rdiff -u -r1.15.18.3 -r1.15.18.4 \
src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/citrus/modules/citrus_big5_k2u.h \
src/lib/libc/citrus/modules/citrus_big5_u2k.h \
src/lib/libc/citrus/modules/citrus_euc_k2u.h \
src/lib/libc/citrus/modules/citrus_euc_u2k.h \
src/lib/libc/citrus/modules/citrus_iso2022_k2u.h \
src/lib/libc/citrus/modules/citrus_iso2022_u2k.h \
src/lib/libc/citrus/modules/citrus_mskanji_k2u.h \
src/lib/libc/citrus/modules/citrus_mskanji_u2k.h
cvs rdiff -u -r1.17.20.3 -r1.17.20.4 src/lib/libc/citrus/modules/citrus_euc.c
cvs rdiff -u -r1.23.22.3 -r1.23.22.4 \
src/lib/libc/citrus/modules/citrus_iso2022.c
cvs rdiff -u -r1.14.22.3 -r1.14.22.4 \
src/lib/libc/citrus/modules/citrus_mskanji.c
cvs rdiff -u -r1.1.40.1 -r1.1.40.2 src/lib/libc/locale/collate.h
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/lib/libc/locale/collate_locale.c \
src/lib/libc/locale/unicode_ucd.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/lib/libc/locale/ducet_collation_data.h
cvs rdiff -u -r1.191 -r1.191.2.1 src/tools/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/usr.bin/localedef/Makefile \
src/usr.bin/localedef/collate.c
cvs rdiff -u -r1.1.2.1 -r0 src/usr.bin/localedef/localedef \
src/usr.bin/localedef/parser.c src/usr.bin/localedef/parser.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-08-10 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Aug 10 19:08:43 UTC 2017

Modified Files:
src/tests/lib/libc/locale: t_btowc.c

Log Message:
Separate the C/POSIX locale test from the rest; make it more thorough
and more correct.  This fixes a problem reported by martin@ when the
test is compiled with -funsigned-char.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/locale/t_btowc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src

2017-08-07 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Aug  7 14:27:11 UTC 2017

Modified Files:
src/lib/libc/locale [perseant-stdc-iso10646]: _wctrans_local.h rune.c
src/usr.bin [perseant-stdc-iso10646]: Makefile

Log Message:
Make it compile again when __STDC_ISO_10646__ is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.9.40.1 -r1.9.40.2 src/lib/libc/locale/_wctrans_local.h
cvs rdiff -u -r1.46.22.2 -r1.46.22.3 src/lib/libc/locale/rune.c
cvs rdiff -u -r1.229 -r1.229.4.1 src/usr.bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src

2017-08-04 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Fri Aug  4 21:43:11 UTC 2017

Modified Files:
src/distrib/sets/lists/base [perseant-stdc-iso10646]: mi
src/distrib/sets/lists/debug [perseant-stdc-iso10646]: mi
src/distrib/sets/lists/man [perseant-stdc-iso10646]: mi
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_ctype_template.h
src/lib/libc/locale [perseant-stdc-iso10646]: runetype_file.h
Added Files:
src/usr.bin/localedef [perseant-stdc-iso10646]: Makefile README
charmap.c collate.c ctype.c iso2022.c localedef localedef.1
localedef.c localedef.h messages.c mklocaledb.c mklocaledb.h
monetary.c numeric.c parser.c parser.h parser.y scanner.c time.c
wide.c

Log Message:
Add a version of localedef(1), taken from FreeBSD, which works with
NetBSD's binary format.  LC_CTYPE should be mostly compatible but is
still missing pieces; the LC_COLLATE format is in a similar situation,
since it makes different assumptions than UCA/DUCET.  The other, smaller,
LC_* types should all work, but have not been extensively tested.


To generate a diff of this commit:
cvs rdiff -u -r1.1158 -r1.1158.4.1 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.220.2.1 -r1.220.2.2 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.1559 -r1.1559.2.1 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.36.22.2 -r1.36.22.3 \
src/lib/libc/citrus/citrus_ctype_template.h
cvs rdiff -u -r1.3 -r1.3.40.1 src/lib/libc/locale/runetype_file.h
cvs rdiff -u -r0 -r1.1.2.1 src/usr.bin/localedef/Makefile \
src/usr.bin/localedef/README src/usr.bin/localedef/charmap.c \
src/usr.bin/localedef/collate.c src/usr.bin/localedef/ctype.c \
src/usr.bin/localedef/iso2022.c src/usr.bin/localedef/localedef \
src/usr.bin/localedef/localedef.1 src/usr.bin/localedef/localedef.c \
src/usr.bin/localedef/localedef.h src/usr.bin/localedef/messages.c \
src/usr.bin/localedef/mklocaledb.c src/usr.bin/localedef/mklocaledb.h \
src/usr.bin/localedef/monetary.c src/usr.bin/localedef/numeric.c \
src/usr.bin/localedef/parser.c src/usr.bin/localedef/parser.h \
src/usr.bin/localedef/parser.y src/usr.bin/localedef/scanner.c \
src/usr.bin/localedef/time.c src/usr.bin/localedef/wide.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc/locale

2017-08-01 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Aug  1 19:35:51 UTC 2017

Added Files:
src/lib/libc/locale [perseant-stdc-iso10646]: collate.h
ducet_collation_data.h unicode_dm_data.h

Log Message:
Add files missing from last commit (commitid: 7B1ZL3FMi0tUSk1A):

Support loading collation data from file.  Began with FreeBSD's
xlocale_collate, but had to change it somewhat to accommodate the
requirements of the Unicode Collation Algorithm (in particular,
there are maps from single-character collation elements to
multiple collation weight vectors, and multiple-to-multiple
mappings as well).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.40.1 src/lib/libc/locale/collate.h
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/locale/ducet_collation_data.h \
src/lib/libc/locale/unicode_dm_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc

2017-07-30 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jul 31 04:29:50 UTC 2017

Modified Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_lc_collate.c
src/lib/libc/locale [perseant-stdc-iso10646]: collate_local.h
collate_locale.c unicode_collate.c unicode_nfd_qc_data.h
unicode_ucd.c unicode_ucd.h

Log Message:
Support loading collation data from file.  Began with FreeBSD's
xlocale_collate, but had to change it somewhat to accommodate the
requirements of the Unicode Collation Algorithm (in particular,
there are maps from single-character collation elements to
multiple collation weight vectors, and multiple-to-multiple
mappings as well).


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/lib/libc/citrus/citrus_lc_collate.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/lib/libc/locale/collate_local.h \
src/lib/libc/locale/collate_locale.c \
src/lib/libc/locale/unicode_collate.c \
src/lib/libc/locale/unicode_nfd_qc_data.h \
src/lib/libc/locale/unicode_ucd.c src/lib/libc/locale/unicode_ucd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc/citrus

2017-07-30 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jul 31 04:23:35 UTC 2017

Modified Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_ctype.h
citrus_ctype_template.h
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5.c
citrus_euc.c citrus_iso2022.c citrus_mskanji.c

Log Message:
Make the compilation conditional on __STDC_ISO_10646__, so that applications
that need one of the East Asian locales but don't want __STDC_ISO_10646__
don't have to pay the penalty for it.


To generate a diff of this commit:
cvs rdiff -u -r1.3.22.1 -r1.3.22.2 src/lib/libc/citrus/citrus_ctype.h
cvs rdiff -u -r1.36.22.1 -r1.36.22.2 \
src/lib/libc/citrus/citrus_ctype_template.h
cvs rdiff -u -r1.15.18.2 -r1.15.18.3 \
src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r1.17.20.2 -r1.17.20.3 src/lib/libc/citrus/modules/citrus_euc.c
cvs rdiff -u -r1.23.22.2 -r1.23.22.3 \
src/lib/libc/citrus/modules/citrus_iso2022.c
cvs rdiff -u -r1.14.22.2 -r1.14.22.3 \
src/lib/libc/citrus/modules/citrus_mskanji.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2017-07-23 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Jul 23 19:26:06 UTC 2017

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi

Log Message:
Add missing setlist entries for DUCET collation test.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.757 -r1.758 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/tests/lib/libc/locale

2017-07-23 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Jul 23 19:16:11 UTC 2017

Modified Files:
src/tests/lib/libc/locale [perseant-stdc-iso10646]: Makefile
ducet_test.h t_ducet.c

Log Message:
Add Unicode copyright notice and more verbose DUCET test.


To generate a diff of this commit:
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/tests/lib/libc/locale/ducet_test.h \
src/tests/lib/libc/locale/t_ducet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646, trunk] src

2017-07-23 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Jul 23 18:51:21 UTC 2017

Modified Files:
src/tests/lib/libc/locale: Makefile
src/lib/libc/iconv [perseant-stdc-iso10646]: iconv.c
Added Files:
src/tests/lib/libc/locale: ducet_test.h t_ducet.c
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_u2k_template.h

Log Message:
Add missing files from last commit:

Move Unicode <-> ku/ten mapping into the individual codec modules.
Mapping is based on existing iconv data for single-byte encodings,
and included for several, but not all, multibyte encodings.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/citrus/citrus_u2k_template.h
cvs rdiff -u -r1.13 -r1.13.34.1 src/lib/libc/iconv/iconv.c
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r0 -r1.2 src/tests/lib/libc/locale/ducet_test.h \
src/tests/lib/libc/locale/t_ducet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/lib/libc

2017-07-21 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Fri Jul 21 20:22:29 UTC 2017

Modified Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_ctype.c
citrus_ctype.h citrus_ctype_fallback.c citrus_ctype_fallback.h
citrus_ctype_local.h citrus_ctype_template.h citrus_iconv.h
citrus_iconv_local.h citrus_namespace.h citrus_none.c
citrus_stdenc.h citrus_stdenc_local.h citrus_stdenc_template.h
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5.c
citrus_dechanyu.c citrus_euc.c citrus_euctw.c citrus_gbk2k.c
citrus_hz.c citrus_iconv_none.c citrus_iconv_std.c citrus_iso2022.c
citrus_johab.c citrus_mskanji.c citrus_ues.c citrus_utf1632.c
citrus_utf7.c citrus_utf8.c citrus_viqr.c citrus_zw.c
src/lib/libc/locale [perseant-stdc-iso10646]: Makefile.inc _wctrans.c
_wctrans_local.h _wctype.c iswctype_mb.c multibyte.h
multibyte_amd1.c multibyte_c90.c rune.c
Added Files:
src/lib/libc/citrus/modules [perseant-stdc-iso10646]:
citrus_big5_data.h citrus_euc_data.h citrus_iso2022_data.h
citrus_mskanji_data.h
Removed Files:
src/lib/libc/locale [perseant-stdc-iso10646]: rune_iso10646.c
rune_iso10646.h u2k.h

Log Message:
Move Unicode <-> ku/ten mapping into the individual codec modules.
Mapping is based on existing iconv data for single-byte encodings,
and included for several, but not all, multibyte encodings.


To generate a diff of this commit:
cvs rdiff -u -r1.7.22.1 -r1.7.22.2 src/lib/libc/citrus/citrus_ctype.c
cvs rdiff -u -r1.3 -r1.3.22.1 src/lib/libc/citrus/citrus_ctype.h \
src/lib/libc/citrus/citrus_ctype_fallback.c
cvs rdiff -u -r1.2 -r1.2.22.1 src/lib/libc/citrus/citrus_ctype_fallback.h
cvs rdiff -u -r1.4 -r1.4.22.1 src/lib/libc/citrus/citrus_ctype_local.h
cvs rdiff -u -r1.36 -r1.36.22.1 src/lib/libc/citrus/citrus_ctype_template.h
cvs rdiff -u -r1.5.64.1 -r1.5.64.2 src/lib/libc/citrus/citrus_iconv.h
cvs rdiff -u -r1.3.64.1 -r1.3.64.2 src/lib/libc/citrus/citrus_iconv_local.h
cvs rdiff -u -r1.8.42.1 -r1.8.42.2 src/lib/libc/citrus/citrus_namespace.h
cvs rdiff -u -r1.22.2.1 -r1.22.2.2 src/lib/libc/citrus/citrus_none.c
cvs rdiff -u -r1.4.80.1 -r1.4.80.2 src/lib/libc/citrus/citrus_stdenc.h
cvs rdiff -u -r1.4.64.1 -r1.4.64.2 src/lib/libc/citrus/citrus_stdenc_local.h \
src/lib/libc/citrus/citrus_stdenc_template.h
cvs rdiff -u -r1.15.18.1 -r1.15.18.2 \
src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/citrus/modules/citrus_big5_data.h \
src/lib/libc/citrus/modules/citrus_euc_data.h \
src/lib/libc/citrus/modules/citrus_iso2022_data.h \
src/lib/libc/citrus/modules/citrus_mskanji_data.h
cvs rdiff -u -r1.5.22.1 -r1.5.22.2 \
src/lib/libc/citrus/modules/citrus_dechanyu.c \
src/lib/libc/citrus/modules/citrus_zw.c
cvs rdiff -u -r1.17.20.1 -r1.17.20.2 src/lib/libc/citrus/modules/citrus_euc.c
cvs rdiff -u -r1.12.22.1 -r1.12.22.2 \
src/lib/libc/citrus/modules/citrus_euctw.c
cvs rdiff -u -r1.8.22.1 -r1.8.22.2 src/lib/libc/citrus/modules/citrus_gbk2k.c
cvs rdiff -u -r1.4.18.1 -r1.4.18.2 src/lib/libc/citrus/modules/citrus_hz.c
cvs rdiff -u -r1.3.38.1 -r1.3.38.2 \
src/lib/libc/citrus/modules/citrus_iconv_none.c
cvs rdiff -u -r1.16.34.1 -r1.16.34.2 \
src/lib/libc/citrus/modules/citrus_iconv_std.c
cvs rdiff -u -r1.23.22.1 -r1.23.22.2 \
src/lib/libc/citrus/modules/citrus_iso2022.c
cvs rdiff -u -r1.6.10.1 -r1.6.10.2 src/lib/libc/citrus/modules/citrus_johab.c
cvs rdiff -u -r1.14.22.1 -r1.14.22.2 \
src/lib/libc/citrus/modules/citrus_mskanji.c
cvs rdiff -u -r1.4.22.1 -r1.4.22.2 src/lib/libc/citrus/modules/citrus_ues.c
cvs rdiff -u -r1.12.34.1 -r1.12.34.2 \
src/lib/libc/citrus/modules/citrus_utf1632.c
cvs rdiff -u -r1.6.22.1 -r1.6.22.2 src/lib/libc/citrus/modules/citrus_utf7.c \
src/lib/libc/citrus/modules/citrus_viqr.c
cvs rdiff -u -r1.18.22.1 -r1.18.22.2 \
src/lib/libc/citrus/modules/citrus_utf8.c
cvs rdiff -u -r1.64.20.1 -r1.64.20.2 src/lib/libc/locale/Makefile.inc
cvs rdiff -u -r1.17 -r1.17.40.1 src/lib/libc/locale/_wctrans.c
cvs rdiff -u -r1.9 -r1.9.40.1 src/lib/libc/locale/_wctrans_local.h
cvs rdiff -u -r1.9.40.1 -r1.9.40.2 src/lib/libc/locale/_wctype.c
cvs rdiff -u -r1.13.22.1 -r1.13.22.2 src/lib/libc/locale/iswctype_mb.c
cvs rdiff -u -r1.6 -r1.6.20.1 src/lib/libc/locale/multibyte.h
cvs rdiff -u -r1.14.20.1 -r1.14.20.2 src/lib/libc/locale/multibyte_amd1.c
cvs rdiff -u -r1.12.20.1 -r1.12.20.2 src/lib/libc/locale/multibyte_c90.c
cvs rdiff -u -r1.46.22.1 -r1.46.22.2 src/lib/libc/locale/rune.c
cvs rdiff -u -r1.1.2.1 -r0 src/lib/libc/locale/rune_iso10646.c \
src/lib/libc/locale/rune_iso10646.h src/lib/libc/locale/u2k.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src/distrib/sets/lists

2017-07-18 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul 18 14:55:29 UTC 2017

Modified Files:
src/distrib/sets/lists/debug [perseant-stdc-iso10646]: mi
src/distrib/sets/lists/tests [perseant-stdc-iso10646]: mi

Log Message:
Add t_ducet test


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.220.2.1 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.757 -r1.757.2.1 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [perseant-stdc-iso10646] src

2017-07-14 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Fri Jul 14 15:53:08 UTC 2017

Modified Files:
src/include [perseant-stdc-iso10646]: wchar.h
src/lib/libc/citrus [perseant-stdc-iso10646]: Makefile.inc
citrus_ctype.c citrus_iconv.c citrus_iconv.h citrus_iconv_local.h
citrus_namespace.h citrus_none.c citrus_stdenc.h
citrus_stdenc_local.h citrus_stdenc_template.h
src/lib/libc/citrus/modules [perseant-stdc-iso10646]: citrus_big5.c
citrus_dechanyu.c citrus_euc.c citrus_euctw.c citrus_gbk2k.c
citrus_hz.c citrus_iconv_none.c citrus_iconv_std.c citrus_iso2022.c
citrus_johab.c citrus_mskanji.c citrus_ues.c citrus_utf1632.c
citrus_utf7.c citrus_utf8.c citrus_viqr.c citrus_zw.c
src/lib/libc/locale [perseant-stdc-iso10646]: Makefile.inc _wcstod.h
_wctype.c global_locale.c iswctype_mb.c multibyte_amd1.c
multibyte_c90.c rune.c runetable.c runetype_local.h setlocale.c
setlocale_local.h wcscoll.c wcsxfrm.c
src/tests/lib/libc/locale [perseant-stdc-iso10646]: Makefile
t_wcscoll.c
Added Files:
src/lib/libc/citrus [perseant-stdc-iso10646]: citrus_lc_collate.c
src/lib/libc/locale [perseant-stdc-iso10646]: collate_local.h
collate_locale.c rune_iso10646.c rune_iso10646.h u2k.h
unicode_ccc_data.h unicode_collate.c unicode_collate.h
unicode_collation_data.h unicode_decomp_data.h unicode_lc_collate.c
unicode_nfd_qc_data.h unicode_reserved_cp_data.h
unicode_reserved_range_data.h unicode_ucd.c unicode_ucd.h
src/tests/lib/libc/locale [perseant-stdc-iso10646]: ducet_test.h
t_ducet.c

Log Message:
Initial commit of a mostly-working implementation of __STDC_ISO_10646__,
with collation support using the Unicode Collation Algorithm.

The conversion from men/ku/ten form to Unicode is a gross hack at present.
Fixing this, and fleshing out the LC_COLLATE locale component, are next
on the agenda.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.42.8.1 src/include/wchar.h
cvs rdiff -u -r1.8 -r1.8.40.1 src/lib/libc/citrus/Makefile.inc
cvs rdiff -u -r1.7 -r1.7.22.1 src/lib/libc/citrus/citrus_ctype.c
cvs rdiff -u -r1.10 -r1.10.34.1 src/lib/libc/citrus/citrus_iconv.c
cvs rdiff -u -r1.5 -r1.5.64.1 src/lib/libc/citrus/citrus_iconv.h
cvs rdiff -u -r1.3 -r1.3.64.1 src/lib/libc/citrus/citrus_iconv_local.h
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/citrus/citrus_lc_collate.c
cvs rdiff -u -r1.8 -r1.8.42.1 src/lib/libc/citrus/citrus_namespace.h
cvs rdiff -u -r1.22 -r1.22.2.1 src/lib/libc/citrus/citrus_none.c
cvs rdiff -u -r1.4 -r1.4.80.1 src/lib/libc/citrus/citrus_stdenc.h
cvs rdiff -u -r1.4 -r1.4.64.1 src/lib/libc/citrus/citrus_stdenc_local.h \
src/lib/libc/citrus/citrus_stdenc_template.h
cvs rdiff -u -r1.15 -r1.15.18.1 src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r1.5 -r1.5.22.1 src/lib/libc/citrus/modules/citrus_dechanyu.c \
src/lib/libc/citrus/modules/citrus_zw.c
cvs rdiff -u -r1.17 -r1.17.20.1 src/lib/libc/citrus/modules/citrus_euc.c
cvs rdiff -u -r1.12 -r1.12.22.1 src/lib/libc/citrus/modules/citrus_euctw.c
cvs rdiff -u -r1.8 -r1.8.22.1 src/lib/libc/citrus/modules/citrus_gbk2k.c
cvs rdiff -u -r1.4 -r1.4.18.1 src/lib/libc/citrus/modules/citrus_hz.c
cvs rdiff -u -r1.3 -r1.3.38.1 src/lib/libc/citrus/modules/citrus_iconv_none.c
cvs rdiff -u -r1.16 -r1.16.34.1 \
src/lib/libc/citrus/modules/citrus_iconv_std.c
cvs rdiff -u -r1.23 -r1.23.22.1 src/lib/libc/citrus/modules/citrus_iso2022.c
cvs rdiff -u -r1.6 -r1.6.10.1 src/lib/libc/citrus/modules/citrus_johab.c
cvs rdiff -u -r1.14 -r1.14.22.1 src/lib/libc/citrus/modules/citrus_mskanji.c
cvs rdiff -u -r1.4 -r1.4.22.1 src/lib/libc/citrus/modules/citrus_ues.c
cvs rdiff -u -r1.12 -r1.12.34.1 src/lib/libc/citrus/modules/citrus_utf1632.c
cvs rdiff -u -r1.6 -r1.6.22.1 src/lib/libc/citrus/modules/citrus_utf7.c \
src/lib/libc/citrus/modules/citrus_viqr.c
cvs rdiff -u -r1.18 -r1.18.22.1 src/lib/libc/citrus/modules/citrus_utf8.c
cvs rdiff -u -r1.64 -r1.64.20.1 src/lib/libc/locale/Makefile.inc \
src/lib/libc/locale/setlocale.c
cvs rdiff -u -r1.4 -r1.4.22.1 src/lib/libc/locale/_wcstod.h \
src/lib/libc/locale/wcscoll.c
cvs rdiff -u -r1.9 -r1.9.40.1 src/lib/libc/locale/_wctype.c
cvs rdiff -u -r0 -r1.1.2.1 src/lib/libc/locale/collate_local.h \
src/lib/libc/locale/collate_locale.c src/lib/libc/locale/rune_iso10646.c \
src/lib/libc/locale/rune_iso10646.h src/lib/libc/locale/u2k.h \
src/lib/libc/locale/unicode_ccc_data.h \
src/lib/libc/locale/unicode_collate.c \
src/lib/libc/locale/unicode_collate.h \
src/lib/libc/locale/unicode_collation_data.h \
src/lib/libc/locale/unicode_decomp_data.h \
src/lib/libc/locale/unicode_lc_collate.c \
src/lib/libc/locale/unicode_nfd_qc_data.h \
src/lib/libc/locale/unicode_reserved_cp_data.h \
src/lib/libc/locale/unicode_reserved_range_data

CVS commit: src

2017-07-14 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Fri Jul 14 14:57:43 UTC 2017

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/locale: Makefile
Added Files:
src/tests/lib/libc/locale: t_wcscoll.c

Log Message:
Add a simple collation test.  This test is expected to fail on HEAD since
we do not yet have a working implementation of wcscoll.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.755 -r1.756 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/locale/t_wcscoll.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-07-12 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jul 12 17:32:51 UTC 2017

Modified Files:
src/tests/lib/libc/locale: t_btowc.c t_io.c t_mbrtowc.c t_mbstowcs.c
t_sprintf.c t_wcstod.c t_wctomb.c t_wctype.c

Log Message:
Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ .
Also make the tests a bit more verbose, to aid debugging when they fail.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_btowc.c \
src/tests/lib/libc/locale/t_mbrtowc.c \
src/tests/lib/libc/locale/t_mbstowcs.c \
src/tests/lib/libc/locale/t_wctype.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/locale/t_io.c \
src/tests/lib/libc/locale/t_wctomb.c
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/locale/t_sprintf.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/locale/t_wcstod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/stdio

2017-07-11 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jul 11 19:36:38 UTC 2017

Modified Files:
src/lib/libc/stdio: vfwprintf.c

Log Message:
A more correct fix for PR standards/52282.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdio/vfwprintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/stdio

2017-07-10 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jul 10 22:49:40 UTC 2017

Modified Files:
src/lib/libc/stdio: vfwprintf.c

Log Message:
Do not use thousands grouping when none is specified by the locale.
Fixes PR standards/52282.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/stdio/vfwprintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-06-07 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jun  7 22:59:42 UTC 2017

Modified Files:
src/tests/lib/libc/locale: t_sprintf.c

Log Message:
Change t_sprintf to an expected failure, since we don't respect the empty
thousands separator of the C/POSIX locale (PR standards/52282).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_sprintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2017-06-01 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Jun  1 15:45:02 UTC 2017

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/locale: Makefile t_digittoint.c
Added Files:
src/tests/lib/libc/locale: t_btowc.c

Log Message:
Add tests for btowc(3)/wctob(3) and enable compilation of the test for
digittoint(3).

The digittoint(3) test is skipped since we don't provide that function yet.

One of the test cases for btowc(3) is also skipped, since it tests conversion
to Unicode---whereas our wchar_t representation is locale-dependent.


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.751 -r1.752 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/locale/t_btowc.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_digittoint.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/tests

2017-05-30 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed May 31 00:18:21 UTC 2017

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Add new locale tests to distrib sets, thanks pgoyette@ for the reminder


To generate a diff of this commit:
cvs rdiff -u -r1.750 -r1.751 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-05-30 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue May 30 23:44:02 UTC 2017

Modified Files:
src/tests/lib/libc/locale: Makefile
Added Files:
src/tests/lib/libc/locale: t_digittoint.c t_sprintf.c t_wctype.c

Log Message:
Add test cases for sprintf/sscanf/strto{d,l} and the is* and isw* ctype 
functions, for single-byte encodings


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/locale/t_digittoint.c \
src/tests/lib/libc/locale/t_sprintf.c \
src/tests/lib/libc/locale/t_wctype.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-05-29 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue May 30 02:11:03 UTC 2017

Modified Files:
src/tests/lib/libc/locale: Makefile
Added Files:
src/tests/lib/libc/locale: t_toupper.c

Log Message:
Add simple test case for toupper/tolower


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/locale/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/locale/t_toupper.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/string

2017-05-25 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Fri May 26 01:24:19 UTC 2017

Modified Files:
src/tests/lib/libc/string: Makefile
Added Files:
src/tests/lib/libc/string: t_strcoll.c

Log Message:
Add simple expect-fail test case for strcoll(3)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/string/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/string/t_strcoll.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/locale

2017-05-25 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu May 25 18:28:54 UTC 2017

Modified Files:
src/tests/lib/libc/locale: t_mbtowc.c t_wctomb.c

Log Message:
Add a member to the test data structure that indicates whether the given
encoding is state-dependent, and test the results of wctomb(NULL, '\0') and
mbtowc(NULL, NULL, 0) against this instead of against each other.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/t_mbtowc.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/locale/t_wctomb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpam/modules/pam_deny

2013-08-20 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Aug 20 22:07:44 UTC 2013

Modified Files:
src/lib/libpam/modules/pam_deny: pam_deny.8 pam_deny.c

Log Message:
Add Edgar Fuss's patch to pam_deny, to allow users to be able to change their
LDAP password with "passwd".


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libpam/modules/pam_deny/pam_deny.8
cvs rdiff -u -r1.2 -r1.3 src/lib/libpam/modules/pam_deny/pam_deny.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand/lib

2012-06-13 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jun 13 18:34:20 UTC 2012

Modified Files:
src/sys/arch/i386/stand/lib: biosdisk.c

Log Message:
Sanity check the values coming back from the int13 extensions of the bios,
so we can catch impossible return values.  Allows the bootloader to work
again on the Soekris net4501.

Fixes PR kern/46027.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/i386/stand/lib/biosdisk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2012-02-15 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Feb 16 02:47:56 UTC 2012

Modified Files:
src/sbin/newfs_lfs: make_lfs.c
src/sys/ufs/lfs: lfs.h lfs_alloc.c lfs_bio.c lfs_segment.c lfs_vfsops.c
lfs_vnops.c
src/tests/fs/vfs: t_renamerace.c t_rmdirrace.c

Log Message:
Pass t_renamerace and t_rmdirrace tests.

Adapt dholland@'s fix to ufs_rename to fix PR kern/43582.  Address several
other MP locking issues discovered during the course of investigating the
same problem.

Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes
are controlled by the segment lock.

Fix PR kern/45982 by deemphasizing the estimate of how much metadata
will fill the empty space on disk when the disk is nearly empty
(t_renamerace crates a lot of inode blocks on a tiny empty disk).


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/newfs_lfs/make_lfs.c
cvs rdiff -u -r1.135 -r1.136 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.111 -r1.112 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.121 -r1.122 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.223 -r1.224 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.293 -r1.294 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.239 -r1.240 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.24 -r1.25 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.8 -r1.9 src/tests/fs/vfs/t_rmdirrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/newfs_lfs

2012-02-01 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Feb  2 03:50:32 UTC 2012

Modified Files:
src/sbin/newfs_lfs: config.h make_lfs.c

Log Message:
When creating a very small filesystem, use well-known small segment,
block and fragment sizes by default instead of the ordinary 1M/8k/1k
default for larger filesystems.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sbin/newfs_lfs/config.h
cvs rdiff -u -r1.17 -r1.18 src/sbin/newfs_lfs/make_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/newfs_lfs

2012-02-01 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Feb  2 03:49:22 UTC 2012

Modified Files:
src/sbin/newfs_lfs: newfs.c

Log Message:
If invoked with -D and creating an image file, ensure that the image
file is filled to the given size.  This prevents false failures
with "lfs: ifile read: 22" in ATF tests.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/newfs_lfs/newfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/lfs_cleanerd

2012-02-01 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Feb  2 03:47:11 UTC 2012

Modified Files:
src/libexec/lfs_cleanerd: lfs_cleanerd.c

Log Message:
Shut down the cleaner earlier if the filesystem is unmounted.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/libexec/lfs_cleanerd/lfs_cleanerd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/newfs_lfs

2012-01-17 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Tue Jan 17 16:27:19 UTC 2012

Modified Files:
src/sbin/newfs_lfs: make_lfs.c

Log Message:
Use an even smaller segment size when creating a very small filesystem.
This allows the lfs_renamerace_dirs case of the t_renamerace test to
fail correctly, rather than with a bogus "file system full" error as it
has since rev 1.135 of sys/ufs/lfs/lfs.h.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/newfs_lfs/make_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2012-01-14 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Sun Jan 15 04:42:04 UTC 2012

Modified Files:
src/sys/ufs/lfs: lfs_syscalls.c

Log Message:
Corrections to part of rev 1.140. lfs_bmapv, not lfs_markv, marks vnodes
LFSI_BMAP and recycles them.  This greatly reduces the writing leakage
occurring when the filesystem has no space available for non-cleaning
writes.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/ufs/lfs/lfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/fsck_lfs

2012-01-05 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Thu Jan  5 16:18:01 UTC 2012

Modified Files:
src/sbin/fsck_lfs: pass6.c

Log Message:
Correct fragment extension calculation in pass6, to avoid putting
negative block counts on inodes during roll-forward.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/fsck_lfs/pass6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2012-01-03 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Wed Jan  4 02:48:58 UTC 2012

Modified Files:
src/sys/ufs/lfs: lfs_vfsops.c

Log Message:
lfs_writerd thread exits when no more LFSs are mounted.


To generate a diff of this commit:
cvs rdiff -u -r1.292 -r1.293 src/sys/ufs/lfs/lfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs

2012-01-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jan  2 22:10:45 UTC 2012

Modified Files:
src/sys/ufs/lfs: lfs.h lfs_bio.c lfs_extern.h lfs_segment.c lfs_subr.c
lfs_syscalls.c lfs_vfsops.c lfs_vnops.c
src/sys/ufs/ufs: inode.h ufs_readwrite.c

Log Message:
* Remove PGO_RECLAIM during lfs_putpages()' call to genfs_putpages(),
  to avoid a live lock in the latter when reclaiming a vnode with
  dirty pages.

* Add a new segment flag, SEGM_RECLAIM, to note when a segment is
  being written for vnode reclamation, and record which inode is being
  reclaimed, to aid in forensic debugging.

* Add a new segment flag, SEGM_SINGLE, so that opportunistic writes
  can write a single segment's worth of blocks and then stop, rather
  than writing all the way up to the cleaner's reserved number of
  segments.

* Add assert statements to check mutex ownership is the way it ought
  to be, mostly in lfs_putpages; fix problems uncovered by this.

* Don't clear VU_DIROP until the inode actually makes its way to disk,
  avoiding a problem where dirop inodes could become separated
  (uncovered by a modified version of the "ckckp" forensic regression
  test).

* Move the vfs_getopsbyname() call into lfs_writerd.  Prepare code to
  make lfs_writerd notice when there are no more LFSs, and exit losing
  the reference, so that, in theory, the module can be unloaded.  This
  code is not enabled, since it causes a crash on exit.

* Set IN_MODIFIED on inodes flushed by lfs_flush_dirops.  Really we
  only need to set IN_MODIFIED if we are going to write them again
  (e.g., to write pages); need to think about this more.

Finally, several changes to help avoid "no clean segments" panics:

* In lfs_bmapv, note when a vnode is loaded only to discover whether
  its blocks are live, so it can immediately be recycled.  Since the
  cleaner will try to choose ~empty segments over full ones, this
  prevents the cleaner from (1) filling the vnode cache with junk, and
  (2) squeezing any unwritten writes to disk and running the fs out of
  segments.

* Overestimate by half the amount of metadata that will be required
  to fill the clean segments.  This will make the disk appear smaller,
  but should help avoid a "no clean segments" panic.

* Rearrange lfs_writerd.  In particular, lfs_writerd now pays
  attention to the number of clean segments available, and holds off
  writing until there is room.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.120 -r1.121 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -u -r1.96 -r1.97 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.222 -r1.223 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.76 -r1.77 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.139 -r1.140 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.291 -r1.292 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.238 -r1.239 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.58 -r1.59 src/sys/ufs/ufs/inode.h
cvs rdiff -u -r1.100 -r1.101 src/sys/ufs/ufs/ufs_readwrite.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/lfs_cleanerd

2012-01-02 Thread Konrad Schroder
Module Name:src
Committed By:   perseant
Date:   Mon Jan  2 21:35:18 UTC 2012

Modified Files:
src/libexec/lfs_cleanerd: coalesce.c lfs_cleanerd.c

Log Message:
In lfs_cleanerd, check errno earlier, to avoid premature exit when the
real errno was EAGAIN.

When coalescing, check against NULL to avoid seg fault.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/libexec/lfs_cleanerd/coalesce.c
cvs rdiff -u -r1.27 -r1.28 src/libexec/lfs_cleanerd/lfs_cleanerd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.