search for: nl_langinfo

Displaying 20 results from an estimated 158 matches for "nl_langinfo".

2018 Aug 20
2
Call for testing: OpenSSH 7.8
...ser sets their locale to, as it should in a test suite. The tests themselves make sure the locale ist set correctly for the tests. The "c_esc" in the test output above means that it is testing the "C" locale at that point. So the problem is somewhere else, likely in what your nl_langinfo(3) function does in the POSIX locale. Could you please run the following simple test program on your system and show us the output, for further diagnosis? OpenBSD: $ make nl_langinfo cc -O2 -pipe -o nl_langinfo nl_langinfo.c $ ./nl_langinfo setlocale -> "C" nl_langinfo -> &q...
2004 Apr 18
0
[patch] R-1.9.0: compile error without nl_langinfo(CODESET) (PR#6789)
...ODESET' undeclared (first use in this function) main.c:463: (Each undeclared identifier is reported only once main.c:463: for each function it appears in.) make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/aux/adrian/build/R-1.9.0/src/main' <-- snip --> NetBSD 1.5 has a nl_langinfo() in langinfo.h but no CODESET. A proposed patch (based on codeset.m4 from GNU gettext) is below. cu Adrian --- /dev/null 2004-04-17 15:10:09 +0200 +++ m4/codeset.m4 2004-04-17 15:15:31 +0200 @@ -0,0 +1,23 @@ +# codeset.m4 serial AM1 (gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Softw...
2018 Aug 20
2
Call for testing: OpenSSH 7.8
On 17/08/2018 17:15, Ingo Schwarze wrote: > Hi Darren, > > Darren Tucker wrote on Fri, Aug 17, 2018 at 07:16:03AM -0700: >> On 13 August 2018 at 15:06, Val Baranov <val.baranov at duke.edu> wrote: >>> test_utf8: ........................ >>> regress/unittests/utf8/tests.c:48 test #25 "c_esc" >>> ASSERT_INT_EQ(len, wantlen) failed:
2018 Aug 20
6
Call for testing: OpenSSH 7.8
Hi, Michael Felt wrote on Mon, Aug 20, 2018 at 05:00:17PM +0200: > ./nl_langinfo > setlocale -> "C" > nl_langinfo -> "ISO8859-1" Thanks, that is helpful. So i think i was wrong and Damien was right. This means that OpenSSH returns truncated messages when non-ASCII bytes occur in them, even when the user requests LC_CTYPE=POSIX. That's not...
2017 Mar 31
2
testsuite error on Solaris 2.6 [Re: Announce: OpenSSH 7.5 released]
...uite on Solaris 2.6: > test_utf8: ........................ > regress/unittests/utf8/tests.c:48 test #25 "c_esc" > ASSERT_INT_EQ(len, wantlen) failed: > len = -1 > wantlen = 5 > > > It seems this might be related to the fact that on Solaris < 7 > nl_langinfo(CODESET) returns an empty string when the codeset is ASCII. > > To verify I put together a small testprogram that does a setlocale > followed by nl_langinfo(CODESET) and for the 'C' locale it returns an > empty string while 'da' returns ISO8859-1 as expected. > I wor...
2017 Jan 15
4
OpenSSH 7.4 p1 still can't be build without patch on Solaris 10
Hi, OpenSSH 7.4 p1 still can't be build without patch on Solaris 10 (attached). Pls, may be possible to add conditional compilation/configuration to avoid manual actions before build? May be, in portable version? Otherwise seems OpenSSH stops be portable on all platforms. Thank you, WBR, Yuri. -- What is the fundamental difference between the programmer and by a fag? Fag never become
2001 Sep 30
3
UTF-8 stuff
...;m including a patch in this message, but I'll put the new files on my web site at http://rano.org/tmp/xiph_files.tar.gz I've tested this by running vorbiscomment with and without -DHAVE_ICONV=1 in vorbis-tools/share/Makefile. It seems to work. Changed files: acinclude.m4: Add a test for nl_langinfo(CODESET). This is the function that lets you discover the charset of the user's locale without forcing them to use a command-line argument. configure.in: Use AM_LANGINFO_CODESET. utf8.h, utf8.c: These files are totally rewritten, apart from the Windows part. Instead of utf8_encode() and utf8_...
2005 Sep 27
2
vorbiscomment, ogg123 charset bug - ticket #685
Hi I've a bug in vorbis-tools's libutf8 - some share/*.[ch] files don't include config.h; as a result, utf8.c:convert_set_charset doesn't try charset = nl_langinfo(CODESET) which would correctly return UTF-8, because HAVE_LANGINFO_CODESET isn't defined (it's defined in config.h, but config.h is not included). So, the bugfix is simple - just include config.h everywhere where it's missing. -- The human knowledge belongs to the world
2018 Aug 21
2
Call for testing: OpenSSH 7.8
Hi Damien, Damien Miller wrote on Tue, Aug 21, 2018 at 12:04:41PM +1000: > ok, djm@ Thanks for checking, and thanks to Val and Michael for testing. I just committed the patch to OpenBSD, others will likely take care of merging it to -portable. > (I'd prefer the comment before the return statement, but up to you) Immediately before the return statement, it looked really confusing,
2018 Aug 18
2
Call for testing: OpenSSH 7.8
Sent from my iPhone > On 17 Aug 2018, at 17:15, Ingo Schwarze <schwarze at usta.de> wrote: > > Hi Darren, > > Darren Tucker wrote on Fri, Aug 17, 2018 at 07:16:03AM -0700: >> On 13 August 2018 at 15:06, Val Baranov <val.baranov at duke.edu> wrote: > >>> test_utf8: ........................ >>> regress/unittests/utf8/tests.c:48 test #25
2018 Feb 28
0
[PATCH v3 1/2] common: extract UTF-8 conversion function
...*/ char *input, const char *encoding); + +/* Would be const, but the interface to iconv is not const-correct on + * all platforms. The input string is not touched. + */ +static inline char * +guestfs_int_local_string_to_utf8 (/* const */ char *input) +{ + return guestfs_int_string_to_utf8 (input, nl_langinfo (CODESET)); +} /* Not all language bindings know how to deal with Pointer arguments. * Those that don't will use this macro which complains noisily and diff --git a/common/utils/libxml2-utils.c b/common/utils/libxml2-utils.c index 8a05aa5b1..a71db30dd 100644 --- a/common/utils/libxml2-util...
2016 Aug 01
2
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 The same result without CFLAGS: configure:17300: checking for mblen configure:17356: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE
2018 Aug 17
4
Call for testing: OpenSSH 7.8
On 13 August 2018 at 15:06, Val Baranov <val.baranov at duke.edu> wrote: [...] > test_utf8: ........................ > regress/unittests/utf8/tests.c:48 test #25 "c_esc" > ASSERT_INT_EQ(len, wantlen) failed: > len = -1 > wantlen = 5 This boils down to meaning OpenSSH's smnprintf call failed for the string "\033x" instead of returning the
2008 Feb 15
4
Revised flags patch
...tpid wait4 getcwd strd memmove lchown vsnprintf snprintf vasprintf asprintf setsid glob strpbrk \ strlcat strlcpy strtol mallinfo getgroups setgroups geteuid getegid \ setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ - strerror putenv iconv_open locale_charset nl_langinfo getxattr \ + chflags strerror putenv iconv_open locale_charset nl_langinfo getxattr \ extattr_get_link sigaction sigprocmask setattrlist) dnl cygwin iconv.h defines iconv_open as libiconv_open diff -brpu rsync-3.0.0pre9/configure.sh rsync-3.0.0pre9-flags/configure.sh --- rsync-3.0.0pre9/...
2017 Mar 20
12
Announce: OpenSSH 7.5 released
OpenSSH 7.5 has just been released. It will be available from the mirrors listed at http://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol 2.0 implementation and includes sftp client and server support. OpenSSH also includes transitional support for the legacy SSH 1.3 and 1.5 protocols that may be enabled at compile-time. Once again, we would like to thank the OpenSSH community
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
...lchown vsnprintf snprintf vasprintf asprintf setsid > glob strpbrk \ > strlcat strlcpy strtol mallinfo getgroups setgroups geteuid > getegid \ > setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy > __va_copy \ > - strerror putenv iconv_open locale_charset nl_langinfo getxattr \ > + chflags strerror putenv iconv_open locale_charset nl_langinfo > getxattr \ > extattr_get_link sigaction sigprocmask setattrlist > do > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` > diff -up a/proto.h b/proto.h > --- a/proto.h > +++...
2018 Feb 28
2
[PATCH v3 0/2] inspect: basic UTF-8 encoding for rpm
Diff to v2: * inlined local_string_to_utf8 Cédric Bosdonnat (2): common: extract UTF-8 conversion function inspector: rpm summary and description may not be utf-8 common/utils/guestfs-utils.h | 11 +++++ common/utils/libxml2-utils.c | 69 +-------------------------- common/utils/utils.c | 64 +++++++++++++++++++++++++
2019 Feb 19
0
[ANNOUNCE] xclock 1.0.8
...date README for gitlab migration Update configure.ac bug URL for gitlab migration Replace remaining sprintf calls with snprintf xclock 1.0.8 Emil Velikov (1): autogen.sh: use quoted string variables Jon TURNEY (1): No point in trying to use iconv if we don't have nl_langinfo Keith Packard (1): Allow sub-second updates. Mihail Konev (1): autogen: add default patch prefix Peter Hutterer (1): autogen.sh: use exec instead of waiting for configure to finish git tag: xclock-1.0.8 https://xorg.freedesktop.org/archive/individual/app/xclock-1.0.8.tar.bz2...
2012 Nov 21
1
Libguest Problem
Hi Richard, I am a user of LibguestFS. I have a problem in using LibguestFS to get the OS type of the virtual machine with Xenserver virtual environment. But when I use the command in Linux likes the figure1. I know that this disk file could add in libguestfish. My code is in the figure2. I can't get the OS info from GuestFs. Could you give me some suggests? James
2016 Aug 02
2
OpenSSH 7.3p1 can't be build on Solaris 10
...ng CFLAGS? OK, I think I see why it started in 7.3: it was when the wide character support was added. In configure.ac: dnl Wide character support. Linux man page says it needs _XOPEN_SOURCE. saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -D_XOPEN_SOURCE" AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth]) CFLAGS="$saved_CFLAGS" AC_LINK_IFELSE( [AC_LANG_PROGRAM(and [[ #include <ctype.h> ]], [[ return (isblank('a')); ]])], [AC_DEFINE([HAVE_ISBLANK], [1], [Define if you have isblank(3C).]) ]) before that the mblen test didn't...