The NetBSD Project

CVS log for src/lib/libc/citrus/citrus_ctype_template.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / citrus

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat May 28 22:16:43 2022 UTC (2 years, 7 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
fix various typos in comments.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Apr 19 20:32:14 2022 UTC (2 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 2 01:30:31 2020 UTC (4 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
Don't overalign _RuneStatePriv, it must share the alignment of mbstate_t
it aliased with. Assert that the alignment actually used reflects the
alignment required by existing implementation and for newly build
modules assert that it is at most the guaranteed alignment.

Revision 1.36.28.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:08 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jul 28 14:26:08 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
PR/54414: Valery Ushakov: c99 requires that wcsrtombs(3) updates the source
argument on conversion error

Revision 1.36.22.3: download - view: text, markup, annotated - select for diffs
Fri Aug 4 21:43:11 2017 UTC (7 years, 5 months ago) by perseant
Branches: perseant-stdc-iso10646
Diff to: previous 1.36.22.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.22.2: +18 -4 lines
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.

Revision 1.36.22.2: download - view: text, markup, annotated - select for diffs
Mon Jul 31 04:23:35 2017 UTC (7 years, 5 months ago) by perseant
Branches: perseant-stdc-iso10646
Diff to: previous 1.36.22.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.22.1: +8 -2 lines
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.

Revision 1.36.22.1: download - view: text, markup, annotated - select for diffs
Fri Jul 21 20:22:29 2017 UTC (7 years, 5 months ago) by perseant
Branches: perseant-stdc-iso10646
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +48 -26 lines
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.

Revision 1.35.28.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:50 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +171 -4 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.35.34.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:21:04 2013 UTC (11 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +171 -4 lines
resync from head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue May 28 16:57:56 2013 UTC (11 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, perseant-stdc-iso10646
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +171 -4 lines
Add mbsnrtowcs and wcsnrtombs. Approved by core.

Revision 1.32.16.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:40:25 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.32.16.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.16.2: +2 -2 lines
sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Feb 9 14:56:20 2008 UTC (16 years, 11 months ago) by junyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, christos-time_t-nbase, christos-time_t-base, christos-time_t, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
u_intXX_t -> uintXX_t.

Revision 1.32.16.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:34:02 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.32.16.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.16.1: +5 -6 lines
sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 26 15:31:30 2007 UTC (17 years, 1 month ago) by tnozaki
Branches: MAIN
CVS tags: matt-armv6-base, cube-autoconf-base, cube-autoconf
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -6 lines
more PR/36938, restore internal-state if mbtowc() throw EILSEQ.
patch provided by Shiozaki-san, thanks.

Revision 1.32.16.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:11 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
sync with HEAD

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Sep 18 15:12:07 2007 UTC (17 years, 4 months ago) by tnozaki
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
lib/36938 mbtowc misbehaving after invalid char sequence
 - make sure to initialize mbtowc's internal state.
 - add regression test.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Mar 5 17:31:03 2005 UTC (19 years, 10 months ago) by tnozaki
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-mips64-base, matt-mips64, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
correct uninitialized value `err'.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 1 03:08:02 2004 UTC (20 years, 3 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +19 -6 lines
Pullup rev 1.26-1.31 (requested by soda in ticket #875)

Fix 3 bugs in cirtus:
1. The return values of wcrtomb(3) and wctomb(3) are wrong,
   if second argument wc is L\0  and current locale is either
   ja_JP.ISO2022-JP or ja_JP.ISO2022-JP2.
2. There is a case that _FUNCNAME(ctype_wcrtomb) return garbage values on the
   stack
3. wctomb isnt supposed to set errno.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Sep 26 00:51:39 2004 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
wctomb isn't supposed to set errno.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 26 00:35:51 2004 UTC (20 years, 3 months ago) by soda
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
forgot to replace #else with #endif, thanks yamt again.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 26 00:17:15 2004 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -2 lines
_FUNCNAME(ctype_wcrtomb):
set *nresult on error rather than using stack garbage.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 25 23:56:44 2004 UTC (20 years, 3 months ago) by soda
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
oops, forgot to add "else"

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Sep 25 23:51:31 2004 UTC (20 years, 3 months ago) by soda
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -3 lines
corrent an error in previous commit:
don't corrupt return value on error case, pointed out by yamt

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 25 22:53:46 2004 UTC (20 years, 3 months ago) by soda
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -3 lines
correct the return values of wcrtomb(3) and wctomb(3).
These return values should include the length of shift sequence
to restore the initial shift state.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jan 2 21:49:35 2004 UTC (21 years ago) by itojun
Branches: MAIN
CVS tags: netbsd-2-0-base, netbsd-2-0-RC1
Branch point for: netbsd-2-0
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
KNF

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:42:38 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -6 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jun 26 12:09:56 2003 UTC (21 years, 6 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +46 -11 lines
correct wcrtomb(3) - it is not conforming to standard on handling L'\0'.
This change also affects Citrus iconv engine.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jun 25 09:51:28 2003 UTC (21 years, 6 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -3 lines
Citrus iconv support (1)
add core engine of Citrus iconv and some support routines.
  - iconv core (citrus_iconv)
  - coded character set mapper (csmapper)
  - encoding scheme database (esdb)
  - standard encoding scheme handler (stdenc)
  - basic character set manipulation utilities (bcs)
  - mmap based infrastructure (citrus_lookup/_mmap/_memstream/_db)
  - some source codes of new plugins (not built yet)

Revision 1.13.2.7: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:06:10 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Diff to: previous 1.13.2.6: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.6: +12 -1 lines
Pull up revision 1.20 (requested by yamt in ticket #1202):
- handle s==NULL case of wcrtomb.
- add a comment about it.
fix rest of PR 18269 by wurlitzer.

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:04:57 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.5: +39 -22 lines
Pull up revision 1.19 (requested by yamt in ticket #1202):
- add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:03:42 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +15 -7 lines
Pull up revision 1.18 (requested by yamt in ticket #1202):
- add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:01:14 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +2 -2 lines
Pull up revision 1.17 (requested by yamt in ticket #1202):
in _RESTART_BEGIN macro, don't use external variable directly.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 2 15:00:28 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +9 -5 lines
Pull up revision 1.16 (requested by yamt in ticket #1202):
when s==0, wctomb should initialize its internal state and return if
encodings have state dependency or not.
a patch provided with PR 18269 by wurlitzer.
modified by me.
fix part of PR 18269.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 14:59:39 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +6 -8 lines
Pull up revision 1.15 (requested by yamt in ticket #1202):
mbsrtowcs_priv template:
        n == 0 is not an error. it's a valid input.
_citrus_NONE_ctype_mbsrtowcs:
        fix a typo that causes SEGV.
while i'm here, make them similar each other.
fix PR 19620.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 5 20:18:15 2003 UTC (21 years, 10 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +62 -1 lines
changes related to lib/20576 and lib/20577.
  - add wcstok() and wcswcs(),
  - add wcstok(3),
  - move btowc() and wctob() into each ctype modules,
  - bump ctype interface ABI version,
  - bump i18n modules' minor and
  - update sets.
and fix a stupid bug in _RUNE_ISCACHED macro.

Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Wed Jan 8 20:32:05 2003 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.2.4: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.4: +71 -33 lines
Sync with HEAD.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Jan 1 15:57:12 2003 UTC (22 years ago) by yamt
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -1 lines
- handle s==NULL case of wcrtomb.
- add a comment about it.

fix rest of PR 18269 by wurlitzer.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 1 15:25:54 2003 UTC (22 years ago) by yamt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +39 -22 lines
- add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 1 15:04:01 2003 UTC (22 years ago) by yamt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +15 -7 lines
- add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 1 14:45:13 2003 UTC (22 years ago) by yamt
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
in _RESTART_BEGIN macro, don't use external variable directly.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 1 14:34:27 2003 UTC (22 years ago) by yamt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -5 lines
when s==0, wctomb should initialize its internal state and return if
encodings have state dependency or not.

a patch provided with PR 18269 by wurlitzer.
modified by me.

fix part of PR 18269.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jan 1 13:29:45 2003 UTC (22 years ago) by yamt
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -8 lines
mbsrtowcs_priv template:
	n == 0 is not an error. it's a valid input.
_citrus_NONE_ctype_mbsrtowcs:
	fix a typo that causes SEGV.

while i'm here, make them similar each other.

fix PR 19620.

Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Fri Jun 21 18:18:04 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.3: preferred, colored
Changes since revision 1.3.2.3: +6 -6 lines
Catch up to -current.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri May 24 21:55:23 2002 UTC (22 years, 8 months ago) by perry
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6 lines
1.6 pullup ticket number 11, from thorpej. Original commit message:

>Add some casts to quiet a "discards qualifier from pointer target type"
>warning from gcc 3.2 (experimental) (which is complaining about the loss
>of __restrict).
>
>Reviewed and approved by tshiozak@astec.co.jp.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri May 24 04:04:30 2002 UTC (22 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6 lines
Add some casts to quiet a "discards qualifier from pointer target type"
warning from gcc 3.2 (experimental) (which is complaining about the loss
of __restrict).

Reviewed and approved by tshiozak@astec.co.jp.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 25 04:01:40 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +57 -25 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 28 10:53:48 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +16 -8 lines
- move _TO_CEI to template from each module/*.c.
- nuke _TO_EI and _TO_STATE.
- convert _TO_EI(cl) to _CEI_TO_EI(_TO_CEI(cl)).
- wrap long lines.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 28 10:38:52 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
fix comments.
(_TO_INTERNAL_STATE -> _CEI_TO_STATE)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 28 10:29:11 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -1 lines
introduce new macro _STATE_NEEDS_EXPLICIT_INIT.
and use it for encodings that needs explicit
init_state in addition to zero-fill.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 27 17:54:40 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -5 lines
fix wcstombs: convertion should always begin with
an initial shift state. and nuke s_wcstombs.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 27 17:18:41 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3 lines
fix state backup.
XXX this should be move into wcrtomb_priv.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Mar 27 15:01:16 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -6 lines
- change _ENCODING_MB_CUR_MAX to take a pointer to encoding info.
- don't use MB_CUR_MAX here since it's depend on current locale.
  use _ENCODING_MB_CUR_MAX instead.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 26 07:53:38 2002 UTC (22 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -3 lines
fix wcsrtombs to restart correctly.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 25 20:29:30 2002 UTC (22 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -8 lines
- handle the case that buffer size == 0 for wcsrtombs.
- add a XXX comment.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Mar 25 19:40:35 2002 UTC (22 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
fix mbtowc to return if the encoding's state-dependent or not
correctly.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Mar 25 19:10:45 2002 UTC (22 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
calculate the return value of wcsrtombs correctly
for stateful encodings.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 22 20:42:01 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +590 -0 lines
Catch up to -current.

Revision 1.3.2.1
Mon Mar 18 10:01:12 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -590 lines
file citrus_ctype_template.h was added on branch nathanw_sa on 2002-03-22 20:42:01 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 18 10:01:12 2002 UTC (22 years, 10 months ago) by yamt
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
don't set errno here. caller will set it.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 18 08:09:28 2002 UTC (22 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
make mbsrtowcs work.(fix a typo)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 17 22:14:19 2002 UTC (22 years, 10 months ago) by tshiozak
Branches: MAIN
refine i18n stuffs.
  - add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>