summaryrefslogtreecommitdiff
path: root/lib/localcharset.c
AgeCommit message (Collapse)AuthorFilesLines
2017-02-15Update Gnulib to v0.1-1157-gb03f418.Andy Wingo1-2/+2
2016-07-07Update Gnulib to 68b6ade.Andy Wingo1-13/+68
Also add --conditional-dependencies to the flags. See: https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html
2015-10-25Revert "Update Gnulib to v0.1-603-g1d16a7b"Andy Wingo1-68/+13
This reverts commit 2d4da30fdefbcdb065d4b1f48f2a77d06f69e3c3. This Gnulib update was causing failures related to timezones in stime.c. I tried to fix it by adopting the time_rz module from gnulib but that then caused other failures. We can try again later.
2015-10-22Update Gnulib to v0.1-603-g1d16a7bAndy Wingo1-13/+68
2014-02-03Update Gnulib to v0.1-77-gd9361daMark H Weaver1-2/+7
2013-02-18Update to gnulib 0.0.7865-a828.Andy Wingo1-1/+1
2012-11-17Update Gnulib to v0.0-7695-g26c0590.Ludovic Courtès1-0/+7
* gnulib-local/m4/canonicalize.m4.diff: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly.
2012-07-06Update Gnulib to v0.0-7509-g98a2286.Ludovic Courtès1-3/+2
* Makefile.am (EXTRA_DIST): Add `m4/gnulib-cache.m4'. * build-aux/git-version-gen: Keep unchanged.
2012-02-18Don't fail when locale env. vars specify a dot-less locale name.Ludovic Courtès1-4/+4
Fixes <http://bugs.gnu.org/10742>. Reported by Alírio Eyng <alirioeyng@ig.com.br>. * gnulib-local/lib/localcharset.c.diff (environ_locale_charset): Change to set CODESET to "" when LOCALE lacks a dot. Return "ISO-8859-1" when CODESET is the empty string. * lib/localcharset.c: Update. * test-suite/standalone/Makefile.am (check_SCRIPTS): Add `test-command-line-encoding2'. (TESTS): Likewise. * test-suite/standalone/test-command-line-encoding2: New file.
2012-01-16Update Gnulib to v0.0-6827-g39c3009; use the `dirfd' module.Ludovic Courtès1-15/+15
* m4/gnulib-cache.m4: Use `dirfd'. * libguile/filesys.c: Include Gnulib's <dirent.h> directly. (dirfd): Remove. Suggested by Bruno Haible <bruno@clisp.org>.
2011-12-15Use Gnulib's `localcharset', with local patches.Ludovic Courtès1-0/+617
This follows Bruno Haible's suggestion at <http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00055.html>. * m4/gnulib-cache.m4: Add `gl_LOCAL_DIR'; use `localcharset'. * Makefile.am (EXTRA_DIST): Add gnulib-local/lib/localcharset.[ch].diff. (TESTS_ENVIRONMENT): New variable. * gnulib-local/lib/localcharset.c.diff, gnulib-local/lib/localcharset.h.diff: New files. * test-suite/Makefile.am (TESTS_ENVIRONMENT): Add @LOCALCHARSET_TESTS_ENVIRONMENT@. * test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Likewise.
2011-02-14Update Gnulib; add new modules.Ludovic Courtès1-548/+0
This updates Gnulib to v0.0-4889-ge375fe3. * m4/gnulib-cache.m4: Add `accept', `bind', `close', `connect', `getpeername', `getsockname', `getsockopt', `listen', `malloc', `malloca', `recv', `recvfrom', `send', `sendto', `setsockopt', `shutdown', `socket', and `sockets', requested by Jan Nieuwenhuizen <janneke-list@xs4all.nl> for cross-MinGW32 builds. Add `trunc', requested by Mark H Weaver <mhw@netris.org>.
2010-05-29Update Gnulib to v0.0-3955-g8ab5996.Ludovic Courtès1-4/+3
2010-02-14Use Gnulib's `getaddrinfo' module.Ludovic Courtès1-1/+1
* m4/gnulib-cache.m4: Add `getaddrinfo'. * libguile/Makefile.am (libguile_la_LDFLAGS): Add `$(GETADDRINFO_LIB) $(HOSTENT_LIB) $(SERVENT_LIB)'.
2009-12-15Use Gnulib's `sys_stat' module; update Gnulib.Ludovic Courtès1-241/+257
* .x-sc_prohibit_S_IS_definition: New file. * m4/gnulib-cache.m4: Add `sys_stat'. * libguile/filesys.c: Remove `S_IS*' macro definitions for Ultrix and MinGW.
2009-11-16Use Gnulib's `inet_ntop' and `inet_pton' modules.Ludovic Courtès1-61/+95
* m4/gnulib-cache.m4: Add `inet_ntop' and `inet_pton'. * configure.ac: Don't check for `inet_ntop' and `inet_pton'. * libguile/socket.c (scm_inet_pton, scm_inet_ntop): Compile regardless of `HAVE_INET_PTON' and `HAVE_INET_NTOP' respectively. * libguile/filesys.c: Use <stdlib.h> instead of <canonicalize.h>.
2009-05-21Add Gnulib portability modules; update Gnulib files.Ludovic Courtès1-2/+39
* m4/gnulib-cache.m4 (gl_MODULES): Add `flock' (provides flock(2) declaration and implementation), `fpieee' (fixes floating point behavior on Alpha and SH), `stdlib' (provides an unsetenv(3) declaration, among others), `putenv' (provides a putenv(3) declaration and implementation with the semantics we need).
2009-01-15Add more missing Gnulib filesNeil Jerram1-0/+462