CVS commit: src/lib/libc/citrus/modules

2018-06-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Jun 11 20:28:23 UTC 2018

Modified Files:
src/lib/libc/citrus/modules: citrus_mapper_std.c

Log Message:
Avoid left-shifting a negative number in the non-compat case, too.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/citrus/modules/citrus_mapper_std.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/citrus/modules

2018-06-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Jun 11 18:03:38 UTC 2018

Modified Files:
src/lib/libc/citrus/modules: citrus_mapper_std.c

Log Message:
Correct Undefined Behavior in libc/citrus

Unportable left shift reported with MKSANITIZER=yes USE_SANITIZER=undefined:

# nm /usr/lib/libc.so|grep sanit
/public/src.git/lib/libc/citrus/modules/citrus_mapper_std.c:173:8: runtime 
error: left shift of 1 by 31 places cannot be represented in type 'int'

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/citrus/modules/citrus_mapper_std.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/citrus

2018-01-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Jan  5 17:52:06 UTC 2018

Modified Files:
src/lib/libc/citrus: citrus_lc_ctype.c

Log Message:
Include namespace.h in citrus/citrus_lc_ctype.c

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global name of the following symbol:
  - strlcpy -> _strlcpy

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/citrus/citrus_lc_ctype.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/citrus

2017-07-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 13 16:00:30 UTC 2017

Modified Files:
src/lib/libc/citrus: citrus_none.c

Log Message:
s == NULL is illegal.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/citrus/citrus_none.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/citrus

2017-07-13 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jul 13 15:46:26 UTC 2017

Modified Files:
src/lib/libc/citrus: citrus_none.c

Log Message:
Redo previous: catch NULL pointer earlier, check for empty string
latter.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/citrus/citrus_none.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/citrus

2017-07-13 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Jul 13 15:44:46 UTC 2017

Modified Files:
src/lib/libc/citrus: citrus_none.c

Log Message:
Spell NULL correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/citrus/citrus_none.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/citrus

2017-01-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 10 16:51:30 UTC 2017

Modified Files:
src/lib/libc/citrus: citrus_mmap.c

Log Message:
need 


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/citrus_mmap.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/citrus/modules

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 03:34:14 UTC 2016

Modified Files:
src/lib/libc/citrus/modules: citrus_johab.c

Log Message:
PR 51000 David Binderman: comment out unused assignment


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/citrus/modules/citrus_johab.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/citrus

2014-06-24 Thread S.P.Zeidler
Module Name:src
Committed By:   spz
Date:   Tue Jun 24 22:24:18 UTC 2014

Modified Files:
src/lib/libc/citrus: citrus_prop.c citrus_prop.h
src/lib/libc/citrus/modules: citrus_big5.c citrus_hz.c

Log Message:
Fix our iconv version for the issues that apply to us from CVE-2014-3951
(which are the:
- Consistently pass around context information using a simple pointer.
  This fixes some dereferencing bugs in Chinese character set conversions.
- Fix Simplified Chinese character set conversions by switching around the
  fields of an internal struct so it corresponds with the way variables of
  this type are initialised.
part)
Patch taken from FreeBSD and mutilated to fit.
FreeBSD credits: Manuel Mausz (reporter), Tijl Coosemans (report handler)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/citrus_prop.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/citrus/citrus_prop.h
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/citrus/modules/citrus_big5.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/citrus/modules/citrus_hz.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/citrus/modules

2014-01-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 18 15:21:41 UTC 2014

Modified Files:
src/lib/libc/citrus/modules: citrus_euc.c

Log Message:
revert previous, it causes other problem and I cannot easily debug it.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/citrus/modules/citrus_euc.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/citrus/modules

2014-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 16 20:28:51 UTC 2014

Modified Files:
src/lib/libc/citrus/modules: citrus_euc.c

Log Message:
PR/47602: Christos Zoulas: getwc() modifies input instead of returning EILSEQ.
Waited for almost a year for feedback and there was none.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/citrus/modules/citrus_euc.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/citrus

2013-09-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 19 21:19:13 UTC 2013

Modified Files:
src/lib/libc/citrus: citrus_module.c

Log Message:
look in the right place for the modules of compat binaries


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/citrus/citrus_module.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/citrus

2013-09-14 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Sep 14 13:05:51 UTC 2013

Modified Files:
src/lib/libc/citrus: citrus_db_factory.c

Log Message:
GC put16.
XXX Use sys/endian.h


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/citrus/citrus_db_factory.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/citrus

2013-06-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Jun 24 17:28:35 UTC 2013

Modified Files:
src/lib/libc/citrus: citrus_csmapper.h

Log Message:
Fix header guard, courtesy of clang.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/citrus/citrus_csmapper.h

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



CVS commit: src/lib/libc/citrus

2012-06-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Jun  8 07:49:42 UTC 2012

Modified Files:
src/lib/libc/citrus: citrus_mapper.c

Log Message:
Henning Petersen in PR lib/46560: fix memory leak in error path


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/citrus/citrus_mapper.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/citrus

2012-05-04 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May  4 16:45:05 UTC 2012

Modified Files:
src/lib/libc/citrus: citrus_lookup.c


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/citrus/citrus_lookup.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/citrus/modules

2012-02-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 12 13:51:29 UTC 2012

Modified Files:
src/lib/libc/citrus/modules: citrus_iconv_std.c citrus_ues.c
citrus_utf1632.c

Log Message:
Remove unused variables. From cppcheck via Henning Petersen in PR 45997.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/citrus/modules/citrus_iconv_std.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/citrus/modules/citrus_ues.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/citrus/modules/citrus_utf1632.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/citrus

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sun Nov 20 07:43:53 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_csmapper.c

Log Message:
add comment about r1.6 -> r1.7 change.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/citrus/citrus_csmapper.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/citrus/modules

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Nov 19 18:48:39 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_mapper_std.c

Log Message:
fix memory leak, pointed by nonaka-san(again^3).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/citrus/modules/citrus_mapper_std.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/citrus

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Nov 19 18:43:40 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_mapper.c

Log Message:
remove useless free(), pointed by nonaka-san(again^2).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/citrus/citrus_mapper.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/citrus

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Nov 19 18:39:58 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_mapper.c citrus_stdenc.c

Log Message:
return EINVAL when module validation failed, pointed by nonaka-san(again).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/citrus/citrus_mapper.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/citrus/citrus_stdenc.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/citrus

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Nov 19 18:34:22 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_ctype.c citrus_iconv.c

Log Message:
return EINVAL when module validation failed, pointed by nonaka-san(again).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/citrus/citrus_ctype.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/citrus/citrus_iconv.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/citrus/modules

2011-11-19 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Nov 19 18:20:13 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_dechanyu.c citrus_viqr.c

Log Message:
remove unused variable, pointed by nonaka-san, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/citrus/modules/citrus_dechanyu.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/modules/citrus_viqr.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/citrus/modules

2011-10-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Oct 30 21:48:27 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_mapper_std.c

Log Message:
Use boolean AND instead of bitwise one in _DIAGASSERT.
>From Henning Petersen in PR 45518.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/citrus/modules/citrus_mapper_std.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/citrus/modules

2011-10-10 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Mon Oct 10 22:45:45 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_iso2022.c

Log Message:
revert r1.21, still problem exists for posix2008 mbsnrtowcs(not yet commited),
but i have no time to investigate t_mbrtowc failure.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/citrus/modules/citrus_iso2022.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/citrus/modules

2011-10-07 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Fri Oct  7 18:59:13 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_iso2022.c

Log Message:
update string pointer when input is partial escape sequence or multibyte.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/citrus/modules/citrus_iso2022.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/citrus/modules

2011-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 23 14:53:46 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_big5.c

Log Message:
Make intermediate size variable size_t like the rest to avoid
unnecessary casting.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/citrus/modules/citrus_big5.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/citrus

2011-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 23 14:52:32 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_prop.h

Log Message:
Use C99-style init in _CITRUS_PROP_HINT_END to avoid warnings for
uninitialised type field.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/citrus_prop.h

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



CVS commit: src/lib/libc/citrus/modules

2011-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 23 14:45:44 UTC 2011

Modified Files:
src/lib/libc/citrus/modules: citrus_iconv_none.c

Log Message:
Actually return something deterministic


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/citrus/modules/citrus_iconv_none.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/citrus

2011-03-30 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Mar 30 08:22:02 UTC 2011

Modified Files:
src/lib/libc/citrus: citrus_iconv.c citrus_prop.c citrus_prop.h

Log Message:
>From Henning Petersen in PR # 44641: C99 primitive type 'bool' used
as a variable name. Also small KNF, as in FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/citrus/citrus_iconv.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/citrus/citrus_prop.c \
src/lib/libc/citrus/citrus_prop.h

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



CVS commit: src/lib/libc/citrus/modules

2010-12-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Dec  7 22:01:45 UTC 2010

Modified Files:
src/lib/libc/citrus/modules: citrus_iso2022.c

Log Message:
Remove tautology.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/citrus/modules/citrus_iso2022.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/citrus/modules

2010-12-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Dec  7 22:01:23 UTC 2010

Modified Files:
src/lib/libc/citrus/modules: citrus_ues.c

Log Message:
Mark function as static and give it an explicit return type.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/citrus/modules/citrus_ues.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/citrus

2010-05-22 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat May 22 08:13:18 UTC 2010

Modified Files:
src/lib/libc/citrus: citrus_lc_ctype.c citrus_lc_messages.c
citrus_lc_monetary.c citrus_lc_numeric.c citrus_lc_time.c

Log Message:
rune.h is not public, so merge with rune_local.h.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/citrus/citrus_lc_ctype.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/citrus/citrus_lc_messages.c \
src/lib/libc/citrus/citrus_lc_monetary.c \
src/lib/libc/citrus/citrus_lc_numeric.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/citrus/citrus_lc_time.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/citrus/modules

2010-03-20 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Sat Mar 20 18:15:32 UTC 2010

Modified Files:
src/lib/libc/citrus/modules: citrus_utf1632.c

Log Message:
fix byte order mark related bug introduced by previous commit,
reported by Sverre Froyen via current-user, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/citrus/modules/citrus_utf1632.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/citrus/modules

2010-03-15 Thread Takehiko NOZAKI
Module Name:src
Committed By:   tnozaki
Date:   Mon Mar 15 15:00:58 UTC 2010

Modified Files:
src/lib/libc/citrus/modules: citrus_utf1632.c

Log Message:
1. fix wrong byte order mark of utf-16, reported by NARUSE Yui -san.
patch provided by tshiozak@ -san.

2. don't eat 0xfeff/0xfffe if they don't appear at the first of bytestream.
noticed y tshiozak@ -san, patch provied by me.

thanks a lot.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/citrus/modules/citrus_utf1632.c

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