Re: [patch] xlocale part 3: move _CurrentRuneLocale to locale_t (ctype)

2015-07-10 Thread Vladimir Támara Patiño
ito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Question about localedef for LC_TIME

2015-07-11 Thread Vladimir Támara Patiño
. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Bug in gethostbyaddr and patch to solve

2014-08-25 Thread Vladimir Támara Patiño
atch is attached. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN src55-orig/lib/libc/asr/gethostnamadr_async.c src/lib/libc/asr/gethostnamadr_async.c --- src55-o

[Patch] mbsrtowcs and wcsrtombs can receive src in NULL

2014-10-02 Thread Vladimir Támara Patiño
18446744073709551615, len=5, pspriv=0x7f7bee00) at /usr/src/lib/libc/citrus/citrus_none.c:155 155 wchar_t wc = (*src)[i]; --- The attached patch solves this by setting errno in EINVAL and returning (size_t)-1 when the source parameter is NULL or points to NULL, also includes this in

Re: partial xlocale(3) port from FreeBSD

2013-10-21 Thread Vladimir Támara Patiño
That is what I understand of the documentation of xlocale functions like strcoll_l, see bottom of: http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcoll.html However if Martin prefers to make a new library for this, hope the patches I sent can be useful. -- Dios, gracias por tu

Kernel page fault in current

2013-10-22 Thread Vladimir Támara Patiño
Appreciate suggestions. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html OpenBSD 5.4-current (GENERIC.MP) #73: Tue Oct 15 00:08:48 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/

Re: partial xlocale(3) port from FreeBSD

2013-10-23 Thread Vladimir Támara Patiño
ve wcsncasecmp_l Index: string/wcscmp.c Index: string/wcsncmp.c Index: string/wmemcmp.c I didn't touch these Index: time/strftime.c I didn't have this one Thank you, I updated my patches, and thanked you in commit message. https://github.com/pasosdeJesus/adJ/commit/a5d66cd5bf2b814287cfc1bdc68e707cddf5ef17 I will be checking in detail new files you sent that I didn't have and will try to add to my patches. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Re: Kernel page fault in current

2013-10-24 Thread Vladimir Támara Patiño
Tue, Oct 22, 2013 at 5:21 AM, Vladimir Támara Patiño wrote: > Hi, I'm having problems with current, I'm using Xorg after some time there > is a kernel trap (3 times I have seen the same one): Current is a moving target, so saying "current" without a timestamp or at least d

About LC_NUMERIC and updated fix for regress/lib/libc/locale/check_isw

2013-11-10 Thread Vladimir Támara Patiño
-locale-check-isw-td225266.html still apply. Second patch are additional cases. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN src55-orig/regress/lib/libc/locale/check_isw

Updating localeconv to C99

2013-11-11 Thread Vladimir Támara Patiño
The patch extends the structure lconv returned by localeconv(3) by including fields added in C99, see: http://pubs.opengroup.org/onlinepubs/009695399/functions/localeconv.html -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http

LC_NUMERIC 1: in libc

2013-11-11 Thread Vladimir Támara Patiño
tries to follow setrunelocale of minimizing directories in /usr/share/locale (I think possible to call it from setrunelocale). -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff

LC_NUMERIC 2: locales

2013-11-11 Thread Vladimir Támara Patiño
Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN -x *out -x *orig -x obj -x *~ src55-orig/share/locale/Makefile src/share/locale/Makefile --- src55-orig/share/locale/MakefileSun Jun 2 16:05:47 2013 +++ src/share/local

LC_NUMERIC 3: regression test

2013-11-11 Thread Vladimir Támara Patiño
Test attached, better to test with more countries. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -u src55-orig/regress/lib/libc/locale/Makefile src/regress/lib/libc/locale

LC_MONETARY 1: in libc

2013-11-20 Thread Vladimir Támara Patiño
Based on FreeBSD implementation. It applies on sources of -current (has small overlap with patch for LC_NUMERIC I sent on Nov.12). -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

LC_MONETARY 3: regression test

2013-11-20 Thread Vladimir Támara Patiño
Tests for POSIX, en_US and spanish speaking countries. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN -x *~ -x obj -x *orig src55-orig/regress/lib/libc/locale/Makefile

Fix for regress/lib/libc/locale/check_isw

2013-11-24 Thread Vladimir Támara Patiño
In the default encoding in OpenBSD these characters are like in ASCII, ISO8859-* and UTF-8 in the first 127 bytes (see _DefaultRuneLocale in lib/libc/locale/runetable.c) so I don't see need to check anything else in the case of POSIX locale. There should be tests for other locale

Problem with ciphers and OpenSMTP

2014-02-24 Thread Vladimir Támara Patiño
s por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Re: Problem with ciphers and OpenSMTP

2014-03-31 Thread Vladimir Támara Patiño
Just wanted to thank Daniel and Philip for their help, yes changing the certificate for one with RSA solved. On Mon, Feb 24, 2014 at 01:58:49PM -0800, Philip Guenther wrote: On Mon, Feb 24, 2014 at 12:40 PM, Vladimir Támara Patiño wrote: > I have an OpenSTMP server on OpenBSD 5.4 working f

Question and regression test for strftime adn wcsftime

2014-04-22 Thread Vladimir Támara Patiño
least I would like to unify. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN src56-orig/regress/lib/libc/time/Makefile src/regress/lib/libc/time/Makefile --- src56-orig/reg

Re: Question and regression test for strftime adn wcsftime

2014-04-29 Thread Vladimir Támara Patiño
> + wcsftime(wcol, sizeof(wcol), L"%V", &tl); > + p(wcscmp(wcol, L"15") == 0); > + > + strftime(col, sizeof(col), "%v", &tl); > + p(strcmp(col, " 8-Apr-2014") == 0); > + wcsftime(

One line fix for _citrus_none_ctype_wcrtomb

2013-03-07 Thread Vladimir Támara Patiño
errno = EILSEQ; -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Order in variables of lib/libc/locale/Makefile.inc

2013-03-09 Thread Vladimir Támara Patiño
For example lib/libc/string/Makefile.inc has values of SRCS, MAN and MLINK ordered alphabetically, making easier to know where to add new values to those variables. Trying the same with lib/libc/locale/Makefile with attached patch. -- Dios, gracias por tu amor infinito. -- Vladimir Támara

Removing unnecessary assert from lib/libc/locale/wcscoll.c

2013-03-09 Thread Vladimir Támara Patiño
--- /usr/src53orig/lib/libc/locale/wcscoll.cSat Feb 9 14:26:52 2013 +++ wcscoll.c Sat Mar 9 22:44:07 2013 @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include #include /* -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org

wcscoll.3 and wcsxfrm.3

2013-03-15 Thread Vladimir Támara Patiño
Attached are versions of those man pages based on FreeBSD. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN -x CVS -x obj -x *~ src53orig/lib/libc/locale/Makefile.inc

Problem chaning board with RTL8169SC

2013-03-17 Thread Vladimir Támara Patiño
report. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Fix for regress/lib/libc/locale/check_isw

2013-03-19 Thread Vladimir Támara Patiño
p.org/onlinepubs/7908799/xbd/locale.html http://pubs.opengroup.org/onlinepubs/7908799/xbd/charset.html#tagt_1 -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html Index: check_

LC_CTYPE for spanish speaking countries

2013-03-19 Thread Vladimir Támara Patiño
-- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html Index: Makefile === RCS file: /cvs/src/share/locale/ctype/Makefile

Updating src/share/locale/ctype with NetBSD

2013-03-19 Thread Vladimir Támara Patiño
Attached --includes patch for spanish speaking countries. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html diff -ruN -x obj -x CVS src53orig/share/locale/ctype/Makefile src/share

Re: LC_CTYPE for spanish speaking countries

2013-03-21 Thread Vladimir Támara Patiño
n Thu, Mar 21, 2013 at 01:24:34AM +0100, Stefan Sperling wrote: On Wed, Mar 20, 2013 at 04:50:39PM -0430, Andres Perera wrote: > On Wed, Mar 20, 2013 at 2:50 PM, Stefan Sperling wrote: > > On Tue, Mar 19, 2013 at 06:44:59PM -0500, Vladimir Támara Patiño wrote: > >> +#http:

Re: Collation support (minimal)

2013-03-22 Thread Vladimir Támara Patiño
s for wcscoll and wcsxfrm). If there is interest in xlocale support after this or after having other kind of collation support in OpenBSD, please let me know. I also want to advance in other LC_* implementations. Best regards. -- Dios, gracias por tu amor infinito. -- Vladimir Támara

Re: amd64 ports failures with new binutils

2013-03-22 Thread Vladimir Támara Patiño
enBSD-Colombia/Qi2X9Yyh3xc Sergio solved it by adding -Wl,-non_shared in LDFLAGS Helps? -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Re: /usr.bin/colldef and collation tables

2013-03-25 Thread Vladimir Támara Patiño
On Sat, Mar 23, 2013 at 04:09:12PM +0100, Stefan Sperling wrote: On Sat, Mar 23, 2013 at 09:27:50AM -0500, Vladimir Támara Patiño wrote: > >Please change this to look like > >in other parse.y files in the OpenBSD src tree (e.g. look at bgpd). > > Could you change? No, sorry.

strcasecmp and multibyte encodings

2013-04-09 Thread Vladimir Támara Patiño
uses only LC_CTYPE (but not LC_COLLATE) and a simple numeric comparision when the strings are different (as the previous version was doing). -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesu

Bug with setlocale and __mb_cur_max

2013-04-10 Thread Vladimir Támara Patiño
== 4" failed: file "prob_mb_cur_max.c", line 21, function "main" The attached patch fixes the problem. By the way, in FreeBSD the structure xlocale_ctype has a member __mb_cur_max, and __mb_cur_max for UTF-8 is 6. -- Dios, gracias por tu amor infinito. --

Re: strcasecmp and multibyte encodings

2013-04-10 Thread Vladimir Támara Patiño
ing list for the past few weeks, albeit mostly focused on whether LC_CTYPE=POSIX allows for UTF-8 or not. E.g., http://austingroupbugs.net/view.php?id=663 I'm inclined to leave the functions as is for now. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtam

Re: Bug with setlocale and __mb_cur_max

2013-04-10 Thread Vladimir Támara Patiño
! Sorry, I forgot. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html

Re: Bug with setlocale and __mb_cur_max

2013-04-16 Thread Vladimir Támara Patiño
On Wed, Apr 10, 2013 at 01:48:03PM +0200, Stefan Sperling wrote: > + return 1; // If not UTF8 then single byte encoding No C++ comments, please! The attached patch doens't have C++ comments. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiñ

Re: Bug with setlocale and __mb_cur_max

2013-04-28 Thread Vladimir Támara Patiño
le files after _citrus_ctype_open()! Do you want to try implementing this idea? I believe this idea would result in a smaller diff, too. Attached, with reordering of #includes in setrunelocale.c to comply better with style (9). -- Dios, gracias por tu amor infinito. --

Re: LC_CTYPE for spanish speaking countries

2013-05-12 Thread Vladimir Támara Patiño
tries. This method reduces the size of /usr/shar/locale from 2.1M to 556K (even with new locales for all spanish speaking countries). The same can be done with LC_COLLATE (after having collation support). Best regards. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño.

Re: LC_CTYPE for spanish speaking countries

2013-05-13 Thread Vladimir Támara Patiño
On Mon, May 13, 2013 at 09:16:39AM +0100, Stuart Henderson wrote: Please send unified diffs, the default diff format is very hard to read echo diff -uNp >> ~/.cvsrc Sorry and thank you, attached is unified -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño.

Links for LC_CTYPE in /usr/share/locale

2013-05-15 Thread Vladimir Támara Patiño
Attached. Related to thread: http://thread.gmane.org/gmane.os.openbsd.tech/31923 -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html Index: Makefile

Re: switch /usr/share/locale to different layout

2013-05-31 Thread Vladimir Támara Patiño
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html ). to be able to put in the correct directory each part. -- Dios, gracias por tu amor infinito. -- Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ http://www.pasosdejesus.org/dominio_publico_colombia.html